You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
aggregator: orchestration section omitted — publisher emits dependency status 'blocked', validator rejects it #10508
The fleet-feed collector omits the orchestration section from every feed: the current orchestration document fails the shared structural check with dependencies (per-dependency shape), so the dashboard serves no orchestration section (the aggregator diagnoses it "invalid") even though the hourly orchestration pass publishes on schedule.
Evidence (2026-11-15, lane code-d, found during the #10504 reader flip)
orchestrationSectionProblem (pm-stack/aggregator/src/feed.ts) gates each dependency with isDependencyElement, which requires status ∈ DEPENDENCY_STATUSES = ["in-progress", "queued", "stalled", "done", "unknown"] — "blocked" is not in the list, so the whole section is rejected.
The publisher (hourly orchestration pass) evidently emits blocked for dep-blocked dependencies — a first-class queue state elsewhere in the fleet (dep-blocked tasks, queue/blocked) — so the drift is publisher-vocabulary vs validator-vocabulary.
Fix direction (for the fixing task to decide)
Either add "blocked" to DEPENDENCY_STATUSES (and the contract corpus, #1176 publisher→collector→aggregator contract), or have the publisher map blocked dependencies to an existing status. The validator route looks smaller and matches the fleet's own vocabulary, but the contract corpus gates the shape, so the change needs the corpus updated in the same pass. Whichever side changes, add a regression test with a blocked dependency in the corpus/fixtures so the section can never silently vanish again.
Impact
Dashboard orchestration section absent (today view derives without it) until fixed; the orchestration pass itself and the Supabase writer are unaffected.
Independent source check for the fix: model.ts's DependencyRef.status union and feed.ts's runtime allowlist both lack blocked, and work-items.ts::asBlockers has a second allowlist that would silently drop blocked from nested linedUp[].blockedBy even after the feed gate accepts it. Prefer one shared vocabulary and cover both top-level dependencies and nested blockedBy in the scrubbed contract/derived-work-item tests; keep unknown literal rejection. The merge of #10509 is code-level reader cutover, not confirmation of a rendered dashboard section. Verify the next complete scheduled writer/collector cycle shows the section with its blocked dependencies from the DB. No new claim here.
Live follow-up after #10555 (Nov 15, 23:02–23:06 UTC): the hot-deployed aggregator process has the new vocabulary, but the separately scheduled collector runs from a checkout at ddeba2db500b30c1306165684eb950ae3c7351f4, without #10555. Its live source allowlist still excludes blocked. A separate read-only Supabase query confirmed the latest orch_runs row is orch-2026-11-15T221256Z with real ISO generatedAt: 2026-11-15T22:12:56Z and two blocked dependencies. Thus the old reader cannot accept that row, even if DB access is healthy. The configured fallback is an older Nov 12 export whose generatedAt equals its orch-… run ID rather than an ISO timestamp. The 22:17–23:02 UTC scheduled cycles logged that fallback’s generatedAt shape error, and /board showed no embedded orchestration section. The invalid-file branch masks the original DB failure, so the exact DB result from the collector is not independently confirmed.
Next planned operator update must include the collector checkout/unit, not just the packaged web server. Then capture a scheduled DB-sourced cycle with the same run ID in the feed and rendered section and retain the blocked dependencies. Separately reconcile the stale fallback export and keep primary-reader errors visible. No live configuration, services, or data changed in this check; issue stays open.
agent-note:v1 — triaged by openchamber-scheduled-lane (repo-worker-code, task 19312), 2026-11-17: already done. origin/main pm-stack/aggregator/src/orchestration-dependency.ts defines dependencyStatuses including "blocked", and feed.ts isDependencyElement uses isDependencyStatus, so a "blocked" dependency is accepted. The old DEPENDENCY_STATUSES list no longer exists. Issue is OPEN with no labels; no code change here. Fleet reconciliation should confirm against a live orchestration.json and close.
Closing with evidence (openchamber scheduled lane, code-f, task 20638, 2026-11-18): origin/main pm-stack/aggregator/src/orchestration-dependency.ts defines dependencyStatuses including "blocked", and feed.ts isDependencyElement gates blockedBy with isDependencyStatus, so a "blocked" dependency publishes and validates. Already done.
Activity
developing-today commentedon Nov 15, 2026
CODE-3813
dezren39 commentedon Nov 15, 2026
Independent source check for the fix:
model.ts'sDependencyRef.statusunion andfeed.ts's runtime allowlist both lackblocked, andwork-items.ts::asBlockershas a second allowlist that would silently dropblockedfrom nestedlinedUp[].blockedByeven after the feed gate accepts it. Prefer one shared vocabulary and cover both top-leveldependenciesand nestedblockedByin the scrubbed contract/derived-work-item tests; keep unknown literal rejection. The merge of #10509 is code-level reader cutover, not confirmation of a rendered dashboard section. Verify the next complete scheduled writer/collector cycle shows the section with its blocked dependencies from the DB. No new claim here.fix(aggregator): preserve blocked orchestration dependencies
dezren39 commentedon Nov 15, 2026
Live follow-up after #10555 (Nov 15, 23:02–23:06 UTC): the hot-deployed aggregator process has the new vocabulary, but the separately scheduled collector runs from a checkout at
ddeba2db500b30c1306165684eb950ae3c7351f4, without #10555. Its live source allowlist still excludesblocked. A separate read-only Supabase query confirmed the latestorch_runsrow isorch-2026-11-15T221256Zwith real ISOgeneratedAt: 2026-11-15T22:12:56Zand twoblockeddependencies. Thus the old reader cannot accept that row, even if DB access is healthy. The configured fallback is an older Nov 12 export whosegeneratedAtequals itsorch-…run ID rather than an ISO timestamp. The 22:17–23:02 UTC scheduled cycles logged that fallback’sgeneratedAtshape error, and/boardshowed no embedded orchestration section. The invalid-file branch masks the original DB failure, so the exact DB result from the collector is not independently confirmed.Next planned operator update must include the collector checkout/unit, not just the packaged web server. Then capture a scheduled DB-sourced cycle with the same run ID in the feed and rendered section and retain the blocked dependencies. Separately reconcile the stale fallback export and keep primary-reader errors visible. No live configuration, services, or data changed in this check; issue stays open.
dezren39 commentedon Nov 17, 2026
agent-note:v1 — triaged by openchamber-scheduled-lane (repo-worker-code, task 19312), 2026-11-17: already done. origin/main pm-stack/aggregator/src/orchestration-dependency.ts defines dependencyStatuses including "blocked", and feed.ts isDependencyElement uses isDependencyStatus, so a "blocked" dependency is accepted. The old DEPENDENCY_STATUSES list no longer exists. Issue is OPEN with no labels; no code change here. Fleet reconciliation should confirm against a live orchestration.json and close.
dezren39 commentedon Nov 18, 2026
Closing with evidence (openchamber scheduled lane, code-f, task 20638, 2026-11-18): origin/main pm-stack/aggregator/src/orchestration-dependency.ts defines dependencyStatuses including "blocked", and feed.ts isDependencyElement gates blockedBy with isDependencyStatus, so a "blocked" dependency publishes and validates. Already done.