Repository navigation
ci(pr-pipeline): log the issues field_added payload shape for #13484 - #13697
Conversation
Adds work-status-field-probe.yml, a temporary token-free workflow that logs an issues field_added event's shape with jq, so work-resolve-issue's field trigger gates on the key names a live event carries (#7577 Q563). Adds a narrow actionlint ignore for the field_added activity type, which actionlint 1.7.12 does not list yet. 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 needs no new review of Security review: PR #13697 (head 93f8109)No security issues found. I read every hunk of both changed files. Neither file matches a listed trusted path, and the change touches no trust control: not the trusted-trigger check, the lane token request or broker, the kill switch, any merge hold, or any action under
Spend (not a finding): each Instruction-surface lens: the diff removes or weakens no standing instruction. critical-findings: 0 |
|
claude-review needs no new review of Code review: no findingsI read the whole diff for both changed files,
Closing issues: the PR context has Path-scoped rules: no Trusted paths: neither changed file matches a trusted-path glob. The new workflow name is not on the trusted-workflow list. Spend: each Verification: the actionlint, zizmor and check-affected results in the PR description are the author's claims. I did not run them, because this lane has no shell. |
.github/actionlint.yaml is synced from melodic-software/standards, so check-managed-files refuses a local edit. The ignore lands there in melodic-software/standards#952 and reaches this file through standards-sync. Refs: #13484 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: melodic-software/claude-code-plugins#13484 ## Summary Adds a scoped actionlint ignore for GitHub's `issues` activity type `field_added`, which fires when an issue field value is set or updated ([events that trigger workflows](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#issues)). actionlint 1.7.12, the latest release (2026-03-30), rejects it with `invalid activity type "field_added" for "issues" Webhook event`, and no upstream issue mentions it yet. claude-code-plugins needs the type for work-resolve-issue's Work status field trigger (#13484) and its payload probe ([#13697](melodic-software/claude-code-plugins#13697)). Its `.github/actionlint.yaml` is synced from here, so `check-managed-files` refuses the edit there. ## Fix Same shape as the `cache-mode` ignore (#822): - `.github/actionlint.yaml`: the exact message added to the `paths` ignore, with a comment carrying the docs link, the user, the removal trigger and the trade-off. - `components/actionlint/fixtures/good/field-added.yml`: an `issues: [labeled, field_added]` workflow. - `components/actionlint/fixtures/bad/unknown-issues-type.yml`: a made-up `issues` type, which must still fail. - `components/actionlint/actionlint.test.sh`, cases 32-38: - the good fixture lints clean with the config; - the made-up type still fails, and the suppression stays scoped to its own message; - a configless control reports the `field_added` message. That control is the removal tripwire. - `components/actionlint/README.md` and the `distribution/sync-manifest.yml` comment list the new waiver. ## Verification - `bash components/actionlint/actionlint.test.sh` (actionlint 1.7.12): 38 passed, including the 7 new cases. - `markdownlint-cli2 components/actionlint/README.md`: 0 issues. - Pre-commit: editorconfig, typos, shellcheck, gitleaks and markdownlint passed. ## Related - melodic-software/claude-code-plugins#13484 - melodic-software/claude-code-plugins#13697, which waits on the synced config; it drops its own copy of this edit - #822 (the `cache-mode` precedent) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
Refs: #13484
Summary
A temporary, token-free workflow that logs the shape of an
issuesfield_addedpayload, so #13484's trigger gates on the key names a live event carries, not on the docs' description. #7577's Q563 decision says the trigger "triggers on Actionsissues: field_addedwithchanges.issue_field_value.from, checked live on the first trigger run", and Automation Lanes' constraint 4 for #13484 requires that check before gating. The lanes App's Work status mirror writes (#13490, #13493) firefield_addedwithin minutes, so no person is needed to produce a sample.Fix
.github/workflows/work-status-field-probe.yml(new):on: issues: types: [field_added],permissions: {}, no secret, no checkout.$GITHUB_EVENT_PATHwithjqand printsaction, sender id/type/login, the issue number,changes,issue_field,issue_field_value, the payload's top-level keys, and its key paths outside the standardissue/repository/organization/sender/enterprise/installationobjects.${{ }}.cancel-in-progress: true;timeout-minutes: 2.field_added. actionlint 1.7.12 (the latest release, and CI's pin) rejectsfield_addedwithinvalid activity type "field_added" for "issues" Webhook event, though GitHub documents it (events that trigger workflows)..github/actionlint.yamlis synced frommelodic-software/standards, so the scoped ignore went in at melodic-software/standards#952, with a fixture pair and a removal tripwire.do-not-mergehold set while the sync was pending is lifted.Verification
actionlinton the new workflow: clean with the ignore. Without it, actionlint fails only on the activity type.zizmor --offlineon the new workflow: "No findings to report."bash scripts/check-affected.sh --tests: one failure,plugins/actionlint/hooks/actionlint-end-of-turn.test.sh(6 passed, 2 failed, aftermise ERROR). It fails through this host's broken misenodeshim, not this change: with the real node binary first on PATH it reads "8 passed, 0 failed", and this PR changes no plugin file. Its CI lane runs it with a working node.Remaining
field_addedtowork-resolve-issue.ymlfor listedkind: humansenders only (hub decision H72, option (a)). The lanes App keeps starting runs only through itsagent-readylabel, so the token broker's stated invariant (azure-iacauthorize.mjs:176-180) holds.Related
🤖 Generated with Claude Code