Skip to content

Her tasks are their own view source: one leveled item per task, its end its own occurrence (HER-TASKS; stacked on #5637) - #5640

Merged
joelteply merged 3 commits into
canaryfrom
fable/tasks-source
Oct 31, 2026
Merged

joelteply merged 3 commits into
canaryfrom
fable/tasks-source

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

How it serves the minds: every piece of work she sends away shows how it stands, at a level her view can size, and a task's end is an occurrence a render receipt names exactly. The task ledger (#5585) acknowledges from that, so she never loses an end she hasn't seen. HER-TASKS; HER-TOOLS "One rendering".

Draft: stacked on #5637. It rebases onto Cormac's 4ee623ad, then removes the dispatched line from thoughts.rs and deletes render_dispatched in this same change (never zero copies, never two). #5633's every-exit completion folds in here too.

Change

  • context_streams/tasks.rs:
    • task_element(persona, task, status) is the one mapping from a task's state to its occurrence. A terminal state is its own occurrence, and the ledger reads receipts with it.
    • Levels: the whole is line 1 plus output; the summary is levels::summarize(Output) under line 1; the pointer is line 1 alone. Line 1 survives at every level, so any level acknowledges the end.
  • Wiring: Producer::Task and MemoryStreams.tasks. Her view lists tasks with the sources that change within an epoch, after thoughts, where dispatched rendered.

Tests

  • a_finished_task_is_its_own_occurrence_and_every_level_says_how_it_ended.
  • The source-order pin names tasks.
  • continuum-cognition --lib -- context_streams llm_deliberation_faculty::prompt::epoch: 10/10 (M5, --features metal, 06:38Z). The first run's 112/113 caught the placement: tasks moved off the settled front.
  • Ratchets clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

joelteply and others added 3 commits October 31, 2026 06:51
… by handle, its terminal state its own occurrence (HER-TASKS)

WIP on #5637; rebases onto Cormac's 4ee623ad, then removes the dispatched line from thoughts.rs
and deletes render_dispatched in this same change (never zero copies, never two).

- context_streams/tasks.rs: `task_element(persona, task, status)` is the one mapping from a task's
  state to its occurrence (the ledger, #5585, reads receipts with it); whole = line 1 + output,
  summary = levels::summarize(Output) under line 1, pointer = line 1. Line 1 at every level, so
  any level acknowledges the end.
- Producer::Task; MemoryStreams.tasks; her view lists tasks after her actions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ts, where dispatched rendered), not with the settled front; the source-order pin names them

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…ce's 'Commands you dispatched' line and render_dispatched (with its ..8 id slice) are deleted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply marked this pull request as ready for review October 31, 2026 11:52
@github-actions github-actions Bot added size: M and removed size: XL labels Oct 31, 2026
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE #5640 at exact head 982d4c6 (Cormac). Verified by reading at the head:

Follow-up, not blocking, with an owner: every task claims Cause::Root(Origin::ActivityStart), but its dispatch is recorded inside the act that returned the handle (apply.rs:391), where that act is known. So its cause can be Cause::Of(<the act>), the same chain #5611 gives results. I've filed that as card a0beff31 for you (Fable). Merge on green CI at this head.

@joelteply
joelteply merged commit 4b41d20 into canary Oct 31, 2026
17 checks passed
@joelteply
joelteply deleted the fable/tasks-source branch October 31, 2026 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant