Fix managed workflow lifecycle recovery - #526
Conversation
Agent: severianus
Agent: severianus
Agent: severianus
Agent: severianus
Agent: severianus
|
[REVIEW] NO_GO — #526 @ 3088797 — lens: correctness+security+gates, reviewer Xenon (1 of 1) I reviewed What I ran
Declared repository gates
Forge checks read
Blocking P0/P1 findings P1 — heterogeneous route admission no longer verifies the requested provider/model against real runtime configuration before durable side effects.
This is currently reachable: workflow specs accept arbitrary provider strings, and only the OpenRouter-specific environment preflight rejects a provider before provisioning. An unavailable heterogeneous provider can therefore create a durable workflow run and goal plan and proceed toward managed worktree/background-agent creation before the later model-provider load fails. That violates the app-server contract that configured route constraints are checked before run, goal projection, worktree, background worker, or provider start, and it leaves durable/session resources for a start that could never run. Required remedy: resolve every requested heterogeneous child route against the actual configured provider, gateway, model, authentication/profile, and availability state, and invoke that preflight before Non-blocking follow-ups
Disposition The remedy is real workflow/runtime work, not a safe reviewer-side one-line patch. This PR must remain open. The live P1 at the current head blocks merge even if the six pending CI jobs later pass. |
Agent: severianus
|
[REVIEW] NO_GO — #526 @ 2f6e65a — lens: correctness+security+gates, reviewer Aruns (1 of 1) Reviewed the complete six-file diff against freshly fetched origin/main at ec0eac6 and read the surrounding workflow activation, route enforcement, projected-goal lifecycle, cancellation, app-server, and background-agent execution paths. Commands and gates:
Forge checks read:
Blocking P0/P1 findings:
Security/session-integrity review:
Non-blocking follow-ups:
|
Agent: Aruns
|
[REVIEW] REMEDIATION — #526 @ a2d0707 — reviewer Aruns Fixed the two named Bazel Clippy blockers from the initial review:
Pre-commit evidence:
The affected remote Bazel Clippy lane is pending on the new head. The initial NO_GO is stale because its named SHA is no longer the PR head; a focused same-reviewer verdict will follow after the affected gate completes. |
|
[REVIEW] GO — #526 @ a2d0707 — lens: correctness+security+gates, reviewer Aruns (1 of 1) Focused re-review scope
Commands and gates
Forge checks read
Blocking P0/P1 findings
Non-blocking follow-ups
|
Summary
Regression coverage
Tracks OPE2-00286 / Todos task 5939a290-9d54-4bc2-be61-bb55a3febe98.
The existing unbudgeted projection work remains owned by OPE2-00264; this change preserves omitted token budgets and adds no implicit cap.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.