|
| 1 | +# FIX-1635 · Decisions |
| 2 | + |
| 3 | +[Spec](SPEC.md) · **Decisions** · [Rules](BUSINESS-RULES.md) · [Plan](PLAN.md) · [Docs](DOCS.md) · [Evolution](EVOLUTION.md) |
| 4 | + |
| 5 | +The calls that sit above any single child. The child set itself is not one of them: the owner |
| 6 | +locked it with the FSD Architect on 2026-09-29, including what is out of the epic. "Twelve" |
| 7 | +below is that locked set of child issues; FIX-1510 shipped as FIX-1261's sub-issue. Two cards |
| 8 | +are the sign-off; the third is an engineering call recorded so no child reopens it. |
| 9 | + |
| 10 | +## The tree |
| 11 | + |
| 12 | +```mermaid |
| 13 | +flowchart TD |
| 14 | + E["FIX-1635"] --> D1["D1 · one epic, one release-shaped proof"] |
| 15 | + D1 -.->|"rejected"| X1["twelve independent fixes, each proved from source"] |
| 16 | + E --> D2["D2 · reproduce first, close with a test"] |
| 17 | + D2 -.->|"rejected"| X2["implement each ticket as written"] |
| 18 | + E --> D3["D3 · FIX-1018 first, the id bound to its owner"] |
| 19 | + D3 -.->|"rejected"| X3["FIX-1286 decides first, or re-key the run workspace"] |
| 20 | +``` |
| 21 | + |
| 22 | +<a name="d1"></a> |
| 23 | +## D1 · These twelve are one epic with one release-shaped proof |
| 24 | + |
| 25 | +| | | |
| 26 | +|---|---| |
| 27 | +| **Instead of** | Fixing each as ordinary backlog, each proved by its own test from source | |
| 28 | +| **Because** | What blocks a release is what a consumer meets, and no test in the repo runs as one: 0.1.1 passed `publint`, a dry-run publish and every source test, then failed on its first import. Each security fix is likewise proved one function at a time, never as two users over HTTP against an installed server | |
| 29 | +| **Locks in** | A closure run that packs, installs, serves over HTTP and needs a real Redis. It is the most expensive child and it repeats per finding | |
| 30 | + |
| 31 | +**What would change my mind:** evidence that the release is not going to external users soon. |
| 32 | +Then these are ordinary bugs, and the closure harness can wait for the launch that needs it. |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +It comes down to 0.1.1: every source test passed and the first import failed. |
| 37 | + |
| 38 | +<a name="d2"></a> |
| 39 | +## D2 · Reproduce on current `main` first; a hole already closed closes with a test |
| 40 | + |
| 41 | +| | | |
| 42 | +|---|---| |
| 43 | +| **Instead of** | Implementing each ticket's fix as written | |
| 44 | +| **Because** | Most tickets were written in August against code that has moved since: the org-required pass (FIX-1442), the public re-entry allow-list (FIX-999), the ESM-extension build step and the release asset build. A fix for a hole that is gone rewrites working code | |
| 45 | +| **Locks in** | A direct-route child that no longer reproduces still lands a PR: a regression test through the ticket's own path that fails on the commit before the hole closed. Closing with a comment alone is not done | |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +It comes down to age: an August ticket describes code that later passes may have fixed. |
| 50 | + |
| 51 | +<a name="d3"></a> |
| 52 | +## D3 · FIX-1018 lands first; a caller-supplied request id is bound to its owner |
| 53 | + |
| 54 | +| | | |
| 55 | +|---|---| |
| 56 | +| **Instead of** | FIX-1286 deciding the principal question first in a spec · or giving the run workspace its own user key | |
| 57 | +| **Because** | FIX-1018 is a confirmed cross-user read and should not wait on a design review. Its fix answers the question FIX-1286 asks: once no user can adopt another user's request record, two users with one request id already have two records, and the workspace key may need no change. FIX-1634 extends the queue branch where FIX-1018's unguarded write lives | |
| 58 | +| **Locks in** | FIX-1286 and FIX-1634 implement after FIX-1018 merges; both specs can start now. A caller-supplied request id stays accepted (callers use it for idempotency), scoped to its owner. FIX-1286 may close as proved by FIX-1018, with its own test | |
| 59 | + |
| 60 | +**What would change my mind:** FIX-1018's reproduction showing the shared workspace survives |
| 61 | +per-owner request records. Then FIX-1286 decides independently and the edge comes out. |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | +It comes down to a confirmed leak: the design question should not hold the fix for it. |
| 66 | + |
| 67 | +## Who owns what |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | +Every rule a child builds has one owner. A *consumes* cell is a place a child must not |
| 72 | +re-decide: FIX-1286 and FIX-1634 build on FIX-1018's binding rather than inventing their own. |
| 73 | +The fence and run rules bind every child, so they are not columns here; each names its owner |
| 74 | +and where it's checked in [BUSINESS-RULES.md](BUSINESS-RULES.md#what-no-child-may-do). |
| 75 | + |
| 76 | +## Decided in review, recorded so no child reopens them |
| 77 | + |
| 78 | +- **Routes.** Direct: FIX-1018, 1021, 1022, 1046, 1328, 1431, 1334, 1628. Spec: FIX-1634 (how |
| 79 | + concurrency is arbitrated across processes is a design question) and FIX-1286 (its issue |
| 80 | + asks for a decision). The closure issue is spec: its spec is the QA plan. |
| 81 | +- **FIX-1328's "always require an org" option is already the product's direction** |
| 82 | + (FIX-1442). Its worker reproduces against that, and does not re-open seam-side admission as |
| 83 | + a product fork. |
| 84 | +- **FIX-1634 is Layer 1 only.** Nothing in it names a channel, seat or specialist. The |
| 85 | + Workforce adopt child is filed after its Layer 1 shape merges, not before. |
| 86 | +- **FIX-1628 stays scoped** to the non-streaming step loop. |
| 87 | +- **The done rows are re-verified, not reopened.** The closure plan re-runs their tests; a |
| 88 | + failure is a new bug child. |
| 89 | +- **Leg a is a standing CI job, not a closure step** (round 1). FIX-1431 lands the pack, |
| 90 | + install and import job and FIX-1334 adds DevTool's assets to it; the closure reuses it. Its |
| 91 | + control is the 0.1.1 tarball, pinned, because "the latest release" stops failing once |
| 92 | + anything newer is published. |
| 93 | +- **Each child owns its HTTP case and its control** (round 1). The children with a hole or a |
| 94 | + behaviour to prove over HTTP add a case to one shared suite, and prove it fails on the commit |
| 95 | + before the hole closed. The closure runs the suite against installed tarballs and never |
| 96 | + rebuilds an old commit. |
| 97 | +- **No shared owner-check rule** (round 1). The principal children keep their parallel |
| 98 | + bindings and one not-found shape. A shared owner-scoped lookup is FIX-1018's to offer if its |
| 99 | + reproduction produces one; the others may use it, and nothing waits for it. |
| 100 | +- **FIX-1286's route stays spec** (round 1). D3 already lets it close as proved by FIX-1018. |
| 101 | + |
| 102 | +## What the end-state POC showed |
| 103 | + |
| 104 | +None built. The children are independent fixes with one ordering edge, and the closure run |
| 105 | +is the whole-set proof. |
| 106 | + |
| 107 | +## How it got here |
| 108 | + |
| 109 | +- **Drafted (Sep 29)** from the owner's locked set and the Architect's clusters; the closure |
| 110 | + issue FIX-1636 filed; FIX-1018 wired to block FIX-1286 and FIX-1634. |
| 111 | +- **Round 1 (Sep 29)** folded a second-look review, the Architect's stamp on it, and the Cursor |
| 112 | + and Codex inline comments: leg a moved into standing CI, the children own their HTTP cases, |
| 113 | + ER-3 names attach and resume, ER-10 matches the shipped create-if-absent contract, and the |
| 114 | + rules were trimmed to ones with an owner. |
| 115 | + |
| 116 | +**Open: none.** |
0 commit comments