Skip to content

Require filed-by label on all agent-created issues #131

Description

@lesaai

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:

  1. Detects the current agent identity (from $CLAUDE_CODE_AGENT_ID, branch prefix, or config)
  2. Ensures the filed-by:<agent-id> label exists on the repo (creates it if missing)
  3. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfiled-by:cc-miniIssue filed by Claude Code on mini

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions