Skip to content

docs: standardize agents.md - #301

Merged
juninmd merged 1 commit into
masterfrom
claude/agents-md-cleanup
Nov 22, 2026
Merged

juninmd merged 1 commit into
masterfrom
claude/agents-md-cleanup

Conversation

@juninmd

@juninmd juninmd commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Requested by Antonio · project thread

Summary

  • Reescreve AGENTS.md (185 → 138 linhas) no formato padrão, com os caminhos e variáveis conferidos contra a árvore atual.
  • Corrige caminhos que não existem mais: core/base_agent.ts → agents/base-agent.ts, admin_api.ts (rotas /api/* ficam em webhooks/server.ts), dashboard/ → static/, merge_policy.ts → merge-policy.ts, e utils/lazy_import.ts, que não existe.
  • Remove a afirmação de "gate de CI em 80%": não há threshold de cobertura em validate.yml nem em bunfig. Vira meta de 100% com a observação explícita.
  • Mantidos sem alteração de sentido: bloco de origem obrigatório, aprovação do dono para reescrita de histórico, gates de merge (AGENTS.md obrigatório e billing), regra de no-cron, réplica única, squash merge sempre, controles de segurança do dashboard e o bloco base-actions-main-policy.
  • Nenhum código, workflow, configuração ou lockfile alterado.

Quality Checklist

  • User-facing behavior is described clearly. N/A: documentação de agentes, sem mudança de comportamento.
  • Security impact was considered, including secrets, auth, and data exposure. Nenhum segredo ou dado pessoal no arquivo; as regras de segurança existentes foram preservadas.
  • Performance impact was considered for startup, runtime, bundle size, or query cost. N/A: só Markdown.
  • Logs, errors, and operational visibility are useful enough to debug failures. N/A: só Markdown.
  • UI changes were checked for keyboard access, responsive layout, and readable states. N/A: sem UI.
  • Tests, smoke checks, or manual verification are listed below.

Verification

  • Cada caminho entre crases em AGENTS.md foi testado com test -e contra a árvore: os que não existiam foram corrigidos; os que existem continuam.
  • Identificadores e variáveis conferidos com grep no código: openPullRequest, agents_md_missing, agents_md_check_failed, billing_checks, checkPipelineStatus, AUTOMATION_MODE, expectedSha, CONFLICT_OPENCODE_ENABLED, PIPELINE_FIX_ENABLED, SIMULATION_MODE, ADMIN_API_TOKEN, DASHBOARD_ENABLED, AGENT_CONTRACT_REFRESH, REPO_STANDARDS_MAX_PRS, AGENT_ALIASES, TELEGRAM_APPROVER_IDS, LITELLM_API_BASE, REVIEWER_ASSOCIATIONS (OWNER/MEMBER/COLLABORATOR).
  • Comandos conferidos contra ts/package.json: test, typecheck, run-agent, webhook-server, queue, pr-insight.
  • Nenhum marcador de conflito no arquivo.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Cn6JQNdpJ9HbXQApRRfT1i

AGENTS.md pointed at file paths that no longer exist (base_agent.ts,
admin_api.ts, dashboard/, merge_policy.ts) and a coverage gate that CI
does not enforce. Rewrite it under Stack, Commands, Structure, Agents,
Security and Gotchas-style sections, with every path and env var checked
against the tree. Keep the origin-block rule verbatim, the approval gate
for history rewrites, the billing and AGENTS.md merge gates, the
no-cron and single-replica rules, the squash-only rule, and the
base-actions policy block verbatim.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cn6JQNdpJ9HbXQApRRfT1i
@juninmd juninmd self-assigned this Nov 22, 2026
@juninmd
juninmd merged commit b2d6742 into master Nov 22, 2026
3 checks passed
@juninmd
juninmd deleted the claude/agents-md-cleanup branch November 22, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants