Implement bounded SDD planning and apply context

This commit is contained in:
2026-09-07 22:22:13 +03:00
parent ab231a6aac
commit 04a07b390f
3 changed files with 44 additions and 32 deletions
+10 -9
View File
@@ -2,26 +2,25 @@
## Назначение и authority
Этот репозиторий — единственный versioned SDD authority. Shared SDD policy,
common reading pointers, audit routing и `../references/**` policy задаёт root
`AGENTS.md`.
Этот репозиторий — единственный versioned authority для change artifacts.
Workspace layout и reference policy — в root `AGENTS.md`.
Canonical OpenSpec store — `wealth-ledger-specs`, физический root от workspace —
`specs/openspec` (локально `openspec`). OpenSpec commands, читающие или
изменяющие change, всегда получают `--store wealth-ledger-specs`.
Proposal, Delta Specs, Design, Tasks, changes и archives хранятся в `openspec`.
`docs` хранит as-built state и Completion Evidence, но не копию change artifacts.
Proposal, Delta Specs, Design, Tasks, changes, Completion Evidence и archives
хранятся в `openspec`; `docs` владеет as-built документацией и общей policy.
## Workflow и verification
Новые changes используют project-local schema `wealth-ledger-sdd`. Артефакты создаются по
одному после approval Change Owner. Lifecycle:
Новые changes используют project-local schema `wealth-ledger-sdd`.
Для planning, implementation, validation и завершения читай canonical lifecycle:
[`../docs/development/openspec-authority-and-lifecycle.md`](../docs/development/openspec-authority-and-lifecycle.md).
Сначала определить current stage и capability paths через native OpenSpec
instruction; читать main specs и supporting docs только для этих paths и
affected areas. Подробный token-efficient routing загружается по необходимости
affected areas. Recovery и выбор relevant evidence определяет context discipline
из [`../docs/development/agent-token-efficiency.md`](../docs/development/agent-token-efficiency.md),
а не дублируется в schema instructions.
@@ -33,7 +32,9 @@ openspec validate <change> --type change --strict --store wealth-ledger-specs
openspec validate --specs --strict --store wealth-ledger-specs
```
Structural validation не заменяет semantic verification и independent read-only review. Tasks отмечаются только после выполненной работы; archive не допускает unchecked tasks или verification override.
Под Node 22: если локальной `.nvmrc` нет, активировать frontend `.nvmrc`
через `nvm use --silent` до перехода в specs. Native structural gate проверяет
форму; terminal safeguards определяет canonical lifecycle, доступный без skills.
## Boundaries