Skip to content

Rescue evidence: support legacy baseline receipts while flagging policy uncertainty - #81

Merged
sunilteja93 merged 4 commits into
mainfrom
fix/rescue-evidence-legacy-baselines
Oct 18, 2026
Merged

sunilteja93 merged 4 commits into
mainfrom
fix/rescue-evidence-legacy-baselines

Conversation

@sunilteja93

Copy link
Copy Markdown
Owner

Compatibility fix for real field reports

Our user's baseline timeout receipts were generated before auto_compaction_disabled was added to --agent-test JSON, so PR #80's new offline assessor would reject the exact existing baseline data it was meant to process.

  • Accept missing compaction policy only on baseline receipts as a possible legacy default, never as proof; require explicit auto_compaction_disabled: true on all candidate receipts.
  • Count and print legacy_compaction_policy_not_recorded in the derived evidence and include an explicit warning that original policy was not independently attested. The assessment remains exploratory only, and the tool never advocates globally disabling compaction.
  • Regression tests exercise two old baseline receipts and three modern passing candidate receipts, verify fields, and reject old receipts as candidates.
  • Documentation explains compatibility and uncertainty.

No inference or persistent config changes. Require CI and CodeQL before merge.

@sunilteja93
sunilteja93 merged commit 48e7339 into main Oct 18, 2026
10 checks passed
@sunilteja93
sunilteja93 deleted the fix/rescue-evidence-legacy-baselines branch October 18, 2026 20:51
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