Skip to content

[AGENT-1578] document-studio: Module V0 (plan, draft, render, review, issue, export) with quote and minutes templates - #9

Merged
mikaelmorvan merged 13 commits into
mainfrom
claude/AGENT-1578-document-studio
Nov 7, 2026
Merged

mikaelmorvan merged 13 commits into
mainfrom
claude/AGENT-1578-document-studio

Conversation

@mikaelmorvan

Copy link
Copy Markdown
Contributor

Summary

New Module document-studio v0.1.0: from a brief to a numbered business document (quote, meeting minutes) in Storage.

  • Actions: plan, draft, render, finalize, publish, cancel, export, profile-save. Queries: list, review-read, template-read. MiniApp document-studio-review.
  • No rendering engine in the Module: rendering goes through the MCP tool artifact_render_v1 (artifact v0.2). JavaScript code_execution steps, no WASM.
  • Two agentmaurice.template/v1 templates (quote, meeting-minutes) copied from the contract's reference templates and pinned; the quote states it is not an invoice.
  • Quote amounts computed by the Workflow in BigInt cents, never taken from the model.
  • Manual confirmation (confirmation_manuelle) for approve, issue, cancel and brand save; what is approved is what is issued (brand and data fingerprints checked at issue).
  • Number per template and year (DEV-YYYY-NNNN, CR-YYYY-NNNN), reserved with read-back; not atomic until the platform offers atomic sequences (documented).
  • Generated by tooling/document-studio/build.py (byte-identical rebuild), 52 offline tests.

Evidence

  • Local: inventory.py --check, catalog.py --check, check.py, scripts/test.py, git diff --check, maurice module validate all green.
  • Real replay on an isolated One (chatserver main, artifact v0.2.0 registry sidecar): spec deploy of 11 Workflows and the MiniApp, then profile-save, draft (LLM), render, refused approval without confirmation, approval, issue, render lock on an issued document, review, export, list, template-read, minutes draft, render and cancel: 21/21 checks. The issued PDF in Storage has the record's SHA-256.
  • Adversarial review by another model family: 10 passes, findings fixed with tests; last pass 0 blocking.

Known limits (V0)

Brand read from Storage only (the application data broker is not wired in the One yet); logo reference not resolved; non-atomic number reservation; no sending, no DOCX, fr only; no visual preview in the MiniApp.

Ticket: AGENT-1578.

🤖 Generated with Claude Code

claude added 13 commits November 7, 2026 08:57
Module document-studio : 11 Workflows (plan, draft, render, finalize,
publish, cancel, export, profile-save, list, review-read, template-read)
et la MiniApp document-studio-review. Gabarits quote et meeting-minutes
copiés du contrat template/v1 (PIN), rendu par artifact_render_v1,
étapes JavaScript testées sous Node avec Storage et rendu simulés.
Inventaire, catalogue et suites de test enregistrés.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…LM output, no platform fragments (AGENT-1578)

- Registry sidecar tools are published under their bare name: call
  artifact_render_v1, not artifact--artifact_render_v1.
- llm_call json requires a closed llm_response_schema; the schema depends on
  the template, so the step answers text and the next step parses {text}.
- fragments/, brand.typ and values.json are written by the renderer from its
  pinned contract: they are no longer embedded (reserved_file_name).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…replay (AGENT-1578)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…uote number rules, MiniApp input (AGENT-1578)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…torage_unavailable on list errors (AGENT-1578)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…trict plan answers (AGENT-1578)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (AGENT-1578)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…T-1578)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a fingerprints checked at issue (AGENT-1578)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ore list limit (AGENT-1578)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nce (AGENT-1578)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…number from a previous year (AGENT-1578)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…umed (AGENT-1578)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mikaelmorvan
mikaelmorvan merged commit 4164aa7 into main Nov 7, 2026
1 check passed
@mikaelmorvan
mikaelmorvan deleted the claude/AGENT-1578-document-studio branch November 7, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants