Skip to content

feat: an operation may declare stateResetPointers for the state-reset check - #191

Merged
muratkeremozcan merged 1 commit into
mainfrom
feat/state-reset-pointers-main
Oct 9, 2026
Merged

muratkeremozcan merged 1 commit into
mainfrom
feat/state-reset-pointers-main

Conversation

@muratkeremozcan

@muratkeremozcan muratkeremozcan commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Replaces #189, rebased onto main.

An operation may declare stateResetPointers to identify response pointers describing fixture state for the state-reset pre-flight check.
When declared, the check compares transport status, exit code, tool error flag, and listed pointers after pruning volatilePointers.
Targets with variable outputs pass the check when fixture state matches.
When omitted, the check compares the whole projection as before.
Existing contracts keep their behavior.
An empty list compares transport fields alone.
Pointers reaching nothing read as absent, so one-sided presence counts as a difference.
Non-JSON bodies are compared whole.
Wildcards are refused.
Sensitivity and manifestation witnesses continue reading the whole projection.

The field is optional in the schema without bumping EVAL_CONTRACT_SCHEMA_VERSION.
Absence selects the full comparison, keeping contracts strict.
Schema tests exempt this key from the convention that every declared key is required.

… check

The state-reset pre-flight check compares the transport fields and the value at
each listed pointer of the pruned body, so a target whose answer varies run to
run no longer fails it on text that is not fixture state. Absent, the whole
projection is compared as before. compile refuses an entry a volatile pointer
covers or the response descriptor does not declare.

Claude-Session: https://claude.ai/code/session_01SNiqo5ZRjRdXvC4yb3trhk
@coderabbitai

coderabbitai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 39 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: bmad-code-org/bmad-eval-quality/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 733cb154-5372-4463-b1c3-ef66180e2470
📥 Commits

Reviewing files that changed from the base of the PR and between 94e9a81 and 9e9dfe6.

⛔ Files ignored due to path filters (3)
  • CHANGELOG.md is excluded by none and included by none
  • eval-quality.config.json is excluded by none and included by none
  • schemas/eval-contract.schema.json is excluded by none and included by none
📒 Files selected for processing (13)
  • docs/how-to/evaluate-agent-behavior.md
  • docs/how-to/evaluate-tool-use-behavior.md
  • src/core/compile/compile.ts
  • src/core/compile/reachability.ts
  • src/core/preflight/projection.ts
  • src/core/preflight/reduce.ts
  • src/core/schemas/interface.ts
  • tests/compile/state-reset-pointers.test.ts
  • tests/preflight/mcp-observation.test.ts
  • tests/preflight/reduce.test.ts
  • tests/preflight/state-reset-projection.test.ts
  • tests/schemas/artifact-registry.test.ts
  • tests/schemas/published-census.ts
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@muratkeremozcan
muratkeremozcan merged commit 40e8f4c into main Oct 9, 2026
24 checks passed
@muratkeremozcan
muratkeremozcan deleted the feat/state-reset-pointers-main branch October 9, 2026 00:05
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