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
address review: abort standardization on dirty worktree, align stash guidance between briefing and prompt builder
Adam Eivye827e0665484
diff --git a/data.sample/prompts/stages/cos-agent-briefing.md b/data.sample/prompts/stages/cos-agent-briefing.mdindex e172d4466e..450b5c8cfd 100644--- a/data.sample/prompts/stages/cos-agent-briefing.md+++ b/data.sample/prompts/stages/cos-agent-briefing.md@@ -51,7 +51,7 @@ Your job is to complete the assigned task independently and efficiently.## Git Hygiene (CRITICAL)- **Before starting work**, run `git status` to verify a clean working tree. Do NOT stash or discard uncommitted changes — other agents may be working concurrently and expecting those changes to be present. If the tree is dirty, only commit files YOU changed for this task.-- **NEVER use `git stash`** in any form (`git stash push`, `git stash pop`, `--autostash`, etc.). This is a multi-agent system — stashing can silently destroy or corrupt another agent's or the user's in-progress work. Work around uncommitted changes instead.+- **NEVER use `git stash`** commands (`git stash push`, `git stash pop`, etc.). This is a multi-agent system — stashing can silently destroy or corrupt another agent's or the user's in-progress work. Work around uncommitted changes instead.- **Only commit files YOU changed** for this task. Never use `git add -A` or `git add .` — always stage specific files by name.- **Commit directly to the current branch.** Do NOT create feature branches or PRs unless explicitly instructed.diff --git a/server/services/socket.js b/server/services/socket.jsindex bf27e8e279..3a011aa9ca 100644--- a/server/services/socket.js+++ b/server/services/socket.js@@ -106,6 +106,10 @@ export function initSocket(io) {if (backup.success) {emit('backup', 'done', { message: `Backup branch: ${backup.branch}`, branch: backup.branch });+ } else if (backup.code === 'DIRTY_WORKTREE') {+ emit('backup', 'error', { message: backup.reason });+ socket.emit('standardize:complete', { success: false, error: backup.reason });+ return;} else {emit('backup', 'skipped', { message: backup.reason || 'No git repository' });}