feat: add Work guidance and adaptive Plan experiments
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/AI Engineering/pipeline/head There was a failure building this commit
build / jvm (push) Canceled after 0s
build / native (macos-15, macos-arm64) (push) Canceled after 0s
build / native (ubuntu-24.04, linux-x86_64) (push) Canceled after 0s
build / native (windows-2025, windows-x86_64) (push) Canceled after 0s

Persist explicit human discussion choices, DEC requests and approval policies. Add optional evidence-backed Plan experiments and align context, adapters and next actions under protocol contract 3.

Include WRK-000B decisions, plan history and verification evidence: 167 JVM tests, 25 focused checks, Jenkins fixtures and native smoke coverage.
This commit is contained in:
2026-11-16 17:33:24 +00:00
parent 3c75ce70f6
commit f5d5db73c2
104 changed files with 4432 additions and 106 deletions
+13 -2
View File
@@ -391,8 +391,10 @@ timestamps and revision metadata. Each step (`TSK-0001`, decimal and plan-local)
records title/description, acceptance criteria, dependencies, status, result, evidence
and modification time. Statuses match Work's five values but describe external work.
`plan create --decision DEC` promotes referenced DRAFT decisions automatically,
without an adapter or LLM. Input, decision and revision-history validation runs
`plan create --decision DEC` promotes eligible DRAFT decisions without an adapter
or LLM. Guided Works require an explicit Work-wide human waiver; otherwise the DEC
needs human approval before Plan creation. Legacy Works retain prior promotion
semantics until explicit guidance adoption. Input, decision and revision-history validation runs
before promotion, under the project lock. Ordinary publication failures roll back
the attempted Plan and promotions. Publication is atomic per file, not a crash-proof
multi-file transaction: interrupted writes or failed recovery remain inspectable
@@ -574,6 +576,15 @@ incomplete staging outputs, ignored by readers; inspect and clean them manually
an interrupted write. Concurrent manual editors do not honor the CLI lock. Directory
entry durability under sudden power loss depends on the host filesystem.
## Work guidance and OODA
Contract 3 adds optional typed Work guidance and Plan experiments. New Works ask
for human discussion mode and require human DEC approval by default; explicit
Work-wide waivers and requests retain human provenance. Guided operations enforce
the selected authority. See [Work conduct and adaptive implementation](work-guidance.md)
for commands, experiment criteria/results, affected execution and legacy behavior.
This preserves the existing loops and does not add a repository executor.
## Future contracts (design only)
- Additional AgentAdapter transports and execution permissions: local proposal-only