Skip to content

Recent decisions show a team tool's name next to its tool_ id - #313

Merged
nambok merged 1 commit into
mainfrom
live-tools-labels
Nov 4, 2026
Merged

nambok merged 1 commit into
mainfrom
live-tools-labels

Conversation

@nambok

@nambok nambok commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Recent decisions on Settings, Agent permissions now show a team tool's name next to its tool_ id, so "tool_find_order" reads "Find order tool_find_order: ...". The platform fills policy.tool_label from the tool's definition (CoderHelm/coderhelm-platform#466).

Changes

  • AgentEvent.policy.tool_label in lib/agent-policy.ts.
  • RecentDecisions renders the name, then the agent-facing id in a small code span; tools without a name show exactly as before.
  • e2e: the activity fixture has a refused team tool with a name; a new test checks the row text and the id.

Verification

  • npm run lint, npm run typecheck, npm run check:openapi, npm run build (with the CI API and stream URLs): pass.
  • E2E_STATIC=1 npx playwright test e2e/agent-permissions.spec.ts: 11 passed, including the new one.

A decision on tool_find_order now reads "Find order tool_find_order: ..."
from the event's policy.tool_label, which the platform fills in from the
tool's definition. Tools without a name of their own show as before.
@nambok
nambok merged commit b6fd1b5 into main Nov 4, 2026
10 checks passed
@nambok
nambok deleted the live-tools-labels branch November 4, 2026 19:43
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.

1 participant