small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo

test(kernel): move background cell rules out of the daemon suite

cell_background_test ran twelve daemon scenarios, each a fake model turn around one rule. Most rules are the kernel's or the jobs reader's own, so they move to the cheapest tier that sees them: - the kernel tier (kernel_cell_api_test): a backgrounded cell, awaiting or blocking the loop, is interrupted at its original deadline and announced so; stopping it as a job leaves its child running as a top job; a durable result the journal refuses is announced as not journaled and keeps the result and the warning in its output. - a property over the saved job book (jobs_source_test): a job page's cell source is bounded to 16,384 characters, never cut inside one. The daemon keeps two scenarios: one session whose first cell wakes it once and is listed with its nested job, whose second is read before the turn ends and whose third is cancelled, neither waking it; and the cell that survives idle reaping and a restart. About 33 s becomes 12 s.


Author aly.codes
Date Commit Parent 310d2ba3
+238 -172
3 changed files
+238 -172
3 changed files