CedarCopilot wants to merge 1 commit into staging from fix/table-tool-result-pill
Libra could not exercise the changed behavior yet: it ran a scenario for this change but could not get a result it trusts, and will regenerate the scenario on a coming run.
Live on prod, watching, 1 day left
Verification reached its budget before a verdict.
Verification reached its budget before a verdict.
Verification reached its budget before a verdict.
Libra has verdicts on 0 of 1 tracked behaviors on prod; 1 is still being checked. Libra checks hourly for 3 days after each deploy.
toolResultMessageRenderer only rendered an inline pill for write-document and board's create_board , the table tool (id: 'table') had no branch and fell through to null, so a table created via the tool never got a clickable pill in the transcript (it showed as plain text / a raw link instead).table branch, gated to create/import (the same actions attachTableToThread in tableTool.ts uses to file the context chip), adapting the tool's flat {success, documentId, path} result into write-document's shape and reusing WriteDocumentResultRenderer rather than duplicating its table-aware open/summary logic.pnpm --filter @zero/mail run types , no errors in the changed file or new symbols (remaining errors are pre-existing generated-artifact gaps , paraglide i18n / React Router +types , in a fresh checkout with no dev/build run yet, unrelated to this change).🤖 Generated with Claude Code
The implementation appears safe to merge, with focused renderer regression coverage recommended as a non-blocking follow-up.
### Issue 1
apps/mail/modules/cedar-os/src/components/renderers/messageRenderers.tsx:349
The new table-specific renderer has no focused client test, leaving its action filtering, result-shape adaptation, and dispatch from `toolResultMessageRenderer` unprotected. The existing table card test exercises `write-document`, not this new `table` tool-result path, so the same kind of missing dispatch that caused the original regression could recur unnoticed. Please add coverage for successful `create` and `import` results, plus failed or non-creating actions that should render nothing.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
This PR adds transcript rendering for successful table creation and import results by adapting the table tool’s output to the existing document-result renderer.
create and import actions.Reviews (1) · Last reviewed commit: "fix(chat): render a pill for a table the..."
Libra has not measured any production surfaces for this change yet.