Repository navigation
fix(harness-ops): read local slash-command output in behavior-probes prints cases - #10628
Conversation
…prints cases claude -p runs /autocompact locally and reports it as a <synthetic> assistant message with a result of num_turns 0. The prints verdict read any assistant message as a model turn, so the first live run of the autocompact area reported all four cases inconclusive. Trust a result reporting num_turns 0, make the dry run emit that shape, record the passing run as record 14, and point context-guard's reader-contract observation at the cases. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…g sections Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security findings. critical-findings: 0 I read the whole diff and the PR context. No changed file matches a TRUSTED PATHS glob, and no plugin manifest, trust control, hook, token scope, or merge hold changed.
Spend: the probe's live run draws on subscription usage and is capped by Manifest items: none were hit. |
|
claude-review reviewed No findings. I read the whole diff (7 files) and the PR context. I checked the
|
|
The pr-unblock lane stopped on this pull request and needs a person: the lane could not resolve every conflict.
To resume, deal with the reason above, remove the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=10628 -f activity=resolve-conflicts |
Resolve behavior-probes records.md: main added records 14 and 15 (Skill-tool and preloaded CLAUDE_EFFORT); this branch's autocompact record, also numbered 14, becomes record 16, and its two citations in SKILL.md and the changelog fragment follow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The pr-unblock lane escalated this pull request as |
Post-merge mutation testingKilled 5, survived 0, timeout 0, no coverage 0, invalid 0, not run 3.
The run's summary has the full report. |
Resolve behavior-probes records.md again: #10628 landed the autocompact record as 16, so this branch's lane-permissions record becomes 17, and the changelog fragment follows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closes #6930
Summary
The behavior-probes
autocompactarea had its first live run (criterion 12). On Claude Code 2.1.312,claude -p "/autocompact"printed the window with no model turn, and each of the four cases printed the window it expects. The runner still reported all four asinconclusive, because it read the printed output as a model answer. This PR fixes the verdict, records the run, and points context-guard's reader-contract observation at the cases (step 4).Fix
probe.py: underclaude -p, a local slash command's output arrives as an assistant message with model<synthetic>, and the result reportsnum_turns0. A result withnum_turns0 now clears the model-turn flag, so theprintsverdict reads the result text. A result with nonum_turns, or one of 1 or more, keeps today'sinconclusive. The dry-run fake now emits the live shape.records.md: record 14 holds the run's basis and the four observed lines. The flag case's source label reads(from settings), so cases match on the window, not on the label.SKILL.mdand context-guardreader-contract.md: the "unconfirmed" sentence now gives the observed fact, and the dated observation points at the cases, which also observe a project per-model value beating the project top-level key.Verification
probe.py run --live --area autocompact --max-runs 4 --max-cost-usd 1.0, 4 cases atmax_budget_usd0.25 each. Streams:num_turns0, cost 0, windows 250k / 400k / 200k / 150k. The verdict wasinconclusivefor all four before the fix. After the fix,probe.py rejudgeon the same saved streams givespassfor all four, with the control chain intact.test_probe.py: 58 tests OK. The newtest_local_command_echo_with_no_turns_passesfails without theprobe.pychange;test_same_shape_after_a_turn_stays_inconclusiveguards against passing a real model answer.probe.py validate: 41 cases, 0 problems. Full--dry-run: 41 of 41 pass.probe.test.shexits 0.Related
printsverdict (criteria 1 to 11)🤖 Generated with Claude Code