docs: PATTERNS.md, the rules that came out of real problems #4
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/patterns"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A dedicated file to point people and LLMs at before they change code, CI or releases in any repository. Documentation only, no action changes.
Contents
REPO_WRITER_PAT, no hardcoded hosts, theHA_TOKEN=""placeholder is not a leak); scan on every PR, main and weekly.target-versionreally means (PEP 758); one list of dev dependencies and floors not pins, plus the Home Assistant test plugin exception andasyncio_mode = "auto"; lint and format rules; tests (TDD, characterization tests, AST-compare for formatting-only commits).@mainby full URL; test the path production uses; runner labels; the release flow; depend on our own forks by immutable tag.Every rule comes from something that actually went wrong in the last maintenance run, with the reason, so it is clear when it does not apply.
Linked from the README.
Claude-Session: https://claude.ai/code/session_013jL41LP9srdcUDYggNpC98
🤖 Generated with Claude Code