Repository navigation
feat(work-items): add a CI mode to triage that writes the intake verdict - #18964
Conversation
Refs: #18859 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #18859 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…st line as it was Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #18859 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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 Security review: PR #18964 (
|
|
claude-review reviewed Code review: no findingsI read all 18 changed files in full. The PR adds a CI mode to What I checked against code that already exists (I read it; I ran nothing):
Closing issue. The PR body says Spend. The two new eval cases ( Tests and verification. The PR's test counts and eval selection are the author's claims; I did not run them. Loosened checks. Nothing is loosened: every check is new, and the only existing file changed ( Path-scoped rules. These rules match the changed files: No plugin manifest changed. Verifier dropped 0 of 0 candidates. |
Post-merge mutation testingKilled 4, survived 3, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
Refs: #18859
Summary
First part of #18859 (owner Q2011, Q2102): give
/work-items:triagea CI mode that writes the intake verdict, with no tracker writes of its own. Moving the intake lane onto the skill-activity path waits for an owner decision, because the read runner's issue mode accepts neither intake's events nor a verdict-only run (.github/workflows/pr-run-activity-read.yml:636-646, 837-844).Fix
/work-items:triage --issue <n> --ci(plugins/work-items/skills/triage/, added text only, plus newcontext/ci-mode.md): readsissue.jsonfrom the scratchpad and stops, writing nothing, if its number differs from<n>; evaluates read-only; checks dimension keys withset-dimensions.sh --dry-run; writestriage-verdict.json(labels,comment,needs_human,size,complexity,uncertainty,flags,blocked_by) whose comment opens with theSize:,Complexity:,Uncertainty:,Flags:,Blocked by:linesapply-verdict.mjsparses. The comment carries no lane marker; the lane adds it.scripts/check-ci-verdict.mjs: checks the closed field set, the enums, and that the comment's first five lines match the typed fields..github/scripts/intake-triage/ci-verdict-contract.test.mjs: builds the lane comment the way the reusable posts it and parses it withapply-verdict.mjs'sparseVerdict, asserting every field round-trips.docs/review/evals.md:39-40:tr-ci-issue-number-mismatch-stops(no verdict file, no verdict write, no tracker call) andtr-unknown-token-stops(an unknown token still stops and names the accepted set; owner-accepted 2026-11-25).work-items.Dimension values are the repository's option keys (
small,low,known);apply-verdict.mjscompares case-insensitively, and the contract test confirms both forms parse alike.Verification
node --testoncheck-ci-verdict.test.mjsandci-verdict-contract.test.mjs: 15 passed.check-ci-verdict.test.sh: 11 passed.label-as-code-repo.test.sh,permission-floor-source.test.sh: 5 of 5 each.scripts/check-changed-skills.sh origin/main: triage PASS (0 errors). Fragments valid. markdownlint: 0 issues.validate-cases.pyonplugins/work-items/evals: exit 0; the new case's only findings are the three expectedallowed_toolsWARNs existing cases share.select-cases.py origin/mainnames only the two new cases,tr-ci-issue-number-mismatch-stopsandtr-unknown-token-stops(the token gate the new sentence widens), 12 agent runs; every SKILL.md change is added text (the new token is a new sentence, so the existing token-list line andargument-hintare unchanged). Compare mode refuses the PR's script files (compare-refused), so it merges first and those two cases owe one suite run onmainafter merge (docs/review/evals.md:75-77).Remaining
.github/scripts/intake-triage/triage-rubric.txtto this repository's labels and field ids: waits on the owner's choice of how the read runner admits intake's events.Related
🤖 Generated with Claude Code