docs: activate token-efficient agent workflow
This commit is contained in:
@@ -68,6 +68,26 @@ openspec schema which wealth-ledger-sdd --json
|
||||
|
||||
`schema which` должен указывать project-local source. `specs/openspec/config.yaml` хранит default schema и компактный routing context, а не копию полной policy.
|
||||
|
||||
## Stage context и handoff
|
||||
|
||||
До supporting reads agent определяет текущую OpenSpec-фазу и affected areas.
|
||||
Native instruction и возвращённые `contextFiles` задают planning context;
|
||||
repository-local `AGENTS.md` добавляет только routing и canonical gate своей
|
||||
area. Architecture, glossary, audit registry и подробный operational playbook
|
||||
загружаются по применимому trigger, а не blanket-набором перед любой задачей.
|
||||
|
||||
После явного approval planning artifact следующая фаза может начаться в новой
|
||||
Codex task. Handoff сохраняет change identity, последний approved artifact,
|
||||
current phase, affected areas, unresolved blockers и один следующий outcome.
|
||||
Содержание artifacts повторно не пересказывается и остаётся в canonical store.
|
||||
Если явный approval нельзя подтвердить из новой task, agent повторно запрашивает
|
||||
его до создания downstream artifact.
|
||||
|
||||
Apply → Verify использует ту же boundary, добавляя фактический implementation
|
||||
scope и unresolved failures без полной истории tool calls. Подробная форма
|
||||
handoff и evidence-batching guidance описаны в
|
||||
[Token-efficient agent workflow](agent-token-efficiency.md).
|
||||
|
||||
## Agent entrypoints и обновление OpenSpec
|
||||
|
||||
Root `.opencode/commands` и `.opencode/skills` — локальные non-authority
|
||||
|
||||
Reference in New Issue
Block a user