Commit 514146d
fix: retire the last @test_broken (main is red); land DB-6 docs + STATE refresh (#87)
## Summary
**`main` is red right now** and this fixes it, plus lands two
documentation changes that missed the #85/#86 merges (both PRs were
merged before these commits were pushed).
### 1. The last `@test_broken` retires — main is red until it does
KnotTheory.jl#52 merged the link canonicalisation, so the BR-5
crossing-order marker now reports **"Unexpected Pass"** — a hard error,
and exactly the forcing signal the marker existed to produce.
Measured against KnotTheory `main` after #52: **0 mismatches over 200
trials**, links and knots alike (was 11/200, every one a multi-component
link). Validated at CI's 50 trials — all four BR-5 testsets pass with no
Broken column.
**quandledb now carries no `@test_broken` markers at all.** Every marker
this campaign added was retired by the upstream fix it was tracking,
which is the mechanism working as intended.
### 2. `docs/db-6-explain-strategy.md` — reconciling two surfaces under
one name
The document said "Phase A landed 2026-06-01" while issue #34's Phase A
had never been built. Both statements were true of **different
surfaces**, and conflating them is what made #34 look closable:
| Surface | What | Landed |
|---|---|---|
| SQL-side | `EXPLAIN QUERY PLAN` over read-path SQL, HTTP endpoint |
2026-06-01 |
| KRL-side | `explain` keyword + structured plan with
`indexed`/selectivity | 2026-07-28 (#86) |
Now names both explicitly and documents the KRL surface: syntax, plan
shape, why `explain` parses to its own statement type, why selectivity
is a labelled stub guarded by `plan_is_costed()`, why `INDEXED_COLUMNS`
is deliberately short, and what Phase B actually needs (DB-3, #33).
### 3. `.machine_readable/6a2/STATE.a2ml` — the file agents read said
nothing
Last touched 2026-02-13, with `# No milestones recorded`, `# No blockers
recorded`, `# No actions recorded`. Now carries measured state: phase
`testing`, the DB-6/DB-3 milestone chain, the four live issues (Guix
gate, ruleset `--admin`, doc drift, ungated Idris2/Zig/AffineScript
tiers) each with an evidence path, ordered next actions with owners, and
`zero-known-broken-markers = true`.
`last-result` is deliberately **`warn`, not `pass`**: every gate the
repo owns is green, but the estate-wide Guix policy check is red and is
not green-able here in good faith (see
`dev-notes/guix-policy-gate-advice-2026-07-28.md` — the gate is
presence-only, so a stub `guix.scm` would buy green with a lie).
Reported rather than suppressed.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 9c8d705 commit 514146d
3 files changed
Lines changed: 125 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
33 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
37 | | - | |
38 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
8 | 26 | | |
9 | 27 | | |
10 | 28 | | |
| |||
126 | 144 | | |
127 | 145 | | |
128 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
140 | 130 | | |
141 | 131 | | |
142 | 132 | | |
| |||
156 | 146 | | |
157 | 147 | | |
158 | 148 | | |
159 | | - | |
160 | | - | |
| 149 | + | |
| 150 | + | |
161 | 151 | | |
162 | 152 | | |
163 | 153 | | |
| |||
0 commit comments