feat(web): add authenticated Review BFF - #226
Draft
seonghobae wants to merge 6 commits into
Draft
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Advances #209 as a dependency-ordered child of #225. This bounded slice adds first-party authenticated Weekly Review completion and immutable Review-history browser boundaries. The web BFF terminates browser credentials at Identity, derives workspace authority server-side, signs the exact Review method/path using the existing
life-os.review-context.v1contract, forwards no browser credential to Review, validates tenant and immutable completion evidence before projection, and omits workspace authority, idempotency keys, and payload digests from browser-visible responses.Test-first RED is
24e5327657d33962cad77af9f3ce3699850538ea, which wiresreview-client.test.tsinto the web test command before the productionreview-client.tsexists. Implementation is365a4ee6500117c7bd618871e7b210bf52160eb3and adds Next.js GET/POST route adapters plus route-contract coverage.The slice accepts only Monday-anchored
weekly-reviewcompletion commands, bounded canonical counts/timestamps/reflection, opaque UUIDv4 idempotency identity, and a bounded 1..100 history limit. It reconstructs only bounded browser-safe 400/401/409/503 problems and never forwards upstream problem bodies.Keep Draft until parent #225 integrates/restacks through normal ancestry and the unchanged exact head satisfies focused/full repository CI, central required security/review workflows, review-thread resolution, and live-base compatibility. This slice adds no Review workspace UI and does not close #209.