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
Merge pull request #3669 from atomantic/codex/wan-mlx-gen-upgrade
[._.]/ Adam Eivy32377834ba31
diff --cc .changelog/NEXT.mdindex c6accb8277,7388621452..83b9f719f5--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@@ -6,10 -6,10 +6,12 @@@- Series Pipeline **Autonomous mode can now improve the pipeline itself.** A new Options toggle — *Improve the pipeline itself* — lets a run diagnose its own automation rather than only the story. When a run pauses, errors, or finishes carrying unhealthy telemetry (an editorial check that threw, a delegated runner that had to be retried, a step that was skipped), it spends one call asking whether the fault is the manuscript or PortOS: a missing editorial step earlier in the process, a stage prompt breaking its output contract, a runner swallowing a failure, a gate configured so it can't work. A pipeline verdict files a CoS task against PortOS itself — worktree-isolated, PR-opening, and waiting in your CoS approval queue, so an LLM's read of one run's telemetry never starts a coding agent on PortOS's own source by itself. Off by default, and a healthy run never spends anything on it; the diagnosis is billed as one cos action and skipped when the daily budget is spent. Repeat diagnoses of the same defect collapse onto one open task instead of piling up per run, and the verdict lands on the run's status banner. Scheduled runs inherit whatever you saved.+ - Video Gen now offers Apple-local Wan 2.2 TI2V-5B plus validated 4-step A14B Lightning text- and image-to-video profiles through a pinned MLX-Gen runtime. Runtime tools/packages, immutable base snapshots, and exact Lightning adapters install only after an explicit UI action; existing installs receive an in-app repair/upgrade path, saved Hugging Face credentials are applied automatically, gated-source errors link back to the settings/access UI, and render/queue actions stay blocked until every required file is cached. The catalog identifies the A14B profiles as roughly 40 GiB downloads intended for 64+ GB Apple Silicon rather than understating their footprint. Wan-specific 4n+1 frame choices, FPS options, mode compatibility, process-tree cancellation, and locked Lightning sampler settings keep the UI aligned with the actual model contract.+- Series Pipeline **Autonomous mode** now says which AI it will spend on. The Options popover names the provider and model the run resolves to, links to where per-stage pins and reasoning effort are configured, and offers a per-run provider/model override (never persisted — a one-off run can't silently re-point the whole series). The live progress line names the provider of an in-flight run too, including one the scheduler started.+- **Reference images now work on Codex, Grok and Agy, not just local FLUX.** Picking a reference image told you it was "Flux only", and it was: the server rejected reference uploads for every backend but local FLUX.2, and Agy refused an input image of any kind. All three cloud CLIs in fact expose a reference-image parameter — their tool schemas were probed directly rather than taken on the CLI's word — so each now receives them: Codex attaches every input image to `image_gen`'s `referenced_image_paths`, Grok routes them to `image_edit`'s `image` array (a reference-only render goes there too, since its `image_gen` has no image parameter at all), and Agy passes them as `generate_image`'s `ImagePaths`. The init image leads the list everywhere and still carries the strength → fidelity-phrase mapping. The Image Gen form offers as many reference slots as the selected backend actually accepts — Agy's tool takes at most 3 images total, so an init image there leaves room for 2 — and hides the per-reference strength slider on the cloud CLIs, which expose no numeric weight. Sprite forks, seeded reference renders and pipeline redraws no longer divert away from an Agy pin, and Agy alone still requires a prompt even with an input image, because its tool does.+## Fixed- **Universe Canon — "AI: differentiate cast" and per-character "AI: differentiate" now run.** Both threw `Stage pipeline-character-differentiate-cast not found` / `Stage pipeline-character-refine not found` on every install since they shipped: the prompt templates landed in `data.reference/prompts/stages/` but their `stage-config.json` entries were never authored, and `buildPrompt()` resolves the config entry first. Arc-verification **auto-resolve** (`pipeline-arc-resolve`) was dead the same way. All three entries now ship, migration 232 seeds them onto existing installs, and a new catalog-parity guard fails the build if a prompt template ever ships without its config entry again (or the reverse). The inverse gap on the Digital Twin side — ten stages whose config entry ships with no template, so each soul/twin AI pass silently runs its fallback — is tracked in #3644.