FireMUD Delivery Status

PR data refreshed

PR #3211 review history

Compose authenticated fixed World PREPARING owner

Unit 1A · identity, Account and public JOIN

Review rounds

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

Hosted CodeRabbit11 completed
6/6/03/3/06/6/06/6/02/2/0
CLI CodeRabbit13 completed
4/3/04/4/02/2/01/1/05/3/0
Subagent Review4 completed
1/0/1age n/a1/1/0age n/a1/1/0age n/a0/0/0

Recorded review history

Reviews and findings

  1. Hosted Review 1 CompletedRuntime 13m 10s
    Found: 5 Accepted: 5 Routed: 0
    1. Rewritten association CHECKs allow NULL where the old checks required values.Minor

      A PostgreSQL CHECK passes when the expression is NULL. Some rewritten disjuncts now compare without an IS NOT NULL guard:

      • Line 161: the schema-2 branch uses only catalog_revision > 0. V1037 also required catalog_revision IS NOT NULL. For a schema-2 row with NULL catalog_revision, the whole CHECK evaluates to NULL and passes.
      • Line 168: the schema-3 branch has the same gap.
      • Lines 226-227: release_attestation_digest no longer has a column-level NOT NULL (line 112). For schema 1/2, the regex match on NULL is NULL, so the digests CHECK passes.
      • Line 109: canonical_launch_binding_operation_id also lost its NOT NULL. No schema-1/2 branch puts it back.

      The association insert trigger still rejects these shapes. The table-level guarantee for Human rows is weaker than before, and the composite catalog FK is skipped when a column is NULL. Add explicit IS NOT NULL checks. Other branches in this file already follow that pattern.

      🛡️ Proposed fix

               (schema_version = 2
                   AND (canonical_authority_kind IS NULL OR canonical_authority_kind = 'HUMAN')
                   AND canonical_realm_id IS NOT NULL
                   AND canonical_realm_id <> '00000000-0000-0000-0000-000000000000'::UUID
      -            AND catalog_revision > 0)
      +            AND catalog_revision IS NOT NULL
      +            AND catalog_revision > 0
      +            AND canonical_launch_binding_operation_id IS NOT NULL
      +            AND release_attestation_digest IS NOT NULL)
      
      -            AND catalog_revision > 0
      +            AND catalog_revision IS NOT NULL
      +            AND catalog_revision > 0
                   AND canonical_launch_binding_operation_id IS NULL
      
                   (schema_version IN (1, 2)
      +                AND release_attestation_digest IS NOT NULL
                       AND release_attestation_digest COLLATE "C" ~ '^sha256:[0-9a-f]{64}$')
      

      Also add canonical_launch_binding_operation_id IS NOT NULL AND release_attestation_digest IS NOT NULL to the schema-1 branch.

      Also applies to: 163-168, 225-229

      • Accepted Restore explicit required-field NULL rejection in forward V1042, retaining published V1040/V1041. Published 8a14; R251 PostgreSQL CHECK and upgrade row/byte/xmin retention proof passed.
    2. CodeRabbit summary-only outside-diff finding 1 of 1 (aggregate; no individual detail)

      summary-only aggregate; provider supplied no individual detail

      • Accepted Correct World fixture API and tracker status to implemented PREPARING provider boundary with held activation and missing genuine handoffs. Published 8a14; final docs gate passed.
    3. Reject optional descriptor overrides in the initial plan(...), as the restart plan(...) does.Minor

      The two plan overloads use different rules for the same descriptor.

      • The initial plan(evidence, ...) builds originalRequest and accepts scriptPatchVersion and remapSetId when they are present (Lines 180 and 186).
      • The restart plan(association, ...) rebuilds the descriptor with scriptPatchVersionPresent=false and remapSetIdPresent=false (Lines 273-280).
      • The restart plan(association, ...) also rejects a descriptor where descriptor.scriptPatchVersionPresent() or descriptor.remapSetIdPresent() is true (Lines 340-341).

      Consider a fixture descriptor that carries either field. The first prepare call can seal and materialize the preset. Every later readCommitted(dsl, association, ...) then throws RUN_OWNED_WORLD_FIXED_PRESET_RETAINED_EVIDENCE_MISMATCH. The committed PREPARING row cannot be read back or replayed after a restart. Fail closed before any write: apply the same restriction in the initial plan.

      🐛 Proposed fix

               || !"SHARED".equals(capability.stateScope())
               || !"NEW_GAME_ROW".equals(sourceReceipt.source().provenanceKind())
      +        || descriptor.scriptPatchVersionPresent()
      +        || descriptor.remapSetIdPresent()
               || sourceReceipt.localTenantKey() <= 0
               || versionReceipt.localVersionKey() <= 0) {
      

      After this change, Lines 180 and 186 (and Lines 511 and 517) can pass null directly.

      • Accepted Reject initial script/remap overrides before allocation/materialization; keep earlier valid typed intake classification. Published9e7/8a14, selected World units and R251 PG replay/retention proof pass.
    4. Handle a null owner-transaction result before the receipt check.Minor

      ownerTransaction.execute(...) can return null. The ordinary intake path checks this case and throws InvalidIntakeEvidenceException("World owner transaction returned no authored-source receipt"). The fixture path passes accepted straight to requireReceiptForRequest. That method throws RegistrationConflictException("World intake request identity was reused ...") when receipt == null. A missing commit result is therefore reported as an identity-reuse conflict. Callers and gRPC status mapping then treat a storage fault as a client conflict. Add the same null guard as the ordinary path.

      🐛 Proposed fix

      --- "a/services/world-management-service/src/main/java/net/firedevops/firemud/worldmanagement/tenant/WorldAuthoredSourceIntakeService.java"
      +++ "b/services/world-management-service/src/main/java/net/firedevops/firemud/worldmanagement/tenant/WorldAuthoredSourceIntakeService.java"
      @@ -236,10 +236,14 @@
                 "Authenticated Game Design source differs from the immutable run-owned fixture receipt");
           }
       
           WorldAuthoredSourceIntakeReceipt accepted =
               ownerTransaction.execute(
                   status -> repository.acceptFresh(workloadNamespace, intakeRequestId, current));
      +    if (accepted == null) {
      +      throw new WorldAuthoredSourceIntakeRepository.InvalidIntakeEvidenceException(
      +          "World owner transaction returned no run-owned fixture source receipt");
      +    }
           requireReceiptForRequest(
               accepted,
               intakeRequestId,
               expectedSource.canonicalTenantId(),
      
      • Accepted Classify a null fixture owner-transaction result as missing storage evidence before receipt identity checks. Published 8a14; focused World unit regression passed.
    5. Use content-based equality for RunOwnedFixture.Minor

      RunOwnedFixture clones gameSessionAssociationResponseBytes, but the generated record equality compares that array by reference. Therefore, separately reconstructed equivalent fixtures—and their enclosing WorldCanonicalInstanceAssociation records—compare unequal.

      requireSameFixtureAllocation already uses Arrays.equals, so the cited lifecycle readback does not currently fail for this reason. Likewise, accepted.equals(readback) in WorldAuthoredVersionIdentityService compares version receipts, not fixtures. The record still exposes incorrect value semantics to callers that compare reconstructed associations.

           @Override
           public byte[] gameSessionAssociationResponseBytes() {
             return gameSessionAssociationResponseBytes.clone();
           }
      +
      +    @Override
      +    public boolean equals(Object other) {
      +      return other instanceof RunOwnedFixture o
      +          && gameSessionTenantId == o.gameSessionTenantId
      +          && gameSessionGameInstanceId == o.gameSessionGameInstanceId
      +          && gameTemplateId == o.gameTemplateId
      +          && preparingLifecycleEpoch == o.preparingLifecycleEpoch
      +          && worldPrivateKeys.equals(o.worldPrivateKeys)
      +          && fixtureOperationId.equals(o.fixtureOperationId)
      +          && fixtureProvenanceDigest.equals(o.fixtureProvenanceDigest)
      +          && preparationInputDigest.equals(o.preparationInputDigest)
      +          && Arrays.equals(
      +              gameSessionAssociationResponseBytes, o.gameSessionAssociationResponseBytes)
      +          && gameSessionAssociation.equals(o.gameSessionAssociation)
      +          && sourceIntakeReceipt.equals(o.sourceIntakeReceipt);
      +    }
      +
      +    @Override
      +    public int hashCode() {
      +      return 31
      +              * Objects.hash(
      +                  worldPrivateKeys,
      +                  gameSessionTenantId,
      +                  gameSessionGameInstanceId,
      +                  gameTemplateId,
      +                  fixtureOperationId,
      +                  fixtureProvenanceDigest,
      +                  preparationInputDigest,
      +                  preparingLifecycleEpoch,
      +                  gameSessionAssociation,
      +                  sourceIntakeReceipt)
      +          + Arrays.hashCode(gameSessionAssociationResponseBytes);
      +    }
      
      • Accepted RunOwnedFixture requires deep byte value equality/hashCode with defensive clones. Published 8a14; focused value-semantics and replay tests passed.
  2. CLI Review 1 CompletedRuntime 5m 08s
    Found: 6 Accepted: 0/3/3 Routed: 0
    1. Pin the schema for the deferred terminal trigger.Minor

      world_require_canonical_instance_execution_terminal() is the only new trigger function in this migration that has neither SECURITY DEFINER nor SET search_path. It reads world_canonical_instance_execution by its bare name. The function is a DEFERRABLE INITIALLY DEFERRED constraint trigger, so it runs at commit under the session's search_path. If an application connection does not include the service schema in its search_path, every commit that inserts or updates an execution row fails with "relation does not exist". Verify the runtime search_path of the application connections. Alternatively, qualify the table, as the other functions in this file do.

      Proposed fix

       CREATE FUNCTION world_require_canonical_instance_execution_terminal()
       RETURNS TRIGGER
      -LANGUAGE plpgsql
      +LANGUAGE plpgsql SECURITY DEFINER SET search_path = pg_catalog, "${serviceSchema}"
       AS $$
       DECLARE
           final_state TEXT;
       BEGIN
           SELECT operation_state INTO final_state
      -    FROM world_canonical_instance_execution
      +    FROM "${serviceSchema}".world_canonical_instance_execution
      
      • Accepted Minor: deferred terminal trigger uses unqualified table under caller search_path. Pin exact service schema via forward1042.1 while retaining originalV1035 bytes/functionOID/trigger/grants and invoker privilege semantics; prove default-current/upgrade behavior.
    2. Add production anchors for the new PREPARING materialization to the GR-2.1 row.Minor

      The row now claims that the World prepare RPC "materializes the sealed fixed preset at PREPARING epoch 1 and row version 0". The implementation anchors still stop at RunOwnedWorldLaunchEvidence.java and V23.0.1. They do not name RunOwnedWorldFixedPresetResources.java, WorldCanonicalInstanceAssociationRepository.java, or the new migrations V1040/V1041/V1042.

      The proof anchors also omit RunOwnedWorldFixedPresetResourcesPostgresIntegrationTest.java and RunOwnedWorldFixedPresetResourcesTest.java. They also omit the Game Design TestDataSeederIntegrationTest composition case that the text above relies on.

      Add these anchors so the row lists the code and tests behind its claim.

      As per coding guidelines: "implemented and partial rows name concrete production anchors" and "Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes."

      • Accepted Minor: GR-2.1 PREPARING claim needs concrete current producer/repository/migration and physical/unit/composition proof links, preserving partial/activation-held state.
    3. Confirm that the current migration frontier still has guarded-store denial coverage.Trivial

      Before this change, historicalGuardedStoreReplaysAndRejectsNakedWritesAndMissingCommitCheckpoint ran the full migration set. It now uses historicalGuardedStage, which stops at 1007.1. This test therefore no longer exercises V1008 through V1042 for these checks:

      • The plain UPDATE region rejection.
      • The MissingOwnerHistoryException capture denial.
      • The world_canonical_frozen_topology insert rejections for schema 2 and for a changed checkpoint.

      The new comment says that later Account/APPLIED owners "retain their default-current denial requirements". This test does not prove that claim. A later migration could drop or replace the region mutation guard or the frozen-capture triggers. In that case, no test in this file would fail.

      Confirm that another test proves these denials on the default current frontier. One example is a test that runs flyway(...) without a target and then asserts that a direct UPDATE region fails and the schema-2 frozen candidate is rejected. If no such test exists, add a small current-frontier test for these checks.

      • Accepted Trivial: historical1007.1 fixture cannot prove default-current guard behavior. Add actual current-frontier PostgreSQL naked region and malformed frozen-candidate denial coverage without fake Account/APPLIED authority.
    4. Write the descriptor's runtime flags, which every readback compares against.Minor

      The allocation writes runtime_flags_json from gameSessionRequest.runtimeFlagsJson(). A null or blank value is stored as "{}". This value goes into both the World row and the association row. The checks after allocation compare a different value:

      • requireInsertBornFixtureIdentity compares the World row column to descriptor.runtimeFlagsJson().
      • requireStoredFixtureAssociationColumns compares the association column to descriptor.runtimeFlagsJson().
      • world_verify_run_owned_fixed_preset_plan compares the stored column to the plan field descriptorRuntimeFlagsJson.

      The request value can differ from the descriptor value. For example, the request value can be null while the descriptor value is a non-"{}" string. In that case, every fixture prepare fails with InvalidAssociationEvidenceException after the allocation statement runs. The transaction rolls back, so no data is corrupted. Each retry fails the same way, so the fixture launch cannot proceed.

      Verify that RunOwnedWorldLaunchEvidence.requireMatches(request) requires the normalized request flags to equal descriptor.runtimeFlagsJson(). If it does not, use the descriptor as the only source.

      Proposed fix

      -    String runtimeFlagsJson =
      -        gameSessionRequest.runtimeFlagsJson() == null
      -                || gameSessionRequest.runtimeFlagsJson().isBlank()
      -            ? "{}"
      -            : gameSessionRequest.runtimeFlagsJson();
      +    String runtimeFlagsJson = descriptor.runtimeFlagsJson();
      
      • Accepted Minor: existing lockRunOwnedFixture calls requireMatches and already ensures normalized flags equal descriptor. Use the verified descriptor directly to remove duplicate normalization and match every persisted/readback owner; no new authority.
    5. Remove the proof paragraphs that duplicate the World tracker.Trivial

      Lines 17, 19 and 21 repeat the proof records in world-runtime-and-movement.md (its lines 23, 25 and 27). Line 17 is a word-for-word copy. Two copies of one revision-attributed proof record will drift on the next carry. The tracker contract says each tracker records the status of the capabilities it primarily owns.

      Keep the Game Design-specific proof here: the Game Design unit and native case counts, and the fixed read adapter registration. Replace the shared three-service composition text with a link to world-runtime-and-movement.md#fixed-fixture-preparing-owner-preparation.

      This follows the coding guidelines ("Each tracker contains one Capability Status row for every capability it primarily owns") and the learning not to duplicate canonical content outside its owning document.

      • Accepted Trivial: duplicated World composition proof paragraphs drift across trackers. Keep GDS-owned counts/adapter registration, link canonical World proof owner; preserve original revision attribution.
    6. Add a passing control so the changed-snapshot rejection cannot pass for an unrelated reason.Trivial

      The retained receipt uses a request built with the fixed READ_REQUEST ID. Both variations expect only InvalidIdentityEvidenceException, and neither checks the message. The service could reject the retained receipt for a reason other than the changed lifecycle or epoch. One example is a request-identity or digest mismatch. In that case, both variations still pass. A regression in the lifecycle or epoch comparison would then go undetected.

      Add one control iteration. That iteration stores a retained receipt with the original PUBLISHED lifecycle and the original epoch, built from the same request. It must return that receipt without a remote read. Alternatively, assert a distinguishing message for each variation.

      ♻️ Example control before the loop

      +    var unchanged =
      +        AuthoredWorldVersionStateEvidence.create(
      +            request,
      +            source,
      +            canonicalVersion,
      +            VersionLifecycleState.VERSION_LIFECYCLE_STATE_PUBLISHED,
      +            evidence.sourceReceipt().launchReadEvidence().versionState().getVersionStateEpoch());
      +    var retained = identityReceipt(intake, unchanged, 101L);
      +    when(repository.readByCanonicalVersion(
      +            "dev", source.canonicalTenantId(), source.worldSlug(), canonicalVersion))
      +        .thenReturn(Optional.of(retained));
      +    assertThat(
      +            withFixturePeer(
      +                "dev",
      +                "game-session-service",
      +                "a".repeat(64),
      +                () -> fixtureService().associateRunOwnedFixture(evidence, intake)))
      +        .isEqualTo(retained);
           for (VersionLifecycleState changedState :
      
      • Accepted Trivial: existing changed-state cases lack a passing control proving same receipt/request baseline reaches replay. Add positive retained PUBLISHED+same epoch control, no remote read; retain both negative cases.
  3. Hosted Review 2 CompletedRuntime 9m 22s
    Found: 1 Accepted: 0/0/1 Routed: 0
    1. Derive the expected World migration count instead of hard-coding 76L.Trivial

      This assertion fixes the World Management migration count at 76. Any new or removed World migration makes this Game Design integration test fail, even though the fixture is still correct. Read the expected count from the same Flyway locations with Flyway.info(). This matches migrationExpectations in SelectedPublicationStorageUpgradePostgresIntegrationTest. Keep the explicit 1009, 1009.1, 1010 ordering check below.

      ♻️ Proposed refactor

      -    assertThat(
      -            worldDatabase
      -                .dsl()
      -                .fetchSingle(
      -                    "SELECT count(*) AS count FROM flyway_schema_history "
      -                        + "WHERE success AND type='SQL' AND version IS NOT NULL")
      -                .get("count", Long.class))
      -        .isEqualTo(76L);
      +    long installedWorldSql =
      +        worldDatabase
      +            .dsl()
      +            .fetchSingle(
      +                "SELECT count(*) AS count FROM flyway_schema_history "
      +                    + "WHERE success AND type='SQL' AND version IS NOT NULL")
      +            .get("count", Long.class);
      +    // Compare with the versioned SQL migrations Flyway resolves from the same locations.
      +    assertThat(installedWorldSql).isEqualTo(expectedVersionedSqlCount("world-management-service"));
      
      • Accepted Valid brittle composition assertion; derive current versioned SQL count from the exact configured World/Saga Flyway instance while preserving explicit migration ordering.
  4. CLI Review 2 CompletedRuntime 3m 18s
    Found: 3 Accepted: 0/2/1 Routed: 0
    1. Fix the transaction guard in worldreadrunownedfixedpreset; it never fires as written.Minor

      Fix the transaction guard in `world_read_run_owned_fixed_preset`; it never fires as written.

      The condition uses AND between two terms. The isolation list ('read committed','repeatable read','serializable') already covers every isolation level except read uncommitted. PostgreSQL runs read uncommitted as read committed. The exception therefore fires only for a writable read uncommitted session, which no owner path uses. The message says "requires an owner read transaction", but the function enforces no such requirement.

      world_materialize_run_owned_fixed_preset calls this function from a writable READ COMMITTED transaction. A "read-only" requirement is therefore also wrong. State the real contract: either a read-only snapshot, or the writable READ COMMITTED owner transaction.

      🔧 Proposed guard

      -    IF current_setting('transaction_read_only') <> 'on'
      -        AND current_setting('transaction_isolation') NOT IN ('read committed','repeatable read','serializable') THEN
      +    IF NOT (
      +        (current_setting('transaction_read_only') = 'on'
      +            AND current_setting('transaction_isolation') IN ('repeatable read','serializable'))
      +        OR (current_setting('transaction_read_only') = 'off'
      +            AND current_setting('transaction_isolation') = 'read committed')) THEN
               RAISE EXCEPTION 'Run-owned fixed-preset readback requires an owner read transaction'
                   USING ERRCODE = '23514';
           END IF;
      

      Before you apply this, confirm that RunOwnedWorldFixedPresetResources.readCommitted always runs in one of these two transaction modes.

      • Accepted Ineffective AND guard verified. Forward repair accepts readonly RR/serializable and current writable READ_COMMITTED owner calls, including implicit committed read; no Java-active-transaction requirement or privilege widening.
    2. Check that the new service-module dependencies do not leak migrations and configuration into Game Design integration tests.Trivial

      integrationTestImplementation(project(":game-session-service")) and project(":world-management-service") put the full main output of both Spring Boot services on the Game Design integration-test classpath. That output includes their db/migration scripts and application*.yml resources. This change also moved every edited Flyway fixture from classpath:db/migration to filesystem:src/main/resources/db/migration. The move suggests that classpath:db/migration now merges migrations from several services.

      The Spring Boot contexts in TestDataSeederIntegrationTest and LaunchDescriptorServiceIntegrationTest still use Spring's auto-configured Flyway with its default locations. If those locations resolve to classpath:db/migration, two failures are possible:

      • Flyway reports duplicate versions, for example several V1__*.sql files.
      • Flyway applies World or Game Session schema objects to the Game Design schema.

      A duplicate application.yml on the classpath can also change which properties the context sees.

      Confirm two facts:

      • The Spring Boot spring.flyway.locations used by these contexts excludes the other modules' migrations.
      • Classpath resource ordering always resolves Game Design's own application.yml first.

      A narrower option is to expose only the needed handler and repository classes through java-test-fixtures or a dedicated library module. That avoids depending on whole service modules.

      • Accepted Migration-leak premise disproven by explicit service-owned DynamicPropertySource. Accept narrower requested proof: actual Spring classloader selects GDS YAML and effective Flyway locations are GDS/Saga only. No library or dependency restructuring.
    3. Do not hard-code 1042.1 as the latest migration version.Minor

      Both tests run every migration on the classpath with no target. Both then require the latest version to equal "1042.1". The next World Management migration will make both tests fail, even though the checked behavior is still correct.

      • services/world-management-service/src/test/java/integration/net/firedevops/firemud/worldmanagement/tenant/WorldCanonicalInstanceExecutionTerminalSchemaPostgresIntegrationTest.java#L96-L102: pass MigrationVersion.fromVersion("1042.1") as the target instead of null. The latest-version check and the schema-inventory check then stay valid for this repair test.
      • services/world-management-service/src/test/java/integration/net/firedevops/firemud/worldmanagement/tenant/WorldGuardedAuthoredGraphCapturePostgresIntegrationTest.java#L1053-L1062: keep migrating to the latest version. Replace the exact-version check with assertThat(currentFrontier.info().pending()).isEmpty().
      • Accepted Valid brittle frontier assertions. Pin isolated1042.1 repair proof, keep guarded-store latest and assert no pending migrations; preserve both proof boundaries.
  5. Hosted Review 3 CompletedRuntime 11m 47s
    Found: 1 Accepted: 0/0/1 Routed: 0
    1. Build the FixedPresetPlan in one shared helper for both plan(...) overloads.Trivial

      Both overloads list the same 49 constructor arguments in the same order. They also seal the result through presetSealDigest. Restart readback works only if the restart plan(association, ...) produces exactly the seal and planJson that the initial plan(evidence, ...) produced. A future edit to one argument list breaks every committed readCommitted replay with RESULT_MISMATCH, and no compiler check catches the drift. Validation already differs between the two overloads. The construction must not differ. Move construction into one private method that takes the typed inputs both overloads share: capability, policy seal, policy bytes, lifecycle digest, response digest, source/Version receipts, descriptor, bundle, and the Game Session association.

      ♻️ Sketch

      private static FixedPresetPlan sealedPlan(
          RunOwnedInitialAdmissionFixtureWireCodec.Capability capability,
          RunOwnedInitialAdmissionFixtureWireCodec.FixturePolicySeal seal,
          byte[] policyRequestBytes,
          String lifecycleBindingDigest,
          String gameSessionResponseBytesDigest,
          WorldAuthoredSourceIntakeReceipt sourceReceipt,
          WorldAuthoredVersionIdentityReceipt versionReceipt,
          AuthoredWorldLaunchDescriptorEvidence descriptor,
          PublishedReleaseBundle bundle,
          CanonicalGameInstanceLaunchAssociationReadEvidence.FixtureResult gameSession) {
        FixedPresetPlan unsealed = new FixedPresetPlan(/* single argument list */);
        return unsealed.withPresetSealDigest(presetSealDigest(unsealed));
      }
      

      Also applies to: 375-426

      • Accepted Trivial but useful: both validated plan paths must share exact 49-field construction and sealing to prevent retained restart plan drift. Extract private typed helper preserving independent validation and byte/digest equality.
  6. CLI Review 3 CompletedRuntime 2m 48s
    Found: 2 Accepted: 0/2/0 Routed: 0
    1. Narrow the gRPC status mapping in both fixed-fixture read wrappers.Minor

      Both wrappers run the full owner qualification (readCommittedReceipt, getLaunchDescriptor, readExisting) inside a single try block. Every owner-side IllegalArgumentException becomes INVALID_ARGUMENT, which tells the caller its request was malformed. Every transient storage failure becomes FAILED_PRECONDITION, which reads as a permanent refusal. World callers therefore cannot tell retryable outages from permanent refusals. The World tracker records that World keeps connection failures separate from permanent storage failures; these wrappers remove that distinction.

      • services/game-design-service/src/main/java/net/firedevops/firemud/gamedesign/service/impl/RunOwnedFixtureAuthoredWorldSourceReadGrpcService.java#L80-L90: map only fromReadRequest decoding to INVALID_ARGUMENT, owner-qualification failures to FAILED_PRECONDITION, and transient data-access failures to UNAVAILABLE. Keep the peer and caller-context denial first.
      • services/game-design-service/src/main/java/net/firedevops/firemud/gamedesign/service/impl/RunOwnedFixtureAuthoredWorldVersionStateGrpcService.java#L92-L102: apply the same mapping, with only AuthoredWorldVersionStateGrpcCodec.fromRequest decoding mapped to INVALID_ARGUMENT.

      Confirm how the World AuthoredWorldSourceClient and AuthoredWorldVersionStateClient classify these status codes during fixed-fixture prepare retries.

      • Accepted Minor: distinguish request decoding from owner qualification and transient storage status in both wrappers, keeping peer/context checks first; existing World clients propagate gRPC status for intake retry classification.
    2. Verify that the fixture guard should reject every worldinstance UPDATE, not only lifecycle transitions.Minor

      Verify that the fixture guard should reject every `world_instance` UPDATE, not only lifecycle transitions.

      The first branch raises an error whenever OLD.canonical_authority_kind or NEW.canonical_authority_kind is RUN_OWNED_FIXTURE. The guard does not check which columns change. As a result, any UPDATE to a fixture World row fails. This includes failure_reason, termination_request_id, terminated_at, and the FAILED_PRE_ACTIVATION transition. The second branch, for rows with fixture binding evidence, gates only status and lifecycle_epoch changes.

      In WorldLifecycleCommandServiceImpl, failPreparedWorldInstance and terminateWorldInstance do not check fixture mode or a fixture binding before they save. For a fixture row, these calls fail with a raw PostgreSQL trigger error, not a typed RUN_OWNED_WORLD_* error. A stranded fixture PREPARING row then has no supported fail or terminate path.

      Confirm which behavior is intended:

      • If all fixture-row mutation must stay closed, add an explicit Java denial in failPreparedWorldInstance and terminateWorldInstance, and change the trigger message so that it does not say "lifecycle transitions" only.
      • If only lifecycle transitions must stay closed, restrict the first branch to changes in status, lifecycle_epoch, or row_version.
      • Accepted Minor: canonical fixed fixture permits PREPARING materialization only and keeps later row mutations closed. Add typed owner denials before fail/terminate effects and repair guard wording forward; preserve immutable published migration.
  7. CLI Review 4 CompletedRuntime 4m 20s
    Found: 8 Accepted: 2/3/3 Routed: 0
    1. Check that the Capability Status row records the new fixture read anchors.Minor

      This section adds a production capability: two default-off gRPC registrations and an owner-read authorization component. The changed lines are narrative only. The tracker contract says the Capability Status rows are "the complete scan-first status surface". It also says implemented and partial rows "name concrete production anchors". Check the owning row outside this hunk. If needed, add RunOwnedFixtureOwnerReadAuthorization.java, RunOwnedFixtureAuthoredWorldSourceReadGrpcService.java and RunOwnedFixtureAuthoredWorldVersionStateGrpcService.java as implementation anchors. Add RunOwnedFixtureOwnerReadAuthorizationTest.java, RunOwnedFixtureAuthoredWorldOwnerReadGrpcServiceTest.java and TestDataSeederIntegrationTest.java as proof anchors. As per coding guidelines, keep the "status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes."

      • Accepted Verified owning capability row lacks new authorization and managed registration anchors. Add concrete implementation/proof links and update the moved cross-service proof link.
    2. Move the duplicated parent-migration digest map to one shared test helper.Trivial

      PARENT_MIGRATIONS repeats all 34 literal SHA-256 entries from WorldGuardedAuthoredGraphCapturePostgresIntegrationTest (its unchanged lines 82-184). repositoryRoot() and the Flyway configuration helper are also copied across RunOwnedWorldFixedPresetResourcesPostgresIntegrationTest, WorldGuardedAuthoredGraphCapturePostgresIntegrationTest, and WorldCanonicalInstanceExecutionTerminalSchemaPostgresIntegrationTest.

      These values pin the same parent artifacts. If one artifact gets a new digest, someone must update each copy. If one copy is missed, the classes check different parent states. Put the map, HISTORY, repositoryRoot(), and one parameterized migration(source, schema, target, locations...) factory in one shared helper in the integration test source set.

      • Accepted Verified duplicated literal parent pins and migration helpers. Consolidate test plumbing while preserving immutable 34 artifact digests, history table, schema, locations, targets and current-frontier proof.
    3. Isolate the cross-service integration dependencies from the Game Design test classpath.Major

      These lines put the game-session-service and world-management-service main outputs on the integrationTest classpath. Their application.yml and db/migration resources go on it too. The rest of the PR works around this file by file:

      • Many Flyway fixtures change from classpath:db/migration to filesystem:src/main/resources/db/migration.
      • Two @SpringBootTest classes add spring.config.import=file:src/main/resources/application.yml and assert where spring.application.name came from.

      Any Game Design integration test without these workarounds can resolve another service's application.yml or migrations without failing. Such a test would pass with the wrong configuration and give false proof. The dependency also couples Game Design tests to two other services' internal classes, which crosses service boundaries.

      Confirm that no remaining integrationTest class uses classpath:db/migration, and that every remaining @SpringBootTest resolves Game Design's own application.yml. Also confirm the value that PostgresBackedServiceTestSupport registers for spring.flyway.locations. Then move the three-service composition test into a dedicated source set or the existing crossServiceTest layer. That keeps the ordinary Game Design integrationTest classpath to Game Design only.

      • Accepted Major: isolate actual three-service owner composition in crossServiceTest so ordinary GDS integration classpaths cannot load GS/World configuration or migrations; preserve complete physical proof and explicit GDS resource ownership.
    4. Account for V1042.1–V1042.3 in the World migration inventory and counts.Minor

      The PR adds V1042.1__world_execution_terminal_service_schema.sql, V1042.2__world_fixed_preset_read_transaction.sql and V1042.3__world_fixture_row_mutation_diagnostic.sql. The storage contract and the tracker name V1042 as the only forward migration after V1040/V1041. The tracker claims a 76-file installation. If these three files are new, the installed total is 79. Confirm whether these files are part of this PR's additions, then align the docs.

      • design/architecture/microservices/world-management-service/runtime-and-data.md#L31-L31: name V1042.1–V1042.3 and their purpose. V1042.2 probably owns the read-owner isolation rule on Line 29.
      • design/project-management/implementation-tracking/world-runtime-and-movement.md#L19-L21: correct the "76-file" and "34→40→75→76" counts, or correct the "33 donor" / "35 added SQL paths" wording on Line 29. Also add the three files as anchors in the GR-2.1 row on Line 79.
      • Accepted Verified forward1042.1-.3 additions. Document purposes and current79 frontier, retain historical76 proof attribution, add GR2.1 anchors without rewriting old counts.
    5. Verify that the fixture prepare response does not leak World-private keys to Game Session.Major

      snapshot(materialized) builds the DTO from materialized.getTenantId() and materialized.getGameInstanceId(). For a fixture row, these values are the World-private keys (keys.tenantId() = the source intake localTenantKey, and keys.gameInstanceId() = a new world_canonical_private_game_instance_key_seq value). They are not the Game Session keys in originalGameSessionRequest.

      In the ordinary path, the request keys and the stored keys are the same. In the fixture path, they are different. The response therefore has a different tenantId/gameInstanceId than the request that Game Session sent. This has two effects:

      • If the Game Session consumer checks that the response echoes the request keys, every fixture prepare fails after the World commit.
      • If the consumer stores the returned keys, the World-private numeric keys cross the service boundary. WorldCanonicalInstanceAssociation.worldPrivateKeys() documents that these keys stay separate from the authenticated Game Session keys.

      Confirm how Game Session reads WorldInstanceLifecycleSnapshotDto from prepareWorldInstance. If the response must echo the Game Session keys, build the snapshot from originalGameSessionRequest.tenantId()/gameInstanceId() and keep the other fields from materialized.

      Possible fix

           prepareCounter.increment();
      -    return snapshot(materialized);
      +    WorldInstanceLifecycleSnapshotDto worldSnapshot = snapshot(materialized);
      +    return new WorldInstanceLifecycleSnapshotDto(
      +        originalGameSessionRequest.tenantId(),
      +        originalGameSessionRequest.gameInstanceId(),
      +        worldSnapshot.gameTemplateId(),
      +        worldSnapshot.controlPlaneRequestId(),
      +        worldSnapshot.launchDescriptorId(),
      +        originalGameSessionRequest.versionId(),
      +        worldSnapshot.releaseBundleId(),
      +        worldSnapshot.generationConfigRevision(),
      +        worldSnapshot.publishedReleaseBundleRef(),
      +        worldSnapshot.versionStateEpoch(),
      +        worldSnapshot.lifecycleEpoch(),
      +        worldSnapshot.status(),
      +        worldSnapshot.remapSetId());
      
      • Accepted Major: fixture response currently snapshots World-private keys. Preserve World owner storage and return the original authenticated Game Session tenant/gameInstance/version handles at the existing receiving boundary; prove committed readback and exact replay echo.
    6. Remove the fixture provenance-digest guards that compare a value with itself.Trivial

      RunOwnedWorldLaunchEvidence.fixtureProvenanceDigest() returns sourceReceipt.fixturePolicySeal().evidenceDigest(). Both fixture owner paths compare that result with the same expression. The condition is always false and checks nothing.

      • services/world-management-service/src/main/java/net/firedevops/firemud/worldmanagement/tenant/WorldAuthoredSourceIntakeService.java#L186-L188: remove the clause, or compare against fixtureEvidence.gameSessionAssociation().fixturePolicySeal().evidenceDigest().
      • services/world-management-service/src/main/java/net/firedevops/firemud/worldmanagement/tenant/WorldAuthoredVersionIdentityService.java#L114-L116: remove the clause. The next gs.fixturePolicySeal() comparison already performs the real check.
      • Accepted Verified provenance accessor aliases source receipt digest. Remove tautologies, retain independent GS seal check and do not add GS prerequisite to early source intake.
    7. Merge this fixture builder with the copy in RunOwnedWorldLaunchEvidenceProviderTest.Trivial

      createWithDescriptorOverrides repeats about 200 lines of RunOwnedWorldLaunchEvidenceProviderTest.fixtureEvidence(...) (unchanged lines 824-1062). It uses the same source, descriptor, bundle, creation, policy-seal, and association construction. The two copies already differ in the certificate commitments:

      • This class uses caCertificateSha256 = "b".repeat(64) and worldManagementLeafSha256 = "c".repeat(64).
      • The provider test uses "c" for the CA and "b" for the World Management leaf. Its OPERATION_ID derives from "a"/"c".

      Each copy is consistent on its own. But someone who reads one copy can easily get the other wrong, and every change to the evidence shape must be made in both places. Add the leaf, CA, canonical-tenant, and mismatched-seal parameters to this fixture. Then make the provider test's private fixtureEvidence(...) overloads delegate to it.

      • Accepted Verified duplicate evidence builders. Parameterize shared test fixture while preserving each original certificate commitment, operation ID, canonical tenant and all override/mismatched-seal cases.
    8. Map only retryable transaction failures to UNAVAILABLE.Minor

      The check failure instanceof TransactionException covers every Spring transaction exception. That includes permanent failures: IllegalTransactionStateException (for example, a MANDATORY/NEVER propagation mismatch), UnexpectedRollbackException, NestedTransactionNotSupportedException and InvalidIsolationLevelException. Each of these now returns UNAVAILABLE from the kernel and from both fixture wrappers. A World caller will then retry a deterministic programming or configuration error until its retry budget runs out. Restrict the retryable set to the connection and timeout cases.

      Proposed narrowing

           if (failure instanceof DataAccessResourceFailureException
               || failure instanceof TransientDataAccessException
      -        || failure instanceof TransactionException) {
      +        || failure instanceof org.springframework.transaction.CannotCreateTransactionException
      +        || failure instanceof org.springframework.transaction.TransactionTimedOutException) {
             return Status.UNAVAILABLE.withDescription(
                 "Authored-world source evidence is temporarily unavailable");
           }
      +    if (failure instanceof TransactionException) {
      +      return Status.INTERNAL.withDescription("Authored-world source evidence could not be read");
      +    }
      
      • Accepted Verified broad TransactionException retry classification. Only connection acquisition/timeouts remain UNAVAILABLE; permanent transaction faults map INTERNAL with focused tests.
  8. CLI Review 5 CompletedRuntime 3m 02s
    Found: 3 Accepted: 0/0/2 Routed: 0
    1. Verify that the runtime preset digest equals the SQL literal digest.Trivial

      CONTENT_DIGEST and the six templateId(...) UUIDs are computed at runtime. Migration V1041 hard-codes the same values as literals: 'sha256:f817af27…09bc' and the six template UUIDs, in ck_world_canonical_preparation_one_authority, world_verify_run_owned_fixed_preset_plan, world_read_run_owned_fixed_preset, and world_materialize_run_owned_fixed_preset. A text change to a room name, a description, NAMESPACE, or PRESET_ID changes the Java values. The SQL literals do not change with them. Every fixture preparation then fails with RUN_OWNED_WORLD_FIXED_PRESET_PLAN_INVALID.

      Confirm that a focused unit test asserts definition().expectedContentDigest() and each template UUID against the exact literals in V1041. If no such test exists, add one. The test then detects a mismatch at build time.

      • Accepted Existing native composition exercises preset identity, but no fast explicit cross-artifact assertion covers runtime digest/all six UUIDs against fixed V1041 literals. Add one focused unit regression; do not change migration or preset semantics.
    2. Verify that the FOR SHARE locks cannot upgrade into a deadlock.Minor

      lockFixtureSourceAndVersionOwners takes FOR SHARE on the world_authored_source_intake row and the world_authored_version_identity row. Later in the same transaction, world_allocate_run_owned_fixture_instance takes FOR UPDATE on the same rows (V1041 lines 220-225).

      The two fixture advisory locks are keyed by fixture operation and by canonical game instance. They do not serialize two different fixture operations that resolve to the same canonical Version. The Version identity row is unique per (namespace, tenant, world, canonical Version UUID). Two such transactions can each hold FOR SHARE and then each wait for FOR UPDATE. PostgreSQL then aborts one transaction with a deadlock error (SQLSTATE 40P01).

      Confirm one of these facts:

      • WorldDesignPublicationFenceRepository.lockOpen takes FOR UPDATE on the shared owner row before this method runs, so it serializes both callers.
      • Two fixture operations can never share one canonical Version.

      If neither fact holds, take FOR UPDATE here so that the transaction does not upgrade the lock later.

      • Rejected Fixed producer forbids distinct operation adopting tenant1 game/Version. Same operation retains one GS instance and identical World advisory keys before row locks, so the claimed two-operation race is unavailable. Changing later locks would not fix the hypothetical cycle.
    3. Keep one canonical copy of the shared PREPARING receiving-proof records.Trivial

      The same three proof paragraphs appear in both trackers. These paragraphs cover readiness child a9e5f7a…, the corrected child 7ab19d0…, and the f9e62a9… carry. Two copies of the same proof attribution can drift apart on later edits. The World tracker owns the shared PREPARING composition.

      • design/project-management/implementation-tracking/game-authoring-publishing-and-activation.md#L17-L21: replace the three paragraphs with a one-sentence Game Design summary and a link to world-runtime-and-movement.md#fixed-fixture-preparing-owner-preparation.
      • design/project-management/implementation-tracking/world-runtime-and-movement.md#L25-L29: keep these paragraphs as the single canonical record.

      Based on learnings: "do not duplicate canonical technical contracts ... use this documentation only to track implementation-specific status, decisions, or links".

      • Accepted Verified three identical PREPARING proof paragraphs in both trackers. Keep immutable run attribution at World tracker and replace only GDS duplicate with local consequence plus owner link.
  9. Hosted Review 4 CompletedRuntime 10m 55s
    Found: 3 Accepted: 0/3/0 Routed: 0
    1. Fix the stale proof scope for the three-service PREPARING composition.Minor

      Line 19 says the 142 native PostgreSQL cases include the producer → Game Session STARTING → World PREPARING composition across three production mTLS handlers.

      The World tracker says otherwise. Line 23 of world-runtime-and-movement.md states: "The three-service PREPARING proof now belongs to Game Design's dedicated cross-service suite; ordinary Game Design integration tests have no Game Session or World application resources on their classpath." That tracker also records a newer Game Design run of 517 unit cases and 141 native cases. The PR description reports the same 141 native cases.

      The two trackers now disagree on three points:

      • the case counts (510/142 here, 517/141 there);
      • which suite holds the composition proof;
      • which result is current.

      The tracker guideline requires the status, validation and proof sections to stay aligned when a domain boundary changes. Do one of the following:

      • Mark the 510/142 sentence as historical and tie it to its revision.
      • Replace it with a link to the current World tracker attribution. Name RunOwnedFixtureOwnerCompositionCrossServiceTest as the composition proof.

      📝 Proposed wording

      -... On the receiving Game Design cut, 510 unit results retain their earlier fresh execution on unchanged production inputs, while 142 native PostgreSQL-backed cases execute freshly, including 22 fixture cases and the actual producer → persisted Game Session `STARTING` → World `PREPARING` composition across three production mTLS handlers. ...
      +... Historical receiving-cut attribution: 510 unit results and 142 native PostgreSQL-backed cases, including 22 fixture cases. The actual producer → persisted Game Session `STARTING` → World `PREPARING` composition now runs in the dedicated `RunOwnedFixtureOwnerCompositionCrossServiceTest` suite; current counts are attributed in [World Runtime and Movement](./world-runtime-and-movement.md#fixed-fixture-preparing-owner-preparation). ...
      

      As per coding guidelines: "Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes."

      • Accepted Current GDS tracker conflates historical510/142 scope and current dedicated cross-service composition. Fix local attribution and owner link only; no invented new proof.
    2. Compare realm, catalog and release copy fields in the fixture association branch.Minor

      The fixture fast path returns before the V1037 Human equality checks run. Those checks compare instance.canonical_realm_id and instance.catalog_revision against NEW.

      The V1037 composite FK fk_world_canonical_instance_association_catalog_world_row does not cover fixture rows. Its key includes canonical_launch_binding_operation_id, which is NULL for schema 3. A MATCH SIMPLE FK skips any row with a NULL key column.

      The new FK fk_world_canonical_instance_association_fixture_world_row covers only world_instance_id.

      As a result, a schema-3 association can store a canonical_realm_id or catalog_revision that differs from its World row. The same applies to script_patch_version, runtime_flags_json, generation_config_revision, release_bundle_id, published_release_bundle_ref and remap_set_id. The trigger accepts the row, although its error text says the association matches its exact World owner readback.

      Add the missing equality checks to the fixture branch. If V1040 has already been applied in any environment, ship the change as a new forward migration that rewrites the function by anchor.

      🛡️ Proposed fix

                   OR instance.version_state_epoch IS DISTINCT FROM NEW.version_state_epoch
      +            OR instance.canonical_realm_id IS DISTINCT FROM NEW.canonical_realm_id
      +            OR instance.catalog_revision IS DISTINCT FROM NEW.catalog_revision
      +            OR instance.playtest_lifecycle_id IS DISTINCT FROM NEW.playtest_lifecycle_id
      +            OR instance.playtest_state_generation IS DISTINCT FROM NEW.playtest_state_generation
      +            OR instance.script_patch_version IS DISTINCT FROM NEW.script_patch_version
      +            OR instance.runtime_flags_json IS DISTINCT FROM NEW.runtime_flags_json
      +            OR instance.generation_config_revision IS DISTINCT FROM NEW.generation_config_revision
      +            OR instance.release_bundle_id IS DISTINCT FROM NEW.release_bundle_id
      +            OR instance.published_release_bundle_ref IS DISTINCT FROM NEW.published_release_bundle_ref
      +            OR instance.remap_set_id IS DISTINCT FROM NEW.remap_set_id
                   OR instance.run_owned_fixture_preparing_lifecycle_epoch IS DISTINCT FROM NEW.preparing_lifecycle_epoch
      
      • Accepted Main verified schema3 fixture fast path lacks10 owner-copy equality checks and currentV1042 doesnot add them. Forward guarded repair plus physical mismatch/retention proof; preserve original migration bytes.
    3. Mark the 75-file frontier claims as historical.Minor

      Line 23 says the current default World inventory has 79 files, after V1042.1–V1042.3. Lines 31–33 describe the "local owner successor" in the present tense:

      • "35 added SQL paths within 75 complete World plus Saga history files";
      • "Fresh default-order 75-file installation, installed 34→40→75 upgrade, current-75 schema-2 snapshot retention".

      Line 33 calls the 75-file state "current-75". Line 23 says the current frontier is 79 files. A reader can take the 75-file installation proof as proof of the current frontier.

      Line 21 already uses an explicit "Historical qualification before V1042.1–V1042.3" prefix. Apply the same prefix to lines 31–33. The other option is to move those lines under that prefix.

      📝 Proposed wording

      -The local owner successor contains the complete migration dependency frontier and a PREPARING-only extension, with 35 added SQL paths within 75 complete World plus Saga history files.
      +Historical qualification before V1042–V1042.3: the local owner successor contained the complete migration dependency frontier and a PREPARING-only extension, with 35 added SQL paths within 75 complete World plus Saga history files.
      ...
      -Fresh default-order 75-file installation, installed 34→40→75 upgrade, current-75 schema-2 snapshot retention, ...
      +At that historical frontier, fresh default-order 75-file installation, installed 34→40→75 upgrade, 75-file schema-2 snapshot retention, ...
      

      As per path instructions: "Flag obsolete transitional guidance".

      • Accepted 75-file historical owner/upgrade proof is written as current despite79-file frontier. Mark those exact paragraphs historical and retain separate source counts/limitations.
  10. CLI Review 6 CompletedRuntime 4m 26s
    Found: 3 Accepted: 0/2/1 Routed: 0
    1. Require both ROOM templates in the fixed-preset readback, not only one.Minor

      The REGION and ZONE checks each match exactly one template. The ROOM_EXIT check requires count(*) = 2. The ROOM check uses OR NOT EXISTS (...) with an OR over the two (template_id, name, description) pairs. That check passes when either ROOM matches its template content and runtime mapping.

      template_count = 6 and topology_identity_count = 6 still hold when the second ROOM is wrong. The NOT IN guard only checks family and template ID. The exit connectivity check only uses runtime IDs. As a result, a retained Smith's Annex row with a changed name, description, zone_id, or runtime room content still passes world_read_run_owned_fixed_preset. The same applies if the Candle-lit Antechamber row is the changed one.

      This defeats the documented contract of RunOwnedWorldFixedPresetResources.readCommitted: it is supposed to verify all fixed resources on replay after a restart. Count the matching ROOM rows and require exactly 2.

      🐛 Proposed fix

      -        OR NOT EXISTS (
      -        SELECT 1
      +        OR (
      +        SELECT count(*)
               FROM "${serviceSchema}".world_authored_topology_identity m
               JOIN "${serviceSchema}".room r ON r.id = m.private_row_key
       ...
                           AND ri.zone_instance_id = zi.runtime_row_id))
      +        ) <> 2
      
      • Accepted Verified ROOM readback uses OR NOT EXISTS over two alternatives, accepting one matching room. Correct forward SQL to require both exact rows; preserve published V1041 and add physical regression.
    2. Record forward V1042.4 everywhere the PREPARING storage frontier is listed.Minor

      The World tracker records V1042.4 (V1042.4__world_fixture_association_owner_copy_checks.sql) as the owner-copy correction that brings the default World inventory to 80 files. The canonical storage contract and the GR-2.1 capability row still stop at V1042.3. The two documents therefore disagree about the installed guard set.

      • design/architecture/microservices/world-management-service/runtime-and-data.md#L31-L31: add V1042.4 to the forward-migration sentence and state that it requires the ten copied realm, catalog, playtest and release owner fields to equal the retained World row.
      • design/project-management/implementation-tracking/world-runtime-and-movement.md#L83-L83: add a V1042.4 owner-copy checks link to the GR-2.1 implementation anchors after the V1042.3 anchor. The Capability Status contract requires partial rows to name concrete production anchors.

      As per path instructions, "Review docs for canonical-current-state consistency." As per coding guidelines, "implemented and partial rows name concrete production anchors."

      • Accepted Verified canonical storage frontier and GR-2.1 still omit forward V1042.4. Update owning storage consequence and capability anchor, with accurate next frontier.
    3. Add a storage-failure case that comes from the repository or transaction layer.Trivial

      In every case, authorization.authorizeSource(...) or authorization.authorizeVersion(...) throws the storage exception. The test then asserts verifyNoInteractions(repository, transactions). As a result, a DataAccessResourceFailureException, CannotCreateTransactionException, or SQLState 08006 failure from GameAuthoredWorldSourceRepository.read(...) or the PlatformTransactionManager never reaches the status mapping. If the services wrap the kernel reads differently from the authorization call, this test cannot detect a wrong UNAVAILABLE/INTERNAL mapping on the real storage path.

      To fix this, let the authorization mocks return an authorized request. Then stub the repository (and transactions.getTransaction(any())) to throw the same failure set. Assert the same status codes and redacted descriptions.

      • Accepted Existing storage-status tests throw before repository/transaction path. Add authorized repository and transaction failures proving the same mapped status and redaction.
  11. Hosted Review 5 CompletedRuntime 22m 30s
    Found: 4 Accepted: 2/1/1 Routed: 0
    1. Reject missing fields in the terminal binding constraint.Major

      If both binding JSON values are {}, this conjunction evaluates to SQL NULL. PostgreSQL accepts NULL results in CHECK constraints. Missing JSON fields therefore bypass every identity comparison. (postgresql.org)

      For an otherwise valid abort, the shown triggers do not reject these incomplete bindings. The immutable tombstone can then block the request and commit without retaining their required binding evidence.

      Add a forward migration that requires the complete conjunction to evaluate to TRUE. Cover missing and JSON-null values for each required key.

      • Accepted Verified installed terminal binding CHECK permits SQL UNKNOWN for missing or JSON-null required keys; forward-replace it with the complete conjunction IS TRUE and physical missing/null regression.
    2. Bind the APPLIED check to the current operation.Major

      The deferred APPLIED check can match an existing location with the same placement fields but a different initial_location_operation_id. A new operation can use corresponding request and result bytes with its own operation ID, so operation B can commit through operation A's location.

      --- "a/services/world-management-service/src/main/resources/db/migration/V1019__world_canonical_initial_player_location.sql"
      +++ "b/services/world-management-service/src/main/resources/db/migration/V1019__world_canonical_initial_player_location.sql"
      @@ -393,9 +393,10 @@
           IF NEW.outcome = 'APPLIED' AND NOT EXISTS (
               SELECT 1 FROM "${serviceSchema}".character_location l
               WHERE l.canonical_tenant_id = NEW.canonical_tenant_id
                   AND l.playable_state_namespace_id = NEW.playable_state_namespace_id
                   AND l.canonical_game_instance_id = NEW.canonical_game_instance_id
      +            AND l.initial_location_operation_id = NEW.operation_id
                   AND l.canonical_account_id = (convert_from(NEW.request_bytes, 'UTF8')::JSONB->>'canonicalAccountId')::UUID
                   AND l.character_id = (convert_from(NEW.request_bytes, 'UTF8')::JSONB->>'characterId')::UUID
                   AND l.entity_assignment_operation_id = (convert_from(NEW.request_bytes, 'UTF8')::JSONB->>'entityAssignmentOperationId')::UUID
                   AND l.entity_assignment_digest = convert_from(NEW.request_bytes, 'UTF8')::JSONB->>'entityAssignmentDigest'
      
      • Accepted Verified current deferred APPLIED location predicate lacks operation identity equality and no later migration repairs it; forward-add exact current operation binding and physical regression.
    3. Add the current migration anchors.Minor

      Add V1042.4 and V1042.5 to this capability row. The status record identifies both as current fixed-preset guards, but the implementation anchors stop at V1042.3. Readers cannot trace the owner-copy and complete-room-readback protections from this capability status row.

      As per coding guidelines: “Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes.” As per path instructions: “Review docs for canonical-current-state consistency.”

      • Accepted Verified GR-2.1 implementation anchors omit the current V1042.4 and V1042.5 owner guards; add both links without changing capability status.
    4. Extract the duplicated filesystem migration location into one helper.Trivial

      Both Flyway configurations build the same filesystem: path from a working-directory-relative string. The relative path assumes the test runs with the module directory as working directory. A shared constant or helper keeps the two sites aligned.

      Also applies to: 1213-1217

      • Accepted Verified both Flyway sites construct identical filesystem migration location; consolidate into one private helper preserving exact resulting value.
  12. Hosted Review 6 CompletedRuntime 9m 39s
    Found: 0 Accepted: 0/0/0 Routed: 0
    1. No findings recorded for this run
  13. Subagent Review 1 CompletedModel not recorded
    Found: 1 Accepted: 0 Routed: 1
    1. Protected Game Session interceptor names the wrong terminal-proof serviceMinor

      ProtectedGameSessionLoginGrpcInterceptor.java:23 permits GameSessionControlPlaneService/GetCanonicalInitialAdmissionOwnerProof, but the declared proto method belongs to CanonicalInitialAdmissionOwnerProofReadService. If the protected interceptor is composed, the actual dedicated terminal-proof method does not match. At inspected source this interceptor is unregistered; this is a latent composition defect, not evidence of a deployed failure. Correct the full method name at the actual activation owner and verify exact method routing with focused transport negatives.

      Route · PR #3211 → PR #3206 Accepted/FixedRoute inherited Game Session activation correction to Gameplay's current owner. Preserve source attribution and retarget to the bounded activation successor once topology is published; no deployed-failure or fix claim. View routed finding
  14. Subagent Review 2 CompletedModel not recorded
    Found: 1 Accepted: 1 Routed: 0
    1. World predecessor-row transition fence cannot ship as a passive source stageMajor

      V1040__world_run_owned_fixture_canonical_association.sql:499-504 denies lifecycle status/epoch changes for any row carrying run_owned_fixture_binding_sha256, including predecessor rows without canonical fixture authority. Retaining the published Java bootstrap alone therefore cannot preserve baseline behavior after installing this migration. The fence and activation-bearing lifecycle dispatch require a coherent publication/cutover boundary with their real owners. Preserve immutable applied migration identity/bytes and canonical guards; use the owning history/forward-migration procedure where needed. This is a source/activation ordering obligation, not a claim that a deployed database is broken or permission to relax the fence.

      • Accepted Accepted publication-boundary obligation for #3211. Preserve SQL/history and required activation semantics; qualify the owning cutover instead of claiming this is passive or backfilling the whole carrier into the front.
  15. Subagent Review 3 CompletedModel not recorded
    Found: 1 Accepted: 1 Routed: 0
    1. Predecessor fail and terminate require exact-owner qualification before restorationMajor

      WorldManagementGrpcService fail/terminate handlers dispatch without an exact caller gate. AuthTokenInterceptor validates shared identity claims; GrpcPeerIdentityInterceptor exposes TLS identity without method permission checks. Published predecessor ee5d0703efb41df1cedcf5131bac8b3fdee2fb1f has the same dispatch and does not invoke the pinned fixture provider used by prepare/activate. Reopening predecessor failure and cleanup therefore cannot claim owner-only authority. Require fixed Game Session caller and original binding checks at the owning mutation boundary before restoration. Current canonical fixture SQL denies every UPDATE: this inherited qualification gap is not demonstrated active mutation, deployed exploit or external reachability. Preserve complete OLD/NEW canonical absence, canonical guards, no-adoption and immutable migration bytes.

      • Accepted Accepted by Overseer, current-gameplay sequence1550: qualify or correct exact-owner checks before restoring predecessor fail/terminate. Preserve canonical closure and migration history. No fix or deployed exploitability is claimed.
  16. CLI Review 7 CompletedRuntime 4m 05s
    Found: 6 Accepted: 0/5/1 Routed: 0
    1. Remove the stale TERMINATED fast-path gap.Minor

      Line 18 says the TERMINATED fast path returns before it compares terminationRequestId. This change replaces that behavior. WorldLifecycleCommandServiceImpl.beginOrResumeTermination (Lines 1110–1116) now rejects a differing ID. runtime-and-data.md Line 14 already records this correction.

      The two architecture documents now contradict each other. Replace the sentence with the current behavior and with the proof that is still pending.

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

      • Accepted Verified TERMINATED branch compares exact terminationRequestId and rejects mismatch. Remove obsolete contrary claim; preserve genuinely unproved broader terminal retry/Temporal qualification.
    2. Do not hard-code the default migration frontier as 1042.7.Trivial

      Lines 130 and 144 assert latestVersion(...) equals "1042.7" after a migration with a null target. The next added migration fails this test, although the V1042.6 guards remain correct. WorldGuardedAuthoredGraphCapturePostgresIntegrationTest already handles this case with info().pending()).isEmpty(). Use that check for the default frontier. Keep the explicit 1042.5/1042.6 targets for the upgrade steps.

      ♻️ Proposed change

             current.migrate();
             current.validate();
      -      assertThat(latestVersion(upgradeDsl)).isEqualTo("1042.7");
      +      assertThat(current.info().pending()).isEmpty();
      @@
             fresh.migrate();
             fresh.validate();
      -      assertThat(latestVersion(freshDsl)).isEqualTo("1042.7");
      +      assertThat(fresh.info().pending()).isEmpty();
      
      • Accepted Verified two hardcoded1042.7 assertions follow default-target migrations. Require no pending artifacts, retain explicit1042.5/1042.6 and existing migration-history/guard proof.
    3. Add V1042.7 to the storage contract.Minor

      Line 31 lists the forward migrations up to V1042.6. It also says that later lifecycle transitions reject the fixture variant before any effect. The World tracker (world-runtime-and-movement.md Lines 15–16) adds forward V1042.7. V1042.7 allows four retained-bootstrap transitions: PREPARING→ACTIVE, PREPARING→FAILED_PRE_ACTIVATION, ACTIVE→TERMINATING and TERMINATING→TERMINATED. Each transition requires all seventeen canonical fields to be absent.

      The architecture document owns the storage contract, so it must state this exception. If it does not, it contradicts the installed schema. A reader can also misread "fixture variant" as covering retained-bootstrap rows.

      Make these edits:

      • In Line 31, add V1042.7 and its exact transition predicate.
      • State that the canonical fixture variant stays closed.
      • Define the retirement condition for the exception.
      • In the tracker, keep only status and proof.

      As per path instructions: "Flag ... conflicts between architecture docs." Based on learnings: trackers must "not duplicate canonical technical contracts".

      • Accepted Verified V1042.7 Root-approved four exact retained predecessor transitions/all17NULL with original identity. Document at canonical storage owner, preserve canonical/Human refusal and forward retirement.
    4. Correct the claim that fixture activation is unavailable.Minor

      Line 20 says "fixture activation and ACTIVE replay remain unavailable". Two sources contradict this for the retained bootstrap:

      • api-contracts.md Line 290 says the retained fixture PREPARING/ACTIVE dispatch remains available.
      • activatePreparedWorldInstance (Lines 738–754) still activates rows that the legacy fixture bound, and it replays the original epoch.

      Only the canonical fixture activation is closed. Name the two paths separately: activation is unavailable for the canonical fixture, and the predecessor bootstrap keeps its activation and ACTIVE replay.

      As per path instructions: "Flag ... conflicts between architecture docs".

      • Accepted Verified retained legacy activate/replay remains live while explicit canonical variant denies. Clarify paths without changing PREPARING/binding claims or granting canonical activation.
    5. Make the cross-service proof status agree across trackers.Minor

      Line 19 says the reconstructed RunOwnedFixtureOwnerCompositionCrossServiceTest "has compiled but its combined proof has not yet run". world-runtime-and-movement.md Line 11 says otherwise: at candidate 4ae539f…, "one fresh Game Design cross-service case" ran with zero failures. That is the same test.

      One of these statuses is stale. Both trackers point to the same proof, so a reader cannot tell whether the canonical World owner composition is qualified. Update Line 19 with the actual run and its exact source attribution. If the World entry is wrong instead, correct that entry.

      As per coding guidelines: "Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes".

      • Accepted Verified14792 and7500 freshly ran changed Cross case at4ae539/2807, actualGDS/GS transport with reflected controlledWorldowner. Align stale tracker status with exact qualification limits.
    6. Add the new canonical anchors to the GR-2.1 row.Minor

      The gap text says three things are qualified: the explicit canonical World owner, V1042.7, and the source/owner proof. The Implementation-anchor cell does not name the classes or the migration that implement them:

      • RunOwnedCanonicalWorldLaunchEvidenceProvider.java
      • RunOwnedCanonicalWorldLaunchEvidence.java
      • WorldAuthoredSourceIntakeService.java
      • WorldAuthoredVersionIdentityService.java
      • V1042.7__world_predecessor_fixture_lifecycle_staging.sql

      The Proof-anchor cell also omits these tests:

      • RunOwnedCanonicalWorldLaunchEvidenceProviderTest.java
      • RunOwnedCanonicalWorldLaunchEvidenceMtlsIntegrationTest.java
      • WorldCanonicalInstanceExecutionTerminalSchemaPostgresIntegrationTest.java
      • WorldTerminalAndLocationOwnerGuardsPostgresIntegrationTest.java

      The row claims qualification without the anchors that the scan-first contract requires. Add these production and proof anchors.

      As per coding guidelines: "implemented and partial rows name concrete production anchors" and "the capability rows are the complete scan-first status surface".

      • Accepted Verified GR2.1 claims qualified current canonical owner and V1042.7 proof but lacks exact production/proof anchors. Add existing links only, preserve ratings and bounded proof.
  17. Hosted Review 7 CompletedRuntime 11m 50s
    Found: 6 Accepted: 1/1/4 Routed: 0
    1. Update the adjacent termination status before treating this workflow as current.Trivial

      Line 18 still says a TERMINATED fast path accepts a different terminationRequestId. The updated design/architecture/microservices/world-management-service/runtime-and-data.md says the source-first correction rejects that retry. Reconcile Line 18 with the implemented behavior and its proof status. As per path instructions: “Flag obsolete transitional guidance, conflicts between architecture docs.”

      • Accepted Valid stale TERMINATED retry guidance; matching identity retained, mismatch rejected. Existing local CLI doc correction covers behavior, proof scope requires alignment.
    2. Do not hard-code the current default frontier as 1042.7.Trivial

      current and fresh migrate with a null target, which means the latest migration. The assertions then require that latestVersion is exactly "1042.7". The next World migration (for example V1042.8 or V1043) will fail this test even if the V1042.6 guards are unchanged. These cases test the default frontier, so either pin the target or assert only the guard properties.

      ♻️ Proposed change

      -      Flyway current = flyway(upgradeSource, upgradeSchema, null, worldLocation, sagaLocation);
      +      Flyway current = flyway(upgradeSource, upgradeSchema, null, worldLocation, sagaLocation);
             current.migrate();
             current.validate();
      -      assertThat(latestVersion(upgradeDsl)).isEqualTo("1042.7");
      +      assertThat(current.info().pending()).isEmpty();
      +      assertThat(MigrationVersion.fromVersion(latestVersion(upgradeDsl)))
      +          .isGreaterThanOrEqualTo(MigrationVersion.fromVersion("1042.7"));
      @@
             fresh.validate();
      -      assertThat(latestVersion(freshDsl)).isEqualTo("1042.7");
      +      assertThat(latestVersion(freshDsl)).isEqualTo(latestVersion(upgradeDsl));
      

      Also applies to: 141-144

      • Accepted Valid moving-default-frontier assertion. Local CLI fix replaces hardcoded1042.7 with no-pending checks, retains explicit historical targets and exact guard/history proof; focused physical PG passed.
    3. Allow ordinary activation replay after commit.Major

      WorldLifecycleCommandServiceImpl.activatePreparedWorldInstance rejects an ACTIVE row at epoch 2 when the retry uses its original PREPARING epoch 1. The Temporal activation path can retry with that same epoch after a response loss. Return the existing ACTIVE snapshot when the requested epoch is exactly one less than the current epoch.

      --- "a/services/world-management-service/src/main/java/net/firedevops/firemud/worldmanagement/service/impl/WorldLifecycleCommandServiceImpl.java"
      +++ "b/services/world-management-service/src/main/java/net/firedevops/firemud/worldmanagement/service/impl/WorldLifecycleCommandServiceImpl.java"
      @@ -752,11 +752,16 @@
               return snapshot(worldInstance);
             }
             requireLifecycleEpoch(worldInstance, expectedLifecycleEpoch);
           } else {
             if (fixtureModeEnabled()) throw fixtureIdentityConflict();
      +      if (STATUS_ACTIVE.equals(worldInstance.getStatus())
      +          && expectedLifecycleEpoch > 0L
      +          && worldInstance.getLifecycleEpoch() == expectedLifecycleEpoch + 1L) {
      +        return snapshot(worldInstance);
      +      }
             requireLifecycleEpoch(worldInstance, expectedLifecycleEpoch);
             if (STATUS_ACTIVE.equals(worldInstance.getStatus())) return snapshot(worldInstance);
           }
           if (!STATUS_PREPARING.equals(worldInstance.getStatus())) {
             throw new IllegalArgumentException(
                 "INVALID_WORLD_INSTANCE_STATE: world instance is not in PREPARING state");
      
      • Accepted Valid ordinary activation original-epoch retry defect after ACTIVE commit. Permit exact preceding positive epoch replay without writes; preserve same-epoch and all fixture guards, add focused tests.
    4. Reject affected units that have no owner field.Minor

      If unit->>'owner' is absent or JSON null, unit->>'owner' <> 'WORLD_MANAGEMENT' evaluates to NULL. The IF then does not raise. The loop treats the unit as World-owned. With a missing scopeType, the unit goes to the scope branch. A missing scope row gives observed_epoch = 0, so a unit with expectedEpoch 0 passes. The immutable tombstone can then keep a malformed affected-unit vector. Use IS DISTINCT FROM here. Also require a known scopeType.

      🛡️ Proposed fix

      --- "a/services/world-management-service/src/main/resources/db/migration/V1010__world_draft_terminal_outcomes.sql"
      +++ "b/services/world-management-service/src/main/resources/db/migration/V1010__world_draft_terminal_outcomes.sql"
      @@ -116,10 +116,12 @@
           END IF;
       
           FOR unit IN SELECT value FROM jsonb_array_elements(NEW.affected_units_json) LOOP
      -        IF unit->>'owner' <> 'WORLD_MANAGEMENT' THEN
      +        IF unit->>'owner' IS DISTINCT FROM 'WORLD_MANAGEMENT'
      +            OR unit->>'scopeType' IS NULL
      +            OR jsonb_typeof(unit->'expectedEpoch') IS DISTINCT FROM 'number' THEN
                   RAISE EXCEPTION 'World terminal affected-unit vector contains a foreign owner'
                       USING ERRCODE = '23514';
               END IF;
               expected_epoch := (unit->>'expectedEpoch')::BIGINT;
               IF unit->>'scopeType' = 'AGGREGATE' THEN
                   IF unit->>'aggregateId' ~ '^[1-9][0-9]*$' THEN
      

      Because this migration may already be applied, put the change in a forward CREATE OR REPLACE migration.

      • Accepted Valid NULL-sensitive affected-unit owner and unrecognized scope/epoch acceptance. Forward1042.8 repairs routine preserving published SQL, exact owner locks, history and all other guards; physical migration/refusal proof required.
    5. Align termination proof attribution.Trivial

      The current-status record reports qualified predecessor failure and termination owner boundaries. Both later status statements call owner, socket, and PostgreSQL proof pending without identifying the narrower unrun cases.

      • design/project-management/implementation-tracking/world-runtime-and-movement.md#L84-L84: identify the terminal-request-identity cases still pending, or record their completed proof.
      • design/architecture/microservices/world-management-service/runtime-and-data.md#L14-L14: use the same completed-versus-pending scope.

      As per coding guidelines: “Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes.”

      📍 Affects 2 files

      • design/project-management/implementation-tracking/world-runtime-and-movement.md#L84-L84 (this comment)
      • design/architecture/microservices/world-management-service/runtime-and-data.md#L14-L14
      • Accepted Valid contradictory broad pending proof statements. Existing source unit cases cover matching/mismatching IDs; align bounded predecessor unit/native proof and remaining Temporal/general workflow gap.
    6. Update the reconstructed cross-service proof status.Trivial

      This sentence says the changed RunOwnedFixtureOwnerCompositionCrossServiceTest has only compiled. The current-status entry in design/project-management/implementation-tracking/world-runtime-and-movement.md reports one fresh Game Design cross-service case on the source-first World candidate. Mark the compile-only statement as historical and attribute the later run to its exact candidate. Keep the controlled World peer/certificate limitation. As per coding guidelines: “Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes.”

      • Accepted Valid stale compile-only composition claim; local CLI correction records executions14792 and7500 with exact World/GDS sources and controlled World peer limitation.
  18. CLI Review 8 CompletedRuntime 3m 32s
    Found: 8 Accepted: 0/6/2 Routed: 0
    1. Remove the stale "terminal request-identity mismatch" sentence in Line 15.Minor

      Line 14 now says the termination fast path compares terminationRequestId and rejects a different identity. Line 15 still says "This does not close the terminal request-identity mismatch above." The two sentences contradict each other. The path instructions require canonical current-state consistency. Delete that clause from Line 15, or reword it to point only to the Temporal lost-response gaps.

      As per path instructions: "Review docs for canonical-current-state consistency. Flag obsolete transitional guidance".

      • Accepted Accepted stale-status correction: terminal request-ID mismatch is now rejected; remove obsolete open-gap claim while retaining Temporal gaps.
    2. Align the terminal-identity mismatch error code with the target contract.Minor

      The new TERMINATED fast path rejects a different terminationRequestId with INVALID_WORLD_INSTANCE_STATE. The target termination contract (world-creation-workflow.md Line 193) requires IDEMPOTENCY_CONFLICT without a lifecycle change. Callers that classify error codes cannot tell an idempotency conflict from an ordinary state error. The status paragraph documents the current code without marking it as drift.

      • services/world-management-service/src/main/java/net/firedevops/firemud/worldmanagement/service/impl/WorldLifecycleCommandServiceImpl.java#L1121-L1124: change the thrown prefix to IDEMPOTENCY_CONFLICT:, and update the mismatched-ID unit assertion to match.
      • design/architecture/microservices/world-management-service/world-creation-workflow.md#L18-L18: state the same error code as the target contract. If the code keeps INVALID_WORLD_INSTANCE_STATE, record the difference as an explicit open gap.
      • Accepted Accepted canonical contract convergence: mismatched TERMINATED retry returns IDEMPOTENCY_CONFLICT; preserve terminal row and side-effect counts.
    3. The activation retry behavior changed, but three docs still describe the old behavior.Minor

      An ordinary ACTIVE row now returns its snapshot when expectedLifecycleEpoch equals the current epoch or the current epoch minus one. A lost-response activation retry no longer fails as stale. These unchanged docs still say "activation/failure validate the supplied epoch before checking their terminal state, so a lost response retries stale":

      • runtime-and-data.md Line 18
      • world-creation-workflow.md Line 173
      • world-runtime-and-movement.md Lines 152 and 184

      Update those docs. They should say that activation now tolerates an exact retry with the preparing epoch, and that the failure path and StartSession ACTIVE-aware compensation remain open. Also confirm that WorldLifecycleCommandServiceImplTest covers both the accepted epoch and an older rejected epoch.

      • Accepted Accepted activation retry status alignment: ACTIVE current or immediately preceding positive epoch succeeds; retain actual failure/Temporal gaps.
    4. Line 83 says the proof is pending, but Line 84 records completed unit coverage.Minor

      Line 83 says "current proof is pending as recorded above." Line 84 says the WorldLifecycleCommandServiceImplTest unit cases cover matching replay and mismatched-ID rejection. Line 84 also records a passing V1042.8 probe. Reword Line 83 so it matches Line 84: unit proof exists, and socket, physical PostgreSQL, and Temporal proof remain unqualified.

      As per coding guidelines: "Keep its status, implementation record, validation, gaps… sections aligned".

      • Accepted Accepted proof-attribution correction: state matching/mismatch unit coverage and retain physical socket/PostgreSQL/Temporal limitations.
    5. The new heading duplicates an existing anchor.Minor

      The heading "Fixed fixture source and Version reads" (Line 15) and the existing heading "Fixed-fixture source and version reads" (Line 73) both produce the anchor #fixed-fixture-source-and-version-reads. GitHub gives the first heading the plain anchor and the second heading the -1 suffix. The Fixed-fixture source and Version reads capability row (Line 127) therefore now links to this new section, not to the section at Line 73. The two sections also record overlapping proof (GDS 46074cf…, the 519/141 cases, and the default-off scope). Merge the new content into the section at Line 73, or rename one heading and update the link.

      Based on learnings: "do not duplicate canonical technical contracts… use this documentation only to track implementation-specific status".

      • Accepted Accepted duplicate-anchor correction: rename the first heading Source-first World composition proof, preserving the canonical fixed-fixture anchor.
    6. Rename or fix the "changed state" loop so that it tests the lifecycle state alone.Trivial

      The loop has two iterations. The first iteration changes only the lifecycle state to DRAFT. The second iteration keeps PUBLISHED and changes only the epoch by +1. The variable changedState therefore does not describe the second case. That case is an epoch change, not a state change. The two cases are still useful. Name them explicitly so that a later edit does not drop the epoch-only case by mistake.

      ♻️ Proposed clarification

      -    for (VersionLifecycleState changedState :
      -        List.of(
      -            VersionLifecycleState.VERSION_LIFECYCLE_STATE_DRAFT,
      -            VersionLifecycleState.VERSION_LIFECYCLE_STATE_PUBLISHED)) {
      +    // Case 1: lifecycle state changed (DRAFT, same epoch).
      +    // Case 2: epoch changed (PUBLISHED, epoch + 1).
      +    for (VersionLifecycleState retainedState :
      +        List.of(
      +            VersionLifecycleState.VERSION_LIFECYCLE_STATE_DRAFT,
      +            VersionLifecycleState.VERSION_LIFECYCLE_STATE_PUBLISHED)) {
      
      • Accepted Accepted clarity fix: DRAFT replay retains its epoch while PUBLISHED advances it; rename loop variable retainedState without changing cases.
    7. Assert the specific denial for player-context calls.Trivial

      The old test injected SessionContext inside the server handler, so the player-context path always ran. The new test sends a non-internal JWT from the client and checks only hasError(). An unrelated validation error produces the same result, for example a stale epoch, a missing instance or a descriptor mismatch. In that case the test passes but does not prove the player-context guard.

      Assert the expected ErrorDetail code for all three cases. Also assert descriptorReads for the termination case, as the peer-failure cases do.

      ♻️ Example for the failure case

             assertThat(playerContextFailure.hasError()).isTrue();
      +      assertThat(playerContextFailure.getError().getCode())
      +          .isEqualTo("<expected internal-caller denial code>");
             assertThat(worldSaves).hasValue(writesAfterPrepare);
      

      Also applies to: 394-403, 662-668

      • Accepted Accepted denial proof strengthening: assert INVALID_ARGUMENT on all three player-context calls and no descriptor read during denied termination.
    8. Use the required entry format for the new observations.Minor

      The file defines this format: "YYYY-MM-DD: short title" with Context, Observation, and Expected pattern sub-bullets. The new entries do not follow it:

      • Line 274 has no Observation bullet.
      • Line 279 does not put the date in backticks and has no Context or Expected pattern bullets. It uses Guidance instead.
      • Lines 331–339 are single prose paragraphs with no structure.

      Rewrite each entry as a dated title plus the three required sub-bullets. Put status text in an extra bullet only if it is needed. For Line 337, check whether it records a reusable lesson or only a clarification of a review event. The file says routine review findings belong in review records.

      As per coding guidelines: "Entry format: YYYY-MM-DD: short title — Context / Observation / Expected pattern".

      Also applies to: 331-339

      • Accepted Accepted bounded observation formatting for entries added by this PR only; retain historical content and coherent checkpoint pending-proof clarification.
  19. Hosted Review 8 CompletedRuntime 9m 27s
    Found: 3 Accepted: 0/3/0 Routed: 0
    1. Merge the duplicate "Fixed fixture source and Version reads" sections.Minor

      Line 15 adds ### Fixed fixture source and Version reads. Line 73 already has ### Fixed-fixture source and version reads. Both headings produce the GitHub anchor #fixed-fixture-source-and-version-reads. The first occurrence gets the anchor, so the line 127 capability row links to the line 15 section. That row's proof cell expects "component and receiver proof", which line 73 holds.

      The two sections also give different proof scopes for the same capability:

      • Line 19 gives 510 unit and 142 native cases (historical).
      • Line 75 gives 519 unit and 141 native cases at 46074cf….

      Merge the line 15 text into the line 73 section. If you keep both sections, rename one heading so its anchor is unique, and point the line 127 link at the intended section.

      As per coding guidelines: "Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes."

      • Accepted Accepted duplicate-anchor fix, independently corroborating CLI finding3; local eb0 renames first heading and preserves intended canonical capability anchor.
    2. Do not attribute the canonical fixture to the generic prepare command.Minor

      The first sentence says the default-off run-owned fixture "uses the existing synchronous prepare command". The other updated World documents give a different account:

      • api-contracts.md line 290 and runtime-and-data.md line 19 say the generic prepare RPC keeps predecessor dispatch.
      • They also say the generic prepare RPC does not select canonical materialization.
      • WorldLifecycleCommandServiceImpl.prepareRunOwnedFixture is package-private and is not reached from prepareWorldInstance.

      Line 20 then mentions "the explicit canonical fixture variant" without separating it from the predecessor. Rewrite the paragraph so it separates the two paths:

      • The predecessor bootstrap uses PrepareWorldInstance and its retained activation/replay behavior.
      • The explicit canonical owner operation is prepare-only and is not dispatched by the generic RPC.

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

      • Accepted Accepted owner-boundary clarification: generic PrepareWorldInstance retains predecessor dispatch; explicit canonical operation is prepare-only and not RPC-selected.
    3. Align the mismatched terminal-retry error code with the termination contract.Minor

      The new TERMINATED fast path rejects a different terminationRequestId with INVALID_WORLD_INSTANCE_STATE. The canonical contract in design/architecture/microservices/world-management-service/world-creation-workflow.md (line 193) requires IDEMPOTENCY_CONFLICT. The implementation-status text repeats the current code without marking it as a gap. Retry callers that branch on idempotency conflicts will misclassify this outcome.

      • services/world-management-service/src/main/java/net/firedevops/firemud/worldmanagement/service/impl/WorldLifecycleCommandServiceImpl.java#L1121-L1124: throw with the IDEMPOTENCY_CONFLICT: prefix, then update fixtureTerminatedReplayRequiresTheOriginalRequestIdAndDoesNotRepeatEffects to assert that prefix.
      • design/architecture/microservices/world-management-service/world-creation-workflow.md#L18-L18: state the implemented code. If the code is unchanged, record the divergence from line 193 as an explicit gap.

      🐛 Proposed fix

      -            "INVALID_WORLD_INSTANCE_STATE: world instance terminated under a different request id");
      +            "IDEMPOTENCY_CONFLICT: world instance terminated under a different request id");
      

      As per path instructions: "Flag changes that violate documented FireMUD invariants" and "conflicts between architecture docs".

      📍 Affects 2 files

      • services/world-management-service/src/main/java/net/firedevops/firemud/worldmanagement/service/impl/WorldLifecycleCommandServiceImpl.java#L1121-L1124 (this comment)
      • design/architecture/microservices/world-management-service/world-creation-workflow.md#L18-L18
      • Accepted Accepted canonical IDEMPOTENCY_CONFLICT mismatch prefix, independently corroborating CLI finding5; local eb0 code/unit/docs implement it.
  20. CLI Review 9 CompletedRuntime 4m 20s
    Found: 4 Accepted: 0/3/0 Routed: 0
    1. Verify that every worlddraftgraphapplication writer produces a fresh graph/3 with an empty closure.Major

      Verify that every `world_draft_graph_application` writer produces a fresh graph/3 with an empty closure.

      The header says the guard is "additive", but the trigger fires BEFORE INSERT on every world_draft_graph_application row without a filter. Each insert must now meet all of these conditions:

      • The owner is OPEN.
      • Exactly one freshGraphDeclaration exists.
      • graph_json.schemaVersion = '3'.
      • Every mapped row was freshly created.
      • All seven family counts are 0.

      If any existing application path (an incremental Draft commit, a non-fresh graph, or a selected-inbound family with a nonzero count) inserts into this table, that path now fails with 23514. The authoring workflow is then blocked. The tests in this context prove only the denial cases and the fixture paths.

      Confirm that every producer of world_draft_graph_application emits a fresh graph/3 with the empty seven-family declaration. If not every producer does, add a WHEN clause to the trigger, or check that the declaration exists before the trigger enforces the empty-only closure.

      • Rejected Verified current/3217 no application-table writer; sole3220 unregistered writer requires fresh graph/3 and seven zero-count closure. Ordinary incremental Draft writes other tables. Global refusal matches target; missing-declaration bypass would weaken it.
    2. Stop the Game Session client from being created again after @PreDestroy.Minor

      closeGameSessionFixtureClient() sets gameSessionFixtureClient to null. It does not record that the provider is closed. If requireAuthenticatedEvidence() runs after shutdown starts, gameSessionFixtureClient() creates and initializes a new CanonicalGameInstanceLaunchAssociationClient. No later call closes that client, so its channel and certificate watcher leak. Context shutdown runs in parallel with in-flight gRPC calls, so this can happen.

      WorldLifecycleCommandServiceImpl already handles this case with fixtureOwnersClosed. Add the same guard here.

      Proposed fix

         private volatile CanonicalGameInstanceLaunchAssociationClient gameSessionFixtureClient;
      +  private boolean gameSessionFixtureClientClosed;
      @@
         private synchronized CanonicalGameInstanceLaunchAssociationClient gameSessionFixtureClient() {
      +    if (gameSessionFixtureClientClosed) {
      +      throw invalidEvidence();
      +    }
           if (gameSessionFixtureClient != null) {
      @@
         public synchronized void closeGameSessionFixtureClient() {
      +    gameSessionFixtureClientClosed = true;
           CanonicalGameInstanceLaunchAssociationClient current = gameSessionFixtureClient;
      

      The cross-service test builds a new provider after it closes the old one. That test does not depend on reopening a closed provider.

      • Accepted Verified monotonic shutdown fence missing; prevent lazy recreation after PreDestroy and cover close-before-use/idempotent-close/reuse refusal.
    3. Merge the two #3210 pending-proof entries. The first entry contradicts the second.Minor

      This PR adds both entries. Line 341 says "The publication-order mistake remains recorded". Line 348 says that publishing a coherent CI checkpoint with an explicit pending-check limitation is permitted and is not a publication-safety violation. A reader cannot tell whether the #3210 publication was a mistake.

      The coding guideline requires a contributor to "check for an equivalent existing entry first" and to "update the outcome after recovery". Neither entry is a prior observation yet, so merging them does not break the append-only rule. Keep one dated entry. Its "Current status" line must record the Root clarification. Remove the "mistake" wording, or state exactly which part of the ordering was incorrect.

      As per coding guidelines: "check for an equivalent existing entry first, record the consequence and unknowns, update the outcome after recovery".

      • Accepted Accept contradictory guidance correction; preserve both dated historical events per AGENTS, explicitly record initial misclassification and later Root clarification rather than deleting history.
    4. Do not compare tuple xmin with the top-level transaction ID.Minor

      pg_current_xact_id() and txid_current() return the top-level XID. A tuple inserted inside a subtransaction (savepoint, jOOQ nested transaction, Spring PROPAGATION_NESTED, or a PL/pgSQL block with an EXCEPTION clause) has the subtransaction XID as its xmin. In that case these guards reject a valid same-transaction write with NO_DATA_FOUND or 23514. Other predicates already prove the same-transaction binding at each site. These migrations are hash-pinned, so make the repair in a forward migration. Confirm whether any caller writes these rows inside a subtransaction.

      • services/world-management-service/src/main/resources/db/migration/V1026__world_selected_publication_account_binding.sql#L50-L54: remove the a.xmin::TEXT = (txid_current() % 4294967296)::TEXT predicate and keep attempt_created_full_xid = pg_current_xact_id().
      • services/world-management-service/src/main/resources/db/migration/V1028__selected_publication_artifact_inventory.sql#L65-L69: remove the same xmin predicate from the attempt lookup in world_validate_selected_publication_artifact_inventory.
      • services/world-management-service/src/main/resources/db/migration/V1041__world_run_owned_fixed_preset_preparation.sql#L615-L617: remove the retained.xmin predicate and keep the to_jsonb(retained) = to_jsonb(NEW) row-image binding.
      • Accepted Valid subxid false-negative; naive xmin removal unsafe because full-XID default is caller-overridable. Repair forward with protected server insert stamp and retain immutable/fresh owner guarantees, then subtransaction proof.
  21. Hosted Review 9 CompletedRuntime 10m 23s
    Found: 6 Accepted: 0/4/2 Routed: 0
    1. Move the file to the directory that matches its package.Trivial

      The file declares package net.firedevops.firemud.worldmanagement.service.impl;. It is stored in integration/net/firedevops/firemud/worldmanagement/. The test needs this package because it uses WorldManagementGrpcService without an import. javac still compiles the file. IDE navigation, package-scoped tooling, and the PMD TypeNameMismatch check all expect the directory to match the package. The mismatch can also hide this test next to the sibling RunOwnedWorldLaunchEvidenceMtlsIntegrationTest in worldmanagement/.

      Move the file to services/world-management-service/src/test/java/integration/net/firedevops/firemud/worldmanagement/service/impl/RunOwnedCanonicalWorldLaunchEvidenceMtlsIntegrationTest.java. Keep the package declaration unchanged.

      • Accepted Move integration test to existing declared service.impl package directory and update tracker link; preserve test contents.
    2. Remove the duplicate findByTenantIdAndGameInstanceIdForUpdate stub.Trivial

      Lines 275–276 and 277–278 contain the same stub. The second stub has no effect. Delete one of them.

      ♻️ Proposed fix

      --- "a/services/world-management-service/src/test/java/unit/net/firedevops/firemud/worldmanagement/service/impl/WorldLifecycleCommandServiceImplTest.java"
      +++ "b/services/world-management-service/src/test/java/unit/net/firedevops/firemud/worldmanagement/service/impl/WorldLifecycleCommandServiceImplTest.java"
      @@ -272,10 +272,8 @@
           instance.setStatus("PREPARING");
           when(worldInstanceRepository.findByTenantIdAndGameInstanceId(42L, 101L))
               .thenReturn(Optional.of(instance));
           when(worldInstanceRepository.findByTenantIdAndGameInstanceIdForUpdate(42L, 101L))
               .thenReturn(Optional.of(instance));
      -    when(worldInstanceRepository.findByTenantIdAndGameInstanceIdForUpdate(42L, 101L))
      -        .thenReturn(Optional.of(instance));
           when(worldInstanceRepository.save(any(WorldInstance.class)))
               .thenAnswer(invocation -> invocation.getArgument(0));
       
      
      • Accepted Remove one adjacent duplicate identical locking-repository stub; retain behavior.
    3. Reject DELETE and TRUNCATE on character_location.Minor

      trg_world_guard_initial_character_location fires only on BEFORE INSERT OR UPDATE. The table has no DELETE row guard and no TRUNCATE statement guard. The service owner can therefore delete an APPLIED initial placement. The retained world_canonical_initial_player_location_operation row would then say APPLIED, but no location row would exist.

      The deferred check in world_require_initial_location_operation_result runs only when the operation is inserted. It does not detect a later deletion.

      The other evidence tables in this PR reject DELETE and TRUNCATE (for example, the activation, terminal and hold tables). world_canonical_initial_player_location_operation also lacks a TRUNCATE guard.

      V1019 may already be applied. Add the guards in a forward migration:

      🛡️ Proposed forward migration

      -- [jooq ignore start]
      CREATE FUNCTION world_reject_initial_character_location_removal() RETURNS TRIGGER
      LANGUAGE plpgsql SECURITY DEFINER SET search_path = pg_catalog, "${serviceSchema}"
      AS $$
      BEGIN
          RAISE EXCEPTION 'World initial placement evidence is immutable and retained' USING ERRCODE = '55000';
      END;
      $$;
      REVOKE ALL ON FUNCTION world_reject_initial_character_location_removal() FROM PUBLIC;
      CREATE TRIGGER trg_world_initial_character_location_no_delete
          BEFORE DELETE ON character_location
          FOR EACH ROW EXECUTE FUNCTION world_reject_initial_character_location_removal();
      CREATE TRIGGER trg_world_initial_character_location_no_truncate
          BEFORE TRUNCATE ON character_location
          FOR EACH STATEMENT EXECUTE FUNCTION world_reject_initial_character_location_removal();
      -- [jooq ignore stop]
      
      • Accepted character_location lacks DELETE/TRUNCATE retention guards; add forward guards and physical proof. Existing V1019 operation-table TRUNCATE guard remains unchanged; no duplicate trigger.
    4. Remove the xmin predicate from the start-location guard.Minor

      world_guard_preparation_start_location() still compares the preparation row's xmin with txid_current(). A preparation inserted in a child transaction can therefore fail when the guard selects the row. V1042.9 removes this predicate only from world_retain_preparation_start_location().

       $migration$;
       
      +DO $migration$
      +DECLARE
      +    original TEXT;
      +    xmin_anchor TEXT := $anchor$
      +            AND p.xmin::TEXT=(txid_current() % 4294967296)::TEXT$anchor$;
      +BEGIN
      +    SELECT pg_get_functiondef(
      +        '"${serviceSchema}".world_guard_preparation_start_location()'::REGPROCEDURE)
      +        INTO STRICT original;
      +    IF (length(original)-length(replace(original,xmin_anchor,'')))/length(xmin_anchor) <> 1 THEN
      +        RAISE EXCEPTION 'Expected exactly one fixture preparation start-location guard xmin predicate';
      +    END IF;
      +    EXECUTE replace(original, xmin_anchor, '');
      +END;
      +$migration$;
      +
       -- [jooq ignore stop]
      
      • Accepted Schema4 selector guard still compares subtransaction xmin to top XID. Correct through a new forward migration preserving same-creation/anti-late-attachment and immutable historical rows; do not edit V1042.9.
    5. Merge the duplicate #3210 entry, and restore the removed Actions entry.Minor

      The entry at lines 346–350 repeats the clarification that lines 339–343 already record: a coherent checkpoint with a pending-check limitation is permitted. The file rule says: "check for an equivalent existing entry first". Merge the 346–350 text into the 339–343 entry.

      The line-change details also report that this PR removed the native Actions pull_requests: [] observation. That removal does not fit ordinary autonomous work. The file says: "do not silently rewrite or delete prior entries". Removal is permitted only under health-check or Overseer stewardship with evidence. Restore the entry, or cite the authorizing evidence.

      As per coding guidelines: "During ordinary autonomous work, append dated entries; do not silently rewrite or delete prior observations."

      • Accepted Consolidate two dated #3210 entries under explicit Root e63d7300 bounded stewardship, preserving context/correction. Separate removal claim is false: unchanged native Actions observation remains present.
    6. Preserve retryable gRPC status failures from owner reads.Minor

      When requireAuthenticatedEvidence() is called, StatusRuntimeException from either owner read reaches the inner catch. The catch converts it to InvalidRunOwnedCanonicalWorldLaunchEvidenceException, which extends IllegalArgumentException. A caller cannot retry based on UNAVAILABLE or DEADLINE_EXCEEDED.

      Preserve those retryable statuses, while continuing to classify non-transport gRPC errors as invalid evidence:

      --- "a/services/world-management-service/src/main/java/net/firedevops/firemud/worldmanagement/data/RunOwnedCanonicalWorldLaunchEvidenceProvider.java"
      +++ "b/services/world-management-service/src/main/java/net/firedevops/firemud/worldmanagement/data/RunOwnedCanonicalWorldLaunchEvidenceProvider.java"
      @@ -225,10 +225,17 @@
                   worldPins.leafSha256(),
                   worldPins.caSha256(),
                   gameSessionAssociation);
      -      } catch (RuntimeException exception) {
      +      } catch (io.grpc.StatusRuntimeException transportFailure) {
      +        io.grpc.Status.Code code = transportFailure.getStatus().getCode();
      +        if (code == io.grpc.Status.Code.UNAVAILABLE
      +            || code == io.grpc.Status.Code.DEADLINE_EXCEEDED) {
      +          throw transportFailure;
      +        }
      +        throw invalidEvidence();
      +      } catch (RuntimeException exception) {
               if (exception instanceof InvalidRunOwnedCanonicalWorldLaunchEvidenceException invalid) {
                 throw invalid;
               }
               throw invalidEvidence();
             }
           } catch (RuntimeException exception) {
      
      • Accepted Preserve original UNAVAILABLE/DEADLINE_EXCEEDED at both authenticated owner reads; retain invalid-evidence denial otherwise, with public-provider proof.
  22. Hosted Review 10 CompletedRuntime 9m 57s
    Found: 6 Accepted: 0/4/2 Routed: 0
    1. The current-frontier "wrong-checkpoint" case does not test the checkpoint comparison.Trivial

      The comment at Line 941 says this block repeats the wrong-checkpoint denial at the current frontier. The candidate at Line 994 still carries digest schema 3. V1034 therefore rejects it at the first gate (requires selected closure schema 4). This is the same branch and the same message as the schema-2 case at Line 978. The comment at Line 992 admits this.

      As a result, no current-frontier assertion reaches the V1034 Selected graph/4 capture differs from exact FROZEN source and checkpoint branch. This repository requires focused proof claims, and this block does not deliver the proof it claims.

      Do one of the following:

      • Submit a digest-4 candidate with the altered appliedCommitId. Then assert the "differs from exact FROZEN source and checkpoint" message.
      • Remove "wrong-checkpoint" from the Line 941 comment.

      Proposed test adjustment

      -              capture.appliedCommitId() + "-current-mismatch",
      -              capture.contentDigest(),
      -              3,
      +              capture.appliedCommitId() + "-current-mismatch",
      +              capture.contentDigest(),
      +              4,
                     capture.suppliedOwnedAffectedTuples());
      @@
      -          .hasMessageContaining("New canonical graph capture requires selected closure schema 4")
      +          .hasMessageContaining("differs from exact FROZEN source and checkpoint")
      

      Also applies to: 992-1021

      • Accepted Current wrong-checkpoint case only exercises schema3 rejection. Use test-local schema4 JSON (production DTO remains2/3), preserve altered checkpoint and assert exact comparison refusal.
    2. Record the Hosted 553 repair qualification, or mark it as pending against a named source.Minor

      Line 11 says the V1042.10/V1042.11 repair is "prepared with qualification pending". It also says results "must be recorded before this repair is described as qualified." The PR checkpoint b24a57c869224ef16295c59e250d29cacb30c99c reports the following results:

      • a passing full World check with 343 fresh unit and 87 fresh integration cases;
      • a fresh isolated schema-4 selector case;
      • default-off fresh and restart LOGIN/PLAY/LOOK runs.

      Line 13 still reports the earlier 86-case PostgreSQL run as the newest storage proof. The tracker therefore does not show the current validation state for this domain boundary. Do one of these:

      • Record the b24a57c… results with their exact attribution and scope limits.
      • Name the exact source that remains unqualified.

      As per coding guidelines: "Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes."

      • Accepted Record actual b24 full343unit87native and rebuilt fresh/restart default-off proof at owning tracker; current pending wording predates execution.
    3. Update the proof scope for TERMINATED request-identity replay.Minor

      Line 18 says the proof "does not newly qualify terminal-identity socket or physical PostgreSQL behavior". This PR adds that proof:

      • RunOwnedWorldLaunchEvidencePostgresIntegrationTest.fixtureTerminationHonorsPhysicalHoldAndRetainsEntityCleanupFailureForExactReplay runs on native PostgreSQL. It covers the same-ID replay without a row-version change and the rejection of a different terminationRequestId.
      • RunOwnedWorldLaunchEvidenceMtlsIntegrationTest covers the same replay and conflict over the authenticated mTLS socket.

      These tests use controlled predecessor fixtures, and that limit still holds. Restate the limit in those terms. Remove the claim that no socket or PostgreSQL terminal-identity proof exists. Keep the remaining gaps: frozen-owner snapshot, per-owner acknowledgement, final CAS, and Temporal recovery. As per path instructions: "Review docs for canonical-current-state consistency."

      • Accepted Correct stale proof scope: actual controlled predecessor PG and authenticated mTLS prove exact termination-ID replay/conflict; preserve full owner/CAS/Temporal gaps.
    4. Add the V1042.8–V1042.11 migration anchors to the GR-2.1 row.Minor

      The implementation-anchor cell lists migrations only through V1042.6. The narrative cell names V1042.7. Lines 11, 13 and 89–90 describe V1042.8 through V1042.11 as current guards for this capability:

      • V1042.8: terminal affected-unit validation.
      • V1042.9: same-transaction guard subtransactions.
      • V1042.10: initial-location retention guards.
      • V1042.11: preparation full-transaction stamp.

      A reader cannot trace these protections from the capability row. The capability contract requires partial rows to name concrete production anchors.

      📝 Proposed anchors to append after the V1042.6 entry

      -...; [V1042.6 terminal and location ownership](../../../services/world-management-service/src/main/resources/db/migration/V1042.6__world_terminal_binding_and_location_operation_checks.sql); [V23.0.1 fixture binding]...
      +...; [V1042.6 terminal and location ownership](../../../services/world-management-service/src/main/resources/db/migration/V1042.6__world_terminal_binding_and_location_operation_checks.sql); [V1042.7 predecessor lifecycle staging](../../../services/world-management-service/src/main/resources/db/migration/V1042.7__world_predecessor_fixture_lifecycle_staging.sql); [V1042.8 terminal affected-unit validation](../../../services/world-management-service/src/main/resources/db/migration/V1042.8__world_terminal_affected_unit_validation.sql); [V1042.9 guard subtransactions](../../../services/world-management-service/src/main/resources/db/migration/V1042.9__world_same_transaction_guard_subtransactions.sql); [V1042.10 initial-location retention](../../../services/world-management-service/src/main/resources/db/migration/V1042.10__world_initial_location_retention_guards.sql); [V1042.11 preparation transaction stamp](../../../services/world-management-service/src/main/resources/db/migration/V1042.11__world_preparation_full_transaction_stamp.sql); [V23.0.1 fixture binding]...
      

      As per coding guidelines: "implemented and partial rows name concrete production anchors" and "Keep its status, implementation record, validation, gaps, decisions, and service-map sections aligned when a domain boundary changes."

      • Accepted Add concrete current V1042.7-.11 implementation links in GR2.1 without changing capability status or duplicating canonical contract.
    5. Bind the start-location receipt digests to their bytes.Minor

      The APPLIED guard checks receipt.receipt_digest against a format regex only. Neither the receipt guard nor the application guard computes sha256(receipt_bytes). The same gap applies to account_binding_digest on world_draft_start_location_receipt. It also applies to account_binding_digest and result_digest on world_draft_graph_application in V1012.

      The repository convention is 'sha256:' || encode(sha256(bytes), 'hex'). V1026 line 66 enforces that convention, and the test fixture builds receiptDigest the same way.

      A direct SQL writer can therefore persist an immutable receipt whose digest does not describe its bytes. V1015 then copies receipt.receipt_digest into world_canonical_preparation_start_location and compares it only with itself. The comments in this migration family say these guards must exclude raw SQL writers, so this gap breaks that guarantee.

      Published migrations must stay unchanged. Add the check in a forward CREATE OR REPLACE migration of world_guard_graph_application(). Also add it to world_guard_draft_start_location_receipt().

      Proposed guard addition (forward migration)

      --- "a/services/world-management-service/src/main/resources/db/migration/V1014__world_explicit_fresh_graph_start_location.sql"
      +++ "b/services/world-management-service/src/main/resources/db/migration/V1014__world_explicit_fresh_graph_start_location.sql"
      @@ -242,7 +242,12 @@
               OR receipt.canonical_version_id IS DISTINCT FROM graph_row.canonical_version_id
               OR receipt.room_template_id IS DISTINCT FROM (start_location->>'roomTemplateId')::UUID
               OR receipt.graph_digest IS DISTINCT FROM ('sha256:' || graph_row.graph_sha256)
      -        OR receipt.receipt_digest !~ '^sha256:[0-9a-f]{64}$' THEN
      +        OR receipt.receipt_digest IS DISTINCT FROM
      +            ('sha256:' || encode(sha256(receipt.receipt_bytes), 'hex'))
      +        OR receipt.account_binding_digest IS DISTINCT FROM
      +            ('sha256:' || encode(sha256(receipt.account_binding_bytes), 'hex'))
      +        OR NEW.result_digest IS DISTINCT FROM
      +            ('sha256:' || encode(sha256(NEW.result_bytes), 'hex')) THEN
               RAISE EXCEPTION 'APPLIED requires exact durable original Account-bound start selector receipt'
                   USING ERRCODE = '23514';
           END IF;
      
      • Accepted Both installed guards lack digest-to-byte binding. Add forward-only SHA256 checks for existing receipt/account/result byte pairs, preserve other predicates and historical SQL.
    6. Do not pin the default frontier to 1042.11.Trivial

      current and fresh migrate with a null target. Line 185 and Line 206 already assert that no migrations are pending. Lines 220–221 then require the latest version to be exactly "1042.11". The next World migration will fail this test even if the V1042.10 retention guards are unchanged. An earlier review reported the same pattern for 1042.7, and this change brings it back.

      ♻️ Proposed change

      --- "a/services/world-management-service/src/test/java/integration/net/firedevops/firemud/worldmanagement/tenant/WorldTerminalAndLocationOwnerGuardsPostgresIntegrationTest.java"
      +++ "b/services/world-management-service/src/test/java/integration/net/firedevops/firemud/worldmanagement/tenant/WorldTerminalAndLocationOwnerGuardsPostgresIntegrationTest.java"
      @@ -217,8 +217,9 @@
             assertThat(productionTerminalRows(freshDsl, freshSchema)).isEmpty();
             assertThat(productionLocationRows(freshDsl, freshSchema)).isEmpty();
       
      -      assertThat(latestVersion(upgradeDsl)).isEqualTo("1042.11");
      -      assertThat(latestVersion(freshDsl)).isEqualTo("1042.11");
      +      assertThat(MigrationVersion.fromVersion(latestVersion(upgradeDsl)))
      +          .isGreaterThanOrEqualTo(MigrationVersion.fromVersion("1042.10"));
      +      assertThat(latestVersion(freshDsl)).isEqualTo(latestVersion(upgradeDsl));
             assertThat(productionLocationRows(upgradeDsl, upgradeSchema))
                 .isEqualTo(locationRowsBeforeRetentionMigration);
             assertLocationRetentionGuards(upgradeDsl, upgradeSchema);
      
      • Accepted Unpinned default migrations must not assert exact1042.11. Keep no-pending assertions and minimum1042.10 with equal fresh/upgrade frontiers.
  23. CLI Review 10 CompletedRuntime 2m 26s
    Found: 4 Accepted: 1/2/1 Routed: 0
    1. List the complete current V1042 storage chain, or move the history to the tracker.Minor

      This paragraph says it describes the PREPARING-only storage extension. It names V1042 and V1042.1 through V1042.8, and line 64 names V1042.10. It omits three installed forward migrations:

      • V1042.9 adds same-transaction guard subtransaction (savepoint) support.
      • V1042.11 adds the server-owned full transaction stamp on preparations.
      • V1042.12 binds the retained receipt byte fields to their digests.

      The [World tracker](../../../project-management/implementation-tracking/world-runtime-and-movement.md#canonical-fixture-launch-receiving-boundary) records all three as part of the current frontier. A reader of the canonical storage contract therefore gets an incomplete set of guards for the fixed-fixture owner.

      Choose one fix:

      • Add one clause each for V1042.9, V1042.11 and V1042.12.
      • Reduce this paragraph to the invariants that the guards enforce, and leave the per-migration history to the tracker. The paragraph already says the tracker "records migration history".

      As per path instructions: "Review docs for canonical-current-state consistency. Flag obsolete transitional guidance, conflicts between architecture docs…" and "Architecture owns technical target state".

      • Accepted Minor: canonical storage paragraph omits current savepoint, full transaction stamp and digest/byte invariants; add concise V1042.9/.11/.12 clauses without duplicating tracker history or widening authority.
    2. Assert the rejection code so the stale-epoch test cannot pass for the wrong reason.Trivial

      This test stubs only findByTenantIdAndGameInstanceId. It does not stub findByTenantIdAndGameInstanceIdForUpdate. Lines 275-276 and 362-363 add that locked stub to the other activation and failure tests. Mockito returns Optional.empty() for an unstubbed Optional method.

      Here is the risk. Suppose ordinary activation reads the locked row before it checks the epoch, and a missing row raises IllegalArgumentException (for example, a not-found code). Then every loop iteration passes even if the epoch validation is never reached. The never() verifications still pass because the service stops before any save or release-state read.

      Assert the expected error prefix. Stub the locked lookup the same way the neighbouring tests do.

      ♻️ Proposed fix

           when(worldInstanceRepository.findByTenantIdAndGameInstanceId(42L, 101L))
               .thenReturn(Optional.of(instance));
      +    when(worldInstanceRepository.findByTenantIdAndGameInstanceIdForUpdate(42L, 101L))
      +        .thenReturn(Optional.of(instance));
       
           for (long expectedEpoch : new long[] {1L, 4L, 0L, -1L, Long.MAX_VALUE}) {
      -      assertThrows(
      -          IllegalArgumentException.class,
      -          () -> service.activatePreparedWorldInstance(42L, 101L, expectedEpoch));
      +      IllegalArgumentException error =
      +          assertThrows(
      +              IllegalArgumentException.class,
      +              () -> service.activatePreparedWorldInstance(42L, 101L, expectedEpoch));
      +      assertTrue(error.getMessage().startsWith("WORLD_INSTANCE_LIFECYCLE_STALE:"));
           }
      

      Check which error code the service gives for each rejected epoch. Nonpositive or overflow epochs may use a different validation code than stale epochs. Also check whether ordinary activatePreparedWorldInstance calls findByTenantIdAndGameInstanceIdForUpdate. The same missing stub also affects the replay test at lines 287-319.

      • Accepted Trivial: ordinary activation uses the nonlocked lookup, so no extra stub is needed; strengthen both rejection branches to require the actual WORLD_INSTANCE_LIFECYCLE_STALE prefix rather than any IllegalArgumentException.
    3. Add 1042.12 to the expected migration frontier.Major

      remainingVersions() stops at 1042.11. This change also adds V1042.12__world_graph_application_receipt_byte_digests.sql to the default World migration location. WorldGraphApplicationReceiptDigestPostgresIntegrationTest confirms that a default migrate installs 1042.12.

      Two tests apply the default frontier and then compare it with remainingVersions() through containsExactlyElementsOf:

      • Line 343, in freshDefaultHistoryRetainsLiteralProtectedArtifactsAndNumericFrontier.
      • Line 1294, in installed34ThroughParent40ToDefaultFrontierRetainsRowsXminAndStableLegacyUpdates.

      The installed history has one more element (1042.12) than the expected list. Both assertions therefore fail in every Docker-enabled test run.

      Add the missing version. As a better option, derive the list from the resolved Flyway migrations, so the next forward migration does not break these tests again.

      🐛 Proposed fix

           versions.add("1042.10");
           versions.add("1042.11");
      +    versions.add("1042.12");
           return List.copyOf(versions);
      
      • Accepted Major: reproduced both exact-history failures locally; remainingVersions omits installed1042.12. Add the one expected entry, preserving literal artifact and immutable history assertions.
    4. Use the required entry format and add a reconsideration trigger.Minor

      The file defines this format for entries: Context, Observation, Expected pattern. This entry uses Outcome instead of Observation. The text under Outcome describes the recovery, not the surprising behaviour.

      The entry also leaves an item open: "The intended migration and its proof remain under review". The file requires a reason and a reconsideration trigger for any entry that is retained.

      Proposed fix

       - `2026-10-15`: Verify the complete absolute patch destination after the first write
         - Context: Gameplay’s World digest-guard helper verified its checkout but mistyped the absolute migration path, creating a file in a similarly named sibling directory outside Git. This is distinct from the earlier relative-path incident: an absolute path alone does not identify the intended checkout.
      -  - Outcome: The helper reported the mistake. Main verified the misplaced and intended files were byte-identical, deleted only the confirmed new duplicate, and preserved the sibling directories. The intended migration and its proof remain under review; no misplaced file was published.
      +  - Observation: A checkout check alone did not catch a mistyped absolute target path. Recovery: the helper reported the mistake; Main verified the misplaced and intended files were byte-identical, deleted only the confirmed new duplicate, and preserved the sibling directories. No misplaced file was published.
         - Expected pattern: Compare every patch target with the pinned worktree path and verify the first written file there before continuing.
      +  - Reconsideration trigger: remove after the intended migration and its proof complete review.
      

      As per coding guidelines: "Entry format: … Context … Observation … Expected pattern" and "Retain an entry only when a genuine blocker or deliberate postponement remains, recording the reason and reconsideration trigger."

      • Accepted Minor: current lane-authored incident entry must use Observation and state why its manual destination-check lesson remains plus a real enforcement reconsideration trigger; no unrelated observations stewardship.
  24. Hosted Review 11 CompletedRuntime 11m 11s
    Found: 2 Accepted: 0/0/2 Routed: 0
    1. The current-frontier "wrong-checkpoint" probe does not isolate the checkpoint comparison.Trivial

      The publication fence was claimed at the 1007.1 frontier with actual.digestSchemaVersion() (3). The stored attempt therefore has digest_schema_version = 3. In world_require_new_selected_digest_capture() (V1034), the condition attempt.digest_schema_version IS DISTINCT FROM 4 is already true for this candidate. Both that condition and the applied_commit_id mismatch raise the same message: "Selected graph/4 capture differs from exact FROZEN source and checkpoint". The test therefore passes even with the original appliedCommitId. It does not prove a wrong-checkpoint denial.

      Use one of these corrections:

      • Add a control assertion. Submit the same digest-4 override with the unmodified appliedCommitId, and show that it also fails. Then reword the comments at Lines 941-943 and 992-993: they should say that the probe reaches the FROZEN source/checkpoint branch, not that it isolates a checkpoint mismatch.
      • Alternatively, set up a digest-4 attempt so that only appliedCommitId differs.
      • Accepted Trivial: retained attempt schema3 independently triggers the same FROZEN branch with originalcommit. Add digest4 originalcommit control and state branch coverage, not isolated commit-mismatch causality; no new producer/SQL authority.
    2. Verify the remote read for all four variations.Trivial

      Mockito returns Optional.empty() for these unstubbed Optional methods, so the test does not encounter the claimed null Optional or NPE. The source-intake and freshness checks pass for the supplied fixture, and each variation can reach versionStateClient.read. However, the assertions do not prove that the remote read occurred. Add a call-count verification:

           verify(repository, never()).acceptFresh(any(), any());
      +    verify(versionStateClient, times(4)).read(any());
           assertThat(transactionManager.startedWith).isNull();
      
      • Accepted Trivial: four supplied remote-evidence substitutions should each reach read. Add verify(versionStateClient,times(4)).read(any()) after loop, preserving rejection/no-SQL assertions.
  25. CLI Review 11 CompletedRuntime 3m 37s
    Found: 2 Accepted: 0/0/2 Routed: 0
    1. Clear the full transaction synchronization state in the finally block.Trivial

      Line 433 sets actualTransactionActive on the thread-local TransactionSynchronizationManager. This class has no @AfterEach that calls TransactionSynchronizationManager.clear(). The finally block resets only that one flag. That is enough for now. If the service code sets other synchronization state before it throws, that state can leak into later tests on the same thread. Call TransactionSynchronizationManager.clear() in the finally block. The other test classes in this PR use the same pattern.

      ♻️ Proposed change

           } finally {
      -      TransactionSynchronizationManager.setActualTransactionActive(false);
      +      TransactionSynchronizationManager.clear();
           }
      
      • Accepted Valid bounded test hygiene: fixture ambient-transaction test sets thread-local state and currently clears only one flag. Replace finally reset with full TransactionSynchronizationManager.clear(), matching existing suite pattern.
    2. Remove the duplicated composition attribution or the "recorded once" claim.Trivial

      Line 17 says the PREPARING composition and exact run attribution are "recorded once" in World Runtime and Movement. Line 19 then repeats that attribution: execution 14792, World candidate 4ae539f3…, Game Design commit 46074cf9…, receiving execution 7500 and World commit 2807d8b8…. The World tracker (world-runtime-and-movement.md line 27) records the same facts. The two copies can drift, and the section contradicts its own statement.

      Keep only the Game Design-owned facts in line 19: the wrapper registration, the unit and native counts, and the default-off limit. Link to the World tracker for the cross-service run attribution.

      Based on learnings: "do not duplicate canonical technical contracts that are already defined by the owning ADRs or architecture contracts… use this documentation only to track implementation-specific status, decisions, or links to the canonical definitions."

      ♻️ Proposed edit

      -... The source-first reconstruction keeps real Game Design and Game Session protected owner-read transports. Fresh cross-service execution `14792` exercised World candidate `4ae539f3e4538b22891477a90ffd3015f534356f` with Game Design source commit `46074cf976759e3fb19cafc0bea7d16e544db555` in [RunOwnedFixtureOwnerCompositionCrossServiceTest](...); receiving execution `7500` reran that case on World source commit `2807d8b8d76cc8a4f4e86e20d255fcac58bc381e` after redistribution. The test exercised ...
      +... The source-first reconstruction keeps real Game Design and Game Session protected owner-read transports. The cross-service run attribution for [RunOwnedFixtureOwnerCompositionCrossServiceTest](...) is recorded in [World Runtime and Movement](./world-runtime-and-movement.md#canonical-fixture-launch-receiving-boundary). The test exercised ...
      
      • Accepted Verified duplicated cross-service run IDs and hashes despite recorded-once attribution. Keep canonical attribution in World tracker; retain Game Design local proof and explicit transport/activation limits with a link.
  26. CLI Review 12 CompletedRuntime 3m 18s
    Found: 1 Accepted: 0/0/1 Routed: 0
    1. Rename capabilityEpoch to match the Capability field it fills.Trivial

      capabilityEpoch is passed in the seventh position of the Capability constructor, after tenantId (42L) and gameTemplateId (17L). capabilityJson in RunOwnedCanonicalWorldLaunchEvidenceProviderTest writes that same position as ownerAccountId. The parameter name therefore says an epoch value, but the fixture uses it as an owner account ID.

      Rename the parameter to ownerAccountId. Future tests that change "the epoch" will otherwise change the owner account binding without warning.

      ♻️ Proposed rename

      -      long capabilityEpoch,
      +      long ownerAccountId,
      @@
      -            capabilityEpoch,
      +            ownerAccountId,
      

      Also applies to: 178-178

      • Accepted Trivial: fixture parameter capabilityEpoch fills Capability.ownerAccountId; rename it and its constructor use without changing values or behavior.
  27. CLI Review 13 CompletedRuntime 4m 12s
    Found: 5 Accepted: 1/2/0 Routed: 0
    1. Check whether AT TIME ZONE 'UTC' shifts the stored terminalat value.Minor

      Check whether `AT TIME ZONE 'UTC'` shifts the stored `terminal_at` value.

      p_terminal_at is a TIMESTAMPTZ. p_terminal_at AT TIME ZONE 'UTC' returns a TIMESTAMP without a time zone.

      • If initial_admission_bind_hold.terminal_at is TIMESTAMP, the conversion is correct.
      • If the column is TIMESTAMPTZ, PostgreSQL reads the wall-clock value back in the session TimeZone. In a session that does not use UTC, the stored value is then off by the session offset.

      The manifest compares to_jsonb(next_held) against the same assigned value, so the guard does not detect the shift. The terminal audit time is then wrong without any error.

      Check the column type that V23 created for terminal_at. If it is TIMESTAMPTZ, assign p_terminal_at directly.

      Proposed fix (only if the column is TIMESTAMPTZ)

      -    next_held.terminal_at := p_terminal_at AT TIME ZONE 'UTC';
      +    next_held.terminal_at := p_terminal_at;
      
      • Rejected V23 creates initial_admission_bind_hold.terminal_at as TIMESTAMP without time zone; no later migration changes that type. TIMESTAMPTZ input AT TIME ZONE UTC intentionally produces the stored UTC timestamp, so the conditional issue does not apply.
    2. Confirm that no supported flow deletes characterlocation rows.Major

      Confirm that no supported flow deletes `character_location` rows.

      These triggers reject every DELETE and TRUNCATE on character_location. They apply to legacy and non-canonical rows as well as canonical initial placements. V1022 already rejects every UPDATE. After this migration, no path can remove a character location.

      Consequences if a flow depends on deletion:

      • Character deletion, world termination cleanup, account erasure, or test-reset flows that delete these rows fail at runtime.
      • The rejection uses world_reject_authored_source_history_mutation(). Operators then receive an "authored source history" diagnostic for a character-location write, which points them at the wrong owner.
      • Rows keyed by canonical_account_id become retained indefinitely. This needs an explicit decision against the documented account-erasure and retention policy.

      Verify that no service code, Saga step, or cleanup job deletes character_location. If only canonical initial placements must be immutable, restrict the trigger to those rows, for example with a WHEN (OLD.initial_location_operation_id IS NOT NULL) clause. Use a dedicated function with a character-location diagnostic.

      • Rejected V1019 permits only canonical initial placements: operation ID NOT NULL/FK, so proposed WHEN is tautological. No supported deletion caller found. Runtime/data explicitly retains evidence and denies cleanup/activation; future erasure disposition remains open, granting no deletion authority.
    3. Add the V1042.13 migration to the GR-2.1 implementation anchors.Minor

      The row anchors V1042.1 through V1042.12. It omits V1042.13__world_start_location_semantic_receipt_digest.sql. V1042.13 replaces the V1042.12 receipt checks, and the World storage contract and Current Status both describe it as the current correction. Without the anchor, the scan-first status row points readers at the superseded receipt check only. Add a V1042.13 link after the V1042.12 link.

      The tracker contract states: "implemented and partial rows name concrete production anchors."

      📝 Proposed anchor

      -[V1042.12 receipt byte digests](../../../services/world-management-service/src/main/resources/db/migration/V1042.12__world_graph_application_receipt_byte_digests.sql); [V23.0.1 fixture binding]
      +[V1042.12 receipt byte digests](../../../services/world-management-service/src/main/resources/db/migration/V1042.12__world_graph_application_receipt_byte_digests.sql); [V1042.13 start-location semantic receipt digest](../../../services/world-management-service/src/main/resources/db/migration/V1042.13__world_start_location_semantic_receipt_digest.sql); [V23.0.1 fixture binding]
      
      • Accepted Minor: GR-2.1 anchors omit the installed V1042.13 correction. Add the existing canonical migration link without duplicating design authority.
    4. Check that every retained terminal row passes the new IS TRUE constraint before release.Major

      ADD CONSTRAINT ... CHECK (...) validates every existing world_draft_terminal_outcome row inside the migration. The new expression wraps the predicate in IS TRUE. Rows that passed the previous constraint because a key was missing (the predicate was UNKNOWN) now evaluate FALSE.

      If any retained row lacks owner_binding_json->>'targetNamespace' or versionIdentityOperationId, or holds a mismatched value, the migration fails with 23514. Flyway then stops the World Management Service deployment on every environment that has such a row. The header says "Published V1010/V1019 bytes ... remain unchanged". The migration does not rewrite those bytes, but it still re-evaluates them.

      Before release, run the new predicate against existing data, for example SELECT count(*) FROM world_draft_terminal_outcome WHERE NOT ((<new predicate>) IS TRUE).

      If retained rows can fail, use one of these options:

      • Add the constraint as NOT VALID. PostgreSQL then enforces it on new inserts and updates but does not check existing rows.
      • Fail the migration with an explicit diagnostic that names the retained rows that do not conform.

      Option: enforce on new rows only

      -ALTER TABLE world_draft_terminal_outcome ADD CONSTRAINT ck_world_draft_terminal_binding CHECK ((
      +ALTER TABLE world_draft_terminal_outcome ADD CONSTRAINT ck_world_draft_terminal_binding CHECK ((
           ...
      -) IS TRUE);
      +) IS TRUE) NOT VALID;
      

      As per path instructions: "For SQL-backed services, expect jOOQ + Flyway".

      • Accepted Accept the missing explicit rollout qualification: native upgrade has an empty production terminal table, not proof over external retained rows. Preserve validated TRUE constraint and immutable Flyway history; document no-data or owner-disposition proof needed before retained-data deployment.
    5. Rewrite the stale "correction in progress" status.Minor

      Line 11 states that the forward V1042.13 correction passes the complete World check. Line 13 still states that "A forward SQL correction and genuine-producer regression proof are in progress" and that existing runs "do not establish a corrected receipt boundary." Both paragraphs are in the current-status section, so the tracker contradicts itself about the receipt-digest boundary. Recast Line 13 as historical failed evidence for f297062e…, and reference the V1042.13 result in Line 11 as the correction.

      The path instructions require reviewers to "Review docs for canonical-current-state consistency. Flag obsolete transitional guidance". The tracker contract requires trackers to "Keep its status, implementation record, validation, gaps … aligned when a domain boundary changes".

      📝 Proposed wording

      -... Packaged proof did not run after that failure. A forward SQL correction and genuine-producer regression proof are in progress; existing runs keep their stated attribution and do not establish a corrected receipt boundary.
      +... Packaged proof did not run after that failure. Forward V1042.13 (above) supplies the correction and genuine-producer regression proof; this failed run keeps its original attribution.
      
      • Accepted Minor: current-status prose still describes SQL correction as in progress. Record f297 failure historically and exact corrected producer/runtime proof, preserving scope and failure attribution.
  28. Subagent Review 4 CompletedModel: gpt-6.1-sol · High
    Found: 0 Accepted: 0 Routed: 0
    1. No findings recorded for this run

Routed Findings

0 Open1 Accepted/Fixed0 Rejected
  1. Route 1 · PR #3211 → PR #3206 Accepted/FixedMinorProtected Game Session interceptor names the wrong terminal-proof service

    ProtectedGameSessionLoginGrpcInterceptor.java:23 permits GameSessionControlPlaneService/GetCanonicalInitialAdmissionOwnerProof, but the declared proto method belongs to CanonicalInitialAdmissionOwnerProofReadService. If the protected interceptor is composed, the actual dedicated terminal-proof method does not match. At inspected source this interceptor is unregistered; this is a latent composition defect, not evidence of a deployed failure. Correct the full method name at the actual activation owner and verify exact method routing with focused transport negatives.

    Outcome: Published f98e2e6309 names declared CanonicalInitialAdmissionOwnerProofReadService. Two focused descriptor/interceptor tests pass: dedicated method allowed; old alias/player StartSession denied. GS static and rebuilt/restart both-transport baseline pass.

    Earlier routing and proof

    Earlier decisions

    • Accepted Confirmed actual terminal proof is a separately declared dedicated service; local activation transport corrects registration. Preserve obligation until qualified owning publication, then retarget as directed.
    • Routed Route inherited Game Session activation correction to Gameplay's current owner. Preserve source attribution and retarget to the bounded activation successor once topology is published; no deployed-failure or fix claim.

Unlinked items

no items unlinked