Skip to content

docs: document voice and language blocks in AGENT_SCRIPT rules - #127

Open
alexandramartinez wants to merge 1 commit into
mainfrom
alexandramartinez/agent-script-voice-rules
Open

docs: document voice and language blocks in AGENT_SCRIPT rules#127
alexandramartinez wants to merge 1 commit into
mainfrom
alexandramartinez/agent-script-voice-rules

Conversation

@alexandramartinez

Copy link
Copy Markdown

What does this PR do?

Extends the Agent Script ruleset (.airules/AGENT_SCRIPT.md) to document voice and language configuration — the syntax introduced by the VoiceAgent bundle in #126. The change is purely additive documentation:

  • Adds a Language Block section (default_locale, additional_locales).
  • Adds a Voice Blocks section documenting connection telephony and modality voice, including a requirements/gotchas list (voice-provisioned org, voice-supported locale, org-specific voice_id, ear-tuned instructions).
  • Adds a Voice Blocks entry to the top-level block-ordering reference (as the last block, after subagents).
  • Adds three voice-agent items to the Validation Checklist.

What issues does this PR fix or reference?

Relates to #95. Follow-up to #126 (the voiceAgent recipe) — this documents the ruleset side of the voice syntax that recipe demonstrates. Best reviewed/merged after #126.

The PR fulfills these requirements:

  • Tests for the proposed changes have been added/updated.
  • Code linting and formatting was performed.

Functionality Before

Ruleset had no documentation for language, connection telephony, or modality voice blocks.

Functionality After

Contributors have documented syntax, ordering, and a validation checklist for building voice-enabled agents.

🤖 Generated with Claude Code

Adds Language Block and Voice Blocks sections to the Agent Script ruleset,
covering connection telephony and modality voice configuration, the block
ordering for voice blocks, and voice-agent items in the validation
checklist. Documents the syntax used by the RubberDuckDebuggerSpokenStyle
recipe.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Salesforce Code Analyzer found 82 violations, including 0 in files changed by this pull request. See job summary page.

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