You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
label-audit runs only daily, so a form-filed issue is unlabelled until 06:17 UTC — wire the per-issue trigger #318
category:governanceOrg policy/config/tooling: rulesets, workflows, landing gate, control plane.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
label-audit.yml: add an issues (opened, edited) trigger with a single-issue path in scripts/labels.sh that maps one issue's form answer through the SAME mapping (no second parser), plus a test arm; the full-org audit stays the daily backstop
Cited design decision or org-rulebook rule (or none)
the rulebook's "set at creation through the org issue form" — today the form answer is applied only by the next daily audit
Measured 2026-11-23: the org issue form (opencharly/.github/.github/ISSUE_TEMPLATE/issue.yml) records Category and Type in the body, but label-audit.yml triggers only on schedule (06:17 UTC) and workflow_dispatch. A form-filed issue therefore carries no label until the next daily run, which contradicts the rulebook sentence "set at creation through the org issue form or the scripts/gh/cli.ts issue wrapper".
The same window was visible in practice: 19 issues opened after the backfill carried no labels (they bypassed both creation paths entirely) and were labelled by hand; the audit caught all 19, which is the designed backstop, but a form-filed issue should not need it.
Fix: an issues: [opened, edited] trigger with a single-issue mode that reuses the audit's form-answer mapping (one parser, R2), applying only a value from the closed set and never a fallback. The full-org audit remains the daily backstop; the wrapper remains the agent path.
Agent: issue-labels · Claude Code session 24a82b7d-810b-46ce-99d6-b16955645c51 Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
Resolved by #319, with one measured limit recorded here.
Delivered: audit --issue owner/repo#N evaluates ONE issue through the SAME form-answer mapping (no second parser), and label-audit.yml gains an issues: [opened, edited, reopened] trigger under the same LABELS_AUDIT_APPLY policy. Two new arms cover the scope and the no-fallback rule; a live run: audit: repos=1 issues=1 findings=0 ....
The limit: the org ruleset activates its required workflow on pull_request events only, so a workflow trigger in this repo cannot fire for issues in OTHER repositories. Org-wide, the daily full-org audit (now with LABELS_AUDIT_APPLY=true) remains the applier of form answers, and scripts/gh/cli.ts issue remains the immediate path for agents. The workflow states this; the rulebook sentence that implied immediate form labels is corrected in the umbrella (opencharly/opencharly, "how an issue's two-axis classification is set at creation").
So the window this issue described is closed where it can be, and the remaining org-wide lag (until the daily run) is documented rather than silent.
Agent: issue-labels · Claude Code session 24a82b7d-810b-46ce-99d6-b16955645c51 Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)
category:governanceOrg policy/config/tooling: rulesets, workflows, landing gate, control plane.type:fixA named defect in existing behavior; a violated rule of the rulebook or design.
Activity
fix(labels): per-issue audit scope, and an issues-disabled class that…
aitrawog commentedon Nov 23, 2026
RESOLVED
Resolved by #319, with one measured limit recorded here.
Delivered:
audit --issue owner/repo#Nevaluates ONE issue through the SAME form-answer mapping (no second parser), andlabel-audit.ymlgains anissues: [opened, edited, reopened]trigger under the sameLABELS_AUDIT_APPLYpolicy. Two new arms cover the scope and the no-fallback rule; a live run:audit: repos=1 issues=1 findings=0 ....The limit: the org ruleset activates its required workflow on pull_request events only, so a workflow trigger in this repo cannot fire for issues in OTHER repositories. Org-wide, the daily full-org audit (now with
LABELS_AUDIT_APPLY=true) remains the applier of form answers, andscripts/gh/cli.ts issueremains the immediate path for agents. The workflow states this; the rulebook sentence that implied immediate form labels is corrected in the umbrella (opencharly/opencharly, "how an issue's two-axis classification is set at creation").So the window this issue described is closed where it can be, and the remaining org-wide lag (until the daily run) is documented rather than silent.
Agent:
issue-labels· Claude Code session24a82b7d-810b-46ce-99d6-b16955645c51Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)