refactor: group canonical specs by domain and archive account-top-positions (#74)
Specs security / security (push) Successful in 7s
Specs verify / verify (push) Successful in 14s

This commit was merged in pull request #75.
This commit is contained in:
2026-11-02 21:50:49 +03:00
parent 1fd7e6ad97
commit 3821d9ed58
61 changed files with 707 additions and 1448 deletions
+12 -1
View File
@@ -12,7 +12,15 @@ context: |
`wealth-ledger-sdd` keep their original proposal → specs → design → tasks → apply
lifecycle and existing approvals until completion. Never infer approval from
the existence of an artifact. Schema selection comes from each change's
`.openspec.yaml`, not from the current default.
`.openspec.yaml`, not from the current default. The Change Owner is the Product
Owner for product behavior and the Engineering Owner for technical/process changes.
A session handoff never stores requirements, design or tasks and never proves an
approval; a new session without an explicitly confirmed approval does not start
downstream work. Versioned planning, spec, task and design artifacts live only in
`specs/openspec`, never in framework-specific folders elsewhere.
Canonical specs are grouped by domain as `specs/<domain>/<capability>/spec.md`;
a delta uses the same path. Process rules belong to workspace conventions, this
config and schemas, not to canonical specs.
Repository responsibilities and sources of truth:
- `main` (`./`): workspace instructions, shared configuration, development Compose
@@ -67,3 +75,6 @@ operations:
- Keep the change's selected schema and explicit approvals; do not impose v2-only artifacts on legacy changes.
- Complete implementation, developer checks, independent verification and canonical documentation before archive. For v2 changes, also check applicable QA Analysis, docs-impact and target contract compatibility with backend-generated OpenAPI.
- Native OpenSpec sync/archive updates canonical behavior specs, not implementation documentation.
- Independent verification is read-only (no edits to code, specs or tasks) and returns PASS, FAIL or SPEC_ISSUE routed to the earliest affected artifact. For UI changes it compares implemented screens, states, interactions and responsive behavior with the approved visual package.
- Archive only after the latest PASS with no Critical or Important findings and no relevant input changes since; archive routes blockers instead of fixing them.
- Completion evidence is written after the work and records, per affected repo, the commit, exact commands with observed results, N/A reasons and the review outcome. Never create empty commits to mark an unaffected repo.