Commit Graph

3 Commits

Author SHA1 Message Date
james-enperso
4848ecc844 fix: document publish-only type validation and empty traces on --api-name preview
Three findings from wiring an Agent Script service agent to an apex://
invocable (API v67.0, sf CLI 2.145.6):

1. `sf agent validate authoring-bundle` returns success:true for an action
   param with the wrong numeric type. Only the server-side check during the
   publish step catches it, so a green validate is not evidence the action
   I/O types are correct.

2. Apex Integer and Apex Decimal do not behave the same. An Integer param
   as bare `number` is rejected at publish; a Decimal output as bare
   `number` publishes and runs correctly. The existing "bare number fails
   at publish in action inputs/outputs" note reads as universal, which
   sends authors hunting for a complex type a Decimal does not need.

3. Preview started with --api-name writes trace files containing only {}.
   Only the --authoring-bundle path produces readable traces. This is not
   academic: a service agent cannot always be previewed via
   --authoring-bundle, leaving --api-name as the only option and making the
   "read the trace after every utterance" rule unsatisfiable. Documented a
   discriminating-value fallback for that case.

All additive; no existing guidance removed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 13:55:57 +10:00
GitHub Action
40db639cd4 feat: Release 10 new + 16 updated skills (2026-07-31) @W-23641814@ 2026-07-31 17:57:00 +00:00
GitHub Action
b40d286458 feat: Release Skills Renaming by domain first convention @W-23187998@ 2026-06-26 12:21:51 +00:00