Repository navigation
ci(lanes): start work-resolve-issue's admit on a person's Work status change - #13716
Conversation
… change A listed human setting the Work status field to agent-ready (issues field_added) joins the agent-ready run group and runs admit's trigger check, then stops green with a notice; the agent-ready label still starts work, since the text freeze and restart counts anchor on it. The lanes App's mirror writes, other fields and other options start nothing and take the other group. Deletes the field_added probe. Refs: #13484 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-security-review reviewed Security review: PR #13716, incremental (069c26e → f9b038a)I found no security issues. I read every hunk of both files in the incremental scope: critical-findings: 0 What I checked
The push deletes no standing instruction, so I didn't need the instruction exception register. |
|
claude-review reviewed Code review: PR #13716, incremental review of
|
A person's Work status change joined the agent-ready group, so its pending run could replace a waiting label run and drop that work. Field runs start no work, so the group goes back to the label alone. Refs: #13484 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #13484
Summary
A listed person setting an issue's Work status field to
agent-readynow starts a work-resolve-issue run. The run checks the trusted sender, logs the field change and ends green. Theagent-readylabel still starts the work. This delivers #13484's trigger slice under hub decisions H72 (human senders only) and H73 (admission-only), and deletes the temporaryfield_addedprobe from #13697.Fix
on.issues.typesis now[labeled, field_added]. admit'sif:also accepts afield_addedevent when field48484079(Work status) moves to option84879220(agent-ready) andsender.type == 'User'. Both ids aremodels.issue-status's inpr-pipeline.yaml, and a test checks them against it. The key names come from the probe's live payload (run 42228210010, recorded on #13484).check-trusted-triggerunchanged: a listed human passes on the sender, and the App is refused (bot-actor). It then logs.changesand skips the blocker read, soproceedstays false and no later job starts. Every other job'sif:is still label-only.agent-readylabel run (fixed after both review lanes flagged a person's field run replacing a pending label run). The broker invariant (azure-iacauthorize.mjs: App mints only on itsagent-readylabeledevent) is unchanged.Why the field cannot start work yet:
write-issue.mjsreadAdmittedAtfreezes the issue text at the admitting label event and throws without one.report-outcome.mjs's restart count, re-fire check andlateRecordalso anchor on label events. Moving those anchors is an integrity-control change, routed to #13486 for the owner.Verification
node --testover the 7 test files that read this workflow or its gate: 1547 pass, 0 fail. After the rebase onto main, the 2 touched files pass again (690/690). New cases: a human'sfield_addedproceeds at the gate, while the App's and a stranger's stop; the trigger condition is checked for 6 cases (the label, another label, a person's field change, the App's mirror write, another option, another field).actionlintandzizmor --offlineonwork-resolve-issue.yml: clean.issue_field.id,issue_field_value.option.id,changes.issue_field_value.from,sender.type.Related
authorize.mjschange) and field-started work parity, both owner calls (note, parity).Remaining
changes.issue_field_value.fromand concludesuccess.🤖 Generated with Claude Code