Repository navigation
Degrade, never refuse: four patterns that remove collapses and rejections for every activity (design) - #5838
Conversation
…ions for every activity (design) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… all-instance schema proof, uncertain-append reconcile, bounded last-good) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
Cormac review of #5838 at b225f73, patterns 1 and 3. I agree with both. There are five asks; fold them in and I'll file the verdict on that revision. Pattern 1
Pattern 3 Live instance of pattern 1: card 47035f1d, which I'm building now. |
…reply room in the minimum, rungs change only at starts, typed skipped learn, Censored{at_least}, grow-back as an upward trial)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… both names that agree, and half ranges (IntelMac: 64 + 35 refused calls) (#5844) * A reopen with one reading is served: tool/output takes an empty call, both names that agree, and half ranges (IntelMac: 64 + 35 refused calls) tool/output refused every call that did not name exactly one of outputId or act (64 refusals on the IntelMac 11-07), the empty call (35), and a range with one end. Each had one reading: - neither name: her newest saved output (WorkingMemory::reopened_handle(ActRef::NewestSaved)); none saved is the typed NothingSaved refusal; - both names: served when they name the same output; when they disagree, a typed Disagree refusal whose next calls are each name alone (the act's only when it resolves); - endLine alone reads from line 1, startLine alone to the last line (line_range). ActRef is the one way an act is named to the resolver (registry and working memory); the next calls render through Reopen::params, the same form every handle shows. Card 47035f1d; Joel 11-07 "Refusal is insane" (card 9ed04d88, pattern 1 of #5838). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE * A reopen is a view of its source: tool/output never mints an output, so a search of a search reads the log (Codex's 5090 capture) A tool/output result was saved as a new output under a fresh handle, call and act alike, so her next search ran over her own earlier selection instead of the log (windows-df8: tool/output her most frequent call while nothing got written). Now: - the executor reads the source a Reopens command names (reopened_source, by the declared effect, never the name) and makes it the call's custody instead of saving the selection; - an act whose every call reopened one output takes that output as its receipt's custody (reopened_by_every_call); any other act saves its receipt as before; - a range's open end is typed (spill::LineRange { end: None }), not usize::MAX (Fable's note). Fable's FAIL on #5844 at 31fffeb; card 47035f1d. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
…e engine and KV plan it ran on (card 8a983e31, slice 1) (#5846) The largest pool each model ran HEALTHY at floors a relaunch from a gap reading (#5835). It was a map in the serving daemon's memory keyed by model alone, so a core restart onto a dead engine found it empty (Fable on #5835), and a pool proven under one engine build or KV layout stood for another (#5838 pattern 3). Now it is continuum-engine's ProvenPools kind on the one saved-state contract (state/proven-pools.json, Rebuildable): - Contract = PoolContract { engine build (the slot stamp), cache_type, flash_attn, backend } from their typed owners (engine_slots, kv_cache_plan::resolve), never argv text; - recorded under the RUNNING engine's build (PoolContract::running), read under the build the NEXT launch uses (PoolContract::live), so an engine installed since a proof inherits nothing; - a changed contract loads Diverged and the node proves from nothing; growing toward the old proof as an upward trial waits on the trunk returning the stored value (Fable's card 18184d0b). The daemon's last_healthy_pool map and its three uses (launch.rs record + seated_for, pool_growth.rs) move to proven_pool::{observe, proven}. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Joel: 'It's the complete collapses and rejections we have got to fix with elegance and pattern improvements. Think long and hard about how to fix for many cases at once.' Today's failures (40.7% of M5 acts refused or redirected; ~2.5 h down) map onto four missing trunk patterns: (1) degrade, never refuse (a ladder per request; the minimum is servable; below it, wait in admission); (2) fault domains (boot binds first, modules init under a deadline, learning refuses before mutating, writers never latch); (3) unknown is a type and every loop grows back; (4) one source generates both sides of every contract with an all-instances round-trip test. One ledger keeps it: every collapse is a typed event on the live read, target near zero, and each class names the pattern that failed.
Review asks: Codex (patterns 2 and 4), Cormac (patterns 1 and 3).
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo