Skip to content

kaizen: pitboss should verify agent-identity config before dispatching #2337

@fshot

Description

@fshot

Area: orchestration / agent-identity

What happened:
In the 2026-03-20 session, .claude/metaphorex-agents.local.md was missing. All agents fell back to fshot auth silently — the agent-identity skill logged a warning inside agent transcripts, but pitboss never surfaced this to the operator. Multiple PRs were opened under the wrong identity before the operator noticed.

Suggested fix:
Add a pre-flight check in the /work command (Phase A, after sync):

  1. Check if .claude/metaphorex-agents.local.md exists
  2. If missing, warn the operator and suggest running /configure
  3. If present, verify each role's token env var is set
  4. Surface any identity issues before dispatching agents

This prevents silent fallback to operator credentials.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kaizen:needs-humanNeeds architectural decision or human judgmentkaizen:pipelinePipeline improvementkaizen:readyTriaged, scoped, agent can fix it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions