FireMUD Delivery Status

PR data refreshed

PR #3122 review history

Review rounds

Three-number pills mean: found (raw) / accepted here (useful) / routed

Hosted CodeRabbit3 completed
9/8/03/3/01/1/0
CLI CodeRabbit4 completed
4/4/01/1/04/2/16/3/0
Subagent Review4 completed
2/2/02/2/06/2/42/1/0

Recorded review history

Reviews and findings

  1. Subagent Review 1 CompletedModel: gpt-6-luna · Xhigh
    Found: 2 Accepted: 2 Routed: 0
    1. Asset storage status contradicts implemented durable mappings and export snapshotsMinor
      • Accepted Correct the canonical owner document to distinguish implemented durable mappings/snapshots/content-addressed export from the missing authorized mapping producer and unavailable physical/runtime proof.
    2. Fresh publication can freeze an empty asset mapping set without an owner-authorized mapping producerMajor
      • Accepted Current foundation owns immutable export selection but associateDraftAsset has no production caller. Preserve mapping ownership and fail closed at fresh publication ingress rather than invent association authority; exact guarded mechanics boundary requested from Overseer in 944df2ec.
  2. Subagent Review 2 CompletedModel: gpt-6-luna · Xhigh
    Found: 2 Accepted: 2 Routed: 0
    1. Published asset repair rejects the completed publication attemptMajor
      • Accepted Composed repair calls the publication exporter which rejects the normal SUCCEEDED attempt. Implement exact immutable candidate readback and bundle validation before repair writes; do not relax fresh publication authority.
    2. Artifact lifecycle CAS status contradicts implementationTrivial
      • Accepted Artifact repository implements epoch predicate and affected-row check; distinguish that from missing Version CAS and unavailable physical proof in the tracker and linked asset documentation.
  3. Subagent Review 3 CompletedModel: gpt-6-luna · Xhigh
    Found: 6 Accepted: 2 Routed: 4
    1. Asset docs still describe obsolete unconditional failure/delete compensationMinor
      • Accepted Current private mechanics use exact publication readback and retain Version; correct owner status and linked proof limits.
    2. Artifact-state read trusts generic internal bearerMajor
      Route · PR #3122 → Unassigned target OpenInherited launch/state read authorization needs exact workload and tenant binding at source/read owner. Preserve as target obligation, not source taper credit. View routed finding
    3. Version lifecycle CAS can assert unsafe states without durable fencingMajor
      Route · PR #3122 → PR #3120 Accepted/FixedInherited Version lifecycle mutation is outside extracted storage implementation; source/lifecycle owner must contain unsafe transitions and prove real CAS, without fabricated release authority. View routed finding
    4. Hosted upload lacks Account-owned currentness gateMajor
      Route · PR #3122 → Unassigned target OpenAccount/Game Design upload admission ownership needs fail-closed hosted containment or genuine Account gate; unchanged upload path not implemented by this extraction. Target owner unassigned pending coordination. View routed finding
    5. Release-bundle read lacks caller-to-tenant bindingMajor
      Route · PR #3122 → Unassigned target OpenScope to Game Design source/read authorization owner; same-namespace workload is not tenant authority. Exact ingress containment/carrier ownership requires current source-boundary decision; no blanket proven-terminal denial. View routed finding
    6. Purge eligibility permits missing or wrong-tenant Version authorityMinor
      • Accepted Require existing exact tenant Version in RETIRED before eligibility; add absence, wrong-tenant and positive-retired proof.
  4. Subagent Review 4 CompletedModel: gpt-6-luna · Xhigh
    Found: 2 Accepted: 1 Routed: 0
    1. Terminal owner reads retain incomplete tenant authority bindingMajor

      Exact61-file5b3bd1475 review. Existing route IDs:fb1fcc76a6bea52a60df62f6324b13ba45d8323a137997e67805dac573a0d002;5398490ff5749354567edd8ed663b6d4c6f885e51c164f739fd6864c9156daf9. Full owner authority still required.

      • Rejected Duplicate, not rejected on merit: existing3120 pass3 tenant-release/artifact-read routes own this gap. Earliest foundation containment remains authorized by Overseer944df2ec/fa64f8af; no new obligation or taper credit.
    2. Tracker claims mutable-key overwrite and cleanup races removed by immutable exportMinor
      • Accepted Tracker line23 claims mutable-key overwrite and cleanup races despite immutable conditional writes/readback and denied physical deletion. Correct those claims; preserve genuine attempt-coordination and physical-proof limits. Fix pending.
  5. Hosted Review 1 CompletedRuntime 11m 03s
    Found: 9 Accepted: 8 Routed: 0
    1. Replace the reflection-only private seam with a package-private test seam.Trivial

      reconcileFullVersionPublishMechanics has no production caller; PMD reports it as an unused private method. Two tests reach it only through getDeclaredMethod("reconcileFullVersionPublishMechanics", ...) plus setAccessible(true): VersionPublishCommandServiceImplTest and PublishAttemptServiceTransactionIntegrationTest. If someone renames the method or changes its signature, compilation still passes and the tests fail only at runtime with AssertionError("... harness is unavailable").

      Make the method package-private and keep the comment that it is not an ingress. The tests are already in the same package (...service.impl), so they can call it directly with compile-time checking. The public reconcileFullVersionPublish guard stays the only production entrypoint.

      ♻️ Proposed refactor

      --- "a/services/game-design-service/src/main/java/net/firedevops/firemud/gamedesign/service/impl/VersionPublishCommandServiceImpl.java"
      +++ "b/services/game-design-service/src/main/java/net/firedevops/firemud/gamedesign/service/impl/VersionPublishCommandServiceImpl.java"
      @@ -107,11 +107,12 @@
           return replayTerminalAttempt(request, attempt);
         }
       
         /**
          * Private non-ingress seam retained for mechanics proof until a production Draft source exists.
      +   * Package-private for test access only; production ingress must use reconcileFullVersionPublish.
          */
      -  private PublishWorkflowSnapshot reconcileFullVersionPublishMechanics(
      +  PublishWorkflowSnapshot reconcileFullVersionPublishMechanics(
             PublishWorkflowRequest request) {
           request = request.recoverMissingPublishRequestId();
           validateRequestIdentity(request);
           logger.info(
      
      • Rejected Requested package-private seam would not reach the integration test, which is in service rather than service.impl. Keep the private proof-only mechanics seam and reflection; widening production reachability would bypass the shared public guard without solving the claimed package-access issue.
    2. CodeRabbit summary-only outside-diff finding 1 of 1 (aggregate; no individual detail)

      summary-only aggregate; provider supplied no individual detail

      • Accepted Outside-diff api-contracts PublishVersion paragraph contradicts the public fail-closed guard; document fresh/PENDING denial, exact terminal replay and incomplete Temporal target. Assigned documentation fix pending.
    3. Configure the Game Design namespace in the canonical mTLS profile.Major

      getPublishedReleaseBundle invokes requirePublishedReleaseBundleReadAccess. The canonical mTLS profile sets FIREMUD_GRPC_WORKLOAD_NAMESPACE=dev for Game Session and World Management, but not Game Design. Game Design therefore keeps its blank default and returns PERMISSION_DENIED before serving every published-bundle read, even when the caller presents a valid mTLS identity.

        game-design-service:
          environment:
            <<: *grpc-mtls-environment
      +      FIREMUD_GRPC_WORKLOAD_NAMESPACE: dev
      

      The plaintext profile provides no SSL peer identity because GrpcPeerIdentityInterceptor derives the identity from the SSL session. Document published-bundle workflows as unsupported in plaintext mode, or run them with the mTLS profile.

      • Accepted Configure Game Design workload namespace in canonical Compose mTLS profile and focused proof; valid exact namespace calls currently fail closed without it. Assigned fix pending.
    4. Make the Game Design test counts consistent.Minor

      Line 23 says the gate "passed 293 Game Design tests". Line 131 says validation "passed all 307 Game Design unit tests". These two counts in the same tracker describe the current publication proof differently. Use one current count, or state which run each number belongs to.

      • Accepted Remove unanchored contradictory 293/307 test counts or attribute their exact historical scopes; do not invent a current execution count. Assigned fix pending.
    5. Complete the launch_descriptor immutability guard.Minor

      LaunchDescriptorRepository.save has an existing-ID update path. Any caller that saves a legacy descriptor through that path will receive the trigger exception. Keep that path insert-only, or prevent it from receiving persisted descriptors.

      The trigger also does not block TRUNCATE, despite the migration declaring the history immutable. The jOOQ convention generates a DDLDatabase configuration without a custom ignore-marker setting, so use the standard stop marker.

      🔧 Suggested migration fix

      -    RAISE EXCEPTION 'launch descriptors are immutable';
      +    RAISE EXCEPTION 'launch descriptors are immutable'
      +        USING ERRCODE = 'check_violation';
       END;
       $$;
       
       CREATE TRIGGER trg_launch_descriptor_immutable
           BEFORE UPDATE OR DELETE ON launch_descriptor
           FOR EACH ROW
           EXECUTE FUNCTION reject_launch_descriptor_history_mutation();
      --- [jooq ignore end]
      +
      +CREATE TRIGGER trg_launch_descriptor_no_truncate
      +    BEFORE TRUNCATE ON launch_descriptor
      +    FOR EACH STATEMENT
      +    EXECUTE FUNCTION reject_launch_descriptor_history_mutation();
      +-- [jooq ignore stop]
      
      • Accepted Add statement BEFORE TRUNCATE immutable-history protection and correct jOOQ ignore markers, with regression proof. Assigned fix pending.
    6. The AR-3.2 row still claims proof for the launch-descriptor seam.Minor

      The changed AR-3.1 row (Line 62) and Line 147 now state that ResolveLaunchDescriptor always fails closed with AUTHORED_WORLD_LAUNCH_BINDING_REQUIRED. The AR-3.2 row still says it is proven for "launch-descriptor" seams. Remove launch-descriptor from the proven scope of AR-3.2, or describe the current fail-closed state. As per path instructions, "Flag obsolete transitional guidance, conflicts between architecture docs".

      • Accepted Correct AR-3.2 positive launch proof claim: current public path refuses with AUTHORED_WORLD_LAUNCH_BINDING_REQUIRED. Assigned fix pending.
    7. Do not delete identity-bearing script-patch drafts during failure cleanup.Major

      VersionRepository.save assigns every new Version a non-null canonical_version_id. failScriptPatch then executes draft.ifPresent(versionRepository::delete) before markScriptPatchFailed. The DELETE trigger raises check_violation, so the failure receipt is not recorded and script-patch failure recovery cannot complete.

      Retain the draft and set its VersionLifecycleState to FAILED, or allow deletion only when no bundle, artifact, or snapshot references the draft.

      • Accepted Retain identity-bearing script-patch drafts and transactionally record FAILED instead of DELETE rejected by V35.1; preserve terminal replay and conflict guarantees. Assigned fix pending.
    8. Bind authored_world_source_operation_id to the immutable source-operation row.Minor

      V34.1 makes game_design_authored_world_source_operations the immutable owner of authored-world source evidence. This migration stores authored_world_source_operation_id, target_namespace, canonical_tenant_id, world_slug, and authored_world_source_evidence_digest on launch_descriptor. No constraint ties these columns to that table.

      • A bound SUCCESS or FAILED row can reference an operation that does not exist.
      • A bound row can also copy a world_slug, tenant, namespace, or evidence digest that differs from the referenced operation.
      • authored_world_source_evidence_digest, request_digest, and result_digest have no ^sha256:[0-9a-f]{64}$ shape check. V34.1 enforces that shape on the source table.
      • The new digest columns use VARCHAR(72). V34.1 uses VARCHAR(71) for the same digest format.

      No producer writes bound rows yet, because resolveLaunchDescriptor always refuses. Add the constraint now, before a writer exists, so the database enforces the binding instead of relying on application code. Add a composite unique key on the source table, then add a composite foreign key that covers all the copied tuple columns.

      🛡️ Proposed constraint additions

      +ALTER TABLE game_design_authored_world_source_operations
      +    ADD CONSTRAINT uq_gd_authored_world_launch_binding UNIQUE (
      +        operation_id, target_namespace, canonical_tenant_id, world_slug, evidence_digest);
      +
      +ALTER TABLE launch_descriptor
      +    ADD CONSTRAINT fk_launch_descriptor_authored_world_source FOREIGN KEY (
      +        authored_world_source_operation_id,
      +        target_namespace,
      +        canonical_tenant_id,
      +        world_slug,
      +        authored_world_source_evidence_digest)
      +    REFERENCES game_design_authored_world_source_operations (
      +        operation_id, target_namespace, canonical_tenant_id, world_slug, evidence_digest);
      +
      +ALTER TABLE launch_descriptor
      +    ADD CONSTRAINT ck_launch_descriptor_digest_shape CHECK (
      +        (authored_world_source_evidence_digest IS NULL
      +            OR authored_world_source_evidence_digest ~ '^sha256:[0-9a-f]{64}$')
      +        AND (request_digest IS NULL OR request_digest ~ '^sha256:[0-9a-f]{64}$')
      +        AND (result_digest IS NULL OR result_digest ~ '^sha256:[0-9a-f]{64}$'));
      

      For a composite foreign key, PostgreSQL skips the check when any referencing column is NULL (MATCH SIMPLE). Legacy rows, which have all of these columns NULL, therefore stay valid.

      • Accepted Bind descriptor copied source tuple through composite uniqueness/FK and enforce canonical nullable SHA-256 digest constraints, preserving legacy/all-or-none semantics. Assigned migration/regression fix pending.
    9. These unchanged sentences now contradict the updated status notes.Minor

      The updated notes in this file make three claims:

      • Line 13 and Line 380: VersionAssetArtifactRepository.save has an epoch predicate and an affected-row check.
      • Line 20: purge eligibility fails closed for an absent or wrong-tenant Version.

      The following unchanged sentences still describe the old behavior:

      • Line 314: "the current implementation's in-memory check followed by an unconditional row-ID update".
      • Line 415: "The current repositories do not implement those predicates or affected-row checks."
      • Line 495: "Missing-tenant-matching-version/no-bundle eligibility (including a wrong-tenant version row) also currently fails open".

      Update these sentences so they agree with the notes: artifact CAS exists, Version CAS is absent, and absent or wrong-tenant eligibility fails closed. As per path instructions, "Review docs for canonical-current-state consistency. Flag obsolete transitional guidance".

      Also applies to: 415-415, 495-495

      • Accepted Correct asset storage documentation to match implemented artifact CAS and affected-row checks; preserve explicit missing Version CAS and fail-closed API boundaries. Assigned fix pending.
  6. CLI Review 1 CompletedRuntime 2m 54s
    Found: 4 Accepted: 0/3/1 Routed: 0
    1. Use the shared PostgreSQL test image in the new Game Session integration tests.Trivial

      Three new integration tests hard-code postgres:16-alpine. GameSessionStartSessionOperatorAttemptRepositoryIntegrationTest uses TestContainerImages.postgres(). Because of this, these tests run the Game Session migrations against a server version that can differ from the canonical test image. Version-dependent migration or trigger behavior can pass here and fail elsewhere.

      • services/game-session-service/src/test/java/integration/net/firedevops/firemud/gamesession/repository/GameSessionCanonicalRealmCatalogRepositoryIntegrationTest.java#L54-L54: replace "postgres:16-alpine" with TestContainerImages.postgres().
      • services/game-session-service/src/test/java/integration/net/firedevops/firemud/gamesession/repository/GameSessionCanonicalStartingInstanceRepositoryIntegrationTest.java#L76-L76: replace "postgres:16-alpine" with TestContainerImages.postgres().
      • services/game-session-service/src/test/java/integration/net/firedevops/firemud/gamesession/repository/GameSessionFreshTenantAssociationRepositoryIntegrationTest.java#L49-L49: replace "postgres:16-alpine" with TestContainerImages.postgres().

      Proposed fix (same at each site)

      -  static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:16-alpine");
      +  static PostgreSQLContainer<?> postgres =
      +      new PostgreSQLContainer<>(TestContainerImages.postgres());
      
      • Accepted Three new GS physical PG fixtures hardcode postgres16 instead of shared canonical image; use existing TestContainerImages.postgres for coherent proof.
    2. Remove the duplicate FIREMUDGRPCWORKLOADNAMESPACE row.Minor

      Remove the duplicate `FIREMUD_GRPC_WORKLOAD_NAMESPACE` row.

      Line 26 already defines FIREMUD_GRPC_WORKLOAD_NAMESPACE. That row also states that blank configuration denies the reservation evidence RPC. Line 30 adds a second row for the same variable with a different purpose. Two rows for one variable make the table ambiguous. Merge the purposes into the existing row.

      Proposed fix

      -| `FIREMUD_GRPC_WORKLOAD_NAMESPACE` | Canonical workload namespace for internal gRPC identity checks | *(none)* |
       | `FIREMUD_LOGGING_ADMIN_START_SESSION_OPERATOR_AUTHORIZATION_ENABLED` | Explicitly enables the local StartSession authorization coordinator composition | `false` |
      

      Also extend the Line 26 description: "Canonical workload namespace for internal gRPC identity checks, including the exact Account identity on the StartSession reservation evidence RPC and the enabled StartSession coordinator composition; blank configuration denies that method".

      As per path instructions: "Review docs for canonical-current-state consistency."

      • Accepted Duplicate workload-namespace configuration row verified; merge both purposes into one canonical row preserving blank-deny behavior.
    3. Make the accepted reservation phases consistent for ReadCurrentClaimEvidence.Minor

      Line 9 states: "Only an exact, unexpired, active ACCOUNT_AUTHORIZATION/AUTHORIZATION_PENDING row can supply evidence."

      The existing gRPC entry for the same RPC (Line 149) states a different rule. It accepts "an active, unexpired AUTHORIZATION_PENDING or AUTHORIZED row". It also describes recovery from AUTHORIZED as a lookup path.

      The two sections now give different acceptance rules for one RPC. Update one section so that both state the same phase set. If recovery from AUTHORIZED is supported, add AUTHORIZED to Line 9 and state which purpose it applies to (RECOVER only).

      As per path instructions: "Review docs for canonical-current-state consistency. Flag ... conflicts between architecture docs".

      • Accepted Existing canonical phase gates support ISSUE pending only, RECOVER pending or AUTHORIZED lookup. Align contradictory same-owner implementation description; no authority expansion.
    4. Name the owning capability for the original-ACK storage preparation and add its anchors to that row.Minor

      The other preparation subsections in this tracker name their owner, for example "owned by AA-1.3". The new "Account fresh original-ACK storage preparation" subsection names no capability. The changed AA-1.3 row (Line 105) also does not list the new production anchors:

      • the V140–V146 migrations
      • AccountGameplayAdmissionLeaseRepository
      • AccountGameplayAdmissionOriginalCommitExecutor
      • AccountGameplayAdmissionOriginalAckReceiptRepository
      • AccountGameplayAdmissionOriginalAckReceiptCommitExecutor

      The row also does not list the new AccountGameplayAdmissionProtectedEntryPrototypeIntegrationTest proof anchor.

      The status row is the required scan-first status surface, so this work is currently not visible there. Add one sentence that names the owning capability (for example, AA-1.3 or AA-2.1). Then add the anchors to that row. Record in its gap cell that receiving-side physical PostgreSQL proof is pending.

      As per coding guidelines: "Each tracker contains one Capability Status row for every capability it primarily owns. Existing narrative records remain useful context, but the capability rows are the complete scan-first status surface" and "implemented and partial rows name concrete production anchors."

      • Accepted OriginalACK passive Account source belongs AA1.3; add actual V140-146 repositories/proof anchors and current physical receiving proof gap without activation claim.
  7. CLI Review 2 CompletedRuntime 2m 33s
    Found: 1 Accepted: 0/1/0 Routed: 0
    1. Name the owner of the redeemed-operation projection consumer.Minor

      ADR 0047 Line 102 allows ReadRedeemedOperationProjection only for the exact same-namespace game-design-service peer. start-session-action-schema.md Line 5 and Line 52 assign the template selector and the current-Account-projection consumer to Game Design.

      Line 137 sits in the Game Session operator-write status and starts with "Source-level Game Session code". The sentence then lists "the current-read consumer for Account's redeemed-operation projection" as unwired. A reader can conclude that Game Session consumes this projection, which conflicts with the ADR peer restriction. State that the consumer is Game Design-owned. Keep only the descriptor-commit transaction and runtime bootstrap/activation as Game Session gaps.

      📝 Proposed wording

      -Source-level Game Session code now contains the StartSession claim, Account redemption, and prepared-action binding. The current-read consumer for Account's [redeemed-operation projection](../../decisions/adr-0047-logging-admin-as-external-operator-write-ingress.md#redeemed-startsession-projection-read), the owner transaction that commits the selected descriptor, and runtime bootstrap/activation remain unwired.
      +Source-level Game Session code now contains the StartSession claim, Account redemption, and prepared-action binding. Game Design's consumer of Account's [redeemed-operation projection](../../decisions/adr-0047-logging-admin-as-external-operator-write-ingress.md#redeemed-startsession-projection-read) remains unwired; the Game Session owner transaction that commits the selected descriptor and runtime bootstrap/activation also remain unwired.
      

      As per path instructions: "Flag obsolete transitional guidance, conflicts between architecture docs".

      • Accepted Verified ADR0047 exact GameDesign peer and action-schema ownership; clarify GameDesign-owned projection consumer while retaining GameSession commit/runtime gaps.
  8. Hosted Review 2 CompletedRuntime 9m 03s
    Found: 3 Accepted: 0/1/2 Routed: 0
    1. Extract the duplicated file-backed mTLS gate into one shared helper.Trivial

      Three sites contain the same gate. Each copy resolves GrpcTlsMaterialResolver, rejects plaintext, rejects classpath resources by checking for a null watchPath(), and checks each file with Files.isRegularFile and Files.isReadable. If one copy changes, the Account path and the Game Session handoff path can enforce different transport requirements. Put one static helper (for example, FileBackedMtlsRequirement.require(properties, resolver, purpose)) in common-platform-core, next to GrpcTlsMaterialResolver.

      • services/logging-admin-service/src/main/java/net/firedevops/firemud/loggingadmin/client/GameSessionClient.java#L143-L166: replace requireFileBackedMtls and isReadableFile with a call to the shared helper, with purpose "StartSession owner handoff".
      • services/logging-admin-service/src/main/java/net/firedevops/firemud/loggingadmin/client/StartSessionOperatorAuthorizationClient.java#L216-L239: replace requireFileBackedMtls and isReadableFile with a call to the shared helper, with purpose "Account authorization".
      • services/logging-admin-service/src/main/java/net/firedevops/firemud/loggingadmin/config/StartSessionOperatorAuthorizationConfiguration.java#L64-L89: replace the private static pair with a call to the shared helper, using the injected resolver and purpose "StartSession authorization".

      📍 Affects 3 files

      • services/logging-admin-service/src/main/java/net/firedevops/firemud/loggingadmin/client/GameSessionClient.java#L143-L166 (this comment)
      • services/logging-admin-service/src/main/java/net/firedevops/firemud/loggingadmin/client/StartSessionOperatorAuthorizationClient.java#L216-L239
      • services/logging-admin-service/src/main/java/net/firedevops/firemud/loggingadmin/config/StartSessionOperatorAuthorizationConfiguration.java#L64-L89
      • Accepted Three verified equivalent file-backed mTLS gates should share existing canonical TLS owner helper; preserve purpose-specific errors and plaintext/classpath/unreadable rejection, focused call-site proof.
    2. Correct the PostgreSQL prototype case count.Minor

      Line 37 says the prototype has 14 cases. AccountGameplayAdmissionProtectedEntryPrototypeIntegrationTest actually declares 18 @Test methods: coldGenuine…, catalogChurn…, concurrent…, staleSerializable…, restrictedCaller…, ownFinalization…, historicalDurableRead…, staleSnapshot…, changedCaller…, originalLockWait…, originalUpdateBefore…, lostOriginal…, acknowledgementFromAnother…, lostReceipt…, returnedCommitFault…, retainedCommittedRetry…, rolledBack…, and genuineAckSql….

      The tracker is the canonical proof inventory. A wrong count will make it harder to match the pending physical run against this record. Change "14-case" to "18-case", or name the subset if 14 was intentional.

      The tracker guideline requires the status and validation sections to stay accurate: "Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned".

      • Accepted Verified18 actual Test methods, tracker14 is stale; correct declared count and preserve physical proof limitation.
    3. Contract doc conflicts with the denial path; the CreateCharacter bullet needs an update.Trivial

      The handler now always returns FAILED_PRECONDITION for valid requests. It keeps the tenant, account, and scope validation and never calls CharacterService. The denial matches the updated owner-protection section in design/architecture/microservices/entity-management-service/api-contracts.md.

      The CreateCharacter bullet in the gRPC list (Line 42 of that file) still describes the full allocation flow. Its last sentence calls the current path an "implementation/proof gap" and does not mention the denial. This can mislead readers into thinking allocation is live. Add a short note to that bullet that the RPC is currently denied before allocation.

      The characterService constructor parameter is now unused by createCharacter. Other methods still use it, so no code change is needed.

      The PMD duplicate-literal hint for "CreateCharacter" is low value and does not need a fix.

      • Accepted Verified validCreateCharacter returns FAILED_PRECONDITION beforeCharacterService allocation; align existing owner API bullet with implemented denial while preserving canonical future contract.
  9. CLI Review 3 CompletedRuntime 2m 51s
    Found: 4 Accepted: 0/1/1 Routed: 1
    1. Verify that the handoff binds the Logging peer namespace to the tuple target namespace.Major

      AuthorizeStartSession is in public-methods, so the JWT interceptor does not check it. The transport accepts any logging-admin-service peer with a syntactically valid namespace. The transport does not compare peer.namespace() with the configured firemud.grpc.workload-namespace. It also does not compare the peer namespace with tuple.preAuthorizationTuple().action().scope().targetNamespace(). Without that binding, a Logging workload in another namespace could submit a tuple for this namespace. The comparison is safe only if GameSessionStartSessionOperatorAuthorizationCoordinator.authorize enforces it. That class receives workloadNamespace, but its source is not in the supplied context.

      Confirm that authorize rejects the call with SecurityException in two cases:

      • The current peer namespace differs from the configured workload namespace.
      • The tuple target namespace differs from the configured workload namespace.

      If authorize does not enforce both checks, add a transport-level check here before coordinator.authorize. Also add a test with a logging-admin-service peer from another namespace.

      • Rejected Already enforced in coordinator.requireAuthenticatedLoggingPeer137–147 beforeowneraccess: exactpeer/configurednamespace, tuple/configurednamespace andpeerURI binding. Existingwrongnamespace test170–192 proves refusal/noowneraccess; no duplicatedtransportcheck needed.
    2. Log unexpected failures in the new StartSession owner RPCs.Minor

      Both new RPCs map unexpected RuntimeException failures to INTERNAL and discard the cause. Existing RPCs in GameSessionGrpcService use GrpcAppErrors.internal(meterRegistry, LOG, ...), which records the failure. These new paths are silent, so operators cannot diagnose redemption, persistence, or repository contract failures. Log only secret-free metadata, such as the operation name and the exception class. These payloads can carry the opaque operator reference.

      • services/game-session-service/src/main/java/net/firedevops/firemud/gamesession/service/impl/GameSessionGrpcService.java#L355-L358: before respondOperatorAuthorizationError(..., "INTERNAL", ...), add a LOG.warn call that records the exception class for authorizeStartSession.
      • services/game-session-service/src/main/java/net/firedevops/firemud/gamesession/service/impl/OriginalStartSessionCurrentAttemptReadGrpcService.java#L103-L108: add a logger, and record the exception class at warn level before onError(Status.INTERNAL ...).
      • Accepted Verified both unexpectedfailure handlers silentlydrop cause; add only operation/exceptionclassname warn logs, neverpayload/opaque reference/message/throwable; security-focused log proof.
    3. Confirm that every Account database runs PostgreSQL 18 before V146 is applied.Major

      The migration's DO block raises an exception when server_version_num is outside [180000, 190000). Flyway therefore fails the whole Account migration chain on any PostgreSQL 16 or 17 server. This affects deployments and integration fixtures that do not use the PostgreSQL 18 path. A failed Flyway migration blocks Account startup. Account owns the authentication and gameplay-admission paths.

      Earlier evidence points to non-18 environments:

      • V144 originally fenced inserts to PostgreSQL 16.
      • The new integration test explicitly opts into AccountPostgresIntegrationFixture(true).

      Confirm the following facts:

      • Every Account Flyway target uses PostgreSQL 18: local Compose, Helm/preview/production database images, and every AccountPostgresIntegrationFixture instance, including the default no-argument or false constructor.
      • If any target is not PostgreSQL 18, decide how to handle it. Option 1: make the version gate a no-op on other versions and keep the runtime guard as the enforcement point. Option 2: document and enforce a PostgreSQL 18 upgrade before this migration.
      Route · PR #3122 → Unassigned target OpenOverseer26113a9c: preserve V146 PG18 fail-closed. Existing production-readiness-followup owns PostgreSQL18 rollout/HA16 packaging gap; route unassigned, no receiver PR or readiness claim. View routed finding
    4. Reuse FileBackedGrpcMtlsPolicy.require instead of copying its file checks.Trivial

      requireFileBackedMtls and requireReadableFile re-implement the existing FileBackedGrpcMtlsPolicy.require(CommonGrpcClientProperties, String, String, String) almost line for line. That method is in the same module. Two copies of a security-relevant TLS validation can diverge, for example when a future change tightens the shared policy. Delegate to the shared policy and keep the current messages.

      ♻️ Proposed refactor

         private static CommonGrpcClientProperties requireFileBackedMtls(
             CommonGrpcClientProperties tlsProperties) {
      -    if (tlsProperties == null || tlsProperties.isPlaintext()) {
      -      throw new IllegalArgumentException(
      -          "Current original StartSession attempt reads require workload mTLS");
      -    }
      -    requireReadableFile(tlsProperties.getCertChain(), "certificate chain");
      -    requireReadableFile(tlsProperties.getPrivateKey(), "private key");
      -    requireReadableFile(tlsProperties.getCaCert(), "CA certificate");
      -    return tlsProperties;
      +    return FileBackedGrpcMtlsPolicy.require(
      +        tlsProperties,
      +        "Current original StartSession attempt reads",
      +        "Current original StartSession attempt reads require workload mTLS",
      +        "Current original StartSession attempt reads require workload mTLS");
         }
      -
      -  private static void requireReadableFile(String configuredPath, String label) {
      -    ...
      -  }
      
      • Accepted Verified duplicated original-attempt file gate in sameCommonCore module; use existing4argFileBackedGrpcMtlsPolicy, preserve refusal classification and meaningful safe message context.
  10. Hosted Review 3 CompletedRuntime 7m 26s
    Found: 1 Accepted: 0/1/0 Routed: 0
    1. Add a reconsideration trigger for this note.Minor

      Line 141 records pending proof and assigns follow-up, but it does not state when to revisit or close the observation. Add a concrete trigger, such as completion of fresh-source CI and physical PostgreSQL proof.

      As per coding guidelines, “Retain an entry only when a genuine blocker or deliberate postponement remains, recording the reason and reconsideration trigger.”

      • Accepted Minor valid: current proof/infrastructure observation needs explicit revisit trigger and reason for retention. Add fresh-source physical PG completion/recurrence trigger without claiming pending proof or deleting other notes.
  11. CLI Review 4 CompletedRuntime 2m 34s
    Found: 6 Accepted: 0/3/0 Routed: 0
    1. Correct the @Test count attribution.Minor

      The sentence says "The copied unit proof sources and AccountGameplayAdmissionProtectedEntryPrototypeIntegrationTest PostgreSQL prototype contain 18 @Test cases." The PostgreSQL prototype alone declares 18 @Test methods. The copied unit sources add more cases, for example AccountGameplayAdmissionLeaseRepositoryTest and AccountGameplayAdmissionOriginalAckReceiptCommitExecutorTest. The current text understates the proof inventory. It also mixes skipped PostgreSQL cases with unit cases that ran. Attribute the 18 cases to the prototype only. Report the unit cases separately.

      The tracker contract requires the validation sections to be accurate: "Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes."

      📝 Proposed fix

      -The copied unit proof sources and `AccountGameplayAdmissionProtectedEntryPrototypeIntegrationTest` PostgreSQL prototype contain 18 `@Test` cases and use the receiving canonical `AccountPostgresIntegrationFixture(true)` without importing another fixture or build dependencies.
      +The `AccountGameplayAdmissionProtectedEntryPrototypeIntegrationTest` PostgreSQL prototype contains 18 `@Test` cases and uses the receiving canonical `AccountPostgresIntegrationFixture(true)` without importing another fixture or build dependencies; the copied unit proof sources are separate mocked-JDBC cases.
      
      • Accepted Minor valid inventory attribution: eighteen @Test cases belong to PostgreSQL prototype alone; copied mocked-JDBC unit proof is separate. Preserve honest physical-proof status.
    2. Qualify the injected PlatformTransactionManager.Minor

      CanonicalInitialAdmissionOwnerConfiguration injects @Qualifier("transactionManager") PlatformTransactionManager. That qualifier suggests that Game Session has more than one transaction manager bean. This coordinator bean injects an unqualified PlatformTransactionManager. If two candidates exist, context startup fails with NoUniqueBeanDefinitionException when firemud.start-session-operator-authorization.enabled=true. If one candidate is a JPA manager and the other is the jOOQ/DataSource manager, Spring could also bind the wrong one. The unit test uses a single mock, so it does not cover this case.

      Confirm how many PlatformTransactionManager beans the Game Session runtime context registers. Apply the same qualifier that the owner-admission configuration uses.

      Proposed fix

                 StartSessionOperatorRedemptionClient redemptionClient,
      -          PlatformTransactionManager transactionManager,
      +          @Qualifier("transactionManager") PlatformTransactionManager transactionManager,
                 @Value("${firemud.grpc.workload-namespace}") String workloadNamespace) {
      

      Add import org.springframework.beans.factory.annotation.Qualifier;.

      • Accepted Minor worthwhile: bind coordinator to canonical transactionManager like existing initial-admission owner. Add two-manager context proof; preserve default-off/mTLS/lease behavior.
    3. Verify that every Flyway target for Account runs PostgreSQL 18.x.Major

      The DO $migration$ block raises an exception when server_version_num is outside [180000, 190000). Flyway therefore fails at V146 on PostgreSQL 16, PostgreSQL 17, and any later PostgreSQL 19 upgrade. Because of that, every later Account migration is also blocked on those versions.

      Several facts suggest that some environments may not run PostgreSQL 18:

      • V144 and the retained historical reader are fenced to PostgreSQL 16.
      • The new prototype test explicitly selects AccountPostgresIntegrationFixture(true).

      If the default AccountPostgresIntegrationFixture, local Compose, a hosted deployment profile, or a production cluster uses another major version, then:

      • every Account integration suite that migrates the full schema fails;
      • service startup fails;

      Please confirm these points:

      1. Which PostgreSQL image the default AccountPostgresIntegrationFixture uses, and what the true argument selects.
      2. Which PostgreSQL major version the Compose and Helm Account database profiles pin.
      3. Whether a retained PostgreSQL 16 deployment must still migrate past V146.

      If any of these is not PostgreSQL 18, change the migration so it does not abort. Install the PostgreSQL 18 guard without a migration-time version check, and keep the runtime fence inside the trigger. A trigger fence denies only fresh receipt inserts and does not block the schema chain.

      • Rejected Duplicate of OPEN unassigned route b6731d4826f505bdf66533b0bc24b7f167547234d223bb0c232122731c64baf0. Root26113a9c preserves V146PG18 failclosed; existing production-readiness-followup owns rollout/HA16 gap. No fix claim or duplicate route.
    4. Fix the malformed head reference in the Context line.Minor

      The text "posted on unchanged head24ee" is missing a separator. It also does not mark the commit identifier as code. Readers cannot tell whether 24ee is a commit prefix. Write the head as a code-formatted commit identifier.

      📝 Proposed fix

      -  - Context: #3122's final Hosted request posted on unchanged head24ee while parent #3172 merged during admission.
      +  - Context: #3122's final Hosted request posted on unchanged head `24ee…` while parent #3172 merged during admission.
      
      • Accepted Minor valid clarity: format the existing24ee head reference with a separator and exact code-formatted SHA; no source semantics change.
    5. Confirm that the test can call the package-private setter.Major

      setOperatorCoordinator is package-private. GameSessionGrpcServiceTest.operatorService calls service.setOperatorCoordinator(coordinator) directly. Other tests in the same directory, for example OriginalStartSessionCurrentAttemptReadGrpcServiceTest, declare the package unit.net.firedevops.firemud.gamesession.service.impl. If GameSessionGrpcServiceTest uses that package too, the test source does not compile.

      Check the package declaration of GameSessionGrpcServiceTest. If the packages differ, make the setter public. Spring setter injection works with either visibility.

      • Rejected Conditional false: GameSessionGrpcServiceTest declares net.firedevops.firemud.gamesession.service.impl, same package as setter. Current canonical GS compilation passed; no public setter needed.
    6. Bind the JWT-exempt AuthorizeStartSession peer to the configured namespace and to the tuple identity.Major

      The method is listed in public-methods, so the peer check is its only transport gate. The check accepts logging-admin-service from any valid namespace. It does not compare the peer with firemud.grpc.workload-namespace, with the tuple targetNamespace, or with tuple.authenticatedWorkloadIdentity(). The sibling current-attempt read guard enforces an exact same-namespace URI. If the mTLS CA trusts more than one namespace, a foreign-namespace Logging workload can drive owner reservation and Account redemption, unless the coordinator rejects the mismatch.

      Confirm whether GameSessionStartSessionOperatorAuthorizationCoordinator.authorize already performs this check.

      • services/game-session-service/src/main/java/net/firedevops/firemud/gamesession/service/impl/GameSessionGrpcService.java#L262-L269: Require peer.namespace() to equal the configured workload namespace. After decoding, require peer.uri() to equal tuple.authenticatedWorkloadIdentity() and require the tuple targetNamespace to equal peer.namespace().
      • services/game-session-service/src/test/java/unit/net/firedevops/firemud/gamesession/service/impl/GameSessionGrpcServiceTest.java#L3236-L3593: Add a case that sends logging-admin-service from another namespace and expects PERMISSION_DENIED with no coordinator interaction.
      • Rejected Duplicate/conditional false: coordinator requireAuthenticatedLoggingPeer binds configured namespace, tuple namespace and exact peer URI before owner reservation/redemption; existing wrongnamespace tests deny before owner access.

Routed Findings

4 Open1 Accepted/Fixed0 Rejected
  1. Route 1 · PR #3122 → Unassigned target OpenMajorHosted upload lacks Account-owned currentness gate

    Outcome: Account/Game Design upload admission ownership needs fail-closed hosted containment or genuine Account gate; unchanged upload path not implemented by this extraction. Target owner unassigned pending coordination.

  2. Route 2 · PR #3122 → Unassigned target OpenMajorArtifact-state read trusts generic internal bearer

    Outcome: Inherited launch/state read authorization needs exact workload and tenant binding at source/read owner. Preserve as target obligation, not source taper credit.

    Earlier routing and proof
    • Target history: Unassigned: Default-denied containment verified at3120/06d51941 per ff8807a0. Positive operation-receipt authority remains OPEN/accepted; owner: production-readiness-followup decision1222. No receiving implementation PR yet; no fix/activation credit.

    Earlier decisions

    • Accepted Confirmed generic internal-service context bypass and missing authorized tenant/scope on state/artifact reads. Exact workload guard and independent tenant evidence required; clarification sent to Overseer; preserve valid terminal reads.
  3. Route 3 · PR #3122 → PR #3120 Accepted/FixedMajorVersion lifecycle CAS can assert unsafe states without durable fencing

    Outcome: Published5fe03e2f4: changing CAS denied before writes; same-state read-only. VersionServiceImplTest no-save/no-mutation cases passed in44-case focused gate. Secondary stale status fixed; linkCheck/lintMarkdown pass. DB-CAS/activation remain incomplete.

    Earlier routing and proof

    Earlier decisions

    • Accepted Unsafe arbitrary lifecycle writes are already contained in published24e291cc: state changes deny before persistence; same-state remains read-only. Full legal transition/DB epoch-CAS capability is not implemented; stale cross-document status correction still needed.
    • Routed Inherited Version lifecycle mutation is outside extracted storage implementation; source/lifecycle owner must contain unsafe transitions and prove real CAS, without fabricated release authority.
  4. Route 4 · PR #3122 → Unassigned target OpenMajorConfirm that every Account database runs PostgreSQL 18 before V146 is applied.

    The migration's DO block raises an exception when server_version_num is outside [180000, 190000). Flyway therefore fails the whole Account migration chain on any PostgreSQL 16 or 17 server. This affects deployments and integration fixtures that do not use the PostgreSQL 18 path. A failed Flyway migration blocks Account startup. Account owns the authentication and gameplay-admission paths.

    Earlier evidence points to non-18 environments:

    • V144 originally fenced inserts to PostgreSQL 16.
    • The new integration test explicitly opts into AccountPostgresIntegrationFixture(true).

    Confirm the following facts:

    • Every Account Flyway target uses PostgreSQL 18: local Compose, Helm/preview/production database images, and every AccountPostgresIntegrationFixture instance, including the default no-argument or false constructor.
    • If any target is not PostgreSQL 18, decide how to handle it. Option 1: make the version gate a no-op on other versions and keep the runtime guard as the enforcement point. Option 2: document and enforce a PostgreSQL 18 upgrade before this migration.

    Outcome: Overseer26113a9c: preserve V146 PG18 fail-closed. Existing production-readiness-followup owns PostgreSQL18 rollout/HA16 packaging gap; route unassigned, no receiver PR or readiness claim.

  5. Route 5 · PR #3122 → Unassigned target OpenMajorRelease-bundle read lacks caller-to-tenant binding

    Outcome: Scope to Game Design source/read authorization owner; same-namespace workload is not tenant authority. Exact ingress containment/carrier ownership requires current source-boundary decision; no blanket proven-terminal denial.

    Earlier routing and proof
    • Target history: Unassigned: Default-denied containment verified at3120/06d51941 per ff8807a0. Positive operation-receipt authority remains OPEN/accepted; owner: production-readiness-followup decision1222. No receiving implementation PR yet; no fix/activation credit.

    Earlier decisions

    • Accepted Exact same-namespace mTLS method allowlist exists, but request tenant/version only scope lookup and do not prove caller authority. Need canonical owner evidence under ADR0038; preserve legitimate immutable/retired reads.

Unlinked items

no items unlinked