Move reviews to docs/reviews/<scope>/ so branches stop colliding

The review documents are branch-scoped snapshots pinned to a commit, not
living documentation of the directory they sit in. Kept at a fixed path,
every reviewed branch writes the same two filenames with different content.

Merging the two feature branches produced exactly that:

  CONFLICT (add/add): server/REVIEW.AI.md
  CONFLICT (add/add): server/REVIEW.md

Neither blob is an ancestor of the other, so git cannot resolve it, and it
would recur on every future review. The same fixed path also caused the
review OF the UI branch to live under server/, which reads as server
documentation and is how it got cherry-picked onto the wrong branch once
already.

One directory per reviewed scope fixes both. The filenames stay REVIEW.md and
REVIEW.AI.md, so existing references in the code still resolve. A merge probe
against feature/UI_Basic_implementation is now clean.

docs/reviews/README.md records the convention, how to read a snapshot whose
commit is behind the tip, and why not to copy a review between branches.

feature/UI_Basic_implementation still holds its review at server/REVIEW*.md.
That no longer conflicts, but it is still the misleading path and wants the
same move.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Thomas KarnerandClaude Opus 5 committed 2026-09-21 12:31:41 +02:00
1 parent 8038060578
commit 8cf2329762
4 files changed
+50 -2

No files matched your search

+3 -2
View File
@@ -4,8 +4,9 @@ Device auth is two-step (firmware/API.md). ``POST /enroll`` is guarded by a
shared bootstrap secret in ``X-Enroll-Secret``; everything else carries
``Authorization: Bearer <token>``. Only hashes are stored.
Two details here are easy to get wrong, and REVIEW.AI.md's reference code got
both wrong, so they are spelled out:
Two details here are easy to get wrong, and the reference code in
``docs/reviews/server-basic-implementation/REVIEW.AI.md`` got both wrong, so
they are spelled out:
1. The plaintext token is returned to the device exactly once, at enrollment,
and only its hash is persisted. Returning the stored hash would give the