Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
c51b035
Fence canonical World activation to independent owner evidence and im…
benhook1013 Oct 6, 2026
3aa085f
feat(publication): retain exact terminal release and World owner handoff
benhook1013 Oct 6, 2026
3f60a99
Merge verified publication front repairs into World delivery
benhook1013 Oct 6, 2026
193990b
docs(proof): record terminal delivery component limits and merged for…
benhook1013 Oct 6, 2026
e6f1e49
feat: authenticate publication terminal delivery and settle exact own…
benhook1013 Oct 6, 2026
c3b0dde
Merge commit '7325099e5b7f98e7e2a53d552ef51e245e0f6453' into codex/un…
benhook1013 Oct 6, 2026
014e053
Merge commit '6a588f446f2290de19462480585adba04448597d' into codex/un…
benhook1013 Oct 6, 2026
f8ae1ad
docs: distinguish terminal component proof from live publication deli…
benhook1013 Oct 6, 2026
db3d948
Merge commit 'df35da130e46db892cf745d45bb9e69c0b83ea6d' into codex/un…
benhook1013 Oct 6, 2026
fa3f300
fix: align publication owner proof with retained migrations and termi…
benhook1013 Oct 6, 2026
b15cb5b
Merge commit '2961b48875070d5d445384588a923ca2bb6cc99b' into codex/un…
benhook1013 Oct 6, 2026
e7517a8
style: format publication migration proof fixtures
benhook1013 Oct 6, 2026
2b5dbed
Fix canonical World activation guards and exact owner proof
benhook1013 Oct 7, 2026
4366be3
Match canonical activation evidence to closed lifecycle token encoding
benhook1013 Oct 7, 2026
e7feaf8
Inject activation authority loss at observed pre-CAS phase
benhook1013 Oct 7, 2026
a9f3255
Preserve full Account PostgreSQL results before strict CI captures
benhook1013 Oct 7, 2026
1b38b0d
test(account): compose publication reconciliation with real SQL store
benhook1013 Oct 7, 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
32 changes: 31 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2222,7 +2222,9 @@ jobs:
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: account-publication-participation-postgresql-proof-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}
path: services/account-service/build/test-results/integrationTest/TEST-*PublicationAuthorizationFencePostgresIntegrationTest.xml
path: |
services/account-service/build/test-results/integrationTest/TEST-*PublicationAuthorizationFencePostgresIntegrationTest.xml
services/account-service/build/test-results/integrationTest/TEST-*AccountPublicationTerminalReconciliationServiceTest.xml
if-no-files-found: error
retention-days: 7

Expand All @@ -2244,6 +2246,18 @@ jobs:
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.PublicationAuthorizationFencePostgresIntegrationTest#rawSqlCannotReserveIncompleteSourceParticipationOrSubstituteRequestIdentity()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.PublicationAuthorizationFencePostgresIntegrationTest#sqlPreservesJavaSourceLockOrderingForSupplementaryUnicodeScopes()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.PublicationAuthorizationFencePostgresIntegrationTest#missingCurrentSchemaFailsClosedAndUpgradePreservesOriginalDraftEvidence()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.PublicationAuthorizationFencePostgresIntegrationTest#exactIdenticalOwnerReadbacksSettleOnlyAfterBothOwnersAndPreserveRetryIdentity()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.PublicationAuthorizationFencePostgresIntegrationTest#publishedOwnerPairSettlesPublicationOrderAndAllowsSourceTransition()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.PublicationAuthorizationFencePostgresIntegrationTest#revokeOrderRequiresExactNoPublicationPairBeforeDefinitiveSourceAbort()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.PublicationAuthorizationFencePostgresIntegrationTest#lateRuntimeRollbackRetainsValidOwnerPairAndWaitingSourceIntent()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.PublicationAuthorizationFencePostgresIntegrationTest#directSqlSourceTransitionNeedsTwoMatchingPublicationOwnerRowsAndImmutableRetries()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.PublicationAuthorizationFencePostgresIntegrationTest#revokeOrderAcceptsOnlyTwoMatchingNoPublicationRowsForDefinitiveAbort()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.PublicationAuthorizationFencePostgresIntegrationTest#lateSourceTransitionRollbackRetainsWaitingChangeAndOwnerRows()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.PublicationAuthorizationFencePostgresIntegrationTest#v79PublicationOrderAndWaitingSourceChangeSurviveV80WithoutInventedOwnerResults()' \
--require-suite integration.net.firedevops.firemud.accountservice.authorpublication.AccountPublicationTerminalReconciliationServiceTest \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.AccountPublicationTerminalReconciliationServiceTest#concreteOwnerClientsRunOutsideReadCommittedAccountTransactionsAndExactPairIsRetained()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.AccountPublicationTerminalReconciliationServiceTest#gameDesignUnknownNeverFabricatesWorldRequestOrOwnerResult()' \
--require-case 'integration.net.firedevops.firemud.accountservice.authorpublication.AccountPublicationTerminalReconciliationServiceTest#ambientOwnerTransactionRejectsRecoveryBeforeRepositoryOrClientUse()' \
account-service

- name: Capture World Account-bound graph application PostgreSQL raw XML
Expand All @@ -2261,7 +2275,15 @@ jobs:
bash dev-tools/validation/inspect-test-results.sh \
--strict \
--require-suite net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#canonicalPreparationKeepsOriginalPublicationEpochForLaterReleaseResolution()' \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#publishedTerminalUsesExactOwnerEvidenceRetriesAndRejectsChangedReleaseContent()' \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#rawTerminalReceiptCannotCommitWithoutMatchingOwnerPhaseCas()' \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#onlyPositiveNoPublicationEvidenceCanSealWorldAsAbortedAndCannotPrepare()' \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#lifecycleReadPreservesPreparingStateAndDeniesLegacyNumericFailureWithExactCanonicalServiceEcho()' \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#canonicalActivationCommitsOneOwnerCasAndReplaysWhileLegacyTerminationIsDenied()' \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#canonicalActivationStoresStaleFailedOutcomeAndFreshLifecycleReadRemainsCurrent()' \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#canonicalActivationRejectsSelfConsistentForgedOwnerBindingsBeforeActiveCas()' \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#lostHeldAuthorityAfterOperationInsertRollsBackActivationAndLedger()' \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#releaseSelectorMaterializesItsOriginalRoomAndExactlyRetriesWithSeparateRuntimeMapping()' \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#releaseSelectorRejectsChangedFrozenRequestAndSqlSubstitutionWithoutRuntimeWrites()' \
--require-case 'net.firedevops.firemud.worldmanagement.tenant.WorldDraftGraphApplicationPostgresIntegrationTest#inertV1PreparationRetainsOriginalBytesAndCannotGainSelectorOnRetry()' \
Expand Down Expand Up @@ -2331,7 +2353,15 @@ jobs:
--strict \
--root services/game-design-service/build/publication-operation-proof \
--require-suite integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#authenticatedTerminalReadDispatchesActualStoredPublishedAndNoPublicationEvidence()' \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#physicalMtlsTerminalReadRecoversActualPublishedAndNoPublicationOwnerSealsAndRejectsWrongPeers(Path)' \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#authenticatedTerminalReadReturnsUnknownOnlyForAbsentOrPendingOperation()' \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#retainedV50TerminalReadFailsPreconditionWithoutBackfillingEvidenceOrEpoch()' \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#noPublicationReceiptReplaysAfterLostResponseAndExcludesDelayedFinalizerAndRawInsert()' \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#terminalEvidenceKeepsOriginalCommittedEpochAfterLaterVersionTransition()' \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#terminalExtensionRefusesRawEpochDigestBytesAndReleaseContentSubstitution()' \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#originalSealRejectsForgedCommittedEpochAndPreservesPendingOwnerRows()' \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#publicationSealEpochMustRemainTheActualVersionEpochThroughCommit()' \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#publishedReceiptCannotBeDemotedByStaleFailureAndRetainsOriginalFreezeEpoch()' \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#failedAtomicCommitLeavesAttemptOperationVersionAndReleasePendingForExactRetry()' \
--require-case 'integration.net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperationPostgresIntegrationTest#noPublicationSerializesAgainstAnAlreadyScheduledLatePublisher()' \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ The complete publication operation is distinct from the [publication digest read

Game Design returns definitive publication or no-publication only from immutable owner readback bound to that exact operation. A `NO_PUBLICATION` result requires a durable seal serialized with every authoritative finalizer and retry/reconciliation path; neither absent bundle rows, a `FAILED` attempt nor timeout is enough. The owner transaction commits the terminal receipt and corresponding attempt outcome together. A `PUBLISHED` result additionally binds the complete immutable bundle and its atomic Version/artifact consequences. Exact historical recovery preserves those bytes; changed operation evidence conflicts, and a stale failure cannot demote a committed release. A no-publication seal excludes delayed release finalization and new candidate admission, not physical cancellation or deletion of already in-flight private content-addressed puts; those objects remain non-authoritative quarantine/cleanup state under [Asset Storage](asset-storage.md). Account independently verifies both required publication-owner outcomes before settlement; an earlier Draft outcome cannot settle this later operation.

The closed `game-design-publication-terminal/v1` evidence retains the original operation bytes, typed `PUBLISHED` or `NO_PUBLICATION` outcome and, only for `PUBLISHED`, complete immutable release content and the positive Version epoch captured after the actual publication transition in the same owner seal transaction. Historical readback compares the original captured content with the immutable release and preserves the committed publication epoch even after a legitimate later Version transition; it cannot reconstruct that epoch from mutable current Version state. `NO_PUBLICATION` has neither release content nor a publication epoch. Retained older results without the original captured extension remain non-authorizing for this handoff and are not backfilled.

`publishedReleaseBundleDigest` is the SHA-256 content digest under `game-design-published-release-bundle/v1`, with lowercase `sha256:` representation and decimal byte-length framing. Its fixed field order is domain, canonical tenant UUID, canonical Version UUID, bundle reference, version number, bundle attestation schema `v2`, workflow, manifest hash/schema, artifacts, required asset keys, five ordered participant attestations, command definitions, generation revision, unchanged complete World start evidence, `scriptOnly=false`, and absent script-patch identity. Arrays encode an explicit canonical decimal count and preserve each entry's supplied order; artifacts and participants are individually framed entries, and nullable fields encode explicit boolean presence and a framed value, including absent versus present-empty error fields. Every artifact field and participant field, including optional base-Version, ability-schema digest, error code and error message, participates. Required owner, exact selected scope/commit/digest/schema, World checkpoint and complete manifest/object checks remain mandatory. Only private SQL row identity/tenant/version aliases and `publishedAt` metadata are excluded. Launch descriptor and release-attestation evidence digests are separate domains and cannot substitute for this content digest. Terminal evidence uses the original operation's four-byte length framing in order domain, operation, outcome, then complete content and canonical decimal committed epoch for `PUBLISHED`; outcome-inapplicable fields are forbidden. Neither canonical decoding nor code-only owner readback authenticates cross-service delivery.

`GameDesignPublicationTerminalReadService.ReadGameDesignPublicationTerminal` is a separate read-only owner service for exact immutable operation recovery. It authenticates only the exact same-namespace Account or World Management SPIFFE workload before decoding or reading storage and rejects authenticated end-user context. Its closed schema-1 request carries the configured namespace, distinct non-nil read correlation UUID and complete unchanged original publication operation bytes; the response echoes that complete request. Only an absent operation or still-`PENDING` operation returns explicit `UNKNOWN` with no terminal payload. `PUBLISHED` and `NO_PUBLICATION` carry the unchanged stored terminal bytes and exact outcome/operation binding. Retained V50 terminal history without the captured extension returns `FAILED_PRECONDITION`, never inferred absence or manufactured evidence. Reads use an independent read-only `REPEATABLE_READ` owner boundary. A concrete file-backed, reloading mTLS client validates the exact Game Design peer before releasing request metadata/body and checks peer and complete echoed response afterward. This standalone adapter/client requires explicit composition and has no runtime registration; `UNKNOWN`, transport success or decoding alone cannot settle a publication fence or enable publication/activation.

**Current implementation gap:** World has durable owner-local freeze/capture storage, but its authenticated normal freeze/terminal producers and complete current authorization composition remain unavailable. A remote Game Design `DRAFT` preflight cannot replace the shared owner commit fence. The local Game Design terminal-operation component and isolated database definitions do not authenticate Account publication currentness or complete the World terminal handoff; current status and executed proof remain in the [Game Design tracker](../../../project-management/implementation-tracking/game-authoring-publishing-and-activation.md#current-status) and [World tracker](../../../project-management/implementation-tracking/world-runtime-and-movement.md#current-status).

The Game Design Service tracks a derived `designSyncStatus` for each `(tenantId, versionId)`. It is `IN_SYNC` only when the durable commit record, every required owner result, and the synchronized commit fence agree on the exact commit and digest. The `PublishVersion` workflow must verify this state before starting durable publication. The coordinator may use the canonical durable workflow substrate and transactional outbox delivery where appropriate, but it must not claim cross-database atomicity or expose partial application as accepted Draft state.
Expand Down
Loading
Loading