PayGate v3 operator payment management - #38
Merged
Phloraxx merged 3 commits intoAug 30, 2026
Merged
Conversation
Phloraxx
marked this pull request as ready for review
August 30, 2026 07:12
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.
Scope
Builds the recovered PayGate v3 operator/admin product on the exact v2 foundation commit
a89845b7.docs/v3/Safety boundaries
The profile update endpoint cannot edit payment matching, lifecycle, evidence, uniqueness, or create-request identity fields. In particular,
externalIdand originalmetadataare read-only because they participate in create/idempotency replay identity. Unknown/protected update keys fail with HTTP 400.The migration is additive and the SQLite single-writer invariant is unchanged.
Oracle v3 reconciliation
The stranded original Oracle worktree (
redesign/paygate-product-v3) was recovered and compared against this branch from the samea89845b7base.Carried forward: More hub/mobile advanced access, broader search, status sort, copy actions, and richer before/after audit snapshots.
Intentionally rejected from the draft: editable
externalId/original metadata, non-strict JSON updates, silently clamped invalid queries, silently dropped oversized tags, and broader unbounded profile limits.Full disposition:
docs/v3/01_ORACLE_RECONCILIATION.md.Validation
Final source head:
80ddb1af0c7a64e3b49f4cd51ff37ff473fa5798.go test -race -p=1 -timeout=20m -count=1 ./internal/...on macOS ✅internal/operatoradminandinternal/operatorview✅go vet, staticcheck, govulncheck and production Docker build ✅npm test✅go test ./...✅git diff --check✅Release note
This source gate is accepted, but the PR remains intentionally draft and targets
rewrite/paygate-v2-foundation, notmain. Production is untouched. Merge/deployment/cutover remain separate gated operations.