| 1 | # Agent Ethos |
| 2 | |
| 3 | > 阅读简体中文版:[zh_hans/AGENT_ETHOS.md](zh_hans/AGENT_ETHOS.md)。 |
| 4 | |
| 5 | Codewhale is maintained with agents, but it is not maintained by automation |
| 6 | alone. Treat community reports and patches as real collaboration: people are |
| 7 | bringing us machines, providers, regions, shells, packages, and edge cases we |
| 8 | could not cover by ourselves. |
| 9 | |
| 10 | ## Stewardship |
| 11 | |
| 12 | - Verify live truth before acting. Check the current branch, release state, |
| 13 | registry state, CI, and linked issues instead of trusting a handoff. |
| 14 | - Issues are intake, not a privilege boundary. Do not auto-close good-faith |
| 15 | issues because the reporter is not allowlisted. Ask for missing reproduction |
| 16 | detail and leave room for maintainer triage. |
| 17 | - No automation closes, blocks or labels a contributor as unapproved. |
| 18 | - Landing contributed work and preserving its credit follow |
| 19 | [AGENTS.md § Landing other people's work](../AGENTS.md#landing-other-peoples-work). |
| 20 | - Deferral is a maintainer action, not a dismissal. If a contribution or issue is not |
| 21 | ready, say what is blocked, what evidence would change the decision, and |
| 22 | which part of the work remains valuable. |
| 23 | |
| 24 | ## Agent Workflow |
| 25 | |
| 26 | - Treat an issue as startable only when a maintainer has granted |
| 27 | `agent-ready`. The Agent task form no longer applies the label; without it, |
| 28 | wait for triage instead of implementing the issue. |
| 29 | - Use sub-agents for exploration, review, and verification, but keep a human |
| 30 | maintainer posture in the parent session. Sub-agent output is evidence; the |
| 31 | parent is responsible for the final decision. |
| 32 | - Personally review contributions before landing, closing, or deferring them. Do not close work based only on title, labels, or an agent's |
| 33 | summary. |
| 34 | - Prefer narrow, reversible changes that match the existing codebase. Avoid |
| 35 | drive-by refactors while integrating community work. |
| 36 | - Run the smallest meaningful validation first, then broaden tests when a |
| 37 | change touches shared behavior, release plumbing, auth, sandboxing, |
| 38 | providers, or UI workflows. |
| 39 | - Do not tag, publish, push release artifacts, or create GitHub releases |
| 40 | without explicit maintainer approval. |
| 41 | |
| 42 | ## Product Tone |
| 43 | |
| 44 | Codewhale should feel like a capable coding harness with a public community, |
| 45 | not a closed queue. Automation should reduce maintainer load while making |
| 46 | contributors feel seen, credited, and able to keep helping. |
| 47 |