fix(factory): render human-action cards from the factory tool call #767
No reviewers
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
follow-up
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman!767
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/factory-tool-card"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A denied
ocman_factorycall (e.g.approve_plan) only produced a card if the agent copied the returned[[ocman:card …]]marker into its reply. It often didn't, so no card appeared.factory, so reads/greps that print a marker stay plain).TextField/SelectField/Button, stacked labels, and it sits outside the error row so it isn't tinted red.ToolCallDisplay.tsx(782 lines) split intotoolRenderers.tsx,toolOutputFormat.tsx,TaskToolCard.tsx,ApprovalFootnote.tsxwithout behaviour change.Tests: new test renders a denied
approve_planresult as a factory tool call (plus a non-factory control). Saw it fail with the render switched off, pass with it on. MCP guidance tests updated. Checked visually on a real session.29bc3e8a1d1c32ea3805View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.