Skip to content

stale.yml: exempt the governed-merges-audit card, so a dead patrol's unruled audit card is not stale-closed with its carried BREACH rows #33993

Closed

Description

@objectstack-fleet

domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19

Filing gate: ② review-derived. The at-tier contract review of PR #33982 (record 6896878561 on #33814, ③ Boundary flags) escalated this as a real gap outside that PR's surface. ⛔ Not a claim.

维护者速读

  • 现象: 治理合并周审(governed-merges-audit)立的卡,被 stale 机器人按普通卡对待:60 天无动静标 stale,再 14 天自动关。
  • 何时会发生: 巡查活着时,卡上有行就每周刷新,不会 stale。巡查一旦停摆,这张未裁的卡 74 天后被机器人关掉,窗口外的 BREACH 承载行就此不再出现在任何打开的卡上。
  • 要做的: 在 stale.yml 的 exempt-issue-labels 里加上 governed-merges-audit,与已有的 tracking 豁免同理。
  • 受管文件: .github/workflows/**,需要您亲手合并。

Where

.github/workflows/stale.yml L53 (origin/main):

exempt-issue-labels: 'pinned,security,roadmap,tracking'

The audit job files its card with the identity label governed-merges-audit (.github/workflows/fleet-patrols.yml, ANCHOR_IDENTITY_LABEL: governed-merges-audit). The comment above L53 already gives this reasoning for tracking: a dead patrol's anchor must not be silenced by the stale bot.

Change

  1. Add governed-merges-audit to exempt-issue-labels.
  2. Extend the comment above it in one clause: an audit card is by definition unruled until a governed approver closes it by hand (the close rule that review follow-ups of PR #33766 #33814 lands), so a stale close would discard carried BREACH rows that only the card holds.

Acceptance

  • exempt-issue-labels names governed-merges-audit.
  • The workflow lints green; skip-changeset; Clause-②: no.
  • Tier H (workflow file): draft, maintainer merges.

Provenance

Activity

  1. added
    tooling
    on Nov 15, 2026
  2. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Path: none

    Triage: first touch → domain:devx · p3 · 2026-11-15T15:52Z

    ⛔ Not a claim.

    Add governed-merges-audit to stale.yml's exempt labels, so a stopped patrol's unruled audit card is not stale-closed after 74 days with its BREACH rows. It is a one-line change to a governed workflow (maintainer merge) and only bites if the patrol stops, so p3.

  3. added
    domain:devx
    pm:queue
    on Nov 15, 2026
  4. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z

    Claim: PM loop round 1 · 2026-11-15T17:18Z
    Session: seat session_01ADHkmQTVjryTSkqydKVS6z holds the card; the dev runs in a devx#2 card thread, named by a re-claim at dispatch
    Account: os-steve
    Branch: pending (the card thread names it)
    Worktree: objectstack-issue-33993
    Domain: domain:devx
    Seat: domain:devx#2
    File surface: .github/workflows/stale.yml (exempt-issue-labels and the comment above it). ⛔ No other key, no other workflow. Governed: draft only, landing waits on a GOVERNED_APPROVERS approval.
    Container & model: S, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the stale bot treats the governed-merges audit card as an ordinary issue (review record 6896878561 on #33814)
    Thread-read: none
    Premise: holds: stale.yml at origin/main exempts pinned,security,roadmap,tracking only, and fleet-patrols.yml files the audit card with ANCHOR_IDENTITY_LABEL: governed-merges-audit
    Serial constraints cleared: no open PR edits stale.yml

  5. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 15, 2026
  6. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z

    Claim: PM loop round 1 · 2026-11-15T17:29Z · re-claim naming the card thread's branch (first claim 6898290264)
    Session: session_01ADHkmRCCWkucpDJMdEL9qC (card thread cmsg_01FdL1XeUyvVNxLreh3F4Qi97iMBTNTVSni5kLP5hxtETh, dev) · seat session_01ADHkmQTVjryTSkqydKVS6z
    Account: os-steve
    Branch: claude/project-thread-90of5t
    Worktree: objectstack-issue-33993
    Domain: domain:devx
    Seat: domain:devx#2
    File surface: .github/workflows/stale.yml (exempt-issue-labels and the comment above it). ⛔ No other key, no other workflow. Governed: draft only, landing waits on a GOVERNED_APPROVERS approval.
    Container & model: S, mode:thread, model: default (dispatch-gates --tier: no path-derived mandate), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the stale bot treats the governed-merges audit card as an ordinary issue (review record 6896878561 on #33814)
    Thread-read: 6898290264
    Premise: holds: stale.yml at origin/main exempts pinned,security,roadmap,tracking only, and fleet-patrols.yml files the audit card with ANCHOR_IDENTITY_LABEL: governed-merges-audit
    Serial constraints cleared: no open PR edits stale.yml

  7. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#2 · os-steve · session_01ADHkmRCCWkucpDJMdEL9qC

    os-dev-report

    {
      "issue": 33993,
      "status": "done",
      "branch": "claude/project-thread-90of5t",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/34065",
      "session": "session_01ADHkmRCCWkucpDJMdEL9qC",
      "premise_still_valid": true,
      "summary": "stale.yml exempt-issue-labels now names governed-merges-audit, with one comment line above it giving the reason beside the tracking line. Premise read on origin/main fb79d47c: fleet-patrols.yml files the audit card with ANCHOR_IDENTITY_LABEL: governed-merges-audit at line 1632 (job at 1606), and its header says a stale-bot close rules nothing. Draft PR, Tier H: waits on a GOVERNED_APPROVERS approval or the maintainer's merge.",
      "tests": "Config only, no test pins the key, no ablation (os-dev: config/workflow edits are not ablated). YAML load of the edited file reads exempt-issue-labels = pinned,security,roadmap,tracking,governed-merges-audit.",
      "gates": "head d63d5ea2: dispatch-gates --commands derived 35; all 35 run, each exit 0 (exit captured before any pipe); --ran reconciliation: 35 run, 0 NOT-MEASURED, 0 UNRUN. check-governed-merges --pr 34065: GOVERNED, landing tier H (job:stale holds a write token). actionlint not installed in the container: NOT MEASURED locally, CI workflow lint judges it. CI check-runs: in_progress at report time, not awaited.",
      "line_budget": "+2 / -1, 1 file",
      "files_changed": [".github/workflows/stale.yml"],
      "deviations": ["The delta placed the audit job identity label near fleet-patrols.yml L1597; at fb79d47c it reads L1632. No code effect."],
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "mcp_calls": "3 — issue_read get, issue_read get_comments x2 (reads only)",
      "api_writes": "2 — relay pr_create (PR 34065, labels skip-changeset, assignees os-steve), this os-dev-report comment via post-stamped.mjs",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  8. objectstack-fleet commented on Nov 15, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z

    Reviewed → PR #34065 comment on the PR · head d63d5ea2 · GOVERNED (Tier H, .github/workflows/stale.yml) · left as a draft for a GOVERNED_APPROVERS approval and merge, labelled pm:awaiting-merge 2026-11-15T17:55Z; this card closes on merge (Fixes).

  9. objectstack-fleet commented on Nov 16, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:devx#2 · os-steve · session_01ADHkmQTVjryTSkqydKVS6z

    Landed · PR #34065 merged as 3dfd867834 after its GOVERNED_APPROVERS approval; this card closed by Fixes. pm:dispatched removed in this stroke. Seat work on this card is done.

  10. removed
    pm:dispatched
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

domain:devxpriority:p3tooling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions