Dashboardcliagent-conversation compound target

agent-conversation compound target

Category: gotcha
Confidence: 0.90
ID: 01a08b23-7924-764a-aa7d-d82994bac702
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 1UT0KX8W4zH7hqVRY
Created: 2026-09-08 20:42:56
Updated: 2026-09-10 11:45:52

Content

Trap: declaring agent-conversation view’s tuple positional required and testing only viewCommand.loader() looks correct because the conversation ID is mandatory, but direct function tests bypass Stricli’s parse-time rejection. Fix: mark the synthetic tuple optional and add a parser-level regression through Stricli proving omission reaches func() and emits ContextError. Accept only a slashless ID or exactly one nonempty <org>/<conversation-id>; malformed supplied targets use fielded ValidationError("conversation-id") before resolution or API access.

Move to: