Repository navigation
ci(stale): exempt the governed-merges audit card from stale closing - #34065
Conversation
The weekly governed-merges audit files its card with the identity label governed-merges-audit. The card is unruled until a governed approver closes it by hand, and a stale close rules nothing, so if the patrol stops the stale bot would close the card after 74 days and drop the carried BREACH rows only that card holds. Same reasoning as the tracking exemption. Claude-Session: https://claude.ai/code/session_01ADHkmRCCWkucpDJMdEL9qC Co-authored-by: Claude <noreply@anthropic.com>
|
domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z 席位核对 · ACCEPT (governed, left draft) · head
|
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract-review-claim: session_01L9qibxTeW8xHnxoHxWNHWW · head — · 2026-11-15T19:02Z |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract-review-claim: session_01L9qibxTeW8xHnxoHxWNHWW · head d63d5ea · 2026-11-15T19:04Z This claim replaces the one above it from this seat, which named no head. |
|
review#2 · os-tesla · session_01L9qibxTeW8xHnxoHxWNHWW Contract reviewServed-tier: Read at 2026-11-15T19:08Z. First review of this head, taken on patrol as owed; claim: comment 6899654789. Independence: implemented in an os-steve project thread; neither dispatched nor implemented by os-tesla. ① Derived judgments
② Semver levelNone. A repo workflow input; nothing published, CI on ③ Boundary flags
④ Design judgment
No must-fix. Implemented-by: VERDICT: PASS |
Requested by Steve · project thread
Fixes #33993
Clause-②: no
Metadata-protocol: none
维护者速读
stale.yml的exempt-issue-labels加上governed-merges-audit,上方补一行注释说明原因;其它键不动。tracking豁免同理。.github/workflows/stale.yml第 53–54 行(新注释与exempt-issue-labels)。exempt-issue-labels的值读作pinned,security,roadmap,tracking,governed-merges-audit。.github/workflows/**,Tier H),需维护者合并或由 GOVERNED_APPROVERS 批准后由席位落地。What changes
.github/workflows/stale.yml:exempt-issue-labelsnow namesgoverned-merges-audit, and one comment line above it gives the reason, beside the existingtrackingline.Why
The weekly
governed-merges-auditjob in.github/workflows/fleet-patrols.ymlfiles its card withANCHOR_IDENTITY_LABEL: governed-merges-audit(line 1632 atorigin/mainfb79d47). Its header states that a close rules the card's BREACH rows only when the closer is inGOVERNED_APPROVERSand that a stale-bot close rules nothing, and that carried BREACH rows leave the card only when the maintainer closes it. If the patrol stops, nothing refreshes the open card, so the stale bot would mark it at 60 days and close it 14 days later, taking the carried rows off every open card. Thetrackingexemption already covers the same failure for the half-state patrol's anchor.Tests
No test pins this workflow key; a config-only change carries no ablation.
Acceptance notes
None.
Verification
exempt-issue-labelsparses aspinned,security,roadmap,tracking,governed-merges-audit(YAML load of the edited file).node scripts/pm/check-governed-merges.mjs --branch HEAD: GOVERNED, landing tier H (job:staleholds a write token).actionlintin this container; CI's workflow lint families judge the file.Derived gates at d63d5ea: 35 run, all exit 0; --ran reconciliation 0 NOT-MEASURED
Human Minimum
packages/specholds no runtime logic. (n/a: no spec change)pnpm lintpasses. (no formatter ran;pnpm lintis the CI-owned repo scan, not run locally)main, one pull request.skip-changeset)packages/spectouched: its generated artifacts are regenerated and committed. (n/a)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code