feat: import open Discussion Framework agendas into Works

Add deterministic preview and fingerprint-bound application for independent
DF sources under an AIE umbrella. Preserve complete agendas and original
evidence with source-scoped identities, validated receipts and safe retries.

Publish prepared Works atomically, require review for changed imports and
retain existing refinement without source edits or model calls.

Advertise protocol contract 2 while continuing to read contract-1 projects. Add JVM,
concurrency, recovery and native coverage; document usage and complete
WRK-0007 with verification evidence.
This commit is contained in:
2026-11-16 14:53:05 +00:00
parent bc9fe8152c
commit 8f6cfa5d86
74 changed files with 3663 additions and 78 deletions
+15 -1
View File
@@ -58,6 +58,12 @@ public command, scope, preview, backups and repeatable execution. Do not invent
migration or inspect AIE source code to discover consumer update procedures; report
public-interface gaps with evidence instead.
The current entry contract is 2 and advertises DF open-agenda import. Contract 1
projects remain readable without Work migration. An import-enabled manifest needs
contract 2 and the `discussion-import` capability; older CLIs must be updated before
reading it. Refresh entry files with `onboard` after compatibility inspection,
preserving historical Works and their approvals.
## Topics, surveys and refinement
Discussion remains the refinement space: receive ideas, organize topics, investigate,
@@ -248,7 +254,15 @@ never confuse a historical report with a test run performed now.
Update canonical code, tests, specs and documentation. There is no mandatory Lesson
entity. `work archive` retains all files/history; `work reopen --by NAME --reason TEXT`
allows new evidence and reorientation while retaining earlier completion records.
Never delete history as housekeeping. Importing legacy agendas/lessons is deferred.
Never delete history as housekeeping. `import discussion --source ID=PATH` previews
DF DSCs with AGDs open; repeat sources for a multi-project umbrella and use
`--target SOURCE=TEXT` for target descriptions. Apply only with `--apply --expect`
using the returned preview fingerprint. Source paths are caller-relative; source
IDs remain stable for reimport. Whole agenda text and original evidence are kept
in one OPEN Work per source+DSC, without LLM calls or source edits. Identical imports
are skipped and changed inputs require review without overwriting. Prepared Works
publish individually; after partial publication, preview again to resume without
duplicates. Closed agendas, DECs, Plans and Lessons are not imported.
## Portable files and errors
+3 -3
View File
@@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"protocolVersion": 1,
"protocolVersion": 2,
"protocol": "ai-engineering",
"entrypoint": "README.md",
"instructions": "AGENTS.md",
@@ -9,8 +9,8 @@
"command": "ai-engineering",
"aliases": ["aie"],
"startup": ["status --format json", "next-actions --format json", "work context <WRK> --format markdown"],
"capabilities": ["protocol-compatibility", "work", "discussion", "topics", "surveys", "answer-history", "proposal-dispositions", "fixture-adapters", "local-cli-adapters", "guided-agent-setup", "agent-doctor", "agent-routing", "run-provenance", "epic", "epic-policy-authorization", "epic-propagation", "epic-reconciliation", "decision-approval", "decision-history", "plan-decision-promotion", "planning", "step-dependencies", "evidence", "completion", "plan-consolidation", "cancelled-scope-review", "work-reconciliation", "archive", "reopen"],
"capabilities": ["protocol-compatibility", "work", "discussion", "topics", "surveys", "answer-history", "proposal-dispositions", "fixture-adapters", "local-cli-adapters", "guided-agent-setup", "agent-doctor", "agent-routing", "run-provenance", "epic", "epic-policy-authorization", "epic-propagation", "epic-reconciliation", "decision-approval", "decision-history", "plan-decision-promotion", "discussion-import", "import-preview", "import-provenance", "planning", "step-dependencies", "evidence", "completion", "plan-consolidation", "cancelled-scope-review", "work-reconciliation", "archive", "reopen"],
"humanApproval": "explicit-attestation",
"execution": "external-human-or-agent",
"legacyImport": false
"legacyImport": true
}