v0.1 plan: review fixes as failing acceptance tests first; AGENTS.md lessons + deviations rule

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-09-25 02:55:57 -07:00
co-authored by Claude Fable 5.1
parent 94b8c84ab5
commit 74e7d4895b
5 changed files with 232 additions and 1 deletions
+28
View File
@@ -0,0 +1,28 @@
# v0.1 implementation plan: review follow-ups
> **For the implementing model:** do not work from this file. The owner gives you one task file at
> a time. This file is the index for the owner and the reviewer.
**Goal:** close the findings of the v0 review (`docs/implementer-log.md`, "v0 review"): the
proxy's status recorder must never panic on a writer without `Flush`, and the acceptance suite
must cover a configuration file that exists but cannot be read.
**How this plan was made:** acceptance tests first, from the review findings and `PLAN.md`; no
reference implementation. Both given tests were compiled and run against `master` at the merge of
`v0`: the recorder test **fails** there (it panics, which is the finding), the config tests pass
(finding 6 was a gap in the suite, not in the code).
## Tasks
| # | File | Delivers | Tests that define it |
|---|---|---|---|
| 01 | `01-review-fixes.md` | `Flush` that degrades instead of panicking; the two config tests | `internal/proxy/recorder_test.go`, `internal/config/unreadable_test.go` |
Branch `v0.1`. One task, one fresh OpenCode session, one commit.
## For the reviewer
1. `git log --oneline master..v0.1`: one commit with the trailer.
2. `cmp` both copied tests against `_files/`; `git diff master..v0.1 --stat -- PLAN.md AGENTS.md docs/plans` empty.
3. `make gate`, `make smoke`.
4. `grep -rn '\.(http\.' internal/` — every type assertion on a writer is checked (`v, ok :=`).