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: classify all audit tasks in workflow graph (#5244)
[._.]/ Adam Eivy90c7a84ee9da
diff --git a/server/services/workflow.js b/server/services/workflow.jsindex 94490e49c8..832fa0e25f 100644--- a/server/services/workflow.js+++ b/server/services/workflow.js@@ -76,7 +76,13 @@ export const WORKFLOW_STAGES = ['typing','ui-bugs','mobile-responsive',- 'ux'+ 'ux',+ 'data-safety',+ 'simplify',+ 'api-contract',+ 'react-lifecycle',+ 'observability',+ 'copy'],jobIds: ['job-wiki-maintenance', 'job-refresh-local-llm-catalog', 'job-refresh-cli-provider-catalogs']},diff --git a/server/services/workflow.test.js b/server/services/workflow.test.jsindex cdcb794829..447c7b9222 100644--- a/server/services/workflow.test.js+++ b/server/services/workflow.test.js@@ -18,6 +18,7 @@ const { getScheduleStatus } = await import('./taskSchedule.js');const { getAllJobs } = await import('./autonomousJobs.js');const { checkJobGate, hasGate, getRegisteredGates } = await import('./jobGates.js');const { getWorkflowGraph, projectWorkflowTimeline, WORKFLOW_STAGES } = await import('./workflow.js');+const { AUDIT_TASK_TYPES } = await import('../lib/auditCatalog.js');const STAGE_IDS = WORKFLOW_STAGES.map(s => s.id);@@ -64,6 +65,11 @@ describe('WORKFLOW_STAGES contract', () => {}});+ it('places every audit task type in the audit stage', () => {+ const audit = WORKFLOW_STAGES.find(s => s.id === 'audit');+ expect([...AUDIT_TASK_TYPES].filter(type => !audit.taskTypes.includes(type))).toEqual([]);+ });+it('does not place the same job id in two stages', () => {const seen = new Set();for (const stage of WORKFLOW_STAGES) {