Skip to content

AGENT-1813: publish, signals collected on every layer of a sending tool answer - #11

Merged
mikaelmorvan merged 14 commits into
mainfrom
claude/AGENT-1813-publish-followups
Nov 8, 2026
Merged

mikaelmorvan merged 14 commits into
mainfrom
claude/AGENT-1813-publish-followups

Conversation

@mikaelmorvan

Copy link
Copy Markdown
Contributor

Relecture adverse (modules) : codex (openai) au 905c4ad, 2 constat(s) dont 2 bloquant(s), 2 résolu(s) [review-receipt repo=modules head=905c4ada7351478eaf691471a822989b4abf5477 reviewer=codex family=openai authors=anthropic open-blocking=0]

Suivi Plane : AGENT-1813 (work item 3b48e675-ea24-4e4e-9e6a-e769f4b086e8).

claude added 14 commits November 8, 2026 13:16
…safe keys in tool answers

- A modified request under an existing id answers idempotency_conflict (recorded and received fingerprints); the same request stays already_published.
- Gmail: an error in body wins over status_code 200 and an id.
- Tool answers refuse __proto__, constructor and prototype with the existing guard.
- Regenerated workflows, modules.json, inventory and catalog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… envelope guard

- peek compares the whole request known without reading Storage (inline text, Storage path, source_sha256, target, media_paths), whatever the recorded source kind; any difference is idempotency_conflict.
- Unsafe keys are looked for in every JSON text part of a tool answer, at any depth, and again after mcpUnwrap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- rejectUnsafeAnswer refuses a JSON text or a structure beyond the depth limit instead of accepting it.
- The guard runs again after every decoding, read_file after mcpUnwrap included (keys only, the file text stays data).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- mcpUnwrap refuses an envelope with several text parts and guards the parts it does not retain.
- read_file: the retained part is decoded and its keys are checked; the file content stays data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…le guard

- begin and peek share one fingerprint of every input parameter, built by exclusion list; old journals without it are an idempotency_conflict.
- read_file: the full guard covers the whole decoded answer except the value of the content field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…read_file envelope guard

- Fingerprint: booleans and hex case are normalised only for declared parameters (overwrite, source_sha256); texts are hashed as is.
- read_file: the full guard covers the whole raw envelope before mcpUnwrap, except the strings that carry the file data.

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

- Without input_sha256, peek compares target fields, source_sha256, inline text hash and media paths; begin compares request_sha256 only.
- New journals keep the full input fingerprint comparison.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Old journals: peek also compares the source kind and the Storage path.
- parseSafe (JSON.parse then rejectUnsafeKeys) is the decoding path for journals and tool answers; a refusal is never swallowed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ys before sending

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e decision

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ol answer

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mikaelmorvan
mikaelmorvan merged commit 2b28eb9 into main Nov 8, 2026
1 check passed
@mikaelmorvan
mikaelmorvan deleted the claude/AGENT-1813-publish-followups branch November 8, 2026 14:22
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