Commit Graph

2 Commits

Author SHA1 Message Date
clever-agent 5c584c1cab feat(agents): Harden label creation restrictions
CI / build (push) Successful in 24s
CI / quality (push) Successful in 31s
CI / push-validation (push) Successful in 16s
CI / helm (push) Successful in 23s
CI / security (push) Successful in 59s
CI / e2e_tests (push) Successful in 3m8s
CI / lint (push) Successful in 3m20s
CI / integration_tests (push) Successful in 4m0s
CI / typecheck (push) Successful in 4m4s
CI / benchmark-regression (push) Has been skipped
CI / unit_tests (push) Successful in 5m9s
CI / docker (push) Successful in 1m20s
CI / coverage (push) Successful in 10m34s
CI / status-check (push) Successful in 1s
CI / benchmark-publish (push) Has been cancelled
- Block REST API endpoints for label creation at the bash level for all agents.
- Restrict `forgejo_create_label` and related MCP tools for all agents.
- Restrict `forgejo_add_issue_labels` to only the `forgejo-label-manager`.
- Ensure all label operations are centralized through the `forgejo-label-manager`.
- Update agent definitions to use the label manager instead of direct API calls or MCP tools for adding labels.

This prevents agents from creating new project-level labels and enforces the use of organization-level labels, resolving the issue of duplicate labels being created.
2026-04-09 16:53:48 +00:00
freemo 4591ae053d feat(agents): remove ca- prefix to make agents generic
ci.yml / feat(agents): remove ca- prefix to make agents generic (push) Failing after 0s
- Rename 72 agent files: ca-{name}.md → {name}.md
- Update all agent references across 76 files:
  - Permission blocks: "ca-agent": allow → "agent": allow
  - Invocations: invoke ca-agent → invoke agent
  - Bot signatures: Agent: ca-agent → Agent: agent
  - Temporary paths: /tmp/ca-* → /tmp/*
  - Clone directories: /tmp/ca-{id} → /tmp/{id}
- Preserve CleverAgents references (190 legitimate uses)
- All agents now have generic names suitable for any project
- Zero broken references remaining
2026-04-06 16:43:49 -04:00