feat: import open Discussion Framework agendas into Works
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

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:
Nilton Constantino
2026-11-16 14:53:05 +00:00
parent 3d2abb487f
commit 8e75bf7516
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