Skip to content

Reduce default agent context while retaining decision and failure evidence - #1036

Merged
Guffawaffle merged 3 commits into
mainfrom
feature/decision-continuation-brief
Oct 7, 2026
Merged

Guffawaffle merged 3 commits into
mainfrom
feature/decision-continuation-brief

Conversation

@Guffawaffle

@Guffawaffle Guffawaffle commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Agents resuming scientific work currently receive experiment setup, command metadata, and repeated guidance alongside the decision facts. Continuation composition now defaults to a decision view that retains the complete assignment, consequential findings, uncertainty, open choices, and every probe outcome. The original trail is validated before projection; full details remain available through explicit evidence selection and exact-digest hydration. Oversized meaningful context is rejected without truncation.

Both MCP gate-status adapters now default to a compact evidence summary after the same full verification. Status, authority, reason codes, operation/candidate identity, gate results, freshness, and every non-complete reference remain visible. responseDetail: "diagnostic" returns the original full report. CLI and application-service reports are unchanged.

Controlled examples measure 48% smaller continuation delivery and 48% smaller retained gate observation in UTF-8 bytes. These measurements do not establish token savings or model quality. Source and published MCP tests cover detail selection and unchanged verification inputs; real gate-operation tests cover missing/changed artifacts, stale state, cancellation, and recovery.

Validation: all six durable gates passed (lint/type/format, focused tests, real adapter read-back, build, package boundary, install-script policy), with complete retained artifact verification. Fresh independent review passed on candidate 018820134504854bab6a60cb21dee1f595da4166 against main a09f182fc15157aecb23d708bc6b8e0a58c9a41a: complete 12-file diff, four independently run real-adapter tests, all candidate blobs and nine evidence hashes checked. The reviewer reused 89 passing tests for the eleven unchanged files. Separately, all 31 real gate-operation tests passed. The real-adapter test now checks compact defaults and full diagnostic/CLI parity, including tamper handling and no command replay or evidence mutation. Remote CI must pass before merge. This change does not qualify production human-answer admission or worker consumption.

@Guffawaffle
Guffawaffle merged commit 56fda11 into main Oct 7, 2026
16 checks passed
@github-actions
github-actions Bot deleted the feature/decision-continuation-brief branch October 7, 2026 12:29
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.

1 participant