Skip to content

v4.0.3: Unresolved template variable {PRINCIPAL.NAME} in CONTEXT_ROUTING.md #878

@eccentricnode

Description

@eccentricnode

Version: v4.0.3
File: PAI/CONTEXT_ROUTING.md (line ~24)

Description

CONTEXT_ROUTING.md contains the literal unresolved template variable {PRINCIPAL.NAME} instead of the user's resolved name.

## {PRINCIPAL.NAME} — Personal Context

This file appears to be a template that was not processed by BuildCLAUDE.ts during the release build.

Steps to reproduce

  1. Fresh install of PAI v4.0.3
  2. Run: grep "PRINCIPAL" ~/.claude/PAI/CONTEXT_ROUTING.md
  3. Observe the literal {PRINCIPAL.NAME} in the output

Expected

The template variable should be resolved to the user's configured name, or replaced with a static/generic reference.

Actual

The raw template variable {PRINCIPAL.NAME} is rendered as-is in the file.

Suggested fix

Either process CONTEXT_ROUTING.md through the BuildCLAUDE.ts template resolution pipeline, or replace the template variable with a static label like "User" or "Principal".

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