Skip to content

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

fix: pipeline stage 2+ tasks stuck in queue — missing id and status fields

Adam Eivycea05bfa72ae
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index da8b9ebb85..65a3f6ce71 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -4,6 +4,7 @@
- Autonomous job scheduler using UTC instead of local timezone for scheduled times — daily briefing at 4:30 AM local was firing at 4:30 AM UTC. Now uses `nextLocalTime()` to compute exact UTC target from local scheduled time
- Codex agent output flooding UI with full prompt/config dump from stderr — filtered to only show tool execution lines and errors
- On-demand tasks silently dropped when pipeline preconditions fail (e.g., REVIEW.md already exists) — on-demand tasks now skip precondition checks since the user explicitly requested them
+- Pipeline stage 2+ tasks stuck in queue forever — follow-up tasks were missing `id` and `status: 'pending'` fields when created with `raw: true`, making them invisible to the task evaluator
- Self-update failing with "exit code null" at npm-install step — PM2 watch restarted the server during `git checkout` (which changes `server/` files), breaking the stdout pipe to the update script. SIGPIPE killed the script before `|| true` could handle it, leaving the update incomplete. Added `trap '' PIPE` to ignore SIGPIPE so the script runs to completion.
- Improved update error messages to show signal name (e.g., "killed by SIGPIPE") instead of opaque "exit code null"
diff --git a/server/services/subAgentSpawner.js b/server/services/subAgentSpawner.js
index 229d567f81..47ce489c5f 100644
--- a/server/services/subAgentSpawner.js
+++ b/server/services/subAgentSpawner.js
@@ -1902,6 +1902,8 @@ async function handlePipelineProgression(task, agentId, success) {
if (task.metadata.app) prompt = prompt.replace(/\{appId\}/g, task.metadata.app);
const nextTask = {
+ id: `${task.id || 'sys'}-stage${nextStageIndex}-${Date.now().toString(36)}`,
+ status: 'pending',
description: prompt,
priority: task.priority || 'MEDIUM',
metadata: {