GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open · Issue #7610 · developing-today/code

bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open #7610

New issue
Copy link
New issue
Copy link
Closed
Closed
bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open#7610
Copy link
Assignees
dezren39
Labels
effort/sSmall: expected under 2 hours of workepic/fleet-orchestrationReprioritization program epic (2026-11-12)kind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/queue-workerFiled or worked by the queue/worker pilottask/triageQueue packet kind: verify, reproduce, and route this item

Description

@developing-today
developing-today
bot
opened on Nov 8, 2026
Issue body actions

Problem

The developing-today[bot] automation closes an issue seconds after a PR that merely references it merges, and labels it status:done — even when the PR deliberately carries no closing keyword because the issue must stay open for a recorded remainder.

Evidence (2026-11-08, lane code-k shift, task 12836 and task 12785)

  • Issue id: design: local-dev parity for the serverless edition (from #5681) #5866: PR doc: local-dev parity decision record for the serverless edition (#5866) #7588 body said "Refs id: design: local-dev parity for the serverless edition (from #5681) #5866 — deliberately no closing keyword"; squash merge commit 8f16bcc10c63861cf704307762f7c870eabe4bd9 message contains no closing keyword. Timeline: developing-today[bot] labeled status:done at 2026-11-08T09:14:05Z and closed issue id: design: local-dev parity for the serverless edition (from #5681) #5866 at 09:14:07Z (stateReason COMPLETED), 8s after the merge. The task 12836 packet explicitly required id: design: local-dev parity for the serverless edition (from #5681) #5866 to stay open for the decision record's §6 remainder (blocked on issue id: design: backend choice & migration (from #5681) #5867 / issue design(id): serverless edition storage — D1 vs Turso vs both for id on Cloudflare Workers #5681). Worker reopened it (note 6719705368).
  • Issue deploy tool: Cloudflare target class — generalize the <name>-deploy apps to all Workers #5767: PR feat(deploy): register the 3 Cloudflare deploy apps as deploy targets (#5767 phase 1) #7592 (phase 1 only; later phases remain on deploy tool: Cloudflare target class — generalize the <name>-deploy apps to all Workers #5767) merged b413e06d0ecbb07b599c0550fc2715f64306251d; developing-today[bot] labeled status:done at 09:31:51Z and closed issue deploy tool: Cloudflare target class — generalize the <name>-deploy apps to all Workers #5767 at 09:31:52Z. Worker reopened it (note 6719854174).
  • Same bot also manages the status: family around the event (adds status:in-review on PR open, status:to-do after a reopen), so the close appears to be part of that status automation, not GitHub's native closing-keyword behavior (native close would be attributed to the merging user and requires a closing keyword).

Why it matters

Phase/remainder work is a standing fleet pattern: a PR lands one phase with Refs #<n> and the issue stays open for the rest. Auto-closing hides the remainder, marks it status:done, and makes closure state unreliable for the queue's revalidation (workers must spend a cycle reopening + correcting, as happened twice in one shift).

Acceptance criteria

  • A merged PR that references an issue without a closing keyword does not close the issue and does not add status:done.
  • A merged PR with a closing keyword (Closes/Fixes/Resolves #) still closes the issue as today.
  • The automation's rule is documented where the status automation lives, naming which signal it keys on.
  • Regression evidence: one Refs-only merge and one Closes merge after the fix, with timeline excerpts on this issue.

Acceptance criteria

  • A merged PR that references an issue without a closing keyword does not close the issue and does not add status:done (the issue's own checklist, consolidated here).
  • A merged PR with a closing keyword (Closes/Fixes/Resolves) still closes the issue as today.
  • The automation's rule is documented where the status automation lives, naming the signal it keys on.
  • Regression evidence covers both cases above (the id: design: local-dev parity for the serverless edition (from #5681) #5866 / PR doc: local-dev parity decision record for the serverless edition (#5866) #7588 and deploy tool: Cloudflare target class — generalize the <name>-deploy apps to all Workers #5767 / PR feat(deploy): register the 3 Cloudflare deploy apps as deploy targets (#5767 phase 1) #7592 events replayed or reproduced).

Activity

Next
  1. developing-today
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    on Nov 8, 2026
  2. developing-today commented on Nov 8, 2026

    @developing-today
    developing-todayBot
    on Nov 8, 2026 – with developing.today
    ContributorAuthor
    More actions

    Third instance, same shift (2026-11-08, lane code-k): issue #1831 was auto-closed by developing-today[bot] with status:done after PR #7329 merged (merge commit 1c4630b). PR #7329 covered slice S1 of issue #1831 only; slices S2–S4 remain on the issue per task 12568's packet. Worker reopened issue #1831 and removed status:done (correction note on the issue).

  3. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    priority/highImportant and time-sensitive
    effort/sSmall: expected under 2 hours of work
    status/needs-triageNot yet triaged; needs a first look
    source/queue-workerFiled or worked by the queue/worker pilot
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 8, 2026
  4. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    Member
    More actions

    Intake review

    Related: victims #5866 (PR #7588, reopened by the worker, note 6719705368) and #5767 (PR #7592, note 6719854174); the bot's wider status family (status:in-review on PR open, status:to-do after reopen) is part of the same automation.
    Live check: the issue's own ## Acceptance criteria checklist already states this bar — this appended section consolidates it under the standard heading; no fix has landed (both events are from today, 2026-11-08).
    Notes / risks: phase/remainder work is a standing fleet pattern; every false close hides remainder work and forces a worker cycle on reopening. The fix must key on the closing-keyword signal, not on heuristics about the PR body.
    Suggested approach: find the status automation's merge handler, gate the close + status:done on an actual closing reference, and add the two recorded events as regression fixtures.

    — fleet monitor (repo-fleet-monitor), 2026-11-08 10:12 CST run: acceptance criteria appended to the body, labels normalized, meta/enriched applied.

  5. developing-today commented on Nov 8, 2026

    @developing-today
    developing-todayBot
    on Nov 8, 2026 – with developing.today
    ContributorAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: repo queue worker, lane code-y (repo-worker-code)
    • Task: task 13741 for issue bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open #7610 (triage). Fresh check via REST: issue bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open #7610 is OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). Execution-lane assignment returned opencode — handed off to the opencode claimant; this lane does not work it directly. Parked 1200s for the claimant window. (Note via the developing.today app: user-token gh GraphQL is rate-limited this shift.)
    • Expectation: claimant session drives task 13741 to a terminal state.
    • Links: task 13741 · issue bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open #7610
  6. developing-today
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 8, 2026
  7. 28 remaining items

  8. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  9. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    Member
    More actions

    🤖 Agent note · picked up

    • Agent: repo-worker-code, OpenChamber scheduled lane code-f
    • Task: 14319 — triage bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open #7610.
    • Fresh state: issue bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open #7610 OPEN; the earlier triage note documents the bug and confirms the status/close handler is in the external developing.today/Kaneo integration, not this repo. Latest gate-resolution comment (2026-11-11) says Drew deferred the choice to the orchestrator in full, directing it to decide and execute; the old Drew-decision blocker is cleared.
    • Next: do not re-ask Drew. This code-only lane cannot implement or own the external integration change; record the exact orchestrator handoff as the remaining dependency.
  10. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    queue/queuedHas a queued queue task
    on Nov 12, 2026
  11. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    Member
    More actions

    🤖 Agent note · blocked

    • Agent: repo-worker-code, OpenChamber scheduled lane code-f
    • Task: 14319 — triage bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open #7610; queue task blocked on external execution dependency.
    • Evidence: Existing triage on bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open #7610 (comment 6732677531) confirms the merge/status handler is in the external developing.today/Kaneo integration, not this repository. The gate-resolution decision (comment 6808805208) explicitly delegates the decision and execution to the orchestrator; Drew must not be re-asked.
    • Resume condition: orchestrator selects/routes the integration work and an appropriate repo task exists. Required behavior remains: only a real closing-keyword signal should cause status:done + closure; Refs-only merges leave the issue open.
  12. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    work/assignedQueue worker lifecycle state
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    on Nov 12, 2026
  13. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    Member
    More actions

    Steer applied 2026-11-13 under Drew's order "fix all fixable and reblocked": Drew's recorded answer (bot-autoclose-7610) applied — queue task(s) released to the queue to execute it. Set: decisions-2026-11-13-blocked-review.

  14. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    Member
    More actions

    Agent note — orchestrator decision made and routed (task 14319, lane any-d, 2026-11-13)

    Drew deferred this choice to the orchestrator in full (pending-questions ledger item bot-autoclose-7610, answered 2026-11-11: "Deferred to orchestrator in full — orchestrator to decide and execute; do not re-ask Drew"). Acting on that deferral, the decision is:

    Decision: fix the rule in the integration now (option 1). Do NOT fold this bug into #1752 as a blocker.

    • Required behavior: the developing-today[bot] status automation may apply status:done + close an issue ONLY on a genuine closing signal (a closing-keyword reference — Fixes/Closes/Resolves #n — in the merged PR, or an explicit close action). A Refs-only merge leaves the issue's state and status labels untouched.
    • Regression fixtures: the three recorded false closes — id: design: local-dev parity for the serverless edition (from #5681) #5866 (PR doc: local-dev parity decision record for the serverless edition (#5866) #7588), deploy tool: Cloudflare target class — generalize the <name>-deploy apps to all Workers #5767 (PR feat(deploy): register the 3 Cloudflare deploy apps as deploy targets (#5767 phase 1) #7592), Proof-of-concept Android app + input interface extension (touch, mouse, hover) for relaying into live apps #1831 — each auto-closed + status:done on a Refs-only merge and manually reopened.
    • Why not nixos: bring Grist, Kaneo, Pad, ready-for-agent in as flake services — the last hand-run PM servers #1752: nixos: bring Grist, Kaneo, Pad, ready-for-agent in as flake services — the last hand-run PM servers #1752 is the NixOS flake-services migration for the hand-run PM servers (Kaneo included). This bug corrupts issue state on every phase-style merge today; parking it behind a hosting migration repeats the harm indefinitely. The rule change is independent of where Kaneo is hosted.

    Routing / execution: the handler lives in the external developing.today / Kaneo GitHub integration (verified by triage task 13741: no status handler exists in this repo; the repo carries only pm-stack/github-app-manifest.json). The change therefore lands with the Kaneo integration's configuration/deployment work, tracked under #1752's Kaneo service scope as the venue — as an implementation item under this decision, not as a decision gate. This issue stays open as the bug record until the integration change is verified against the fixtures above; a cross-reference note with this decision was posted on #1752.

  15. dezren39
    removed
    queue/queuedHas a queued queue task
    on Nov 13, 2026
  16. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    Member
    More actions

    FIXED 2026-11-14 — root cause found in source, rule changed at the source, verified with live fixtures. Closing with the evidence below.

    Drew's direct order 2026-11-14 09:57 CST: "Yes, fix that. Fix that now." (This also executes the 2026-11-13 orchestrator decision recorded on this issue; the blocked/escalated framing is superseded — no decision was outstanding.)

    Root cause (two independent confirmations: upstream source + live DB)

    The closer is Kaneo v2.47.0's GitHub integration (the developing-today[bot] app), in two steps:

    1. Loose linking at PR-open. apps/api/src/plugins/github/webhooks/pull-request-opened.ts + utils/issue-references.ts: a PR is linked to a task if its title contains any #n (no keyword needed — body references require one, titles do not), or its branch matches the task pattern, or it carries a Kaneo task key. PR design(id/atlas): proto design — extensible primitives, federation, namespaces (#9106 intake) #9184's title ended "(epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106 intake)" — that alone linked it to epic epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106's task.
    2. Keyword-blind merge handling. webhooks/pull-request-closed.ts: on any merge of a linked PR, the task moves to the pr_merged target status. The handler never inspects title/body for closing keywords. Our live config (Postgres integration.config, all 4 projects) had statusTransitions.onPRMerge = "done" — the final column — so events/task-status-changed.ts then labelled the GitHub issue status:done and closed it. Live DB trail for epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106: task status_changed in-review → done at 2026-11-13T03:03:56Z, seconds after PR design(id/atlas): proto design — extensible primitives, federation, namespaces (#9106 intake) #9184 merged (03:03:53Z); GitHub close at 03:04:00Z.

    Ruled out with evidence: all 67 GitHub Actions workflows (no PR-merge issue closers), pm-dispatch, pm-stack projector/aggregator, opencode-claimant, fleet crates, fleet-paperwork (same app identity but hand-run, no labels, ledger shows no victim closes). The bot is the only actor that ever applied status:done on the victims.

    Source fix applied

    integration.config.statusTransitions.onPRMerge: "done" → "in-review" for all four GitHub integrations (code, opencode, openchamber, nix), applied 2026-11-14 ~16:00Z in the live Kaneo Postgres and re-read verified. onPROpen (in-review) and onBranchPush (in-progress) untouched; the app and integration were NOT disabled.

    Why this preserves legitimate closes: a PR with a real closing keyword still closes its issue via GitHub's native closing on merge to the default branch, and Kaneo's issue_closed handler (fallback target "done") then completes the task and applies status:done — proven by the control fixture below.

    Recorded in the repo so a re-connect cannot silently restore "done": PR #10114 (merged) adds pm-stack/KANEO-GITHUB-SYNC.md (rule, root cause, re-apply SQL/UI steps, upstream defects — including the trap that deleting the pr_merged workflow rule in the UI falls back to "done") and corrects the README sync summary.

    Verification (live fixtures, 2026-11-14)

    • Refs-only: issue fixture: refs-only merge must not close this issue #10106 + PR fixture: refs-only PR for the auto-close fix (#10106) #10109 (title reference "(fixture: refs-only merge must not close this issue #10106)", body "Refs fixture: refs-only merge must not close this issue #10106 — deliberately no closing keyword", merged 16:06:01Z into a scratch branch). Before merge, Kaneo had linked the PR to fixture: refs-only merge must not close this issue #10106's task and moved it to in-review — the exact epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106 setup. After merge: issue stayed OPEN, labels only status:in-review, task stayed in-review, zero bot events after the merge. (Pre-fix, epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106 closed 7s after its merge.)
    • Closes control: PR docs(pm-stack): record Kaneo PR-merge sync rule fix #10114 carried "Closes fixture: closes-keyword merge should still close this issue #10107" and merged to main 16:10:26Z. fixture: closes-keyword merge should still close this issue #10107 was closed natively by dezren39 at 16:10:28Z, bot applied status:done 16:10:32Z, Kaneo task = done. Legitimate closes still work end to end.
    • This issue (bug: developing-today[bot] closes Refs-only issues on PR merge (status:done + close) even when the packet requires the issue to stay open #7610) was mentioned in PR docs(pm-stack): record Kaneo PR-merge sync rule fix #10114's body without a keyword and was untouched, as expected.

    Watchdog (safety net)

    #10105 — closure watchdog implemented: script ~/workspace/closure-watchdog/closure_watchdog.py, Muse cron closure-watchdog every 15 min over code + opencode + openchamber, auto-reopens automation closes with open sub-issues or a Refs-only trigger PR, strips status:done, posts evidence, reports to the ID & Atlas Space owner chat. Dry-run against history: would have caught both #9106 and #9078 (both rules fire on each).

    Remaining known exposure (not this defect)

    Upstream Kaneo still links title-referenced PRs and its merge handler is keyword-blind; if the pr_merged rule is ever set back to a final column (e.g. by a re-connect importing upstream defaults), the bug returns — the watchdog now catches that, and KANEO-GITHUB-SYNC.md documents the re-apply. #9155's close (10 min after its PR merge, no in-review step) is consistent with a delayed/manual in-Kaneo task move to Done rather than the instant webhook path; the watchdog covers that path too, since it keys on the close event, not the trigger.

  17. dezren39
    closed this as completedon Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

effort/sSmall: expected under 2 hours of workepic/fleet-orchestrationReprioritization program epic (2026-11-12)kind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/queue-workerFiled or worked by the queue/worker pilottask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.