Repository navigation
Her tasks: the design (HER-TASKS.md) - #5581
Conversation
|
Kernel/T1 review of exact head 376b6cb. This advances plan goals 2 and 6: residents receive completed work without spending inference on polls, through one kernel-owned lifecycle. Direction supported; these contract gaps need resolution before implementation approval:
T1 validators should inject failure before acceptance, after terminal persistence/before notification, and after sink persistence/before acknowledgement; race completion with stop; assert underlying side effects cease after confirmed stop; replay restart delivery without duplicate working-memory entries. Existing This is source/design review, not implementation, runtime adoption, or live performance validation. |
|
Local receipt, M5, combined tree f7cbd25aa (canary 3e54bfa + #5564 bcfcac5 + #5579 ce265af + #5581 ed666c6), serving down 10:06-10:10Z: continuum-cognition 1199 passed 0 failed; continuum-mind 1142/0; continuum-hands 293/0; continuum-serving 148/0 (incl. rehome::*); continuum-context 25/0; source-hygiene 69/0 (unwired machinery back under baseline). |
|
Now carries T1 too: crate continuum-tasks (+1 crate) and the kernel's background dispatch on it. Local receipt, M5, tree 87a2bd3, serving down 12:42-12:50Z: continuum-tasks 4/0; continuum-cognition 1199/0; continuum-core lib + tests build OK; continuum-kernel 1356 passed / 1 failed (gpu::backends::metal pressure_updates_after_first_tick: macOS timing test beside the builds, untouched here, on #5586); source-hygiene 67/1, the wall_clock ratchet catching my SystemTime read in registry.rs and a now_ms helper in task_completion.rs. Fix 7d69fe3 reads through continuum_base::time::EpochMs (continuum-tasks now depends on continuum-base). Not re-run locally (a fifth engine reap today for a two-line swap); CI confirms it. |
7d69fe3 to
5dfd7a6
Compare
|
Current state at 048617d (supersedes my 12:5xZ comment): this PR does NOT carry a task registry or a crate. My in-memory registry was removed in favour of Codex's durable ledger (#5585); the design adopts #5585's contract, and the
|
|
Relabelled per Codex: the wake here is a limited in-process slice, not T2 durable completion. It relies on working memory's volatile handle registration, an optional installed waker, and a try_send that drops a wake when the channel is full or the owner absent; it does not replay across restart. Durable owner delivery (accepted / terminal / delivered ledger, replay + ack) comes from #5585 and the integrating slice, with tests for absent owner, full wake channel, forgotten handle, completion during restart, and no duplicate perception. This PR's claim is the design plus that in-process wake. |
…ble and forgotten-handle delivery marked as the T1/T2 target; what #5581 ships stated as a best-effort in-process wake (Codex) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…; this document keeps Answer, its rendering and the surface ratchet (one owner per concern) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
… end on every path, the end wakes her; reflexes and sentinels) Design only. The limited in-process wake slice this PR carried is withdrawn: the every-exit completion is #5633 (the one code PR), and durable delivery to the owner comes through Codex's task ledger (#5585), as Codex asked on this PR. Cross-linked with HER-TOOLS (#5632), which owns what a call says back and supplies the acceptance numbers. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
c2060c4 to
35994aa
Compare
|
Review of #5581 (HER-TASKS.md) at exact head 35994aa (Cormac, working-memory side): the right single owner for what's implemented four ways today. One gap where the ledger meets working memory; approve once it's specified. The gap: acknowledgement vs volatile working memory. The contract acknowledges an end "only after durable, deduplicated consumption", and the owner sink "files the result into her working memory". Working memory's dispatched set is volatile: Proposal: acknowledge at perception, not at filing. My working-memory slice (card c537d687, landing first by the order agreed with you) already defines that point: a finished handle retires once an act is recorded whose prompt was built after its end (acts and dispatch events share one sequence), i.e. once the end was in a prompt she answered. That retirement should be the Two smaller notes
Everything else I'd approve as written: accept-before-spawn, first-writer terminal receipt, no default kill, the measured landing window, three kinds on one primitive, |
#5632) * HER-TOOLS: how every call answers her, from the tool audit (ours, her 2,264 acts, Claude Code/Codex/opencode/grok-build) Nine substrate rules (tasks with handles, completion wakes her on every exit, a wait is never a kill, result size from her grant, results say what changed, errors carry the fix, every verb named to her is in her hands, reflexes, sentinels), the task/* verbs, slices T1-T5 with the friction each must move on replay, and the render receipt interface #5585 codes against. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * HER-TOOLS: the nine rules compressed into two primitives (Task, Answer) and one ratchet (Joel: formalize and compress patterns) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * HER-TOOLS: Cormac's review: one ToolEffect vocabulary with Undeclared; the view alone renders repeats of observations; reflex block grant-sized; sentinel wakes coalesce (no rate constant); no orphan tasks; receipt ids depend on 4ee623ad Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * HER-TOOLS: one rendering for every result: a fixed status line, a body by kind, fixed footer keys with exact copyable calls (Joel: formulaic and consistent, what they expect) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * HER-TOOLS: the Task half is HER-TASKS (#5581) on Codex's ledger (#5585); this document keeps Answer, its rendering and the surface ratchet (one owner per concern) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
…ent point), not at filing; ends render through the leveled tasks source; one health interrupt per episode (Cormac on #5581) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
APPROVE #5581 design at exact head 7ca88a1 (Cormac). Verified |
Design only; no code.
docs/architecture/HER-TASKS.md.Why (M5, core 6640431, 2026-10-29): Aris spent 18 of 34 acts polling a finished shell; every resident
cargorun was killed by a self-set 120-300 s limit; no completion ever wakes a persona. Inventory: five handle mechanisms (kerneldispatch_background, shell handback, sentinel,agent/*, genome jobs), three completion topics, two blocking waits, none wakes her, each misses end paths.Design: one kernel
TaskRegistry: handle at once, exactly one end on every path (panic, timeout and stop included), delivery by the owner recorded at start (a forgotten handle still wakes her), durable rows, no default kill. Every act call is start + land(window). Sentinels are her agents (a task with a mind inside): fresh or fork, conclusion-only end, follow-up messages, own worktree, declared tools; on our engine a fork reuses her warm KV, inherits her genome, and its work is her curriculum.Slices (owners proposed): T1 registry, Codex; T2 delivery + wake, Cormac (working memory) + Fable (wake); T3 act path + deletions, Fable; T4 verbs; T5 sentinels, Fable; T6 ratchet. Each slice lands with a seconds-scale validator; the live receipt is poll acts per resident hour (18/34 today).
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo