Skip to content

fix: enforce cross-file replay conformance vector - #27

Open
rksharma-owg wants to merge 1 commit into
roy-tong:mainfrom
rksharma-owg:fix/conformance-cross-file-replay
Open

rksharma-owg wants to merge 1 commit into
roy-tong:mainfrom
rksharma-owg:fix/conformance-cross-file-replay

Conversation

@rksharma-owg

Copy link
Copy Markdown

Problem

The cross-file-fork-replay-mixed-identity execution-grain vector uses a file-shaped input (files plus expected) to describe fork/replay accounting. The metric runner only handled invocation-shaped vectors, so the conformance job raised KeyError: 'invocations' and stopped at 21/22 vectors.

Root cause

The vector was added with an intentionally different shape, but the runner dispatched every execution-grain vector through the single-file invocation path.

Fix

Dispatch file-shaped replay vectors to a focused fixture-level checker that enforces the published unique-turn, replay-prefix, child-new-work, attempt-retention, and unstable-identity disclosures. Existing invocation-shaped vectors continue through the reference implementation path.

Testing

Fork exact-head validation passed at 19d8ce667c1cb2114a09f67ec189ded43a25c015:

  • spec-conformance
  • reference-implementation
  • healthcheck Python 3.9 and 3.11
  • lab-suite
  • sdk-gate
  • documentation-consistency

Workflow run: https://github.com/rksharma-owg/AgentMeasure/actions/runs/36085957579

Compatibility

The change only adds dispatch and validation for the existing cross-file vector shape. Existing metric vectors and reference implementation behavior are unchanged.

This branch has not been deployed

No deployments
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