Repository navigation
A dream that distils instead of deleting
/dream is now a distiller. It reads the memos the memory system has accumulated
and makes three moves: merge near-identical memos into one fuller note (the
sources are snapshotted first, so u in /memory undoes it), distil a memo
down to the one sentence that leads its embedding text, and induce a new rule
from a cluster of related memos without touching them. Duplicate detection uses the
same cosine measure recall uses (0.86, calibrated on a real library of 87 memos),
the plan is built inside a budget so a single tool result can carry it, and a pass
marks only what it actually handled — an empty pass no longer swallows the backlog.
Embeddings carry a text version, so a library written by an older build is
re-embedded once instead of staying stale. /memory shows the dream status, badges
rules, and can run a pass or undo a merge in place.
A subagent that is quiet, not stuck
A background subagent writes its log exactly once, on settlement, so TaskOutput
used to report output_size_bytes: 0 for its entire run — and nothing else about
progress. That zero is structural, but it reads as "started and produced nothing",
and a child writing its conclusions could be stopped as stuck. Progress is now
counted from the child's own event stream (subagent_steps,
subagent_tool_calls) alongside the elapsed time and the remaining deadline, the
empty log is named as a running child's normal state, a sample that cannot be taken
says so instead of leaving a gap, and a failed child keeps its error in the log
rather than a bare status.
Read-only tools that need no permission
Ask mode sent every read-only tool the legacy auto-approve list did not carry to
the approval prompt. In a background report job — ask mode, nobody attached — that
prompt is not a question but Approval handler is unavailable., so ReadGroup,
AstGrep, MemoryLookup, KnowledgeLookup, ReportFinding and JobList were
silently out of reach. A catalog-driven policy now approves read-only tools in ask
mode, placed below every rule that can tighten them, and JobList joins
TaskList / CronList in the auto-approve list.
Workspace packages are bumped to 0.21.2.