Repository navigation
test(plugin-profiles): accept the per-hook question however the per-profile choice is worded - #16556
Conversation
…rofile choice is worded The per-hook-question-asked grader needed "per profile" inside the question sentence. The live headless session asked "Should notes-hooks@fixture-market (the jot skill and its hooks) be always on, or only on in the profiles that name it?" and put "per profile" in the option labels under it, so the grader failed a reply that did what the case asks. The pattern now also takes "only on in the profiles" or "only by some profiles" wording in the question, or a "per profile" option within the lines directly under it. It still requires a question and still requires notes-hooks. The live reply, trimmed, is a pass sample, and every earlier fail sample still fails, plus one new one that names both choices without asking. Refs: #16434 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015XWwmdCmAR8kz5HUzUvWB4
Codex Review Summary: ✅ CompletedThis 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 issues found in this push. This review covered only what changed since The push changes two files, and I read every hunk of both:
Both files are eval test data. The regex only scores model output inside the eval harness. It controls no trust check, merge hold, token scope or lane input, and nothing in it ships to users. Neither file matches a trusted-path glob. The push changes no plugin manifest, workflow, standing instruction or anything that costs money. The rest of the pull request is unchanged since the earlier review, which found nothing. critical-findings: 0 |
|
claude-review reviewed Code review: PR #16556 (incremental, blocking only)This lane already reviewed an earlier head of this PR, so this review reports blocking findings only. I found none. Scope: two files changed since
For context I also read the whole sample file at head. What changed:
Checked by hand against the head pattern. I have no shell, so I did not run
Prior findings and settled threads: the earlier inline finding (third-branch coverage) is resolved, and its settled thread is marked No plugin manifest changed, so there are no manifest lines. There is no closing issue with acceptance criteria: the PR only says Spend: none beyond the eval's existing runs. The change edits one grader pattern and adds two samples. I dispatched no subagents. Verifier dropped 0 of 0 candidates. |
…n sample The options-only sample also matched the first branch through its "only by some profiles" wording, so no sample needed the third branch. Its why now names that wording, and a new pass sample words the question with no per-profile phrase, so only the third branch accepts it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015XWwmbLtFcfditeagftLrv
…st lines The third branch accepted any always-on-or question when "per profile" appeared anywhere in the next six lines, prose included. It now needs an option-list line (-, * or a number and a dot, optional bold) starting with per profile, within the five lines under the question. Two fail samples cover an always-on-or-off question with per profile only in prose, and a per-profile option six lines under the question. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015XWwmbLtFcfditeagftLrv
Refs: #16434
Summary
The
per-hook-question-askedgrader in plugin-profiles'setup-asks-per-hook-plugin-and-saves-user-profileeval failed a live headless session that did what #16434 asks. The session asked "Shouldnotes-hooks@fixture-market(thejotskill and its hooks) be always on, or only on in the profiles that name it?" and put "per profile" in the option labels under the question. The pattern only accepted "per profile" inside the question sentence.Fix
case.yamlnow accepts the per-profile choice worded asper profile,per-profile, "only on in the profiles …" or "only by some profiles …" in the question sentence. It also accepts an always-on-or question followed, within the five lines directly under it, by an option-list line (-,*or a number and a dot, then optional**) that starts withper profileorper-profile. "Per profile" in prose under the question does not count.?. A reply that names both choices without asking still fails.samples/per-hook-question-asked.json:bump: none, since only an eval changes.Verification
validate-cases.py plugins/plugin-profiles/evalsfailed them, under both the Python and JavaScript engines. With the new pattern it exits 0: every sample gives its expected result under both engines. The only output is WARN lines aboutallowed_tools, which come from the case prompts and are not new.case.yaml:per-hook-question-asked (regex): PASS; pattern found. The same transcript gaveFAIL; pattern not foundunder the original pattern.check-changelog-fragments.sh --check-required origin/mainand--checkpass, and pre-pushcheck-affectedpasses.Related
--resumeturn) whose turn 1 this grader misjudged. The hub closes it with the graded transcripts.🤖 Generated with Claude Code
https://claude.ai/code/session_015XWwmdCmAR8kz5HUzUvWB4