diff --git a/pm-stack/KANEO-GITHUB-SYNC.md b/pm-stack/KANEO-GITHUB-SYNC.md index 9ef3dd5e26..de5dedcc67 100644 --- a/pm-stack/KANEO-GITHUB-SYNC.md +++ b/pm-stack/KANEO-GITHUB-SYNC.md @@ -109,3 +109,20 @@ prints the before/after, and exits 1 (healed, but loud). Design rationale: `doc/2026-11-14T17-00-00Z_design_pm-stack-close-authority/note.md` (close-authority program #10136). The closure watchdog (#10105, v2) remains the outer safety net for any close path the guard cannot see. + +## Fixture battery (2026-11-14, #10140 — re-run after any Kaneo upgrade or re-connect) + +All on developing-today/code, verified from issue timelines + Kaneo DB: + +| # | Case | Result | +|---|---|---| +| 1 | Refs-only PR (body `Refs #n`) on a plain issue (#10197 ← PR #10216, merged) | Issue stayed OPEN, no `status:done`, no close events. Note: a body-only `Refs` created no Kaneo link at all (no `external_link` row) in this configuration. | +| 2 | Refs-only PR on an epic with an open child (#10199 ← PR #10218, merged; child #10205 open) | Stayed OPEN, no `status:done`, no close events. | +| 3 | Title-ref-only PR (#10201 ← PR #10220, title `(#10201)`) | Link formed — bot applied `status:in-review` at PR open (17:01:50Z) — merged 17:02:35Z; issue stayed OPEN, no `status:done`. Loose linking is live but contained by the `onPRMerge → in-review` rule. | +| 4 | `Closes #n` PR (#10137 ← PR #10190, merged 17:04:11Z) | Closed natively by the merger 17:04:13Z; bot applied `status:done` 17:04:17Z (the `issue_closed → done` fallback). Legit path intact. | +| 5a | Human close on GitHub (#10197, closed 17:06:26Z) | Linked Kaneo task completed (`task.status = done` in DB read-back). | +| 5b | Human Done move inside Kaneo → issue closes | NOT RUN in this pass: no Kaneo API key exists (`apikey` table empty) and creating one is a UI action. Covered by design (#10136 note, P2(iii)) and the 2026-10-24 setup proof (close-from-Kaneo was one of the four original sync proofs). Re-run when a key exists. | +| — | Branch-named PRs (`fixture/refs-epic-10199` → PR #10258, `fixture/refs-plain-10197` → PR #10259, both merged) | No link formed (the `{slug}-{number}` branch pattern keys on Kaneo task slugs, not GitHub issue numbers); targets stayed OPEN. | + +Fixtures #10106/#10107 from the original fix (2026-11-14 earlier) cover the +title-ref-to-main and closes-to-main paths as well.