Files
DeepSeek-TUI/CLAUDE.md
Hunter Bown e50a86e737 docs: adopt the ponytail decision ladder (#5787)
Founder-directed. From dietrichgebert/ponytail -- 'the laziest senior dev in
the room', 'the best code is the code you never wrote'. Encodes the ladder
verbatim rather than paraphrasing it:

  1. Does this need to exist?   -> Skip it
  2. Already in this codebase?  -> Reuse it
  3. Stdlib does it?            -> Use it
  4. Native platform feature?   -> Use it
  5. Installed dependency?      -> Use it
  6. One line?                  -> One line
  7. Only then: the minimum that works

Two parts of the source method matter as much as the rungs and are kept
explicit. The ladder runs *after* understanding the problem -- lazy about
solutions, never about reading the code first. And it never cuts
trust-boundary validation, data-loss handling, security, or accessibility.

Rung 2 is the one this repository keeps failing, so the section says so and
points at the existing model_*/ *_config / provider_* grep rule rather than
restating it. Two corollaries earned here are added because the ladder does
not cover them: an abstraction must delete caller code, and migrate the last
consumer or do not start.

Carries no counts. AGENTS.md's first line says to derive changing state from
the repository rather than from instructions, so the dead-code corollary
points at scripts/check-dead-code-budget.py instead of freezing a number.

CLAUDE.md gets a pointer, not a copy.

Signed-off-by: CodeWhale Bot <bot@codewhale.net>
Co-authored-by: CodeWhale Bot <bot@codewhale.net>
2026-08-31 19:19:41 -07:00

472 B

Claude entrypoint

@AGENTS.md

The imported contract is authoritative. Do not invent stricter test or branch rituals: follow its code-first evidence policy, one-way migration rule, clean direct-main permission, and the current task's offline boundary.

Its ponytail decision ladder runs before you write code, every time. Read it there — it is not restated here, because rung 2 is "already in this codebase?" and a second copy of a rule is the thing the rule forbids.