Uh oh!
There was an error while loading. Please reload this page.
fix(reconcile): shield North Stars from the stale sweep — keep-open synced from board state (backend#1597) - #163
Merged
Conversation
…ep-open sync (backend#1597) stale-backlog is column-blind: a quiet North Stars epic auto-closes after 6+8 weeks and routes to Cancelled. The sweep already exempts keep-open - this keeps that label synced from board state nightly. One-way by design; write failures fail the step. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Uh oh!
There was an error while loading. Please reload this page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Item 1 of backend#1597 (the last live finding of the #1408 audit):
stale-backlog.ymlis column-blind, so a North Stars epic quiet for 6+8 weeks gets warned, auto-closed, and routed to Cancelled — a strategic priority silently archived, with nothing un-archiving it.Rather than teaching every repo's stale-backlog copy about the board (20 files, drift surface), this syncs the exemption the sweep already honors: a new reconcile step ensures
keep-openon every issue currently in North Stars (idempotent label add; label auto-created per repo). One-way by design — the label is also human-applied, so removal stays with humans. Dry-run aware; write failures fail the step per the token write rule.Part of tracebloc/backend#1597.
🤖 Generated with Claude Code
Note
Medium Risk
Adds cross-repo issue label writes on a schedule; failures are fail-closed, but mistaken North Stars placement would incorrectly exempt issues from stale closure until humans fix board/labels.
Overview
Adds a kanban-reconcile step (after pulling board items, before classify) so issues in the North Stars column automatically get the
keep-openlabel—the same exemption stale-backlog already honors—preventing long-quiet strategic epics from being warned, closed, and routed to Cancelled.For each matching issue it creates
keep-openin the repo if missing, then idempotently applies the label. Dry-run only logs intent; API write failures fail the step. Label removal is not automated (one-way sync) so manualkeep-openuse is not fought.Reviewed by Cursor Bugbot for commit c8efe06. Bugbot is set up for automated code reviews on this repo. Configure here.