Skip to content

Voice line template hardcodes 'PAI:' instead of using DA identity name #553

@catchingknives

Description

@catchingknives

Bug

The FULL, MINIMAL, and ITERATION format templates in SKILL.md (generated by CreateDynamicCore.ts) hardcode the voice line as:

🗣️ PAI: [Spoken summary]

This appears in 4 locations (FULL mode line, MINIMAL mode, ITERATION mode, and the main format example).

Problem

Users who configure a custom DA identity name in settings.json (e.g., daidentity.name = "Nairyo") still get 🗣️ PAI: in every response because the template is a literal string, not a variable reference. The DA identity is correctly loaded from settings — the system knows its name — but the format spec overrides it with a hardcoded "PAI".

Expected Behavior

The voice line should use the configured DA identity name:

🗣️ {DAIDENTITY.NAME}: [Spoken summary]

Or at minimum, the template should reference a variable rather than a literal.

Affected Files

  • Components/ files that assemble into SKILL.md via CreateDynamicCore.ts
  • The generated SKILL.md (4 occurrences of 🗣️ PAI:)

Proposed Fix

In the Component files that define the format templates, replace:

🗣️ PAI: [Spoken summary]

with a variable reference that CreateDynamicCore.ts resolves from settings.json at build time, or use a placeholder the DA can resolve at runtime:

🗣️ {DA_NAME}: [Spoken summary]

Environment

  • PAI v2.5
  • SKILL.md built: 29 January 2026

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions