Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

docs([issue-2764]): log LI execution-failure taxonomy to changelog

[._.]/ Adam Eivy5d352694702c
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index 749c716dc5..4b760fb03b 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -124,6 +124,10 @@
## Layered Intelligence
+### Added
+
+- [issue-2764] **Layered Intelligence now learns *why* its own hand-offs fail, not just how often.** When the loop hands one of its proposals to a coding agent and that run fails, the failure is now sorted into one of five plain-language causes — the task was under-defined or already done (planning), the agent applied the change wrong (execution), the change broke a test/lint/build check (testing), the agent lacked repo context or ran out of budget (context), or the work was outside what an autonomous agent could do here (scope). Future runs get a one-line summary of those causes alongside the existing per-domain success rate, so the loop can tell "0% executed because the proposals were under-scoped" apart from "0% executed because they kept breaking tests" and adjust what it proposes accordingly. A failure the signal can't explain is recorded as an honest "no recognized cause" and counted, never dressed up as a real diagnosis. It costs no extra AI calls and no extra tracker reads — the diagnosis is derived from the failure signal the run already produced — and only non-environmental failures count (a provider outage or rate limit never dents a domain's failure shape). This is the first slice of the larger LI effectiveness tracker; nothing about how records are stored changes, so older installs pick it up on the next hand-off with no migration.
+
### Changed
- [issue-2760] **Layered Intelligence now steers its proposals toward work it can actually finish.** Each run reads its own track record — which kinds of task it has historically completed versus consistently failed — and hands the reasoner an explicit "prefer these, avoid those" summary before it decides what to propose. So the loop stops repeatedly filing work in areas where its follow-through fails and concentrates on the kinds of improvement it lands reliably. The read is fresh every run, so an area recovers on its own the moment its success rate climbs back — nothing to reset by hand. This only kicks in once an area has enough completed runs to be meaningful, and applies to PortOS's own self-improvement loop (managed apps, which don't track these run stats, are unaffected).