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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
chore: release v2.29.0
[._.]/ Adam Eivy254be217ef33
diff --git a/.changelog/NEXT.md b/.changelog/v2.29.0.mdsimilarity index 92%rename from .changelog/NEXT.mdrename to .changelog/v2.29.0.mdindex 1ea75ab569..b04050237c 100644--- a/.changelog/NEXT.md+++ b/.changelog/v2.29.0.md@@ -1,4 +1,26 @@-# Unreleased+# Release v2.29.0++Released: 2026-07-12++## Highlights++- **See what your AI actually costs.** The DevTools Usage page now covers every enabled provider — live Claude Code meters, real Codex session/weekly meters read from local telemetry, and honest "not available" notes for the rest — plus an Est. API Cost Report that answers "what would this usage have cost under API billing" for any window (7/30/90 days, all-time, or custom), broken down per provider and per model against a verified rate table. Local providers are tagged free. On-disk usage history is now rolled up from daily into monthly buckets so `usage.json` stays bounded.++- **A flaky local reviewer no longer strands your PRs.** Any code reviewer can now be marked non-blocking (`~opt`): it still runs and its findings still get fixed, but an inconclusive verdict (a timeout / no-result from, say, a local Ollama model) is excluded from the merge gate. The Claude reviewer gained an optional model field (including an Ollama-backed Claude for local-only setups), Grok is now a selectable reviewer, and merges can be gated on arbitrary GitHub reviewer usernames. Bundled slashdo updated to 3.24.0.++- **Chief of Staff self-healing got smarter and more accountable.** Task-learning success rates now decay via a recency window so a since-resolved failure burst stops nagging Layered Intelligence; recurring failures fold themselves into human-readable "Standing Learnings"; and investigation tasks use a plain-language "What happened / What to approve / What unblocks" template with PII redacted from the failure snippet. A new challenge protocol lets a sub-agent dispute a wrong reviewer rejection exactly once — auto-invoked from the review loop, resolvable by an automatic reviewer re-check or inline from the task card. Confidence auto-approval now always requires human sign-off for outward-facing or irreversible work.++- **A daily self-diagnostics job** surfaces CoS self-healing failures into a single GitHub monitoring issue, and the CoS Schedule Timeline can expand each task track to edit its per-app overrides inline.++- **Layered Intelligence now judges a managed app on its OWN goals and performance** rather than PortOS's agent telemetry, closes its feedback loop by learning from its own results, and no longer silently wedges when pinned to an API-only provider.++- **Media generation gains flexible output sizes.** Image Gen (and the dashboard's Quick Image widget) now support arbitrary dimensions beyond the fixed presets, and image + video share one resolution control. Audio→MIDI transcription via MuScriptor adds a model-size picker, auto-installs its runtime on first use, prompts for HuggingFace access instead of dead-ending, and shows a distinct "Downloading model…" phase. HuggingFace and runtime/venv installs now also log to the server console.++- **Offline support.** PortOS installs a service worker for offline app-shell loading and low-bandwidth caching — the modern replacement for the deprecated AppCache manifest — with its one cold-first-visit limitation documented as an accepted trade-off.++- **The Elements Song page gains a Flash Cards study mode** for learning name↔symbol pairings before being tested.++- **Reliability & internals.** Character Sheet name edits can no longer be reverted by a stale in-flight blur-save; Privacy broker case actions render from the server's state machine so the UI can't offer an illegal transition; and several duplicated child-process stream/discovery helpers and SSE job-slot hooks were consolidated into shared modules.## Changes@@ -87,3 +109,7 @@- **The Elements Song page gains a Flash Cards study mode so you can learn name↔symbol pairings before being tested (#2480).** The `/post/memory/elements` surface previously only *tested* element mappings (the Element Flash recall quiz) or let you *browse* the periodic table — a user who didn't already know the pairings had nowhere to learn them, unlike Morse (copy vs head-copy) and MemoryPractice (learn vs recall) which both have an explicit study→test split. A new **Flash Cards** mode draws the weakest-mastered elements first, shows one face (name, or symbol + atomic number) and flips to reveal the full pairing, then lets you self-rate *Got It* / *Study Again*. Study reps advance element mastery through the same `submitMemoryPractice` path the recall quiz uses (`mode: 'element-study'`), so studying counts toward the same per-element mastery the periodic-table heatmap shows. The elements page is also now reachable from ⌘K / voice nav (a new `nav.post.memory.elements` manifest entry) — it had no entry before. `element-study` is a standalone practice mode (like `learn`), not a POST-session drill type, so it's intentionally not offered in the balanced-session drill picker (the server has no session generator for it); no migration needed (additive enum value + label).- **`data/usage.json` no longer grows without bound — old per-day activity is rolled up into monthly buckets at load time (#2485).** Usage is rewritten in full on every AI run (`recordSession`/`recordMessages`), and `dailyActivity` accumulated one key per day forever, so the hot-path serialize+write grew linearly and would keep bloating as richer per-provider/per-model day buckets land. `loadUsage()` now runs a one-shot, idempotent rollup that moves day buckets older than 400 days (a full year-plus of per-day granularity, beyond any useful streak/report window) into a new `monthlyActivity['YYYY-MM']` map, deep-summing their numeric fields so long-range totals stay accurate at monthly granularity — and shape-tolerant, so any nested per-provider/per-model token splits are preserved when collapsed. Recent days are left untouched (streaks, last-7-days, and top-level totals are unchanged), and `monthlyActivity` is backfilled for existing installs on first load with no migration script needed (pure additive, tolerant load-time transform). The `buildUsageReport` cost report (#2484) now folds the monthly buckets back in alongside the daily ones, so an all-time or long-range Est. API Cost report stays accurate across the rollup boundary (a rolled-up month is whole-month-granular and included whenever it overlaps the requested range). New exported `rollupOldDailyActivity` helper is unit-tested for the retention boundary, same-month summing, deep nested-shape summing, idempotency, and total-preservation across the boundary, plus report tests for monthly folding and range overlap.++## Full Changelog++**Full Diff**: https://github.com/atomantic/PortOS/compare/v2.28.0...v2.29.0diff --git a/package-lock.json b/package-lock.jsonindex 09ab58efe5..f735c3896c 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "portos",- "version": "2.28.0",+ "version": "2.29.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "portos",- "version": "2.28.0",+ "version": "2.29.0","license": "MIT","devDependencies": {"pm2": "7.0.3"diff --git a/package.json b/package.jsonindex 4988608d50..c57470a6f4 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "portos",- "version": "2.28.0",+ "version": "2.29.0","private": true,"description": "Local dev machine App OS portal","author": "Adam Eivy (@antic|@atomantic)",