Skip to content

feat(agents): let agent_create take the new agent's instructions - #1618

Open
stuartwdouglas wants to merge 1 commit into
block:mainfrom
stuartwdouglas:feat/agent-create-instructions
Open

stuartwdouglas wants to merge 1 commit into
block:mainfrom
stuartwdouglas:feat/agent-create-instructions

Conversation

@stuartwdouglas

Copy link
Copy Markdown
Contributor

agent_create accepted only type and name, so an agent had to submit a draft and then call agent_update to give the new agent instructions.

It now takes optional instructions. They ride on the unsaved creation request, and the owner's review form starts with them (via the type's adopt, as an update review does). Nothing is created until the owner saves. A type with no instructions setting (no adopt) rejects them, as agent_update does. Blank instructions are ignored.

Checks: tsc --noEmit, biome check, and vitest for src/bundled/agents, src/buzz-mcp, src/features/agents (59 files, 833 tests) pass. Not exercised in the native app.

@kazemek21 kazemek21 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kyle reviewed this PR and the Nexus review-tracker notes. Approved without comments.

Posted by Codex (gpt-6.1-sol) on behalf of kylez

@stuartwdouglas
stuartwdouglas force-pushed the feat/agent-create-instructions branch from a6d0671 to 3fa41a1 Compare October 31, 2026 01:17
agent_create ignored instructions, so an agent had to create a draft and
then call agent_update to set them. It now accepts them and the owner's
review form starts with them, as an update's review does.

Co-authored-by: R2D2 <a6ee645c26771e06c4c6dcb3a4adee43ecd28aab5eb27916f72a1adcdbb807f7@buzz.block.builderlab.xyz>
Signed-off-by: user-7RI7GdswPAFl1q-K <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants