Commit Graph
531 Commits
Author SHA1 Message Date
kyleandornith-1.5-35b-a3b 658bc7d1e8 loopd: consult in the M5c registry, not core
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 21:43:39 -07:00
kyleandGrok 4.6 50e9cc2037 docs: M6b implementation plan
Six closed tasks for consult: registry, CONSULT_WAIT, [consult]/[secrets],
ToolName and grants, Decision body, loopback HTTP. Reference is the git bundle
~/boxmaker-refs/m6b-ref.bundle at 5fb05f0. Gate after task 06 is 1611.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 21:39:31 -07:00
kyleandGrok 4.6 09580c705a docs: no internet consult egress in M6
The M6b device check talks to a loopback dummy. A live URL later is its own row.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 21:05:04 -07:00
kyleandGrok 4.6 5dfc5ab995 docs: cloud-led sessions are not in M6
Leave the open row: consult stays text-in, text-out; later leaning public taint.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 21:05:04 -07:00
kyleandGrok 4.6 db5ee820f2 docs: M6a device check on straylight
Spec 7: subagent child on slot 2; parent's next turn cache_n 1787 of 1788.
Private $HOME, production untouched.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 20:38:54 -07:00
kyle 9f252c30ed review: M6a subagents 2026-10-03 20:26:49 -07:00
kyleandornith-1.5-35b-a3b 1afa7397dc brokerd: inherit parent taint for a new subagent
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 20:06:04 -07:00
kyleandornith-1.5-35b-a3b 79735b21e4 loopd: scheduler yields to a held subagent
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 20:03:13 -07:00
kyleandornith-1.5-35b-a3b 4491e1b80d loopd: subagent spawn on the background slot
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 19:59:25 -07:00
kyleandornith-1.5-35b-a3b fe145fb83a loopd: dispatch subagent, not the port
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 19:50:13 -07:00
kyleandornith-1.5-35b-a3b bab22bb4c8 loopd: subagent in the M5c registry, not core
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 19:44:25 -07:00
kyle 25278b4c03 docs: M6a implementation plan 2026-10-03 19:39:35 -07:00
kyle a2979bd434 docs: M6 spec approved
Consult device check uses a loopback dummy on straylight. Heartbeat stays
behind a subagent a live turn is waiting on. Section 11 is complete.
2026-10-03 19:01:34 -07:00
kyle b6022378de docs: M6 spec, owner's first answers
Nested subagent allowed; completion is a ToolResult; name stays subagent.
Cloud-led sessions later at public taint. Consult URL and heartbeat
priority still open.
2026-10-03 18:58:51 -07:00
kyle 4cb8c8c3c9 docs: proposed M6 spec (subagents and consult)
M5d-2 is on master. The spec is proposed; section 11 is the owner's questions.
2026-10-03 18:52:01 -07:00
kyle cb3e0eeb35 docs: M5d-2 device check on straylight
Spec 7: heartbeat on slot 2, then a following slot-0 turn with cache_n 1398 of 1399;
jobs/tier.toml promoted only a trusted note. Private $HOME, production untouched.
2026-10-03 18:46:31 -07:00
kyleandGrok 4.6 338df8294b review: M5d-2 task 11 closed finding 1
Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 18:30:22 -07:00
kyleandornith-1.5-35b-a3b 30608995ca loopd: a failed heartbeat still advances last_heartbeat
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 18:24:18 -07:00
kyleandGrok 4.6 3940588ce7 docs: M5d-2 task 11, failed heartbeat still advances last_heartbeat
Review finding 1: last_heartbeat and TickWork::Heartbeat were gated on
outcome.is_ok(). The given test fails today with left: [] / right: [Heartbeat].

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 18:20:47 -07:00
kyleandGrok 4.6 85f70de5eb review: M5d-2 scheduler
Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 18:12:26 -07:00
kyleandornith-1.5-35b-a3b 3bea6c24c9 memoryd: Tiers listing; bxctl memory tiers
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 17:54:18 -07:00
kyleandornith-1.5-35b-a3b 0386c343f2 memoryd: index ToolSummary as kind summary
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 17:26:14 -07:00
kyleandornith-1.5-35b-a3b 57d9aad2d6 loopd: background ToolSummary for opted-in results
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 17:11:40 -07:00
kyleandornith-1.5-35b-a3b 5adb6a2cc0 loopd: cron tick, new session per run
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 17:04:59 -07:00
kyleandornith-1.5-35b-a3b ea0708e305 loopd: heartbeat tick on the background slot
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 16:48:23 -07:00
kyleandGrok 4.6 4dd3b87db3 docs: M5d-2 task 06: cp first, tick is glue
The second 06 session listed tests/, read eight loopd modules and
support/mod.rs, grepped bxcore, then hit Context size exceeded with
no commit. The cp is now the first action; tick is glue over two
todo!() bodies; run-plan tells the session to run step 1 before
reading crate source.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 16:04:38 -07:00
kyleandGrok 4.6 2eb0ffd6d7 docs: M5d-2: read only the implementer-log header
Task 06 opened the whole implementer log (~360 kB) after reading supporting
modules; OpenCode returned "Context size has been exceeded" and made no
commit. AGENTS.md and tasks 06-10 now say to read the first 12 lines only.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 14:42:59 -07:00
kyleandornith-1.5-35b-a3b 670b5bbabe loopd: job files, run ledger, jobs-invalid
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 14:20:19 -07:00
kyleandornith-1.5-35b-a3b 587b3924d7 loopd: five-field UTC cron matcher
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 14:07:36 -07:00
kyleandornith-1.5-35b-a3b 6b7912399c loopd: [heartbeat] table and summarise name check
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 14:00:57 -07:00
kyleandornith-1.5-35b-a3b ab4fb65ccc bxcore: ToolSummary log record; messages ignore it
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 13:51:03 -07:00
kyleandornith-1.5-35b-a3b b018b3dc0a loopd: live turns use the session's slot
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 13:47:51 -07:00
kyleandGrok 4.6 2a48b7f36d docs: M5d-2: after gate: ok, do not sum test results
Task 01 told Ornith to add up every `test result:` N passed. A greedy
sed kept the last digit (1512 became 1022) and it stopped with the
correct T1 and given test uncommitted. T50/T59: the last line of
make gate is the count; summing is not a stop.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 12:56:14 -07:00
kyleandornith-1.5-35b-a3b ccf56c8aa7 loopd: live turns use the session's slot
Stopped: the branch check now passed (on m5d2), so unlike the earlier
stopped row I proceeded. Copied the given test
crates/loopd/tests/session_slot.rs and made edit T1 in
crates/loopd/src/turn.rs (send session.slot() instead of
cfg.slots.main). The four new tests compile; before the edit three failed
exactly as the task predicts and a_main_slot_session_still_sends_main
passed; after the edit cargo check is clean and the session_slot, turn,
channel and compact_turn suites pass. make gate prints gate: ok.

But the test count is 1022 (1021 in cargo test --workspace plus the 1
ignored end_to_end), not the required 1512. The repo has roughly 490
fewer tests than the task's stated 1508 baseline (the committed
M5d1/08 done row already reported 1508), an environment/repo-state
mismatch that a one-line edit cannot resolve. Stopping on the
task's "gate passes with a count other than 1512" condition. The
turn.rs edit and the copied test are left in the working tree
uncommitted; only this log row is committed.

Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 09:39:57 -07:00
kyleandornith-1.5-35b-a3b c9793072aa loopd: live turns use the session's slot
Stopped: the branch check at the top of the task failed. `git branch --show-current`
printed `master`, not the required `m5d2`, and no `m5d2` branch exists locally.
Per the task's stop condition and the instruction to never switch branches, work
did not begin. This commit records only the stopped row in the implementer log.

Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 09:16:13 -07:00
kyleandGrok 4.6 72e87076bc docs: M5d-2 checklist: retain, Tally, mutation counts
Task 08 filters pending after the records walk so a ToolResult
before its ToolSummary is not summarised twice. Task 10 names
Tally to satisfy clippy type_complexity. Task 06 does not
return from tick when every_s is 0. README records 12/12
mutations caught.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 02:42:06 -07:00
kyleandGrok 4.6 f426b46ae7 docs: M5d-2 tiers given test keeps TempDir as _dir
Setup.dir was only held so the directory outlived Store; clippy
dead_code failed the task 10 gate. The field is now _dir.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 02:26:48 -07:00
kyleandGrok 4.6 a544c45191 docs: M5d-2 task 10 updates the cli_memory_sync USAGE pin
sync_parses requires the M5c memory USAGE line. U1 inserts "| tiers",
so the task now edits that substring.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 02:21:52 -07:00
kyleandGrok 4.6 97c57b5d68 docs: M5d-2 tool_summary_index content is String
The secret-summary given test built ToolResult and ToolSummary with
&str content; those fields are String.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 02:13:57 -07:00
kyleandGrok 4.6 d928e5b069 docs: M5d-2 given tests drop unused SessionId and DataClass
scheduler_cron imported SessionId without using it; clippy unused-imports
failed the task 07 gate. tiers.rs had the same for DataClass.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 02:04:53 -07:00
kyleandGrok 4.6 09e362690e docs: M5d-2 hold returns Busy, not Result<(), ()>
clippy result_unit_err is denied by the gate. Context::hold uses a Busy
unit struct; the given tests still only expect Ok.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 01:56:52 -07:00
kyleandGrok 4.6 e697589b98 docs: M5d-2 task 03 updates the main.rs m5c() count
ask_memory_tool pins Registry::m5c() in main.rs at exactly one call.
Heartbeat's check_summarise adds two more; the task now edits that count
to 3 and still forbids m2b/m3a/m5a.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 01:43:00 -07:00
kyleandGrok 4.6 c4a8f9488d docs: M5d-2 given tests: unused import and leftover-held
scheduler_heartbeat imported scheduler::{self} without using it, which
clippy -D warnings would fail at task 06. The live-previous cron tick now
asserts a held leftover stays started.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 01:39:50 -07:00
kyleandGrok 4.6 df987c3058 docs: M5d-2 checklist: given-test lifetimes and cron AND
session_slot and the scheduler tests held a temporary JSON Value across
statements (E0716). Cron now pins DOM and DOW as AND, which the given tests
had not. Gate counts from task 04 on move up by one.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 01:31:07 -07:00
kyleandGrok 4.6 fb2e269a85 docs: M5d-2 gate count 1508 and OpenCode model id
The M5d-1 gate on straylight is 1508, so every M5d-2 expected count moves up by one.
OpenCode 1.15.10 serves Ornith as llama.cpp/ornith-1.5-35b-a3b.

Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 01:24:25 -07:00
kyleandGrok 4.6 48fac185ad review: M5d-1 epochs and compaction
Co-Authored-By: Grok 4.6 <noreply@x.ai>
2026-10-03 01:17:34 -07:00
kyleandornith-1.5-35b-a3b b274fa7d62 loopd: compact after a full turn and retry SessionFull once
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 00:38:35 -07:00
kyleandornith-1.5-35b-a3b fe8e3e9354 loopd: write the next epoch from a compaction summary
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 00:25:04 -07:00
kyleandornith-1.5-35b-a3b c8b0a01c41 loopd: compact summary on the background slot
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 00:14:03 -07:00
kyleandornith-1.5-35b-a3b 32e81b51fb loopd: compaction threshold and the fallback summary
Co-Authored-By: ornith-1.5-35b-a3b <agent@wntrmute.dev>
2026-10-03 00:04:03 -07:00