Commit e930f7f
committed
Never retract a proxy event on a run that reached no verdict
`recordMergerProxy` took a boolean, and `processMergerProxy` computed it as
`extractedDeal && seeks_combination_approval === true` for the general
definitive statements — deleting the accession's `proxy` event whenever that
was false. But `runSection` contains every model and transport failure as a
dead letter and returns normally, so an unresolved model, a provider throttle
or the `MODEL_INVALID_OUTPUT` catch-all all arrive as an unset `extractedDeal`,
indistinguishable from "the model read the section and found no deal". A run
that merely could not reach a model therefore retracted a `proxy` event an
earlier successful run had recorded from real evidence.
Losing that event takes the whole approval stage with it: the vehicle's next
Form 25/15 inside the 90-day post-approval window then classifies
`deregistration` instead of `completed`, and `recordDeregistration` deletes the
`completed` event — a genuinely de-SPAC'd vehicle recorded as a wind-up, with
`surviving_name` / `post_merger_*` / the `current_*` promotion dropping back to
the SPAC-era mirror. The documented recovery ceremony (`sec extractor backfill
merger-proxy`) is exactly where this fires, and it repeated on every sweep: no
extraction row is written on the failure branch, so `seeks_combination_approval`
stayed NULL and the descriptor's null-verdict clause re-selected the same filing
forever, contrary to its own "self-extinguishing" contract.
Both writes now require evidence about the DOCUMENT. `recordMergerProxy` takes a
tri-state (`emit` / `retract` / `leave`) resolved by `resolveProxyEventVerdict`:
a general definitive statement retracts on the deterministic
`seeks_combination_approval === false` — conjunctive with the deal, so it
decides alone and keeps the ceremony working during a provider outage — or on a
dead letter that is itself an answer (`SECTION_NOT_FOUND` / `MODEL_EMPTY`).
Everything else leaves the event stream untouched, including `LOW_CONFIDENCE_ALL`
and `UNVERIFIED_SOURCE_SPAN`, where the model did return a deal and only its
certainty or its citation failed. `runSection` returns a `SectionOutcome` so its
caller can tell those apart; every other caller ignores it.
To make the backfill converge, the deterministic verdict is now recorded on an
existing extraction row even when the run extracted nothing: the gate really was
evaluated, and it is a property of the document rather than of the model call.
No row is invented where none exists — every predicate downstream reads an
extraction row as "this proxy produced something".
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ske1Jwk7fDFxHykfZGEzce1 parent 6902b7f commit e930f7f
10 files changed
Lines changed: 433 additions & 30 deletions
File tree
- src
- sec/forms
- proxies-information-statements
- registration-statements/s1
- storage/spac
- task/forms
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1918 | 1918 | | |
1919 | 1919 | | |
1920 | 1920 | | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
1921 | 1949 | | |
1922 | 1950 | | |
1923 | 1951 | | |
| |||
Lines changed: 64 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
Lines changed: 135 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
253 | 256 | | |
254 | 257 | | |
255 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
256 | 391 | | |
257 | 392 | | |
258 | 393 | | |
| |||
Lines changed: 70 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
60 | 103 | | |
61 | 104 | | |
62 | 105 | | |
| |||
82 | 125 | | |
83 | 126 | | |
84 | 127 | | |
85 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
86 | 131 | | |
87 | 132 | | |
88 | 133 | | |
| |||
196 | 241 | | |
197 | 242 | | |
198 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
199 | 248 | | |
200 | 249 | | |
201 | 250 | | |
| |||
221 | 270 | | |
222 | 271 | | |
223 | 272 | | |
| 273 | + | |
224 | 274 | | |
225 | 275 | | |
226 | 276 | | |
| |||
243 | 293 | | |
244 | 294 | | |
245 | 295 | | |
246 | | - | |
| 296 | + | |
247 | 297 | | |
248 | 298 | | |
249 | 299 | | |
| |||
309 | 359 | | |
310 | 360 | | |
311 | 361 | | |
| 362 | + | |
312 | 363 | | |
313 | 364 | | |
314 | 365 | | |
315 | 366 | | |
316 | 367 | | |
317 | 368 | | |
318 | 369 | | |
319 | | - | |
| 370 | + | |
320 | 371 | | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
321 | 382 | | |
322 | 383 | | |
323 | 384 | | |
324 | 385 | | |
325 | 386 | | |
326 | 387 | | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
332 | 394 | | |
333 | 395 | | |
334 | 396 | | |
| |||
0 commit comments