Repository navigation
feat(work-items): configure lane workflows, the lane-record contract and the label-as-code owner - #17424
Conversation
…and the label-as-code owner /work-items:morning-brief reads its lane workflow list from the lane_workflows key under morning_brief: (the files the repo has); unset, the lanes are the workflows whose file uses a Claude action, and a file that cannot be read makes the Lanes section UNREADABLE. The lane_outcome_contract_ref key names where the lane-outcome record is documented and prints under the Lanes heading; unset, the skill lists the record fields the brief reads. label_as_code_repo in docs/conventions/work-items.yaml names the repository that owns the tracker's labels. The plugin no longer ships an organization's lane workflow list, lane-outcome links, label-as-code repository or account tool link; this repository sets its own values in docs/conventions/work-items.yaml. Refs: #17208 Co-authored-by: Claude Opus 5.5 <[email protected]>
…y its reader capability-tier-labels.md and the schema run parse-concern-value.sh from <plugin-root>, as ai-disclaimer.md does. The morning brief's record field list names v and the credential fields it reads. Refs: #17208 Co-authored-by: Claude Opus 5.5 <[email protected]>
…-code owner decides label-taxonomy.md defines a declared label-as-code owner as the label_as_code_repo key, and setup (apply, check, unattended apply), track labels and capability-tier-labels.md's Migration step read it instead of an undefined declaration. Refs: #17208 Co-authored-by: Claude Opus 5.5 <[email protected]>
The changed-skills check reads link text as a skill-internal path, so the two new links use the ../../reference/ form the file already uses. Refs: #17208 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. |
Lane run report
Failed GitHub API calls
|
|
claude-security-review reviewed Security review: PR #17424, incremental (c70557d → f4366b5)No security issues in this push. This review covers one file, and I read its only hunk. Because this lane already reviewed an earlier head, it reported only CRITICAL and IMPORTANT findings.
The file matches no critical-findings: 0 |
|
claude-review reviewed Code review (incremental, blocking only): c70557d → f4366b5No blocking findings. This lane already reviewed an earlier head, so this pass reports blocking findings only. What changedI read the whole change in the 1 file that changed since
Nothing else changed. The field list ( Earlier findingThe earlier finding (a missing workflow file made the whole Lanes section Other checks
Verifier dropped 0 of 0 candidates. |
The account-rotation link sits inside the rate-limits operable floor, which plugins/rate-limits/reference/reader-contract.md owns and every consumer copies exactly. Dropping it from two copies alone failed check-loop-lane-floor-drift. The copies and the eval sample that echoes them go back to main; the link moves with the source and all of its copies in the rate-limits part of #17208. Co-Authored-By: Claude Opus 5.5 <[email protected]>
With lane_workflows unset, the brief read every path the Actions workflow list names. That list keeps deleted workflows and ones that only ran from another branch, whose contents read answers 404, and one such path made the whole Lanes section UNREADABLE. Deleted entries are now skipped and a 404 is taken as not a lane; any other failed read still makes the section UNREADABLE. The test stub's rest mode gains a <key>.err fixture so a non-404 failure stays covered. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d sense check-vocabulary reads "contract" beside "brief" on one line as the retired name for the planning Brief. The line now says the repo points at no record documentation. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #17208
Summary
The work-items plugin shipped this organization's values: a fixed list of lane workflow files in
/work-items:morning-brief, links toci-workflowsfiles for the lane-outcome record, and thegithub-iacrepository as the label-as-code owner. Each one is now a setting with a neutraldefault. This repository sets its
current values in
docs/conventions/work-items.yaml, so the brief and the lanes behave here asthey did before.
Fix
morning_brief.lane_workflows(list) is read through the brief's existing settings resolution(
config_valueinmorning-brief.sh: flag, thenwork-items.local.yaml, thenwork-items.yaml, then default). When set, the Lanes section reads the listed files that existin the target repo, which is the old default's filter. When unset, it reads every workflow whose
file uses
anthropics/claude-code-actionorclaude-code-base-action, with one contents readper workflow file. A workflow the list marks
deleted, or whose file read answers 404 (gonefrom the default branch, or only on another branch), is not a lane. Any other failed read makes
the section
UNREADABLE.--lane-workflowsstill pins a set. The setting stays off the Cost section's
settings:line.morning_brief.lane_outcome_contract_ref(list): when set, the brief prints these pointersunder the Lanes heading. When unset, it prints nothing, and SKILL.md lists the record fields the
brief reads in place of the
ci-workflowslinks.label_as_code_repo: a top-level repository-layer key, read from the repository root withbash "<plugin-root>/skills/triage/scripts/parse-concern-value.sh", asai_disclaimer'srepository layer is (
reference/ai-disclaimer.md). The Escalation step ofreference/capability-tier-labels.mdroutes label provisioning to it instead of namingmelodic-software/github-iac. Absent means no owner is declared.reference/label-taxonomy.mddefines a "declared label-as-code owner" as this key, so the wordhas one definition across the plugin. Every place that chooses between routing to the owner
and creating a label now reads the key:
capability-tier-labels.md;setup/SKILL.md;setup/reference/autonomous-apply.md;setup/reference/check.md;track/actions/labels.md.additionalProperties: falsewould rejectthis repository's file.
calls them the plugin's label taxonomy.
docs/conventions/work-items.yamlsetslabel_as_code_repo, the nine lane workflow files theplugin used to ship, and the three
ci-workflowslane-outcome links.Verification
morning-brief.test.sh: all 619 cases pass on the current head. At the first head, 615 passedboth from a directory outside the repository and from the worktree root (the repository's
settings file is read only from inside a checkout). The new cases cover:
lane_workflows: a listed file the repo has is read, an unlisted one is not, and alisted file the repo lacks is dropped;
lane_outcome_contract_ref: printed with a#fieldsanchor intact when set, and absent whenunset;
lane_workflows: the plain, quoted and base-action Claude uses are lanes, andci.ymlis not;
UNREADABLEand never reports"no lane workflows found";
deletedand a workflow file that answers 404: neither is a lane, normakes the section
UNREADABLE, and the lanes listed after them are still read. These failedon the first head, as the review thread described.
scripts/check-loop-lane-floor-drift.sh --check: all 6 consumers match the rate-limits floor.plugins/work-items/tests/label-as-code-repo.test.sh: 5 cases pass. They check absent, setand missing-file resolution, and that the schema declares the three keys.
scripts/check-changed-skills.sh --merge-basepasses on all 3 changed skills, includingsetup's skill-relative link check.
plugins/work-items/tests/pass. shellcheck reports nothing on thechanged shell files. This repository's
work-items.yamlparses withlib/yaml-subset.awk..githubworkflow runsmorning-brief.sh.build-brief-view.mjssplits on== ... ==headings only, so the new Lanes line does not affect it.
Remaining
This pull request delivers the work-items plugin's part of #17208. Still open under that issue:
plugins/source-control/skills/babysit-prs/scripts/babysit_merge_policy.py,plugins/harness-ops/skills/observability/SKILL.mdandplugins/review/skills/code-review/SKILL.md, each classified as runtime behavior, instruction,permitted citation or test fixture, with the runtime and instruction ones made configurable.
reference/permission-preflight.md:73in this plugin (see Related).plugins/rate-limits/reference/reader-contract.md, andattend-queueandwork-loopcarryexact copies of it, which
check-loop-lane-floor-driftcompares. The source and every copychange together, so this pull request leaves both work-items copies as they are.
Related
reference/permission-preflight.md:73. Its permission-floor pointer is atrust-boundary row waiting on the owner.
morning-brief.shSection 6 that namesci-workflows docs/lane-outcome.md. It is a citation, not an instruction. The comment-linthook would pass an edited line only if it carried a link or a waiver marker, so it was left
unchanged.
used to get the shipped lane list. It now gets workflows that use a Claude action directly. A
lane whose Claude action sits inside a called reusable workflow is not detected, so such a
repository sets
lane_workflows.🤖 Generated with Claude Code