Skip to content

docs(governance): single-source the spec-tree rules; make the specs index a map - #288

Merged
PeterGeers merged 1 commit into
testfrom
docs/spec-tree-single-source
Nov 30, 2026
Merged

PeterGeers merged 1 commit into
testfrom
docs/spec-tree-single-source

Conversation

@PeterGeers

Copy link
Copy Markdown
Owner

You were right: .kiro/specs/README.md (2026-11-05) was written like a steering file. It stated the tree rules that 40-spec-workflow.md owns, and it had drifted out of agreement with steering.

The contradictions it carried

  • Rules in the wrong owner: "top level = functional areas only", per-area _archive/, .config.kiro status, myBacklog graduation, git mv. 00-index.md says each file owns its topic and the set is never forked.
  • Stale area list: it omitted FIN, STR, Members, code-quality-maintenance (present in the real tree) and claimed "functional areas only" while myBacklog, BUGS solved and code-quality-maintenance are top-level.
  • Rule-shaped backlog notes: the "Deferred (future passes)" section (redistribute BUGS solved, re-triage statuses) reads like policy but is backlog.
  • 7 copies of the archive rule across the area READMEs, plus a skill line ("Archive (if needed)") that contradicted "completed specs move to _archive/".

What this PR does

  1. 40-spec-workflow.md gains section "Spec tree, areas and status" — the single source for: one area per spec, per-area _archive/ on completion, .config.kiro status (active | done) alongside the skill's document vocabulary, area READMEs as maps, myBacklog graduation, git mv. Its area list is now the real one (incl. Commerce, WEBSITE, support-feedback, code-quality-maintenance, Common/Serverless-applications/) and it names the S5 exception (the pilot step lives in the Members tree).
  2. .kiro/specs/README.md is now a map: points at 40 for rules and #specs-reference for document conventions, lists every area (with its README), records myBacklog / BUGS solved as working entries, and keeps a short "working with specs" that points instead of prescribing.
  3. The 7 area READMEs point at 40 instead of restating the archive rule.
  4. Broken pointers fixed (found with a link sweep over every .kiro/... path cited in governance docs): the multi-tenant tree relocated under Common/Serverless-applications/ and its S5 step into Members/01 .../ (8 steering files + the skill), plus database-abstraction-layer, test-maintenance-framework + frontend/vitest-guide, Members/10 - application-app, Parameter redesign/phase-1-catalog-backbone, members-overview-tweaks/root-cause-analysis.md, Common/Frameworks/table-filter-framework-v2, Common/templates/template-preview-validation, Cognito/PassKey/passkey-implementation.md, and FIN's income-tax/reporting pointers (IB_AANGIFTE_XBRL + the report/export specs).
  5. 00-index.md: one governance line naming the owner and the map.
  6. Members/50 - memberships/README.md: status -> Complete, released to production (PR release(members): promote spec 50 (membership fees) to production #287 -> 9e725961).

Verification

Link sweep across .kiro/steering/*.md, .kiro/specs/*/README.md, .kiro/specs/README.md and .kiro/skills/*.md: every cited .kiro path resolves on disk (one false positive remains — a .kiro/ fragment inside a tree diagram).

Docs only (.kiro/**): no code, no tests, no deploy path triggered.

…ndex a map

`.kiro/specs/README.md` (2026-11-05) read like a steering file: it stated the tree rules (one area
per spec, per-area `_archive/`, `.config.kiro` status, myBacklog graduation, `git mv`) that
`40-spec-workflow.md` owns, and it contradicted steering (stale area list; "current specs" section
read as rules). Per `00-index.md` ("each file owns its topic; never fork the set") the rules move to
their owner and the index becomes a map.

- `40-spec-workflow.md`: new section **Spec tree, areas and status** (single source) + the real
  area list (FIN, STR, Members, Commerce, WEBSITE, ZZP, support-feedback, code-quality-maintenance,
  Common incl. `Common/Serverless-applications/`, plus myBacklog / BUGS solved) + the S5 exception
  (the pilot step lives in the Members tree).
- `.kiro/specs/README.md` rewritten as a map: points at 40 (rules) and `#specs-reference` (doc
  conventions); area table includes the previously omitted areas; the "Deferred (future passes)"
  rule-ish notes are demoted to a plain note (BUGS redistribution = backlog, not a rule).
- The 7 area READMEs now POINT at 40 instead of restating the archive rule (7 copies removed).
- Fixed stale/broken `.kiro` pointers found by a link sweep (11 files): the `multi-tenant` tree
  moved under `Common/Serverless-applications/` and its S5 step into `Members/01 .../` (8 steering
  files + the skill), plus database-abstraction-layer, test-maintenance-framework/vitest-guide,
  `Members/10 - application-app`, `Parameter redesign/phase-1-catalog-backbone`,
  `members-overview-tweaks/root-cause-analysis.md`, `Common/Frameworks/table-filter-framework-v2`,
  `Common/templates/template-preview-validation`, `Cognito/PassKey/passkey-implementation.md`, and
  FIN's income-tax/reporting pointers (`IB_AANGIFTE_XBRL`, report/export specs).
- `00-index.md`: one governance line naming the spec-tree owner + map.
- `Members/50 - memberships/README.md`: status -> Complete, released to production 2026-11-30
  (PR #287 -> 9e72596); archival now referenced from steering 40, not restated.

Validation: every `.kiro/...` path cited from steering, the specs index, the area READMEs and the
skills now resolves on disk (link sweep: only a false positive remains, a `.kiro/` fragment in a
tree diagram). Docs only - no code, no tests, no deploy.
@PeterGeers
PeterGeers merged commit 63c857e into test Nov 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant