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: fix claim-issue list ordering + wire into task registries
[._.]/ Adam Eivy79dbfd65daba
diff --git a/client/src/components/UpcomingTasksWidget.jsx b/client/src/components/UpcomingTasksWidget.jsxindex 8cefe0be04..b3a3b09a57 100644--- a/client/src/components/UpcomingTasksWidget.jsx+++ b/client/src/components/UpcomingTasksWidget.jsx@@ -57,6 +57,7 @@ const UpcomingTasksWidget = memo(function UpcomingTasksWidget() {'documentation': '📝','feature-ideas': '💡','plan-task': '✅',+ 'claim-issue': '🎯','accessibility': '♿','dependency-updates': '📦','do-replan': '📋'diff --git a/client/src/components/cos/tabs/TaskItem.jsx b/client/src/components/cos/tabs/TaskItem.jsxindex d7e5a8fc67..7539d647a1 100644--- a/client/src/components/cos/tabs/TaskItem.jsx+++ b/client/src/components/cos/tabs/TaskItem.jsx@@ -59,6 +59,11 @@ function extractTaskType(description) {if (d.includes('replan') || d.includes('audit plan.md') || d.includes('plan.md')) return 'task:do-replan';}+ // claim-issue carries a "[Claim Issue: <app>]" prefix (not the [improvement]+ // marker), so classify it here before the generic "issue" → bug-fix fallback+ // below would otherwise mislabel it (and skew its historical duration lookup).+ if (d.includes('[claim issue:')) return 'task:claim-issue';+// General task type classificationif (d.includes('fix') || d.includes('bug') || d.includes('error') || d.includes('issue')) return 'bug-fix';if (d.includes('refactor') || d.includes('clean up') || d.includes('improve') || d.includes('optimize')) return 'refactor';diff --git a/server/services/taskPromptService.js b/server/services/taskPromptService.jsindex e1620e81ad..df43dc7160 100644--- a/server/services/taskPromptService.js+++ b/server/services/taskPromptService.js@@ -510,11 +510,11 @@ Pick the next available unclaimed open GitHub issue, **create your own worktreeRun steps 1–5 in order.1. cd into the repo root ({repoPath}) and confirm GitHub is the forge: \`gh repo view --json nameWithOwner -q .nameWithOwner\`. If \`gh\` is not authenticated or the remote is not GitHub, exit cleanly — this task only works against GitHub issue trackers.-2. List candidate open issues, **oldest first**, honoring the author filter described above:+2. List candidate open issues **oldest-first**, honoring the author filter described above. \`gh issue list\` returns newest-first by default, so sort by \`createdAt\` with \`-q\` (and raise \`--limit\`) — otherwise the newest 50 crowd out older eligible issues and the oldest-first walk in step 4 never sees them:\`\`\`bashgit fetch --prune 2>/dev/null# OWNER_FLAG is "--author <owner>" for owner-only mode, or empty for any-author mode (see the author-filter block above)- gh issue list --state open $OWNER_FLAG --json number,title,author,assignees,labels,createdAt --limit 50+ gh issue list --state open $OWNER_FLAG --json number,title,author,assignees,labels,createdAt --limit 100 -q 'sort_by(.createdAt)'\`\`\`3. Build the in-flight set. Collect every branch/PR ref:\`\`\`bashdiff --git a/server/services/workflow.js b/server/services/workflow.jsindex c1b1d8f26c..aba51a91f0 100644--- a/server/services/workflow.js+++ b/server/services/workflow.js@@ -76,7 +76,7 @@ export const WORKFLOW_STAGES = [id: 'build',label: 'Build',description: 'Implement the next planned feature. Gated on do-replan so new work is grounded in a fresh plan.',- taskTypes: ['feature-ideas', 'plan-task'],+ taskTypes: ['feature-ideas', 'plan-task', 'claim-issue'],jobIds: []},{