Rohit Kushwaha
5ec460bf1f
fix(chat,ripple): validate intent hint + add schema/prompt tests
...
Review follow-ups for #1141 :
- agent_schemas: add a field_validator for `intent`. It still accepts
any `skill:<name>` (open-ended for forward compat) but now rejects
values that are neither `pocket_create` nor `skill:`-prefixed, so a
client typo like `pocket-create` fails loudly with a 422 instead of
silently falling through to the inline-ripple branch.
- agent_schemas: correct the `intent`/`skill_args` docstring — `skill:*`
and `skill_args` are accepted but NOT yet consumed by the backend;
marked reserved rather than implying they dispatch today.
- tests: cover intent acceptance/rejection + skill_args on the request
schema, and assert INLINE_RIPPLE_SYSTEM_PROMPT composes the shared
WIDGET_CATALOG / USE-THE-WIDGET RULE from _design (a content guard
that catches a broken _design import at test time, not runtime).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-21 10:42:11 +05:30
..
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-21 07:15:13 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-20 16:03:47 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-04-10 17:42:15 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-21 10:42:11 +05:30
2026-05-21 09:53:54 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-20 16:03:47 +05:30
2026-05-19 20:06:11 +05:30
2026-04-28 17:32:08 +05:30
2026-05-19 20:06:11 +05:30
2026-05-21 03:15:48 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-20 16:03:47 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-04-28 17:32:08 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 16:03:47 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 16:03:47 +05:30
2026-05-19 20:06:11 +05:30
2026-05-20 16:03:47 +05:30
2026-04-11 10:08:58 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 14:54:40 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 14:54:40 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 16:03:47 +05:30
2026-05-21 03:15:48 +05:30
2026-05-20 16:03:47 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-04-28 17:32:08 +05:30
2026-05-19 20:06:11 +05:30
2026-04-28 17:32:08 +05:30
2026-05-21 10:42:11 +05:30
2026-05-20 16:03:47 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-21 03:15:48 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 16:03:47 +05:30
2026-05-19 20:06:11 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 16:03:47 +05:30
2026-05-19 20:06:11 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 16:03:47 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 16:03:47 +05:30
2026-05-20 14:23:44 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-04-11 09:12:31 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-21 03:15:48 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30
2026-05-19 20:06:11 +05:30