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
fix: clarify claim prompt migration
[._.]/ Adam Eivyecf2f961c52c
diff --git a/server/services/cosTaskGenerator.js b/server/services/cosTaskGenerator.jsindex 5ca87c7077..f69a77315f 100644--- a/server/services/cosTaskGenerator.js+++ b/server/services/cosTaskGenerator.js@@ -454,7 +454,7 @@ export async function buildClaimWorkTask(app, {// Reviewers: explicit option wins; otherwise mirror the scheduler. Local-LLM// reviewers stay in the operative list; an appended procedure below tells the- // claim agent how to invoke PortOS's endpoint instead of silently replacing+ // claim agent how to invoke PortOS's review service instead of silently replacing// the user's configured reviewer.const reviewersList = reviewers !== undefined? normalizeClaimReviewers({ reviewers: Array.isArray(reviewers) ? reviewers : [reviewers] }, codeReviewDefaults?.reviewers)@@ -2727,7 +2727,7 @@ async function buildImprovementTaskDescription({ promptTemplate, app, promptTask// user's configured reviewers. Settings I/O failures degrade to the hardcoded// default inside normalizeReviewers, so a read error never blocks dispatch.const codeReviewDefaults = await getCodeReviewDefaults().catch(() => null);- // Keep local-LLM reviewers in the operative list. Their endpoint invocation+ // Keep local-LLM reviewers in the operative list. Their service invocation// contract is appended after rendering so customized legacy prompts receive// it without needing a new placeholder.const promptReviewers = normalizeClaimReviewers(metadata, codeReviewDefaults?.reviewers);diff --git a/server/services/taskPromptDefaults/previousDefaults.js b/server/services/taskPromptDefaults/previousDefaults.jsindex 518b9f98de..3b7e94bab4 100644--- a/server/services/taskPromptDefaults/previousDefaults.js+++ b/server/services/taskPromptDefaults/previousDefaults.js@@ -488,7 +488,7 @@ When PLAN.md is missing, empty, or fully completed, brainstorm and implement a n\`\`\`8. Commit with a clear description of the feature and rationale`],- 'plan-task': [+ 'plan-task': [// v14 default (pre-local-reviewer invocation and verified immediate merge)`[Plan Task: {appName}] Claim and ship next PLAN.md itemdiff --git a/server/services/taskPromptDefaults/versions.js b/server/services/taskPromptDefaults/versions.jsindex 08e793a421..100eb698cc 100644--- a/server/services/taskPromptDefaults/versions.js+++ b/server/services/taskPromptDefaults/versions.js@@ -7,6 +7,8 @@// Prompt versions — bump when a default prompt changes so existing instances auto-upgrade.// Only non-customized prompts (promptCustomized !== true) are upgraded.export const PROMPT_VERSIONS = {+ // Current claim-flow bumps retire the Copilot fallback, drive local reviewers+ // fail closed, verify the remote merge state, and clean up without force-delete.'do-replan': 2, // v2: scheduled issue-quality gate rejects speculative/future-only work and keeps valid current refactors claimable'feature-ideas': 10, // v10: Phase 4 (Brainstorm) consults the repo's REJECTED.md and recently closed-unmerged PRs before proposing, so ideas the user already declined aren't re-proposed (mirrors idle-review's REJECTED.md contract). v9: drop DONE.md reads — use `.changelog/` + `git log` (last 50) as the completed-work signal'plan-task': 15, // v14: claim worktree creation passes `--no-track`, so a branch based on `origin/main` cannot inherit `main` as its upstream and make a config-derived push write directly to the default branch; the later `git push -u` sets the intended branch upstream. v13: Phase 5's changelog step reads the repo's documented convention FIRST (per-branch fragment directory + helper script, as PortOS now uses) and only falls back to detect-and-append when none is documented; the Phase 6 review-stuck note no longer names `.changelog/NEXT.md` as the file it wrote. v12: the reviewer bullets name the antigravity reviewer's actual PATH binary (`agy`) — the bare `antigravity` slug is a command that exists nowhere, and a review-loop agent that probed for it concluded no reviewer was available and merged on its own self-review. The same bump adds the missing-binary guard: a reviewer whose CLI is not on PATH is UNSATISFIED, never a clean review the agent substitutes its own self-review for. v11: worktree is created under PortOS's shared worktrees dir (`{worktreesRoot}` → data/cos/worktrees) instead of a repo-relative `data/cos/worktrees/` path, so the agent's checkout no longer lands inside the managed app's working tree. v10: Phase 3 "decide, don't defer" — an *ambiguous* PLAN.md item no longer jumps to the Phase 3b clarification PR; the agent picks the most reasonable reading, notes it, and implements. Phase 3b is reserved for destructive/irreversible or genuinely-human-gated items. Mirrors claim-issue v7 + CLAUDE.md. v9: per-kind reviewer bullets name `grok` alongside `claude`/`codex`/`antigravity` as a local-CLI reviewer (grok is now a selectable Review Loop reviewer). v8: Phase-6 merge fallback prefers --merge over --squash (after --auto), matching the /do:pr + review-loop default and PortOS's merge-only policy