Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
09b8494
Consolidate Account email completion and immutable role journal groun…
benhook1013 Nov 13, 2026
edd5227
Prove canonical JOIN terminalization preserves exact audit authority
benhook1013 Nov 13, 2026
c9b0626
Consolidate original authority, hosted terms and publication fence proof
benhook1013 Nov 13, 2026
423d4f1
Align account consolidation draft behind verified Gameplay tail and p…
benhook1013 Nov 13, 2026
fffd5c0
Carry final Gameplay ancestry and verified unchanged-Lua descriptor c…
benhook1013 Nov 13, 2026
adb8a00
Consolidate account donor safeguards and current-owner proof
benhook1013 Nov 13, 2026
3be4713
Consolidate account receiving fixes and carry qualified stack changes
benhook1013 Nov 13, 2026
7697132
Reconcile current Gameplay parent into Account consolidation
benhook1013 Nov 13, 2026
bdc881d
Carry exact receiving fixes through #3438
benhook1013 Nov 13, 2026
abe2048
Recover default-off guarded Account player-admission receiving
benhook1013 Nov 15, 2026
84eb388
fix(account): bind guarded admission definition to bounded server
benhook1013 Nov 15, 2026
412431a
test(account): exercise permit recheck before uncertain prepare commit
benhook1013 Nov 15, 2026
3c40c86
test(account): retain exact logout replay after later source advance
benhook1013 Nov 15, 2026
4a02082
test(account): make fixture host config and binary keys explicit
benhook1013 Nov 15, 2026
c84d8d2
test(account): retain security-state storage and detector guards
benhook1013 Nov 15, 2026
decef3f
test(account): make query verification resource lifetime explicit
benhook1013 Nov 15, 2026
8fdd6fe
test(account): retain positive baseline and history denial proofs
benhook1013 Nov 15, 2026
1b3321f
test(account): recover exact historical authority receipt proofs
benhook1013 Nov 15, 2026
f158dd2
test(account): retain structural source evidence boundaries
benhook1013 Nov 15, 2026
ff72199
test(account): recover missing receipt physical read guards
benhook1013 Nov 15, 2026
2f1860e
test(account): recover read-only canonical join owner guard
benhook1013 Nov 15, 2026
29d1f38
test(account): preserve waiting reset identity on exact retry
benhook1013 Nov 15, 2026
47b7320
test(account): recover reset source abort rollback proof
benhook1013 Nov 15, 2026
ed1c2c4
test(account): guard actor reads against ambient SQL
benhook1013 Nov 15, 2026
ca82458
test(account): preserve issuance candidate after commit rollback
benhook1013 Nov 15, 2026
1d3ff2d
test(account): prove Coordination writer rejects raw EVAL
benhook1013 Nov 15, 2026
501b262
test(account): preserve corrupt and expiring projection state on denial
benhook1013 Nov 15, 2026
b22873f
test(account): reject absent projection owner before Redis
benhook1013 Nov 15, 2026
3c74281
test(account): reject physical projection owner advancement races
benhook1013 Nov 15, 2026
3e34f68
test(account): cover initial projection owner advancement race
benhook1013 Nov 15, 2026
b40232c
test(account): reject ahead cache without advancing source
benhook1013 Nov 15, 2026
58c187b
test(account): preserve newer owner publication across stale candidate
benhook1013 Nov 15, 2026
eb92070
test(account): preserve reset and logout history during projection
benhook1013 Nov 15, 2026
475e3b1
test(account): preserve committed reset across Redis auth failure and…
benhook1013 Nov 15, 2026
8370039
test(account): require observed Redis authentication refusal
benhook1013 Nov 15, 2026
03892fc
test(account): retain one owner capture across concurrent request sel…
benhook1013 Nov 15, 2026
3d9cf15
test(account): recover persisted owner response through real key rota…
benhook1013 Nov 15, 2026
c04b406
test(account): reject missing deletion owner before retained data access
benhook1013 Nov 15, 2026
9f522d6
test: prove export owner rejection before profile reads
benhook1013 Nov 15, 2026
7f172fc
fix: stamp canonical issuer on ordinary Account credentials
benhook1013 Nov 15, 2026
19e689f
test: isolate bootstrap audience and malformed claim refusal
benhook1013 Nov 15, 2026
ae8c2c8
test(account): align retained lifecycle and migration CI proofs
benhook1013 Nov 15, 2026
911de39
feat(account): preserve unregistered character creation handoff
benhook1013 Nov 16, 2026
550c024
feat(account): retain source-only signer materializer custody
benhook1013 Nov 16, 2026
31f94a2
test(account): retain donor issuer projection invariants
benhook1013 Nov 16, 2026
777ee98
Implement unregistered canonical leave with causal composite fence
benhook1013 Nov 16, 2026
0d7b382
test(account): include role evidence in leave rollback proof
benhook1013 Nov 16, 2026
10864f6
fix(account): preserve composite fence in delegation consumers
benhook1013 Nov 16, 2026
dedd7e7
Validate composite fence provenance at fresh enrollment boundaries
benhook1013 Nov 16, 2026
b881da4
Keep historical enrollment boundaries exact before provenance cutover
benhook1013 Nov 16, 2026
95dda00
fix(account): refuse malformed or changed prior issuer projections
benhook1013 Nov 16, 2026
aea008e
test(account): align current issuer and gateway fixtures with owner c…
benhook1013 Nov 16, 2026
64baafb
test(account): align abuse window before replay credential issuance
benhook1013 Nov 16, 2026
2371268
feat(account): recover non-authorizing current source components
benhook1013 Nov 17, 2026
9931fda
docs(account): record received tenant-role journal PostgreSQL proof
benhook1013 Nov 17, 2026
c17bd96
Restore donor hosted-terms owner and binding unit proof
benhook1013 Nov 17, 2026
4cb18d1
Recover hosted-terms donor PostgreSQL workflow proof
benhook1013 Nov 17, 2026
b23119c
Recover Draft required-owner donor PostgreSQL proof
benhook1013 Nov 17, 2026
ce2d99d
Prove mixed Draft outcomes keep password reset source unchanged
benhook1013 Nov 17, 2026
6e9b83e
Prove mixed Draft outcomes preserve LogoutAll source intent
benhook1013 Nov 17, 2026
8731a00
Prove mixed Draft outcomes refuse reset abort and retain owner contract
benhook1013 Nov 17, 2026
2137774
Model exact partition-aware Account donor proof requirements
benhook1013 Nov 17, 2026
047bb17
Reject unsupported JUnit namespaces in Account proof
benhook1013 Nov 17, 2026
4e8ab28
Reject nested adverse Account test outcomes
benhook1013 Nov 17, 2026
f7cfe18
Enforce required Account physical cases in partition aggregation
benhook1013 Nov 17, 2026
f5459e3
Prove mixed owner outcomes keep issuer mutation retries fenced
benhook1013 Nov 17, 2026
4b0ba72
Prove retained Account history and exact retry serialization
benhook1013 Nov 17, 2026
73c0b8b
Prove tenant mutation retries preserve mixed owner source fences
benhook1013 Nov 17, 2026
604b0f7
Prove settled drafts cannot release independent publication source or…
benhook1013 Nov 17, 2026
bb95878
Prove tenant creation terminal preserves shared Draft source ordering
benhook1013 Nov 17, 2026
44ba746
Prove transfer journal completeness and exact two-member replay
benhook1013 Nov 17, 2026
e59943f
Fix lint in Account required-case proof contracts
benhook1013 Nov 17, 2026
c10ee14
Require distinct current Account JOIN physical proof
benhook1013 Nov 17, 2026
b8a8379
Preserve qualified bounded Account transfer capture work
benhook1013 Nov 17, 2026
e37d19b
Prove registration stops before audit on owner birth failure
benhook1013 Nov 17, 2026
e0cc93f
fix(preview): reconcile donor email-link frontend validation
benhook1013 Nov 18, 2026
d6c93dd
fix(gateway): preserve donor GET-only retry protection
benhook1013 Nov 18, 2026
db6df01
fix(gateway): consume donor canonical client address fallback
benhook1013 Nov 18, 2026
8495b19
docs(frontend): reconcile consumed email-link preparation
benhook1013 Nov 18, 2026
43e3fc3
Constrain Account auth Gateway routes to explicit methods
benhook1013 Nov 18, 2026
e9d55c1
Complete donor email-link rejection proof and static-host status
benhook1013 Nov 18, 2026
c5a078d
Run received email-link regression suite in frontend CI
benhook1013 Nov 18, 2026
e3c2f98
fix(frontend): include shared TS config in isolated image context
benhook1013 Nov 18, 2026
365d0e9
Preserve donor membership omission in bulk presence policies
benhook1013 Nov 19, 2026
2ce4612
fix(account): keep connect response metadata internal-id free
benhook1013 Nov 19, 2026
90d0a69
test(account): compose signer materializer with durable owner
benhook1013 Nov 19, 2026
4955072
feat(account): retain immutable connect issuance receipts and envelopes
benhook1013 Nov 19, 2026
263541a
feat(account): classify retained connect receipts without issuing cre…
benhook1013 Nov 19, 2026
1274085
Define dormant Account connect retry fingerprint
benhook1013 Nov 19, 2026
8562a19
Qualify Account donor tracking and Gateway route test
benhook1013 Nov 19, 2026
d3af16f
Restore reserved browser route prefix coverage
benhook1013 Nov 19, 2026
eef938d
Test email-link completion in the browser
benhook1013 Nov 20, 2026
b8f9dfd
Align the Account donor draft with canonical PLAY
benhook1013 Nov 27, 2026
8a8e56d
Prove loss of the Account post-COMMIT clock response
benhook1013 Nov 27, 2026
17bcb74
Require a pre-expiry clock value before injecting loss
benhook1013 Nov 27, 2026
6dfbb12
Carry the authenticated Account issuer source read into consolidation
benhook1013 Nov 27, 2026
42fc875
Prove original Account admission history survives the V144 receipt bo…
benhook1013 Nov 27, 2026
7efd872
Keep JDBC handles owned by the Account clock-loss fixture
benhook1013 Nov 28, 2026
d46aede
Deny new Account owner writes while global intents are pending
benhook1013 Nov 28, 2026
bc711ae
Carry the exact Account Connect issuance fence capture
benhook1013 Nov 28, 2026
b529a06
Prove canonical JOIN diagnostics preserve the terminal receipt
benhook1013 Nov 28, 2026
46b33c2
Read the exact historical Account issuer event under the current chec…
benhook1013 Nov 28, 2026
04f8396
Qualify Account original platform restriction birth and retention
benhook1013 Nov 28, 2026
bc5538d
Record invalid scope denials on both Account JOIN routes
benhook1013 Nov 28, 2026
f4a0631
Preserve typed gameplay routing failures in Account
benhook1013 Nov 28, 2026
4c13856
Restore exact immutable Account issuer event transport
benhook1013 Nov 28, 2026
44733b1
Prove candidate credential throttling across Redis client replicas
benhook1013 Nov 28, 2026
44a0e29
Prove exact competing Account JOIN intent and policy replay
benhook1013 Nov 28, 2026
5d2e6fd
Prove exact competing Account INITIAL LOGIN convergence
benhook1013 Nov 28, 2026
67c49e5
Prove Account logout and password reset preserve both cutoff events
benhook1013 Nov 28, 2026
e4f37e3
Prove the retained Account audit envelope survives V39
benhook1013 Nov 28, 2026
c49d118
Prove control-UI retains the prepared original through signing refusal
benhook1013 Nov 28, 2026
13d4b62
Prove mixed retained Draft owner results keep first JOIN pending
benhook1013 Nov 28, 2026
c428e81
test(account): admit gateway keepalive pings in checkout receiving fi…
benhook1013 Nov 30, 2026
c813531
docs(account): restore tenant-role owner decision and rehome #2848 gaps
benhook1013 Nov 30, 2026
cfd7b66
Give the final Account CI partition time to retain proof
benhook1013 Nov 27, 2026
58bc242
fix(smoke): run the baseline proof when waivers make held admission u…
benhook1013 Nov 30, 2026
6008b16
ci(smoke): repin PLAY classifier fingerprints for the waiver redirect
benhook1013 Nov 30, 2026
5c40680
test(game-session): digest retained rows in the retirement lineage proof
benhook1013 Nov 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,10 @@ jobs:
npm run format -- -c
working-directory: web-client

- name: Run email-link regression tests
run: npm run test:email-link
working-directory: web-client

- name: Run first-invoice checkout regression tests
run: npm run test:checkout
working-directory: web-client
Expand Down Expand Up @@ -1186,7 +1190,8 @@ jobs:
permissions:
contents: read
id-token: write
timeout-minutes: 60
# The fourth partition needs time for static analysis and proof retention after integration tests.
timeout-minutes: ${{ matrix.partition == '4' && 75 || 60 }}
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -615,11 +615,11 @@ jobs:
const canonicalLegacyRuntimeWorkflowSha256 = "db0acb4e51630b729eb92362ea3e748f3f96b06d8ef5ca466a718ded67725804";
// Include held-admission proof, authenticated cleanup, and their executed inputs.
const canonicalPlayClassifierSha256 = {
"dev-tools/verify-smoke-images.sh": "6597800feb9604921a55be989e70247ec4610f81ac8c203f038429c1be7d0bc7",
"dev-tools/verify-smoke-images.sh": "67660c9c0c18441f626f5ecf611584e8e17930d5f84e3c3f33b64eac59fc0bb5",
"dev-tools/smoke/smoke_common.py": "523a3986814fcbdf91531ccc98fa36f3901ed91d311436870ae1a958f9e8bd18",
"services/game-session-service/websocket-login-look-smoke.sh": "7f10f11a36bc758ca5556e67c63cbcd5e3b67b893945a461d52f39958a4f15ad",
"dev-tools/smoke/demo-smoke-defaults.sh": "8c9aae1abf005b47af3f313e0d635a666c74776733bcf5278a2e11ac9c8a18fb",
"dev-tools/smoke/held-admission-qualification.sh": "b548a773f1786b72d40a3728052a336cb249257a3f40735f005b060812184ed3",
"dev-tools/smoke/held-admission-qualification.sh": "bbc693808495c0dce0e11cfdbc074c8eba8924cc5172f5d6ca33af96ba15f83d",
"dev-tools/smoke/held_admission_qualification.py": "2d118d7ba6a19dac7d8c717dbbbe25df6f04a3c186a3185135d1bdc5fc75b557",
"dev-tools/smoke/run-owned-compose.sh": "7b96cb02d5414283264c4d5e9a1b85ae063ada35dc834696f9016e520583a960",
"dev-tools/certs/ensure-dev-certs.sh": "b94f8b1a18d53c818528d1fe31caa5d4270ad324dad6408aeaf896cdbf5f2e2b",
Expand Down
13 changes: 13 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,19 @@ subprojects {
}
filter.setIncludePatterns(*includePatterns.toTypedArray())
filter.setFailOnNoMatchingTests(false)
// Required Account owner-local physical proof must execute in this
// job, not replay cached/up-to-date XML. Compile and unit tasks
// retain their normal cache behavior; unrelated partitions do too.
val requiredAccountPhysicalClasses = setOf(
"integration.net.firedevops.firemud.accountservice.authordraft.DraftAuthorizationFencePostgresIntegrationTest",
"integration.net.firedevops.firemud.accountservice.hostedterms.AccountHostedTermsPostgresIntegrationTest",
"integration.net.firedevops.firemud.accountservice.hostedterms.HostedTermsEnvironmentBindingPostgresIntegrationTest"
)
if (project.name == "account-service" && name == "integrationTest" &&
selectedClasses.any { it in requiredAccountPhysicalClasses }) {
outputs.upToDateWhen { false }
outputs.doNotCacheIf("Required Account physical proof must execute") { true }
}
}
}
}
Expand Down
42 changes: 35 additions & 7 deletions design/architecture/microservices/account-service/api-contracts.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Additional variables configure outbound email delivery and payment behavior:
| `SMTP_USERNAME` | Username for SMTP auth | *(empty)* |
| `SMTP_PASSWORD` | Password for SMTP auth | *(empty)* |
| `SMTP_FROM` | From address for transactional emails | `no-reply@firemud.local` |
| `FIREMUD_MAIL_VERIFICATION_URL` | Public URL for email verification links | `http://localhost:8080/auth/verify-email?token=%s` |
| `FIREMUD_MAIL_RESET_URL` | Public URL for password reset links | `http://localhost:8080/reset-password?token=%s` |
| `FIREMUD_MAIL_VERIFICATION_URL` | Public URL for email verification links | `http://localhost:5173/verify-email#token=%s` |
| `FIREMUD_MAIL_RESET_URL` | Public URL for password reset links | `http://localhost:5173/reset-password#token=%s` |
| `FIREMUD_PAYMENT_STRIPE_API_KEY` | Stripe API key used for payments | *(none)* |
| `FIREMUD_PAYMENT_PLATFORM_FEE_PERCENT` | Unsupported creator-share substrate; implementations must ignore this variable and it cannot enable provider mutation. No legacy value is an approved fee policy. Any future FireMUD-managed creator-player fee remains target-only under [ADR 0179](../../decisions/adr-0179-firemud-managed-creator-commerce-boundary.md). | *(unsupported; unset)* |
| `FIREMUD_AUTH_JWT_SECRET` | Inline JWT signing key material for local/dev or explicitly ephemeral stacks only (legacy compatibility; not for player-facing environments) | *(none)* |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ ORDER BY legacy_source.tenant_id, legacy_source.account_id, legacy_source.member

## Saga Participation

The Account audit handoff is a mandatory owner-local durable-outbox target, not a compensated Saga step. Global registration creates only global account/security state and emits a platform-scoped audit with no `tenantId` from that transaction; tenant-scoped profile and membership operations are separate and use the exact committed `tenantId`. Explicit `JoinPublicProductionMembership` emits its separate tenant-scoped audit from the membership transaction. The target contract also requires global `account_security_lock`, `platform_access_ban`, recovery, and suspicious-activity audits to use platform scope and omit `tenantId`; those producers are not yet converged to the current outbox path. Producer consequences are defined in [Account Runtime and Data](./runtime-and-data.md#architecture-and-runtime-notes), while the normative ingress, envelope, receipt, readback, retention, and authorization contract is owned by [Logging & Admin API Contracts](../logging-admin-service/api-contracts.md#account-audit-ingress-and-receipt). **Current local implementation:** registration and successful explicit JOIN append immutable audit envelopes to Account's SQL outbox in the same local transaction as their owner-state writes. Account's directly callable offline delivery method submits the unchanged envelope and marks it complete only after matching terminal receipt evidence; unavailable, `UNIMPLEMENTED`, timeout, mismatched, or ambiguous responses leave the same event `PENDING` for retry. The offline receipt/projection owner and authenticated readback are now locally prepared at the [Logging-owned boundary](../logging-admin-service/api-contracts.md#account-audit-ingress-and-receipt). Live `CreateLogEvent` refuses before storage and Account delivery is not automatically scheduled; outstanding outbox rows retain their original identity and remain pending. Account exact readback and guarded evidence recording, retention/cleanup and complete authenticated composition remain unimplemented or unqualified. This local producer status does not claim PostgreSQL runtime proof or direct text-client end-to-end proof. Durable recovery/reconciliation of a JOIN operation left `PENDING` after an unknown database commit outcome remains open under the Overseer decision and ADR 0025, with recovery ownership assigned to #2848. These audit paths are not Account Saga steps. No Account workflow is currently authorized as a `common-saga` adopter in this document or tracker; existing `accountCreation` and `purchase` `SagaRunner` calls are unclassified implementation drift. Any future Account Saga must first satisfy the explicit owner, boundary, negative-case, and focused-proof classification in [Transaction Strategies](../../system-architecture-transactions.md#mandatory-workflow-adopter-classification).
The Account audit handoff is a mandatory owner-local durable-outbox target, not a compensated Saga step. Global registration creates only global account/security state and emits a platform-scoped audit with no `tenantId` from that transaction; tenant-scoped profile and membership operations are separate and use the exact committed `tenantId`. Explicit `JoinPublicProductionMembership` emits its separate tenant-scoped audit from the membership transaction. The target contract also requires global `account_security_lock`, `platform_access_ban`, recovery, and suspicious-activity audits to use platform scope and omit `tenantId`; those producers are not yet converged to the current outbox path. Producer consequences are defined in [Account Runtime and Data](./runtime-and-data.md#architecture-and-runtime-notes), while the normative ingress, envelope, receipt, readback, retention, and authorization contract is owned by [Logging & Admin API Contracts](../logging-admin-service/api-contracts.md#account-audit-ingress-and-receipt). **Current local implementation:** registration and successful explicit JOIN append immutable audit envelopes to Account's SQL outbox in the same local transaction as their owner-state writes. Account's directly callable offline delivery method submits the unchanged envelope and marks it complete only after matching terminal receipt evidence; unavailable, `UNIMPLEMENTED`, timeout, mismatched, or ambiguous responses leave the same event `PENDING` for retry. The offline receipt/projection owner and authenticated readback are now locally prepared at the [Logging-owned boundary](../logging-admin-service/api-contracts.md#account-audit-ingress-and-receipt). Live `CreateLogEvent` refuses before storage and Account delivery is not automatically scheduled; outstanding outbox rows retain their original identity and remain pending. Account exact readback and guarded evidence recording, retention/cleanup and complete authenticated composition remain unimplemented or unqualified. This local producer status does not claim PostgreSQL runtime proof or direct text-client end-to-end proof. Durable recovery/reconciliation of a JOIN operation left `PENDING` after an unknown database commit outcome remains open under the Overseer decision and ADR 0025 and is tracked in the [Player Access and Session tracker](../../../project-management/implementation-tracking/player-access-and-session.md#active-gaps). These audit paths are not Account Saga steps. No Account workflow is currently authorized as a `common-saga` adopter in this document or tracker; existing `accountCreation` and `purchase` `SagaRunner` calls are unclassified implementation drift. Any future Account Saga must first satisfy the explicit owner, boundary, negative-case, and focused-proof classification in [Transaction Strategies](../../system-architecture-transactions.md#mandatory-workflow-adopter-classification).

The current `PurchaseWorkflowService` implementation for one-time payments and donations is non-exposed, unsupported provider-mutating drift, not a V1 product path or entitlement authority. It currently enters the shared runner to create a payment intent, record the transaction with the Logging & Admin Service, and refund through compensation if the log step fails. The target Account containment boundary requires every generic purchase or donation entry point to reject before entering that runner or making any Stripe call; no supported V1 flow may invoke it. Current V1 remains the hosting-billing boundary in [ADR 0143](../../decisions/adr-0143-stripe-v1-hosting-billing-and-deferred-creator-monetization.md), while the future marketplace direction in [ADR 0179](../../decisions/adr-0179-firemud-managed-creator-commerce-boundary.md) remains deferred and must be implemented and proved separately.

Expand Down
Loading
Loading