Symptom
The LOCAL Agent OS golden path computes on stale state — it recommends #12633 over #13623 (which supersedes it), because recent GitHub content (tickets/pulls/discussions, incl. the #13621 → #13623 / #13624 no-hold-state graduation) is not in the graph gemma4 reads.
Root cause (V-B-A, 2026-06-20)
Two independent gaps leave the local graph's freshness dark:
syncGithubWorkflow is NOT an orchestrator-scheduled task. ai/daemons/orchestrator/taskDefinitions.mjs schedules session summarization, memory miniSummary backfill, kbSync (knowledge base sync), and primary checkout dev sync (PrimaryRepoSyncService) — but not the github-workflow content sync (ai:sync-github-workflow → ai/scripts/maintenance/syncGithubWorkflow.mjs). The only orchestrator github-workflow reference is SwarmHeartbeatService.mjs:15 (wake notifications, not content). So GitHub content reaches the local graph only on a manual npm run ai:sync-github-workflow.
PrimaryRepoSync skips with no-configured-roots (PrimaryRepoSyncService.mjs:356) — devSyncRoots (AiConfig.orchestrator.devSyncRoots / NEO_ORCHESTRATOR_DEV_SYNC_ROOTS) is unconfigured → the git dev-branch pull doesn't run (the operator's observed "no repo pulls/pushes").
Fix
- Wire
syncGithubWorkflow as a deployment-gated orchestrator task — enabled for the LOCAL Agent OS; the cloud / multi-tenant deployment uses its own tenant-ingestion (push/pull), so gate it like kbSync does via resolveDeploymentEnabled(...) (ADR 0014 task taxonomy — a local/shared sync, not a cloud-deployable one). Add to taskDefinitions.mjs + the scheduling pipeline + a githubSyncMs interval leaf.
- Configure
devSyncRoots (or document/confirm the intended local config) so PrimaryRepoSync runs — or confirm it's intentionally skipped locally.
Why it matters
Without a fresh graph, gemma4's golden path + the Dream pipeline operate on stale topology — every recent graduation / ticket / PR is invisible to the strategic recommendation. Local-Agent-OS-specific (the cloud deployment ingests differently), but load-bearing for night-shift self-direction.
Refs #13624 (orchestrator data-currency), ADR 0014 (deployment-aware scheduler task taxonomy). V-B-A by @neo-opus-grace per @tobiu (2026-06-20).
Symptom
The LOCAL Agent OS golden path computes on stale state — it recommends #12633 over #13623 (which supersedes it), because recent GitHub content (tickets/pulls/discussions, incl. the #13621 → #13623 / #13624 no-hold-state graduation) is not in the graph gemma4 reads.
Root cause (V-B-A, 2026-06-20)
Two independent gaps leave the local graph's freshness dark:
syncGithubWorkflowis NOT an orchestrator-scheduled task.ai/daemons/orchestrator/taskDefinitions.mjsschedulessession summarization,memory miniSummary backfill,kbSync(knowledge base sync), andprimary checkout dev sync(PrimaryRepoSyncService) — but not the github-workflow content sync (ai:sync-github-workflow→ai/scripts/maintenance/syncGithubWorkflow.mjs). The only orchestrator github-workflow reference isSwarmHeartbeatService.mjs:15(wake notifications, not content). So GitHub content reaches the local graph only on a manualnpm run ai:sync-github-workflow.PrimaryRepoSyncskips withno-configured-roots(PrimaryRepoSyncService.mjs:356) —devSyncRoots(AiConfig.orchestrator.devSyncRoots/NEO_ORCHESTRATOR_DEV_SYNC_ROOTS) is unconfigured → the git dev-branch pull doesn't run (the operator's observed "no repo pulls/pushes").Fix
syncGithubWorkflowas a deployment-gated orchestrator task — enabled for the LOCAL Agent OS; the cloud / multi-tenant deployment uses its own tenant-ingestion (push/pull), so gate it likekbSyncdoes viaresolveDeploymentEnabled(...)(ADR 0014 task taxonomy — a local/shared sync, not a cloud-deployable one). Add totaskDefinitions.mjs+ the scheduling pipeline + agithubSyncMsinterval leaf.devSyncRoots(or document/confirm the intended local config) soPrimaryRepoSyncruns — or confirm it's intentionally skipped locally.Why it matters
Without a fresh graph, gemma4's golden path + the Dream pipeline operate on stale topology — every recent graduation / ticket / PR is invisible to the strategic recommendation. Local-Agent-OS-specific (the cloud deployment ingests differently), but load-bearing for night-shift self-direction.
Refs #13624 (orchestrator data-currency), ADR 0014 (deployment-aware scheduler task taxonomy). V-B-A by @neo-opus-grace per @tobiu (2026-06-20).