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.27.0
[._.]/ Adam Eivycec4c9932e0b
diff --git a/.changelog/NEXT.md b/.changelog/v2.27.0.mdsimilarity index 97%rename from .changelog/NEXT.mdrename to .changelog/v2.27.0.mdindex 38d04b40fd..ccc11c112f 100644--- a/.changelog/NEXT.md+++ b/.changelog/v2.27.0.md@@ -1,4 +1,32 @@-# Unreleased Changes+# Release v2.27.0++Released: 2026-07-08++## Highlights++- **Creative Writing Quality Engine.** A calibrated LLM quality judge now scores every drafted issue (writer/judge model split), and a new foundation-quality gate judges the world, characters, and arc *before* the expensive drafting stages run. Series Autopilot can iterate a whole series to quality under a keep/revert score gate, invent several distinct concepts under an anti-generic banlist and pick a winner, and auto-polish drafts in place. Editorial review now catches AI-slop writing tells, measures voice drift against the voice you *chose* (the "tuning fork" style exemplars), runs an adversarial-cuts pass, and simulates a four-persona reader panel. Prose can be exported as a compiled manuscript, ePub, or print-interior PDF.++- **Privacy Center.** A full data-privacy cockpit: an encrypted PII vault, a trusted-organizations registry, an exposure-scan engine that finds you on people-search and data-broker sites, and an opt-out automation engine that works your removals for you across web-form and email lanes with verification and scheduling. A Brokers cockpit visualizes where you're exposed and drives removals from the UI, change-of-address tracking flags who still needs your new number/email/address, and the vault can feed your Digital Twin as an opt-in identity dossier.++- **Human Activity Tracking.** A unified activity timeline backed by bulk-history importers for Spotify, YouTube, iMessage, Signal, WhatsApp, Discord, Google Takeout location history, browser history, and a full Gmail `.mbox` backfill. The timeline drives three federated, LLM-free outputs: daily-log auto-drafts of what actually happened, Digital Twin taste + chronotype enrichment learned from observed behavior, and a weekly goal-effectiveness scorecard correlating where your time went against your stated goals.++- **Layered Intelligence Loop.** An opt-in, per-managed-app self-improvement loop that gathers each app's goals/metrics/health signals, reasons over them with a provider you configure, and files exactly one well-scoped improvement issue per cycle — to GitHub, GitLab, Jira, or PLAN.md. The reasoning model never touches code; every side effect is deterministic. Custom telemetry sources can be files, URLs, or shell commands, and a Layered Intelligence overview page surfaces the loop's status and proposal counts across every app.++- **Creative Director.** Continued build-out of the Creative Director orchestrator: a gated creative-tool registry, production plans driven by a planner agent, a bidirectional bridge to Series Autopilot, and a Studio UI with a directive composer, plan board, blocked-step triage, and dry-run preview. Rendered scenes are now evaluated on a local vision model instead of Opus.++- **Media & image tools.** The Image Cleaner gained a GPU FLUX diffusion round-trip that genuinely disrupts SynthID watermarks, with an ignore-zone mask to preserve text and faces. New: a sketch & annotation canvas for guided re-renders and blank-canvas storyboards, custom HuggingFace base-model management (no more hand-editing JSON), LoRA download progress + corruption verification, exact custom video dimensions, and a watchdog that kills wedged local renders instead of pinning the GPU queue.++- **MeatSpace POST training.** A unified progress dashboard tracks whether you're actually improving, cognitive drills now level up as you master them, and sessions survive refreshes, are shareable by link, and can't double-record. Server-side Morse progress with WPM/accuracy trends and a confusion matrix, Wordplay practice tracking, and a batch of scoring/adaptive-preview correctness fixes round it out — with mobile-Safari and mobile-layout fixes throughout.++- **Songs & Rounds.** The live vocal Tuner now locks onto the note you're singing instead of flickering, you can learn real parts from a reference recording (including pulling a voice out of a stacked mix) or attach reference audio straight from a URL, and several key-signature and minor-key rendering bugs are fixed.++- **Chief of Staff agents.** branch-reconcile now reaps abandoned `/claim` worktrees instead of parking on them forever, a wall-clock ceiling backstops the idle reaper so a stuck agent can't run unbounded, TUI agents with zero file changes are marked failed instead of silently succeeding, partially-completed issues no longer become un-claimable zombies, and a batch of TUI paste-rendering and worktree-race fixes landed. Branch/PR reconciliation now runs on any managed app, not just PortOS.++- **AI providers & integrations.** OpenCode Ollama providers accept any `--model` flag and start/stop cleanly under Chief of Staff on Windows, a wrong local-model default self-corrects instead of failing the run, Jira Cloud token expiry now gives the same friendly message as Server and workspace ids auto-detect, and the Usage page shows your Claude Code subscription rate limits alongside PortOS's own token counts.++## Full Changelog++**Full Diff**: https://github.com/atomantic/PortOS/compare/v2.26.0...v2.27.0- **[issue-2157] Goal effectiveness scorecard — weekly time-allocation vs stated goals (Human Activity Tracking Phase 8).** The third federated output of the activity timeline: a new **Goal Scorecard** tab on the Insights page correlates where a week's tracked time/attention actually went (conversations, meetings, media from `human_activity_events`) against your stated goals (`data/digital-twin/goals.json`) — deterministically and **LLM-free**. `server/services/goalScorecard.js` maps each timeline event to goals via three deterministic, user-editable rules — keyword (goal title/tags/category tokens, stopword-filtered, matched against event text + participant names), linked-person (`goal.linkedActivities` ↔ event participant `personId`), and linked-calendar (`goal.linkedCalendars` ↔ event `subcalendarId`) — then rolls up hours aligned per goal vs unaligned time, an aligned-share trend over the last 4 weeks, and distinct-contact counts per goal (tribe touch cadence vs relationship goals). Events without a real duration get a small per-kind nominal weight so a chatty day doesn't vanish from a time-allocation view. The numeric scorecard persists as an artifact under `data/insights/goal-scorecard.json` and renders as totals cards + a per-goal breakdown + a trend sparkline; a collapsible "Mapping" editor lets you add extra keywords per goal (stored locally in `data/insights/goal-scorecard-rules.json`, never federated). Week bucketing is timezone-anchored on the same source-of-truth local-day range as the rest of the timeline (DST-correct 7-day spans, configurable Monday/Sunday start). Per the AI policy the numeric scorecard is always provider-free and computed only on an explicit user action; an **optional** plain-language narrative ("this week you said X mattered but spent 6× more time on Y") sits behind the same opt-in provider config as the Phase 6 activity digest — silent until you enable a provider and click Generate — and only annotates the deterministic artifact. When enabled, a one-line slice can also be spliced into the week-anchor day's Brain daily-log. New Zod-validated routes under `/api/insights/goal-scorecard` (`GET` cached read, `POST /compute` LLM-free, `POST /narrative` opt-in, `GET/PUT /rules`, `GET/PUT /settings`). (`server/services/goalScorecard.js`, `server/routes/insights.js`, `server/lib/validation.js`, `server/lib/navManifest.js`, `client/src/pages/Insights.jsx`, `client/src/components/insights/GoalScorecardTab.jsx`, `client/src/services/apiSystem.js`)diff --git a/package-lock.json b/package-lock.jsonindex 3efbc47042..3261e8ff65 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "portos",- "version": "2.26.0",+ "version": "2.27.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "portos",- "version": "2.26.0",+ "version": "2.27.0","license": "MIT","devDependencies": {"pm2": "7.0.3"diff --git a/package.json b/package.jsonindex ca15aa8008..e7a4eb41b8 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "portos",- "version": "2.26.0",+ "version": "2.27.0","private": true,"description": "Local dev machine App OS portal","author": "Adam Eivy (@antic|@atomantic)",