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

Merge remote-tracking branch 'origin/main' into claim/issue-2772

[._.]/ Adam Eivyc42419e2ecf7
diff --cc .changelog/NEXT.md
index fa99d272b0,97b79e7e28..45f9148290
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@@ -52,8 -52,8 +52,10 @@@
## Fixed
+- [issue-2772] **A scheduled Music commission now produces a track you can actually play and rate, not just a job id.** When a `music` commission's Creative Director ran, its planner enqueued the audio render but never tagged it for the project — so the finished track was never filed onto the project and the commission's run preview had nothing to show. Planner-enqueued audio jobs are now tagged the same way the first-pass music flow already was, so the durable music-bed hook files the rendered track onto the project the moment it completes (no open browser required), and the commission run preview surfaces it as an inline audio player you can play and thumbs-up/down to steer the next run. Video and image commissions are unchanged.
+
+ - [issue-2770] **Losing the migration bookkeeping file can no longer wipe legitimately-earned learning history.** The two one-time cleanups that cleared mis-recorded task stats (#2700, #2696) find their target by presence — "is this bucket here?" — which is exactly right the first time, but dangerous on a rerun. If `data/migrations.applied.json` (the list of which migrations have run) ever went missing or got corrupted, the runner rebuilt it from scratch and reran *every* migration — so those cleanups would fire again and delete the real success/failure history you'd accumulated since. Migrations that purge by presence now declare themselves to the runner, and the runner refuses to rerun one whenever it had to rebuild that bookkeeping file from empty: your post-fix history survives, and on a fresh install (where there's nothing to clear anyway) the cleanup is simply recorded as done. The guard lives in one place and is shared by both cleanups, so they can't drift apart.
+
- [issue-2696] **Background jobs that finish your work through git/GitHub/Jira instead of a commit no longer report a permanent 0% success rate.** The branch-reconcile, issue-reconcile, branch-cleanup, and Jira status-report jobs deliver their result as a side effect — a merged PR, a resolved conflict, a deleted branch, a posted report — so they deliberately never make a `task-…` commit of their own. But the success check only knew how to look for that commit, so it scored every *successful* run as a failure and pinned those task types at 0% on the CoS Learning card (which in turn steered the self-improvement loop away from them on evidence that was never true). They're now judged the same way pipeline and media jobs already were — by whether the run itself succeeded — and a one-time migration clears the mis-recorded history on upgrade (and the "Backfill History" button no longer re-poisons it from the old records). This is the same measurement bug already fixed for the Layered Intelligence reasoning run; jobs that genuinely do commit their work — the accessibility audit, the Jira sprint manager, the PLAN.md replan — are unaffected and still judged on their commit, so a real failure there is never masked.
- [issue-2737] **An unattended background AI job that hits a failing provider no longer buries you in a stack of red error toasts.** Jobs that run without you watching — like the weekly goal check-in, which makes one AI call per goal at once — used to fire a separate red error toast for *every* failed call when a provider was down (an expired key, a dead endpoint, a model returning nothing). A seven-goal check-in against a broken provider meant seven stacked toasts you never saw coming. Those background failures now collapse into a single toast per provider that counts them ("Example Provider failed on 5 background AI calls"), with the first one still showing the provider's real reason. AI actions *you* triggered are unchanged: they still report their failure the instant it happens, one toast each, with the provider's actual error — so a failure you're waiting on is never aggregated away.