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
docs([plan-task-prefer-merge]): file reference-watch-prefer-merge follow-up
[._.]/ Adam Eivy7f0cefbb2987
diff --git a/PLAN.md b/PLAN.mdindex 0304c1d31a..4bdf4457e7 100644--- a/PLAN.md+++ b/PLAN.md@@ -6,6 +6,7 @@ For project goals, see [GOALS.md](./GOALS.md). For completed work, see [.changelClaimable, well-specified, no decision needed — `/claim`-able. Unordered.+- [ ] [reference-watch-prefer-merge] **Apply the `--merge`-before-`--squash` fallback order to the `reference-watch` prompt too.** `[plan-task-prefer-merge]` reordered the merge fallback for the `plan-task` prompt only; `server/services/taskSchedule.js`'s `reference-watch` default prompt has **three** sibling merge-fallback blocks (~lines 1778, 2008, 2198 after that PR) that still try `--squash` before `--merge`, inconsistent with PortOS's merge-only repo policy. Same migration shape as plan-task: swap the order in all three blocks, bump `PROMPT_VERSIONS['reference-watch']` (2→3), and capture the exact v2 default into `PREVIOUS_DEFAULT_PROMPTS['reference-watch']`. Out of plan-task's scope (separate prompt + version line). Surfaced during the plan-task-prefer-merge review (2026-06-02).- [ ] [shared-optional-provider-picker] **Add an optional/"Default" mode to the shared provider/model picker and migrate the inline copies.** Three pages now hand-roll the same inline two-`<select>` "Default sentinel + provider + model" picker because the shared `ProviderModelSelector.jsx` + `useProviderModels.js` force a selection. UniverseBuilder.jsx (~2968) and Importer.jsx (~437, plus its `getProviders`+enabled-filter effect ~93 and `llmModels` memo) duplicate the logic in `FeatureProviderPicker.jsx`/`useProviderModels`. Add an `emptyOption`/`allowDefault` prop to `ProviderModelSelector` and an `allowDefault`/`includeEmpty` flag to `useProviderModels` that skips the auto-select, then refactor both. Note the importer's default label must stay accurate to its *per-stage* resolution. Cleanup only; no behavior change.- [ ] [importer-screenplay-teleplay-seed] **Mirror the comic-script verbatim-seed for screenplay imports → `stages.teleplay`.** The comic-script import now seeds the verbatim script into `stages.comicScript` (ready) instead of `stages.prose`, via the `CONTENT_TYPE_SEED_STAGE` table. Adding screenplay is a one-row change: `'screenplay': 'teleplay'`. Also extend the auto-run script-first guard in `autoRunner.js` (currently checks `comicScript || teleplay` already) and check whether any downstream teleplay consumer parses a specific format (the comic path needed `parseComicScript` taught the bare `PAGE/PANEL` form).- [ ] [importer-progress-reconnect] **Live checklist stalls if the socket misses the `start` frame.** The `importer:progress` handler gates every `stage` frame on a runId set only by a `start` frame; a mid-analyze socket reconnect means stage frames are dropped and the checklist stays on "Starting…" until analyze resolves. Degrades gracefully. Fix: if a `stage` frame arrives while `analyzing` with no active runId, adopt it and lazily seed the stage list, OR have the server resend `start` on (re)subscribe.