generated from coulomb/repo-seed
feat(registry): complete ATLAS-WP-0002 T02, T03, T06
Some checks failed
validate-registry / validate (push) Has been cancelled
Some checks failed
validate-registry / validate (push) Has been cancelled
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>
This commit is contained in:
@@ -98,11 +98,17 @@ merge rules.
|
||||
|
||||
```task
|
||||
id: ATLAS-WP-0002-T02
|
||||
status: todo
|
||||
status: done
|
||||
priority: high
|
||||
state_hub_task_id: "2d8e41e9-ba93-4a1a-862b-993da03df1f9"
|
||||
```
|
||||
|
||||
Result 2026-06-26: Removed `capability.infotech.repo-template` and the inherited
|
||||
template consumer docs (`docs/statehub-register.md`,
|
||||
`docs/template-validation-checklist.md`). Added
|
||||
`capability.infotech.config-surface-atlas` and rewrote
|
||||
`registry/indexes/capabilities.yaml` to list only config-atlas-owned entries.
|
||||
|
||||
Remove `capability.infotech.repo-template` and other `repo-seed` artifacts from
|
||||
`registry/`. Add the config-atlas capability entry and update
|
||||
`registry/indexes/capabilities.yaml`. Relocate or delete inherited template
|
||||
@@ -118,11 +124,17 @@ references (e.g. `registry/README.md` points at reuse-surface templates).
|
||||
|
||||
```task
|
||||
id: ATLAS-WP-0002-T03
|
||||
status: todo
|
||||
status: done
|
||||
priority: medium
|
||||
state_hub_task_id: "9b8bb1c2-a6ee-4b6e-91a4-2cd902fb52ff"
|
||||
```
|
||||
|
||||
Result 2026-06-26: Created `registry/indexes/surfaces.yaml` and seeded 4 surfaces:
|
||||
state-hub api-config (app-config), ops-warden routing-catalog (policy),
|
||||
reuse-surface federation-sources (app-config), ops-bridge tunnel-config
|
||||
(infra-state). All source-linked, no values; secret deps recorded as references
|
||||
(`depends_on_secret`). All validate via the T06 gate.
|
||||
|
||||
Create `registry/surfaces/` and `registry/indexes/surfaces.yaml`. Hand-author 3–5
|
||||
high-value configuration surfaces already present in the ecosystem (e.g. State Hub
|
||||
API config, warden routing catalog, reuse-surface registry layout) with `surface.*`
|
||||
@@ -157,11 +169,18 @@ federation mechanism. Coordinate via reuse-surface federation docs
|
||||
|
||||
```task
|
||||
id: ATLAS-WP-0002-T06
|
||||
status: todo
|
||||
status: done
|
||||
priority: medium
|
||||
state_hub_task_id: "da6e44a7-ed87-433e-b183-f926e7e0caf8"
|
||||
```
|
||||
|
||||
Result 2026-06-26: Added `tools/validate_registry.py` (schema + index-consistency
|
||||
gate; forbids inline values via additionalProperties:false), a `Makefile`
|
||||
(`make validate` = schema + whitespace + reuse-surface), and
|
||||
`.github/workflows/validate.yml` (runs on GitHub & Gitea Actions). Documented in
|
||||
`.claude/rules/stack-and-commands.md`. Verified: 4 seed surfaces pass; a malformed
|
||||
entry (bad kind, inline `value`, unindexed) is rejected with rc=1.
|
||||
|
||||
Wire registry validation to run on every change: `reuse-surface validate --root .`,
|
||||
surface-entry schema validation (T01), and `git diff --check` (PRD FR-9, NFR-6).
|
||||
Document the check in `AGENTS.md` / `.claude/rules/stack-and-commands.md` so agents
|
||||
|
||||
Reference in New Issue
Block a user