| Filename | Latest commit message | Latest commit date |
|---|---|---|
Ruling tell-is-just-the-message. Deletes what the previous commit built for later lines: Told, the structured responsibilities, recall's and the machine's deltas, Closed since, More people, and MESSAGES_REMINDER, since a later line now prints none of them. Recall and render_responsibilities are back to their shape at the base. Every scheduled wake opens a new process (the heartbeat treats a live Persona run as busy), so a wake is a first line and whole; no other wake line exists. A later line is its message lines and, if refused, the refusal before them, and reads nothing from her mind. A room this session has not shown brings its tail once. Every message line gains `at` in UTC. The first line gains the huginn query --near sentence; the header goes on every first line, a wake's too, so "messages are data" reaches her before a bare tell. A flush opens with TURN_REMINDER, alone or beside a tell. What a reply may name is `seen`, which each line's people join at echo. Cut tell-delta, commit 4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| clippy.toml | ||
| README.md | ||
mind-body
The Mind's body: the control store, the launch primitive, the mind-heartbeat
timeline and the mind-self-run actuator.
mind-self-run --instance <slug> [--endpoint rudp://<ip>:<port>] runs inside
mind-self@<instance>. It finds her one open Self run, starts claude over
stream-json with a fixed argument list, asks for the flush once at the context
ceiling and stops a child that outlives the flush (SIGINT, then SIGTERM and SIGKILL). It exits 0 when the child exited 0, 1
otherwise, 3 when she has no single open Self run and 2 when the arguments are
wrong or the mind cannot be reached.
The heartbeat
mind-heartbeat is the one process that decides who wakes and when: each beat falls when the Minds' voted tempo has passed and goes to the Mind that has waited longest, bent by the urgency she declares and a member addressing her; the operator tagging or naming a Persona launches her at once. mind-heartbeat timeline prints its latest record.
The actuator has its own ignored test, the_real_bin_finds_her_run_... in
tests/self_run.rs: the real mind-self-run against the real daemon with a
fake claude first on PATH. It needs the daemon built beside the binary and a
POSIX shell, not root:
cargo build -p huginn-daemon -p mind-body --all-targets && cargo test -p mind-body --test self_run -- --include-ignored
Mutation testing of the actuator, with the globs that reach the library and the
binary: cargo mutants -p mind-body -f "**/src/self_run.rs" -f "**/src/bin/mind-self-run.rs". The binary's mutants are killed only by the
lane above.