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

14.7 KB
Raw Blame

Release v2.33.0

Released: 2026-07-21

Highlights

  • Kimi Code joins the provider roster. Moonshot AI's kimi binary is now a first-class agentic-coding provider in both headless (CLI) and interactive (TUI) flavors — opt-in, harness-capable, and selectable as a CoS-agent, reviewer, runner, or TUI provider once enabled.
  • Codex image generation defaults to the cheap tier. Every Codex-backed render (comic pages, scene images, avatars, universe art) now uses the light gpt-5.6-luna model at low reasoning effort out of the box, with Model and Reasoning-effort overrides in Settings → Image Gen.
  • Layered Intelligence got materially smarter and safer. Proposal-execution outcomes now federate back to the peer that filed the proposal (so cross-peer implementations show up in your own "how reliably do my hand-offs land" signal); a degraded loop is hard-gated from proposing self-improvement or chronically-failing work before filing; rejected proposals are diagnosed as merge-conflict / validation-failed from their implementing PR; and same-cause auto-investigations collapse to one row across federated machines.
  • Tribe outreach now covers Gmail. Unanswered-thread nudges extend beyond iMessage/Signal to email — per-account reply detection, send-as-alias aware, email-tone drafts, and hardened so a busy or opted-out account can't produce false nudges.
  • Enterprise GitHub support for CoS reconcilers. The branch and issue reconcilers now work on self-hosted GitHub Enterprise repos, not just github.com, via a shared host classifier.
  • Goals: Daily Driver feature-area targeting. The goal editor gains a multi-select to pin exactly which PortOS areas the Daily Driver deep-links to for a given goal.
  • CyberCity exploration polish. The player now renders with the bundled rigged GLB avatar (crossfaded idle/walk/run/jump clips) and supports Space-bar jumping without triggering the voice hotkey.
  • "Decide, don't defer" agent triage. Claim prompts and the LI proposal playbook now make the reasonable call and ship ready-to-work issues instead of parking ambiguous ones as decision-blocked future/needs-input.
  • GitLab group-owner filter fix. The GitLab claim-issue detector short-circuits the group-owner trap with a distinct, actionable parking reason.

AI providers

  • [issue-2815] Added Kimi Code (Moonshot AI's kimi binary) as a first-class agentic-coding provider in both CLI (headless one-shot) and TUI (interactive PTY) flavors — kimi-cli and kimi-tui, mirroring the Grok/Antigravity/Codex process providers. Both ship disabled (opt-in) and are harness-capable, so once enabled they're selectable as CoS-agent / reviewer / runner / TUI providers. The headless path runs kimi --print (which implies --afk, auto-approving tool calls) and delivers the prompt as the --prompt <value> argv; the TUI path runs kimi --yolo. Model selection uses a kimi-configured-default sentinel — PortOS omits --model so the local kimi binary uses your own configured default (set via /model), while a real model id you pin is passed through as --model <id>. The context window is mapped to Kimi K2's 256K. Existing installs pick the pair up on restart via migration 201-kimi-providers. The pre-existing nvidia-kimi HTTP API entry is unchanged. (Prompt-delivery path defaults to the argv value and should be confirmed against a live kimi binary.)

Image generation

  • [issue-2826] Codex image generation now defaults to the cheap gpt-5.6-luna model at low reasoning effort instead of silently running Codex's heaviest default tier. Every Codex-backed render (comic pages, scene images, avatars, universe art) now takes the light, low-cost path out of the box, on fresh installs and existing ones alike. You can override both in Settings → Image Gen: the existing Model field now shows the default as its placeholder, and a new Reasoning effort dropdown lets you dial it up (or leave it on the cheap default). An explicit choice always wins over the default.

Federation

  • [issue-2779] Layered Intelligence proposal-execution outcomes now federate back to the peer that filed the proposal. A CoS hand-off task filed on one machine can be claimed and executed on another (task federation, #1712/#1714), but the per-proposal execution outcome (#2765) was only recorded into the machine that ran the agent — its li-outcomes collection isn't federated, so the originating machine's execution awareness never reflected a proposal a peer implemented. The executing machine now stamps the execution verdict (with its completion time) into the completed hand-off task's federated metadata, and when that terminal state syncs back the originating machine derives the outcome from it — so its per-domain "how reliably do my own hand-offs get implemented" signal now reflects cross-peer executions. Only the machine that actually filed the proposal records it (a third sync peer that merely adopts the finished task records nothing), and recording is durably idempotent: a re-synced terminal task is a no-op while a genuinely re-executed (newer) hand-off overwrites, so the outcome converges even across a crash or a peer that stored the terminal task before upgrading. li-outcomes stays local; the verdict rides the already-federated task as additive metadata (no schema-version bump).

  • [issue-2628] Same-cause auto-investigation tasks no longer pile up across federated machines. The per-machine "one open investigation per failure fingerprint" guard couldn't see a second machine that minted its own investigation for the same cause before the next sync, so both survived the peer merge. The CoS task merge now collapses same-fingerprint OPEN investigations to a single active row: it keeps the older copy (or, if one is already being worked, the in-progress copy so a running investigation is never cut off), folds every duplicate's list of blocked tasks onto the survivor, and marks the others done rather than deleting them (so the collapse converges the same way on every peer). Two machines that each opened an investigation for one failure now settle on one.

Layered Intelligence rejection diagnosis

  • [issue-2748] Rejected LI proposals are now diagnosed as merge-conflict / validation-failed from the implementing PR — when a Layered Intelligence proposal is closed unmerged and its implementing pull request had merge conflicts or failing checks, the loop now records that as the rejection reason instead of a generic "declined." It reads the PR handle from GitHub's closing-PR references in the batch it already fetches, then makes one bounded gh pr view check only for proposals a label or closing comment didn't already explain — so a mechanical PR fact refines an otherwise-vague close but never overrides a human's stated reason, and nothing runs at boot.

  • [issue-2824] Hard pre-filing exclusion gate — a degraded Layered Intelligence loop stops proposing work it can't finish. When LI's own execution health (its reasoning-run success rate) is confidently below 75%, a deterministic gate now SUPPRESSES a proposal before it is filed — not just advises against it — if the proposal is self-improve-scoped (loop-meta / portos-self) or maps to a chronically-failing execution domain (the same isAvoidDomain classifier the hand-off routing gate already uses). Enforcement runs server-side in processTaskOutput regardless of what the reasoning model returns, so the loop can no longer "reason past" the exclusion; the reasoner's prompt gains a matching liHardExclusions block + GATE CHECK step and the proposal playbook §4 moves from advisory to mandatory language, both driven from the same execution-health read so prompt guidance and enforcement can never disagree. A degraded loop cannot repair itself, so self-improvement work is deferred to a human rather than re-proposed each run; a cold loop with too few recorded runs is never gated. Suppressed runs record the neutral hard-gate-excluded outcome with a plain-English explanation.

Enterprise GitHub support

  • [issue-2650] The CoS branch reconciler and issue reconciler now work on self-hosted GitHub Enterprise (github.*) repos, not just github.com. Both previously gated on the github.com-only isGithub origin flag (which drives PortOS's own fork/update flow), so their scans silently skipped enterprise repos even though the sibling PR-watcher already handled them. All three services now share an isGithubHost(host) classifier and target gh via a host-qualified HOST/OWNER/REPO selector, so enterprise repos reconcile correctly and detection stays deterministic on a fork+upstream checkout. Existing github.com behavior is unchanged.

Goals

  • [issue-2679] The goal editor now has a "Daily Driver Feature Areas" multi-select, so you can pin exactly which PortOS areas (Daily POST, Body Health, Writers Room, Universes, Series Pipeline, Tribe, Autobiography, Legacy Bundle, Sharing, Plan Milestones, Memory) the Daily Driver deep-links to for a given goal. Each area shows its icon and label; when you leave the selection empty the editor shows the greyed category default it falls back to, and clearing an override restores that default.

Tribe outreach

  • [issue-2796] Tribe unanswered-thread nudges now cover Gmail, not just iMessage/Signal: Gmail sync ingests your recent sent mail into the activity timeline (as activity only — sent mail never enters your inbox), so a thread you've already replied to is no longer surfaced as needing outreach while a genuinely unanswered email within the window still is. Reply detection is per-account (default-on for Gmail, opt out via a new "Reply detection" toggle in Messages > Config), only trusts an account once its sent history is actually present and current (so a just-upgraded or sync-failing account can't emit false nudges), honors Gmail's send-as aliases, and drafts email replies in an email tone rather than a text-message one. Follow-on hardening (per-account event querying, full sent-window coverage) tracked in #2820.

  • [issue-2820] Hardened Gmail Tribe-outreach reply detection so a busy Gmail account can't mislead it. Timeline events are now queried per opted-in email account under each account's own cap (instead of one shared source-wide cap), so a high-volume opted-out or disabled Gmail account can no longer fill the cap and suppress a legitimately opted-in account's nudges. Email conversations are keyed by account + threadId (a Gmail threadId is only unique within one account), so two accounts that happen to share a threadId value never merge into one false conversation. And the sent-mail pass now paginates the entire 14-day window (up to a generous ceiling) rather than stopping at the first 100 results, so a heavy sender's reply beyond the first page still cancels its inbound instead of leaving it a false "unanswered" nudge — and in the rare case the ceiling itself is hit, that account's reply detection is paused (fail-closed) for the scan rather than trusting an incomplete sent window.

Changed

  • [issue-2651] The CoS claim-issue-gitlab work detector now short-circuits the group-owner filter trap the same way claim-issue handles a GitHub org owner. A GitLab group-owned project's namespace is the group, which never authors issues, so owner author-filter mode previously found nothing and parked with the vague no-authored-issues reason. GitLab's owner resolver now resolves the full project namespace (including nested subgroups like parent/subgroup) and probes glab api groups/<url-encoded-namespace> (200 = group, 404 = user namespace); for a group it skips the guaranteed-empty --author <group> query and parks with a distinct owner-is-group reason carrying the real open count. The on-demand toast reads "the "owner" filter matches a group, which can't author issues — set it to "self" or "any"" — GitLab-appropriate wording ("group", not "org"). A probe failure degrades to the pre-existing behavior, so no new transient park appears.

  • Agent triage policy is now "decide, don't defer": when a follow-up's only obstacle is an undecided design choice, agents make the call themselves (state it as the decision in the issue body) and file it ready-to-work rather than parking it as a decision-blocked future/needs-input issue. future is reserved for work a human must personally drive — a real validation run or a step needing specific hardware/credentials — which is now marked blocked, not future. Encoded in CLAUDE.md ("Decide, don't defer"), the Layered Intelligence proposal playbook, and every claim-work scheduled-task prompt — claim-issue (v7), claim-issue-gitlab (v6), claim-issue-jira (v4), and plan-task (v10): the verify phase no longer parks an ambiguous item (a needs-input label, a "Needs clarification" JIRA todo, or a .plan-questions.md clarification PR) and re-picks — it decides on the most reasonable reading, records it in a comment/note/commit, and ships; the park is now reserved for destructive/irreversible or genuinely human-gated cases (a genuinely too-large item still parks so the autonomous drain converges).

  • CyberCity exploration mode now renders the player character using the bundled rigged GLB avatar (three.js's RobotExpressive, the same data/avatar/model.glb the CoS "Cyber Muse" avatar uses) instead of the hand-built procedural cyber-runner. Skeletal clips crossfade off the movement rig's state: idle → Idle, walk → Walking, run → Running, hover → Jump. Walking/Running are routed to their neutralized "in place" treadmill variants (the rig owns world position), and the runner keeps its own textures with a themed accent ground-glow footprint. The GLB avatar is Suspense- and error-boundary-wrapped so a streaming or missing model degrades to "no visible runner" instead of blanking or crashing the city canvas.

  • CyberCity exploration mode now supports jumping with the Space bar — a gravity-based hop (E/Q free-fly still takes precedence). In exploration mode Space is captured before it reaches the global voice push-to-talk hotkey, so jumping no longer toggles the voice agent.

Internal

  • [issue-2728] collectionStore gained loadAllResult() -> { records, failedIds }, keeping the "which record ids failed to load" signal that loadAll() silently threw away (a corrupt/unparseable/sanitizer-rejected index.json was indistinguishable from an absent record). loadAll() stays a back-compat flatten wrapper, so no existing consumer changes. The first consumer, Layered Intelligence's listOutcomesResult, now reports read:false/partial:true/failedIds when any outcome record fails to load — so the Layered Intelligence outcomes dashboard and the reasoner's merge-rate self-evaluation treat a corrupt-record undercount as unavailable rather than as a trustworthy short history.

Full Changelog

Full Diff: https://github.com/atomantic/PortOS/compare/v2.32.0...v2.33.0