2026-06-26 13:44:08 +00:00
|
|
|
## Stack
|
|
|
|
|
|
2026-06-26 17:52:30 +02:00
|
|
|
- **Language:** Markdown-first registry and planning repo (no application runtime)
|
feat(registry): complete ATLAS-WP-0002 T02, T03, T06
T02: remove inherited capability.infotech.repo-template and template consumer
docs (statehub-register, template-validation-checklist); add
capability.infotech.config-surface-atlas and rewrite capabilities.yaml.
T03: seed 4 configuration surfaces (state-hub api-config, ops-warden
routing-catalog, reuse-surface federation-sources, ops-bridge tunnel-config)
with registry/indexes/surfaces.yaml; source-linked, no values, secret deps by
reference.
T06: add tools/validate_registry.py (schema + index gate), Makefile (make
validate), and .github/workflows/validate.yml (GitHub + Gitea Actions);
document in stack-and-commands. Verified malformed entries are rejected.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:19:18 +02:00
|
|
|
- **Key deps:** State Hub ADR-001 workplans, `registry/indexes/{capabilities,surfaces}.yaml`,
|
|
|
|
|
`schemas/surface-entry.schema.json` (validated with PyYAML + jsonschema)
|
2026-06-26 13:44:08 +00:00
|
|
|
|
|
|
|
|
## Dev Commands
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Orient (offline-safe)
|
|
|
|
|
cat .custodian-brief.md
|
2026-06-26 17:52:30 +02:00
|
|
|
cat INTENT.md
|
2026-06-26 13:44:08 +00:00
|
|
|
cat SCOPE.md
|
|
|
|
|
ls workplans/
|
2026-06-26 17:52:30 +02:00
|
|
|
ls registry/
|
2026-06-26 13:44:08 +00:00
|
|
|
|
feat(registry): complete ATLAS-WP-0002 T02, T03, T06
T02: remove inherited capability.infotech.repo-template and template consumer
docs (statehub-register, template-validation-checklist); add
capability.infotech.config-surface-atlas and rewrite capabilities.yaml.
T03: seed 4 configuration surfaces (state-hub api-config, ops-warden
routing-catalog, reuse-surface federation-sources, ops-bridge tunnel-config)
with registry/indexes/surfaces.yaml; source-linked, no values, secret deps by
reference.
T06: add tools/validate_registry.py (schema + index gate), Makefile (make
validate), and .github/workflows/validate.yml (GitHub + Gitea Actions);
document in stack-and-commands. Verified malformed entries are rejected.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:19:18 +02:00
|
|
|
# Validate the registry (the CI gate — run after any registry/schema edit)
|
|
|
|
|
make validate # schema + index + whitespace + reuse-surface
|
|
|
|
|
python3 tools/validate_registry.py # schema + index consistency only
|
|
|
|
|
git diff --check # whitespace / conflict markers
|
|
|
|
|
reuse-surface validate --root . # capability federation (from reuse-surface checkout)
|
2026-06-26 17:52:30 +02:00
|
|
|
|
2026-06-27 00:05:01 +02:00
|
|
|
# Explain a surface's effective-config override path (no values shown)
|
|
|
|
|
make explain SURFACE=surface.infotech.state-hub.api-config
|
|
|
|
|
|
2026-06-27 00:16:58 +02:00
|
|
|
# Change blast-radius / dependency view for a surface
|
|
|
|
|
make blast-radius SURFACE=surface.infotech.state-hub.api-config
|
|
|
|
|
|
|
|
|
|
# Regenerate / query the config knowledge-graph edges (registry/indexes/graph.yaml)
|
|
|
|
|
make graph
|
|
|
|
|
make graph-query SURFACE=surface.infotech.state-hub.api-config
|
|
|
|
|
|
2026-06-26 17:52:30 +02:00
|
|
|
# After workplan or registry edits — from ~/state-hub
|
|
|
|
|
make fix-consistency REPO=config-atlas
|
2026-06-26 13:44:08 +00:00
|
|
|
```
|
2026-06-26 17:52:30 +02:00
|
|
|
|
feat(registry): complete ATLAS-WP-0002 T02, T03, T06
T02: remove inherited capability.infotech.repo-template and template consumer
docs (statehub-register, template-validation-checklist); add
capability.infotech.config-surface-atlas and rewrite capabilities.yaml.
T03: seed 4 configuration surfaces (state-hub api-config, ops-warden
routing-catalog, reuse-surface federation-sources, ops-bridge tunnel-config)
with registry/indexes/surfaces.yaml; source-linked, no values, secret deps by
reference.
T06: add tools/validate_registry.py (schema + index gate), Makefile (make
validate), and .github/workflows/validate.yml (GitHub + Gitea Actions);
document in stack-and-commands. Verified malformed entries are rejected.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 23:19:18 +02:00
|
|
|
**Validation gate (CI):** `make validate` is the single gate run by agents and CI
|
|
|
|
|
(`.github/workflows/validate.yml`, read by GitHub *and* Gitea Actions). It validates
|
|
|
|
|
every `registry/surfaces/*.md` against `schemas/surface-entry.schema.json`
|
|
|
|
|
(forbidding inline values/secrets), checks `registry/indexes/surfaces.yaml`
|
|
|
|
|
consistency, and runs `git diff --check`. Requires `pip install pyyaml jsonschema`.
|
|
|
|
|
|
|
|
|
|
**Install / test / build / run:** not applicable — no application runtime. Verify
|
|
|
|
|
changes with `make validate`.
|