feat: add offline cross-project Requests and Work incorporation
build / jvm (push) Waiting to run
build / native (macos-15, macos-arm64) (push) Waiting to run
build / native (ubuntu-24.04, linux-x86_64) (push) Waiting to run
build / native (windows-2025, windows-x86_64) (push) Waiting to run
Test / Tests and coverage
Intrepid/AI Engineering/pipeline/head This commit looks good

This commit is contained in:
2026-11-23 12:44:38 +00:00
parent 9a555cb3c6
commit 197e77d430
17 changed files with 720 additions and 14 deletions
+25
View File
@@ -121,6 +121,31 @@ Works to materialize new fields. Inspect compatibility and onboard before adopti
## Topics, surveys and refinement
### Requests from other local projects
`request create TITLE --project DEST --author NAME --text TEXT` writes a Request
directly to DEST's `.ai-engineering/requests/`, without consulting/starting a server,
opening SQL or checking similarity. Use `--text-file PATH` instead of `--text` for
UTF-8 input (the complete stored document is limited to 1 MiB). DEST must already be
an AIE project. Source discovery uses the caller's current directory; override with
`--source-project PATH`. `--source-work WRK-ID` is an optional provenance reference.
Each Request has a UUID, original text and YAML metadata in a Markdown file.
`request list` and `request show REQ-ID` use the destination server. Discuss and
group the Requests with the human and current AI using the normal conversation.
Create a Work through the ordinary guided flow, or select an existing Work, then
run `request incorporate REQ-ID --work WRK-ID --by NAME`. This persists the full
text and origin as a discussion NOTE in Work context before removing the file.
An additional synthesis may complement the original. Requests do not carry approval
or authorize execution. Attachments and automatic triage are deferred.
Repeat incorporation with the same ID/Work after a failure: it recognizes existing
context and completes cleanup without duplication. Interrupted cleanup files named
`.REQ-<UUID>.consuming.md` remain discoverable through list/show. Changed content,
a different Work, or simultaneous pending/recovery files require inspection and
remain retained. Reads do not perform cleanup. Pending Requests remain files;
incorporated context uses the normal Work storage without a new Request table.
Discussion remains the refinement space: receive ideas, organize topics, investigate,
record results and prepare decisions. Use `topic create/list/show/update` to organize
formal topics; legacy discussion threads appear as implicit topics without rewriting