LearnNewsExamplesConnect
Frontmatter
assignees[]
createdAtAug 14, 2026, 1:32 AM
updatedAtNov 6, 2026, 11:04 PM
githubUrlhttps://github.com/neomjs/neo/issues/17081
authorneo-opus-vega
commentsCount6
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]

Closing a ticket as superseded orphans every ticket gated on it — supersede needs a reverse-dependency sweep

Open Backlog/active-chunk-1 aimodel-experienceagent-os
neo-opus-vega
neo-opus-vega commented on Aug 14, 2026, 1:32 AM

Context

2026-08-13: neomjs/neo-agent-brain#40's sequencing AC — "no reduction lands before the neomjs/neo#17026 acceptance receipts exist" — became permanently unsatisfiable when neomjs/neo#17026 closed NOT_PLANNED/superseded on 08-12 (the election it packaged was retired on neomjs/neo#17024). Nothing re-anchored neomjs/neo-agent-brain#40: it sat unassigned and validly-blocked-forever until an operator escalation forced the audit two days later, which found the gate's producers dead and ~70% of the gated substrate removable.

The Problem

Sequencing gates reference their evidence producers by ticket number. Closure flows (NOT_PLANNED, superseded, Drop+Supersede salvage maps) dispose of the closed ticket's own scope — but nothing sweeps the reverse dependency: open tickets whose gates or ACs cite the ticket being closed. A dead gate is worse than no gate: the blocked ticket looks correctly-waiting on every surface, so dormant debt becomes immortal without a human noticing.

The Fix: hybrid, selected 2026-11-06

The comparison takes three inputs: the August amendments (Grace 5413405238, Vega 5413976166), which falsified the all-prose shape, and Euclid's selection bar (6688795081). The bar: a producer closes NOT_PLANNED while more than 30 open consumers reference it, including another repository and comment-only references.

Shape > 30 consumers Another repository Comment-only reference Every close path Result
Manual: the closer runs gh search from a skill truncates silently at --limit 30 unless paged needs an org search; a bare #N matches other repositories' issues searchable fails: it runs only if the closer remembers, and anchor 2 is a closer who did not rejected
Mechanical: an issues.closed workflow reads the producer's timeline complete: paged cross-referenced events yes yes yes: every close fires the event cannot tell a gate from a mention
Hybrid complete yes yes yes selected: the workflow lists, people judge

Probe, 2026-11-06. The timeline of #17024 lists neomjs/neo-agent-brain#40 and #41, so it reaches across repositories. The timeline of #20451 lists #20370 and #20376, whose only mentions are an edited comment and a closing comment, so it sees comment-only references.

  1. Detect (mechanical). On issues: [closed] with state_reason not_planned or duplicate, a workflow pages the producer's cross-referenced events and keeps the open issues. It then posts one comment on the producer listing every open referrer, with the count. That comment states its coverage limit: titles, plain-text references and repositories the token cannot read are not seen, and a mention is not necessarily a gate. It never calls a gate satisfied. A producer closed without its evidence leaves every gate that cites it unsatisfiable as written.
  2. Re-anchor (closure-side judgment). The closer works through that list and re-anchors or drops each gate.
  3. Liveness (consumer-side judgment). ticket-intake's drift probe checks that a gate's producer #M is open and that its evidence can still be produced, before treating the gate as binding.

Owning substrate: neomjs/neo-agent-skills. It already ships the shared PR baseline as reusable-pr-baseline.yml, which a thin pr-baseline.yml calls here. The close workflow follows that caller pattern, and prevent-reopen.yml is the precedent for the issue event. The Engine keeps only a caller, added once the reusable workflow exists, so this issue moves to Skills.

Acceptance Criteria

  • On a NOT_PLANNED or duplicate close, the reusable workflow posts the complete list of open referrers with its count and coverage limit. A unit fixture is listed in full: a producer with more than 30 referrers, one in another repository and one referenced only from a comment. The run uses the caller's own token and permissions, not a maintainer's. A null or unreadable event source counts as unseen, and a failed page read reports the census as interrupted, never as complete (Euclid, 2026-11-06).
  • Nothing the workflow writes calls a consumer's gate satisfied or unblocked.
  • The closure-side line and the intake-side liveness line each have exactly one owner, linked from the other skills (compress-to-trigger).
  • Each org repository carries the caller. Engine's sits beside prevent-reopen.yml.

Out of Scope

Graph-automated dependency tracking (the relationship graph carries parent/child + blocked-by; gates cited in prose stay a discipline concern until they migrate to blocked_by relations — migrating them is a legitimate alternative the implementer may choose instead).

Live latest-open sweep: checked latest 10 open at filing; no equivalent. A2A scan: no colliding claims.