Commit Graph
3 Commits
Author SHA1 Message Date
Thomas KarnerandClaude Opus 5 89ebe99bed Merge Phase 2 into the UI branch, so auth is built on top of it
Phase 3 auth is next, and this branch's server/ was still at Phase 1. Building
sessions here without merging first would have meant writing them against a
config.py with credentials still defaulted, no deps.py device auth to follow as
a pattern, and - the one that actually matters - no rate limiter, leaving a
login endpoint brute-forceable until the branches finally met.

So the branches meet now, while the only conflict is a documentation one, rather
than later on top of an auth implementation.

TODO.md was the single conflict: both sides had edited Phase 3, which is exactly
what should happen when one branch finishes Phase 2 and the other starts the UI.
Both sides' content is kept - the Phase 2 ticks and the UI decisions in 3.0 -
and the resolution fixed two things a purely textual merge leaves broken:

  - "Minimal gallery page, no auth yet" is struck. SPEC 3.3 requires image
    serving to be auth-checked, so that is not a state the gallery can
    legitimately pass through, and the scaffold's System page already proves the
    browser-to-Postgres path that item existed to prove.
  - The themes line appeared twice, once ticked by the scaffold and once not.
    The genuinely open half is persisting the choice per user, which needs
    accounts, so that is what it now says.

web/ is untouched by the merge: it had no files at the merge base and none on
the server branch, so that side contributes no deletion. Verified - 27 files
before and after.

Verified both halves after resolving: server 194 passed, ruff clean, alembic
clean; UI typecheck clean, build green, 36 contrast pairs across 3 themes with
no failures.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-21 17:48:55 +02:00
Thomas KarnerandClaude Opus 5 7263e1ec63 Move this branch's review to docs/reviews/ui-basic-implementation/
The UI review was living at server/REVIEW.md and server/REVIEW.AI.md - a path
that describes neither its subject nor its scope, since the document reviews
the UI branch and nothing in it is about the server directory it sat in.

The server branch moved its own review to docs/reviews/server-basic-implementation/
for the same reason, and because the fixed path guaranteed an add/add conflict
on both filenames the moment the two branches met. This is the other half of
that fix: with one directory per scope, both reviews survive into develop and
neither has to win.

Pure git mv, no content change. docs/reviews/README.md is taken as the
identical blob from the server branch rather than rewritten, so the two
branches cannot conflict on the file that exists to prevent conflicts.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-21 17:41:16 +02:00
Thomas KarnerandClaude Opus 5 8cf2329762 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>
2026-09-21 12:31:41 +02:00