Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Sf ai agentscript/Known-issues
Reference · Sf ai agentscript

Known-issues

Part of Sf ai agentscript. Install the skill and your agent reads this page when it needs the depth.

<!-- Parent: sf-ai-agentscript/SKILL.md -->

Known Issues Tracker

Unresolved platform bugs, limitations, and edge cases that affect Agent Script development. Unlike the "Common Issues & Fixes" table in SKILL.md (which covers resolved troubleshooting), this file tracks open platform issues where the root cause is in Salesforce, not in user code.


Issue Template

## Issue N: [Title]
- **Status**: OPEN | RESOLVED | WORKAROUND
- **Date Discovered**: YYYY-MM-DD
- **Affects**: [Component/workflow affected]
- **Symptom**: What the user sees
- **Root Cause**: Why it happens (if known)
- **Workaround**: How to get around it
- **Open Questions**: What we still don't know
- **References**: Links to related docs, issues, or discussions

Open Issues

Issue 1: Agent test files block force-app deployment


Issue 2: sf agent publish fails with namespace prefix on apex:// targets


Issue 3: Agent packaging workflow unclear


Issue 4: Legacy sf bot CLI commands incompatible with Agent Script


Issue 5: Agent tests cannot be deployed/retrieved for source control


Issue 6: require_user_confirmation does not trigger confirmation dialog


Issue 7: OOTB Asset Library actions may ship without proper quote wrapping


Issue 8: Lightning UI components do not render on new planner


Issue 9: Large action responses cause data loss from state


Issue 10: Agent fails if user lacks permission for ANY action


Issue 11: Welcome/error interpolation written as a quoted string renders literally


Issue 12: System welcome/error messages are templates, not procedural instruction blocks


Issue 13: Related agent nodes fail in SOMA configuration


Issue 14: Previously valid OpenAPI schemas now fail validation


Issue 15: Action definitions without outputs: block cause "Internal Error" on publish


Issue 17: EinsteinAgentApiChannel surfaceType not available on all orgs


Issue 18: connection messaging: only generates Messaging plannerSurface — CustomerWebClient dropped on every publish


Issue 19: Comments inside if blocks treated as empty body


Issue 20: GenAiPlannerBundle / AiAuthoringBundle / GenAiFunction NOT SOQL-queryable


Issue 21: Old GenAiPlannerBundle versions block Apex class deletion


Issue 22: Flow version drift causes publish failure


Issue 23: HTTP 500 on publish when default_agent_user is set for Employee Agent


Issue 24: Omitting agent_type silently defaults to Service Agent behavior


Issue 25: GenAiPluginDefinition Duplicate Name Collision

Symptom: Publish fails with GenAiPluginDefinition name conflict error.

Cause: When start_agent and a topic share the same API name, the generated GenAiPluginDefinition metadata collides — both produce identically-named plugin definitions.

Workaround: Ensure start_agent and all topic blocks use unique API names. A common pattern is to prefix the start agent name (e.g., Start_My_Agent vs My_Agent_Topic).


Issue 26: is_required: True is a no-op for the planner


Issue 27: ConcurrentModificationException when action I/O doesn't match invocable target


<a id="issue-28"></a>

Issue 28: date primitive type in action I/O causes runtime error


Issue 29: ANTLR parser error for large/complex .agent files


Issue 30: 500 "Failed to create planner session" (widespread, multi-version)


<a id="issue-31"></a>

Issue 31: Escalation loops when no human agents available


Issue 32: Citations not rendering in NGA agents vs legacy agents


Issue 33: == [] and set ... = [] — empty list literal not supported in expressions


<a id="issue-34"></a>

Issue 34: is_displayable: True on prompt template outputs causes blank response


Issue 35: Topic description: with line breaks breaks the script


Issue 36: Variable names conflict with system context variable mappings


Issue 37: Draft version works but Committed version fails


Issue 38: Object variables not editable in preview


<a id="issue-39"></a>

Issue 39: @context.* linked sources not supported for NGA Service Agents


<a id="issue-40"></a>

Issue 40: Draft prompt template causes misleading publish errors for generatePromptResponse:// actions


Resolved Issues

<a id="issue-16"></a>

Issue 16: connections: (plural) wrapper block not valid — use connection messaging: (singular)

<a id="issue-40-filter-planner-conflict"></a>

Issue 40: filter_from_agent + is_used_by_planner on same output — InvalidFormatError with cascade

Issue 41: Lifecycle arithmetic on mutable number crashes when variable is None at runtime

Issue 42: Raw @system_variables.user_input substring matching is brittle for deterministic routing


Contributing

When you discover a new platform issue during an Agent Script session:

  1. Add it to the Open Issues section using the template above
  2. Assign the next sequential issue number
  3. Set status to OPEN or WORKAROUND
  4. Include the date discovered
  5. Be specific about the symptom and any error messages
  6. Note what you've tried so far under "Workaround"

When an issue is resolved:

  1. Update the status to RESOLVED
  2. Add the resolution date and what fixed it (e.g., "Fixed in Spring '26 release")
  3. Move the issue to the Resolved Issues section

Last updated: 2026-03-20 (v2.9.0)

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.