Repository navigation
AGENT-1831: document-read list branch returns every declared output (pdf_* null) - #13
Merged
Merged
Conversation
… the ACL broker, optional CIB service - document-share / document-read: publish the reference of an issued document (doc_id, title, type, number, version, Storage path, sha256) as a recipe--application_data_v1 record (namespace cib-documents) and grant or remove read per member, like contenu-share / contenu-read. PDF stays in Storage. - template compose.py: --with-service documents adds the optional Documents Agent and writes a surface draft with required_role on every Workflow. - tests for the Workflows (mock broker) and the composer; inventory and catalog regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ofile record, Storage as fallback render and publish read recipe--application_data_v1 (read, cib-profile, company-profile), report profile_source (cib-profile|storage) and fall back to /document-studio/profile.json when the record is absent, refused or unreadable. Brand fingerprints (profile_changed) unchanged. loadProfile moves out of the shared Storage helpers so only render and publish declare the broker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ge, empty doc_id allowed - compose.py surface draft: document-read carries no required_role (record ACL protects it, like contenu-read). - document-share republished without a member reports the real shares returned by the broker. - document-read input schema accepts an empty doc_id (list); README updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e non-discriminating plan case - document-read with doc_id and include_pdf=oui reads the issued PDF with read_file (base64) after the broker read succeeded, checks sha256 against the shared record, refuses pdf_integrity_failed, pdf_too_large (5 MiB) and invalid_path (outside the issued folder of the document). - documents.json: remove document-read-without-proof, which also passed on an unusable broker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pdf_* null) The runtime resolves each declared output path on every branch; the list branch lacked pdf_base64, pdf_sha256 and pdf_bytes. A test now checks all declared keys on every simulated branch of document-read and document-share. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep both: AGENT-1583 (office_inspect_v1, new-version, mark-authoritative) and AGENT-1831 (document-share/read, include_pdf, cib-profile, outputs on every branch). document-studio is 0.3.0 (main already at 0.2.0); the template composer pin follows. Generated files rebuilt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relecture adverse (modules) : codex (openai) au 9f90f45, 2 constat(s) dont 2 bloquant(s), 2 résolu(s) [review-receipt repo=modules head=9f90f45f590187f7ce7000468a130e3294054cab reviewer=codex family=openai authors=anthropic open-blocking=0]
Suivi Plane : AGENT-1831 (work item 77e41a03-e3a7-48b6-a1a4-04cf10bc8716).