docs(design): build kit as the reserved static workflow __ag__build_kit - #5124
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
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: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
048f415 to
cbc210a
Compare
…options, plan Claude-Session: https://claude.ai/code/session_01N2djTMgXnpk84EqtugHDJB
cbc210a to
6fa5937
Compare
Context
Agents created through the new template-builder and playground-native flows show no build kit and run without its tools, even after commit. The server content was proven healthy; the root cause is delivery: the frontend fetched the kit exclusively as a rider on
GET /simple/applications/{id}, keyed by aworkflow_idthat ephemeral drafts don't have and that onboarding's in-place swap doesn't re-resolve.The decision (Mahmoud, 2026-07-07)
The build kit becomes a reserved static workflow,
__ag__build_kit, in the existing StaticWorkflowCatalog — the same home as__ag__build_an_agentand__ag__request_connection. Two refinements from review: it is just an agent configuration (parameters.agentwith tools/skills/sandbox — no new schema flavor; "overlay" is how the playground uses it, not a type), and nothing relocates (the entry goes where the catalog lives; the ops list stays put; overlay.py is absorbed as the kit's content builder).Delivery: the frontend resolves the slug through the existing workflow-retrieve path, fetches once per project, and merges it onto anything agent-typed (
flags.is_agent— drafts and committed agents alike). The per-application rider retires after the FE migrates. Options A (dedicated route — provisionally built, parked unmerged onfeat/build-kit-overlay-impl-draft, to be discarded) and B (template-response rider) are superseded; the analysis stays in context.md.Verified, not assumed
workflowrefs back through the catalog, so the kit's internal embeds (request-connection, build-an-agent) work on both paths.parameters.agent— the concrete evidence for the "it's just an agent config" framing.Why this matters now
This gates flipping
NEXT_PUBLIC_AGENT_TEMPLATE_BUILDERto default-on (the last piece of the zero-config new experience; the other two flags shipped in #5121).https://claude.ai/code/session_01N2djTMgXnpk84EqtugHDJB