Repository navigation
feat(proposals): public interactive proposal acceptance page (TASK-0062) - #75
Merged
Ediminator merged 4 commits intoNov 4, 2026
Merged
Conversation
…K-0062) Signed-off-by: Ediminator <211899731+Ediminator@users.noreply.github.com>
…oute (TASK-0062) Signed-off-by: Ediminator <211899731+Ediminator@users.noreply.github.com>
…lowlist (TASK-0062) Signed-off-by: Ediminator <211899731+Ediminator@users.noreply.github.com>
…ater (TASK-0062) Signed-off-by: Ediminator <211899731+Ediminator@users.noreply.github.com>
Ediminator
deleted the
feat/task-0062-public-interactive-proposal-acceptance-p
branch
November 4, 2026 07:20
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.
Summary
Implements
TASK-0062: Public interactive proposal client acceptance page (/p/[token]and/[locale]/p/[token]),acceptProposalAction, and CI test date determinism fix.src/middleware.ts): Added'p'toPUBLIC_PATH_SEGMENTS, stripped allset-cookieheaders on/p/**and/[locale]/p/**responses (TDDDG §25 / GDPR Art. 5), and enforcedX-Robots-Tag: noindex, nofollow, noarchive.src/app/[locale]/p/[token]/page.tsx,src/app/p/[token]/page.tsx): Added public proposal route with SHA-256 token lookup, atomic fail-closed rate limiting (30 req/min per IP viaconsumeProposalRateLimit), reactive optional add-on toggles and quantity controls (PublicProposalView),AcceptProposalModal, and active/expired/revoked/accepted lifecycle views.src/server/proposals/public-actions.ts): ImplementedacceptProposalActionin a PostgreSQLserializabletransaction that recomputes totals server-side, freezesaccepted_options_snapshot, masks client IPs (/24IPv4,/48IPv6), updatesprojects.price_minorandprojects.currency, auto-transitions project stage from'inquiry'to'booked', emits timeline and audit events, and enqueuesproposal_accepted_clientandproposal_accepted_owneroutbox emails.now: new Date('2026-11-01T00:00:00Z')tocalculateAvailableSlotsintests/integration/google-calendar-outbound-sync.test.tsand used a future-relative date intests/e2e/availability-settings.spec.ts.Validation
--profile full): 13/13 steps PASS onc09cc30e70cc(unit/integration coverage: 90.78% statements, 85.61% branches, 87.30% functions, 91.10% lines; 220/220 Playwright E2E tests).validator(PASS, 0 blocking),security-privacy-auditor(PASS, 0 blocking), andux-a11y-reviewer(PASS, 0 blocking) in iteration 1.