Files
ops-hub/.claude/rules/stack-and-commands.md
tegwick 39080333da Complete ops-hub Inter-Hub bootstrap and close bootstrap workplans.
Extract bootstrap logic into src/ops_hub/bootstrap.py with dry-run support,
public hub discovery, and unit tests. Update the gate probe to accept public
hub listing (200 or 401), document dev commands and architecture, and archive
finished OPS-WP-0001 and OPS-WP-0002 workplans.
2026-07-07 01:49:12 +02:00

28 lines
693 B
Markdown

## Stack
- **Language:** Python 3.11+
- **Key deps:** stdlib only (`pyproject.toml` has no runtime dependencies)
- **Layout:** `src/ops_hub/` package, `scripts/` operator CLIs, `tests/` unittest suite
## Dev Commands
```bash
# Show Makefile targets
make help
# Unit tests
make test
# Probe production Inter-Hub bootstrap API gate (no secrets)
make interhub-gate
# Plan attended bootstrap (requires IHUB_OPERATOR_KEY_FILE)
make interhub-bootstrap-dry-run IHUB_OPERATOR_KEY_FILE=/path/to/key
# Attended production bootstrap
make interhub-bootstrap IHUB_OPERATOR_KEY_FILE=/path/to/key
# Sync workplan files to State Hub after edits
cd ~/state-hub && make fix-consistency REPO=ops-hub
```