Skip to content

test(agent-journal): pin historical evaluation evidence#124

Merged
feniix merged 1 commit into
mainfrom
feat/agent-journal-historical-guard
Jul 13, 2026
Merged

test(agent-journal): pin historical evaluation evidence#124
feniix merged 1 commit into
mainfrom
feat/agent-journal-historical-guard

Conversation

@feniix

@feniix feniix commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Summary

Future Agent Journal evaluation work now fails closed if any immutable V1, V2, or V3 plan, contract, manifest, or result drifts. The guard contains only repository-relative paths and SHA-256 digests; it copies no prompts, traces, credentials, model messages, reasoning, tool payloads, or private paths.

Validation

  • RED: npx vitest run packages/pi-agent-journal/__tests__/evaluation-program-guard.test.ts — failed with ENOENT for the absent guard
  • Agent Journal suite: 209 tests passed
  • Coverage: 85.72% lines, 83.42% statements, 90.57% functions, 79.11% branches
  • npm run check:ci
  • package build and dry-run leak scan
  • specdocs_validate
  • independent correctness, security/privacy, and evaluation-integrity reviews: no blockers

Compound Engineering
Pi

Freeze the V1-V3 plans, contracts, manifests, and results by safe
path-and-SHA-256 metadata so later evaluation work fails on drift.

RED: npx vitest run packages/pi-agent-journal/__tests__/evaluation-program-guard.test.ts
Failure: ENOENT for the absent historical guard.
@feniix
feniix merged commit c42c047 into main Jul 13, 2026
2 checks passed
@feniix
feniix deleted the feat/agent-journal-historical-guard branch July 13, 2026 14: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