Problem
Agents file issues without the filed-by:<agent> label. 8 of 12 open issues were missing it. This makes it impossible to filter by who filed what.
What should happen
When an agent files an issue via gh issue create, the filed-by:<agent-id> label must be attached automatically. This should not depend on the agent remembering to add it.
Where to enforce
The devops toolbox should provide a wrapper or hook that:
- Detects the current agent identity (from
$CLAUDE_CODE_AGENT_ID, branch prefix, or config)
- Ensures the
filed-by:<agent-id> label exists on the repo (creates it if missing)
- Attaches the label to every
gh issue create call
Options:
- A
wip-issue CLI wrapper around gh issue create that auto-labels
- A GitHub Actions workflow that labels on issue creation based on author
- A pre-issue hook in the devops toolbox
Labels
Format: filed-by:<agent-id> (e.g. filed-by:cc-mini, filed-by:lesa-mini)
This is required, not optional. (migrated from private #135)
Problem
Agents file issues without the
filed-by:<agent>label. 8 of 12 open issues were missing it. This makes it impossible to filter by who filed what.What should happen
When an agent files an issue via
gh issue create, thefiled-by:<agent-id>label must be attached automatically. This should not depend on the agent remembering to add it.Where to enforce
The devops toolbox should provide a wrapper or hook that:
$CLAUDE_CODE_AGENT_ID, branch prefix, or config)filed-by:<agent-id>label exists on the repo (creates it if missing)gh issue createcallOptions:
wip-issueCLI wrapper aroundgh issue createthat auto-labelsLabels
Format:
filed-by:<agent-id>(e.g.filed-by:cc-mini,filed-by:lesa-mini)This is required, not optional. (migrated from private #135)