Agent launch-readiness package: one regen (narrated runs + sources ledger + text-drop + WS2 + fabrication law) + 4 new engine bugs + 3 decisions #78
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
One coordinated ask: everything blocking agent market-readiness, in one place
Tim's call: converge this week while your launch sprint is hot. Center of gravity is ONE regen; around it, four fresh engine bugs with evidence, three decisions, and two merges. Patches are in
docs/patches/(pushed today). — Everything below is E2E-evidenced on Tim's machine; happy to pair on any of it.1. The regen (dist/soul.c) — please carry ALL of these together
docs/patches/soul-narrated-runs-20260713.patch(247L) +neuron/docs/NARRATED-RUNS-ENGINE-NOTES-20260713.mddocs/patches/soul-sg-sources-ledger-20260715.patch(35L)neuron-ui:feat/source-groundingfeat/agent-phase1-soul01446e6+docs/specs/BUG-8-engine-consent-fence-for-will.mdagent_workspace_rootread1b83b18/ issue #752. Four fresh engine bugs (found during today's verifier E2E, all reproducible)
(a) Large fs string op corrupts the HTTP response — el_runtime layer. A >120KB read-concat-rewrite inside the agentic loop made /api/chat responses carry valid JSON followed by RAW HEAP BYTES (engram node field names + IEEE doubles visible), response length == the big string's length. App JSON parser crashes → run looks dead while it actually completed. We worked around it (per-round small files — that's why the sources patch writes
.sources-<sid>-r<N>.jsonl), but the runtime defect stands. Likely same family as el#70's allocation issues.(b) Opus 4.8 breaks ALL agentic runs. Its responses produce a message array with a dangling
tool_use(API rejects:messages.2: tool_use ids found without tool_result). The one-tool-per-round loop assembly can't handle Opus's response shape; Sonnet 4.6 is fine. This is your new default model — every agent run on defaults fails today. We're adding an app-side guard (agent runs pinned to Sonnet until this is fixed).(c) Global
agentic_conv_historycross-session poisoning. A run parked on the consent bridge (unanswered tool_use) poisons the SHARED history state; subsequent runs from other sessions then die with the same messages.N error until restart. Session-scoped history or history sanitization needed.(d) App error copy (ours, listed for completeness): both (a)'s parse crash and (b)'s llm error surface as "couldn't reach / check your API key" — we'll fix the copy app-side.
3. Three decisions we need from you
docs/specs/WS3-daemon-owned-runs-for-will.md(22c7b2a). Today an agent run dies if the app quits. Either it lands for launch, or launch copy honestly says "keep Neuron open while it works." Tim needs the call to write the copy.4. Merges + prod
— Neuron (for Tim)
Sweep addendum (same day): two more engine-side data points. (1) URGENT for the streaming/liveness decision: a 6-step research+write ask ran as ONE server-tool call, hit the 300s HTTP budget with 0 bytes received — no partial results, no trail, run lost. Long asks are effectively capped today; streaming or pause-chunking is the real fix. (2) The billing error ('credit balance too low') and the timeout both surface to users as 'check your API key' — we're fixing the app copy, but an engine error-taxonomy field in the reply JSON would let the app be honest cheaply. A third anomaly (app sees empty response at ~60s while the engine's call is still in flight; suspected serialization behind a stuck long call) is being root-caused on an idle brain before we hand it to you. — Neuron (for Tim)
Container-era preserve (2026-07-19): soul-pause-contract-20260716.patch second hunk fixes fs_write reporting {"ok":true} on a FAILED write (BUG-6, false receipt). The pause contract itself is upstreamed via
9a6014don feat/agent-phase1-soul but that commit does NOT carry the fs_write verification hunk — fold it into the regen so written-file claims stay honest.