feat(lifecycle): label todo runs - #87
Conversation
A supervised agent run reached the task list as an anonymous binary path, so an operator watching several concurrent runs could not tell which todo any of them was working. The lifecycle host now contributes a gavel-run-labels PreRun hook that puts the identity captain cannot derive — the todo id, its title, a href back to it, the phase, and the workspace dir — onto the request the provider is built from; the provider merges its own runtime facts (model, mode, session) on top. Pins captain to the build that carries Spec.Labels and clicky to the one that carries SupervisedTaskOptions.Annotations, and regenerates gavel.schema.json for the two fields those add (spec.labels, permissions.directories). Realigns the partial-runtime spec onto captain's current tool-policy contract: an allow naming another agent's built-in is now skipped as inert, so only a deny still makes the openai agent runtime refuse the policy. Claude-Session-Id: 3698db0e-fe0f-48e4-a19d-de9c24fb34f3
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Gavel summary
Totals: 5567 passed · 0 failed · 86 skipped · 3m35s |
Claude-Session-Id: 3698db0e-fe0f-48e4-a19d-de9c24fb34f3
… task rows" This reverts commit 4ebe201.
This reverts commit d1aa55a.
Claude-Session-Id: 3698db0e-fe0f-48e4-a19d-de9c24fb34f3
Claude-Session-Id: 3698db0e-fe0f-48e4-a19d-de9c24fb34f3
…/label-todo-runs-dlahyuu9p7ww
…/label-todo-runs-dlahyuu9p7ww
Claude-Session-Id: 3698db0e-fe0f-48e4-a19d-de9c24fb34f3
Gavel summary
Totals: 0 passed · 0 failed · 1 skipped · - |
Reorder the pgSniffer and client in MultiWriter to ensure the server's response is decoded before being forwarded to the client. This prevents a race condition where the client can observe and finish processing a reply while the recorder is still mid-decode, causing the connection to close prematurely and lose the captured statement data. By recording first, we guarantee that when the client receives its answer, the capture is already complete. Claude-Session-Id: 3698db0e-fe0f-48e4-a19d-de9c24fb34f3
Claude-Session-Id: 3698db0e-fe0f-48e4-a19d-de9c24fb34f3
What
Notes