Commit Graph

11 Commits

Author SHA1 Message Date
you
5182ea69a2 docs: add XP practices to AGENTS.md
Test-First, YAGNI, Refactor Mercilessly, Simple Design,
Pair Programming (subagent→review→push), CI as gate not cleanup,
10-Minute Build, Collective Code Ownership, Small Releases.

Each with concrete examples from today's failures.
2026-03-24 21:06:04 +00:00
you
3ccefb0fe8 docs: add engineering principles to AGENTS.md
DRY, SOLID, code reuse, dependency injection, testability,
type safety, performance. These were being violated repeatedly
(5 implementations of disambiguation, .toFixed on strings, etc).
Now explicitly codified as rules.
2026-03-24 21:03:07 +00:00
you
1061a6209e docs: AGENTS.md updated with all testing learnings + fix E2E default to localhost
- Full test file list with all 12+ test files
- Feature development workflow: write code → write tests → run locally → push
- Playwright defaults to localhost:3000, NEVER prod
- Coverage infrastructure explained (Istanbul instrument → Playwright → nyc)
- ARM testing notes (basic tests work, heavy coverage use CI)
- 4 new pitfalls from today's session
2026-03-24 05:16:16 +00:00
you
8a1bfd8b06 feat: code coverage with c8, npm test runs full suite
npm test: all tests + coverage summary
npm run test:unit: fast unit tests only
npm run test:coverage: full suite + HTML report in coverage/

Baseline: 37% statements, 42% branches, 54% functions
Fixed e2e channels crash (undefined .length on null)
2026-03-24 00:51:33 +00:00
you
84be29dcc8 docs: all tests must pass, all features must add tests — no exceptions 2026-03-24 00:47:29 +00:00
you
d9012a005a docs: accurate test status, public API note, no fake 'known failures' 2026-03-24 00:03:36 +00:00
you
b4558dea4d docs: remove hardcoded protocol details, point to firmware source files
Don't memorize protocol details from AGENTS.md — read the actual
firmware source. Lists exactly which files to check for what.
2026-03-24 00:00:43 +00:00
you
6324879d24 docs: list all 6 test files in AGENTS.md, not just 2 2026-03-23 23:59:49 +00:00
you
058fb5b0d0 docs: firmware source is THE source of truth for protocol behavior
Cloned meshcore-dev/MeshCore to firmware/ (gitignored).
AGENTS.md now mandates reading firmware source before implementing
anything protocol-related. Lists key files to check.
2026-03-23 23:58:58 +00:00
you
8bd9ce0431 docs: add rule — never check in private info (public repo) 2026-03-23 23:53:44 +00:00
you
ac3577d719 docs: add AGENTS.md — AI agent guide based on 685 commits of lessons
Derived from git history analysis: 4.3x fix ratio, 12 reverts, 7 cache
buster regressions, 21 commits for hash size, 6 for QR overlay.

Rules: test before push, bump cache busters, verify API shape, plan
before implementing, one commit per change, understand before fixing.
2026-03-23 23:48:10 +00:00