nixcfg/config/opencode/agents
Harald Hoyer 8373e32f34 fix(opencode): forbid RED-state references in test names
A workflow run produced test names like move_enemies_following_path_
panics_on_todo, path_types_randomly_assigned, and spawn_enemies_
special_stage_panics_on_todo. The first and third leak the stub-first
RED mechanic into the test name; once @make's body pass turns them
GREEN, the name lies. The middle one is too vague to describe a
contract.

Adds a Test Naming subsection to @test's Test Philosophy stating the
TDD survival principle — the name describes the contract under test,
not the current state, and must remain accurate after the body pass.
Bans ..._panics_on_todo / ..._fails_red / ..._stub_works / generic
placeholders / vague verbs / implementation-detail leakage. Requires
action + observable outcome and shows bad-to-good rewrites of the
three names from this run.
2026-05-08 10:20:16 +02:00
..
check.md fix(opencode): remove temperature 2026-05-06 16:43:35 +02:00
make.md feat(opencode): make @make and @test polyglot (Python, Rust, nix devshell) 2026-05-06 17:09:34 +02:00
pm.md refactor(opencode): migrate @pm and workflow to per-issue TODO/ folder 2026-05-08 10:20:16 +02:00
simplify.md fix(opencode): remove agent models and temperature 2026-05-06 15:33:11 +02:00
test.md fix(opencode): forbid RED-state references in test names 2026-05-08 10:20:16 +02:00