FireMUD Delivery Status

PR data refreshed

PR #3227 review history

Review rounds

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

Hosted CodeRabbit4 completed
2/2/02/2/02/2/02/1/0
CLI CodeRabbit2 completed
2/2/03/3/0
Subagent Review1 completed
1/0/1age n/a

Recorded review history

Reviews and findings

  1. Subagent Review 1 CompletedModel not recorded
    Found: 1 Accepted: 0 Routed: 1
    1. Retry classifier misses the captured pre-execution generateJooq resolution wrapperMinor

      The Account log records a Gradle configuration-cache serialization wrapper for :account-service:generateJooq, with the complete nested failure rooted at resolution of :account-service:jooqCodegen. The classifier in the exact failed-run source is identical to base 6543 and emitted no retry notice or refresh invocation. The retained output has no HTTP status or transport exception, so it supports a narrow retry-coverage gap and no upstream outage attribution.

      Route · PR #3227 → PR #3239 Accepted/FixedThe shared retry helper is the owning boundary; PR #3239 adds the narrowly scoped pre-substantive-resolution classification and contract proof. Native Gradle qualification remains outstanding. View routed finding
  2. Hosted Review 1 CompletedRuntime 9m 05s
    Found: 2 Accepted: 0/1/1 Routed: 0
    1. Use the shared pinned Redis image.Trivial

      This test pulls the literal redis:7.2-alpine image. The PostgreSQL container in the same file and the other new integration tests use TestContainerImages. A literal tag bypasses the repository's pinned image source. The tracker already records registry pull failures (HTTP 429), and an unpinned image makes those failures more likely.

      Proposed fix

         static GenericContainer<?> redis =
      -      new GenericContainer<>("redis:7.2-alpine").withExposedPorts(6379);
      +      new GenericContainer<>(TestContainerImages.redis()).withExposedPorts(6379);
      
      • Accepted The owned native test uses a literal Redis tag although the existing imported TestContainerImages exposes the canonical pinned image. Replace only this constructor argument and qualify its actual native class.
    2. Use the entry format and remove the stale in-progress text.Minor

      The file defines an entry format: a dated title with Context, Observation and Expected pattern sub-bullets. The two new entries are single paragraphs instead.

      The entry on Line 76 says "Focused recovery is in progress" and "the omitted suite is queued". The entry on Line 78 already records that both completed. The path instructions require flagging obsolete transitional guidance. The file also says not to log fixes completed in the same work, and Line 78 is mostly a completion report.

      Merge both entries into one structured entry. Keep the reusable lesson: a categorized Gradle run can succeed while every selected case is skipped, so verify fresh executed XML. Remove the transitional status text.

      Proposed structure

      -- `2026-10-15`: Verify executed physical cases after a successful categorized gate. Moving ... Focused recovery is in progress. ... the omitted suite is queued with its actual package. ...
      -
      -- `2026-10-15`: Physical-proof recovery outcome. The explicit categorized rerun ...
      +- `2026-10-15`: Verify executed physical cases after a successful categorized gate
      +  - Context: relocating the GDS producer proof to its cross-service suite produced a successful Gradle result with all 20 selected cases skipped (Ryuk host-port refusals); a mixed filter also omitted the held-order suite.
      +  - Observation: a successful categorized task can contain zero executed physical cases, and a plain retry can reuse the all-skipped task as up-to-date. The runner-networking cause remains unknown.
      +  - Expected pattern: explicitly rerun the test task, verify fresh executed XML for every required selector before claiming counts, and keep earlier skipped or failed runs attributed as such.
      +  - Reconsideration trigger: a canonical gate fails on all-skipped required physical selectors.
      
      • Accepted Both owned dated paragraphs have obsolete queued/in-progress text and duplicate completed recovery status. Preserve executed-XML lesson in canonical structure; bounded consolidation requires Overseer observations-stewardship disposition.
  3. CLI Review 1 CompletedRuntime 3m 41s
    Found: 2 Accepted: 0/1/0 Routed: 1
    1. Align the credential limit with the server metadata limit.Minor

      MAX_CREDENTIAL_BYTES accepts a 16384-byte credential. The -bin header is base64-encoded on the wire, so a maximum-size credential needs about 21.8 KB of metadata. The gRPC Netty server accepts 8 KiB of inbound metadata by default. Only the cross-service test sets maxInboundMetadataSize(MAX_METADATA_BYTES). If the Account server is registered with defaults, any credential larger than about 6 KB fails at the transport layer before readAuthenticated runs. That failure is not a sanitized UNAUTHENTICATED status.

      Choose one fix and apply it in the shared contract:

      • Lower MAX_CREDENTIAL_BYTES so its encoded size fits inside the default limit.
      • Document MAX_METADATA_BYTES as a required server setting and enforce it where the producer is registered.

      Also confirm the actual maximum size of the compact control-UI creator credential.

      • Accepted Shared credential bound exceeds default transport metadata capacity. Preserve closed16KiBcredential contract; verify issuer bound and require/enforce the calculated server metadata setting at the owning unregistered transport boundary, without runtime activation.
    2. A definitive Account denial leaves the Version application slot held with no release path.Major

      commit durably claims the coordinator binding and the Version application slot (Lines 93-101) before the Account call (Line 107). If Account definitively refuses the claim, the method throws and the slot stays held. Examples are an invalid, revoked or non-current creator credential, a stale hosted-terms generation, or a rejected binding. In that state every owner is still NOT_ATTEMPTED. releaseApplicationSlot cannot release it:

      • definiteNoApply needs at least one REJECTED owner.
      • An Account-bound commit also needs a final-abort tombstone (isAccountBound branch).
      • The class Javadoc states that this entry supplies no definitive-abort producer.

      The Version can then accept no other Draft commit. Only a retry of the same original operation with a credential that Account accepts can clear it. If the creator's authority is permanently lost, for example after a declined material terms change or a security lock, the Draft stays blocked. The ACCOUNT_REFUSED cross-service test asserts that the slot remains present.

      Separate a definitive Account refusal (PERMISSION_DENIED, UNAUTHENTICATED, INVALID_ARGUMENT, FAILED_PRECONDITION) from an uncertain one (UNAVAILABLE, deadline, transport loss). Account reserves and orders atomically, so a definitive refusal proves that no COMMIT_ORDER exists. For that case, record a durable no-order outcome while every owner is NOT_ATTEMPTED, then release the slot. Keep the current retain-for-recovery behaviour only for uncertain outcomes.

      Confirm that Account's claimOriginalDraft never leaves a reservation or order behind when it returns these definitive status codes.

      Route · PR #3227 → Unassigned target Open View routed finding
      • Accepted Valid availability gap: durable application slot can remain held after Account refusal. Proposed status-only release is not accepted without authoritative no-order/abort evidence. Preserve fail-closed recovery; obtain Root scope decision before implementation.
  4. Hosted Review 2 CompletedRuntime 10m 58s
    Found: 2 Accepted: 2/0/0 Routed: 0
    1. Set an explicit inbound limit for terminal-read responses.Major

      When either owner returns a terminal readback, the response contains the original binding in both original_account_binding and OwnerReadback.fullBinding, plus the owner result. The shared channel factory sets no alternate limit, so a binding larger than roughly 2 MiB can exceed gRPC's 4 MiB inbound default. AccountDraftTerminalReconciliationService.reconcile performs both reads before recording readbacks, so RESOURCE_EXHAUSTED propagates and leaves the settlement PENDING.

      Define and enforce a terminal-read response bound that covers both binding copies, the complete OwnerReadback (including graph or receipt result bytes), and protobuf framing. Apply that bound with .withMaxInboundMessageSize(...) in both terminal-read stubs. Use a shared producer/consumer bound; the existing World-only readback constant is not an enforced Game Design response bound.

      📍 Affects 2 files

      • services/common-platform-core/src/main/java/net/firedevops/firemud/common/authoring/GameDesignDraftTerminalReadClient.java#L91-L99 (this comment)
      • services/common-platform-core/src/main/java/net/firedevops/firemud/common/authoring/WorldDraftTerminalReadClient.java#L89-L98
      • Accepted Verified both terminal-read stubs use default4MiB despite repeated complete binding and owner-result bytes. Correct shared producer/consumer wire bounds and both inbound limits, preserving exact original evidence.
    2. Wire requireCompleteForGameLogic into the Game Logic handoff.Major

      The repository contains the guard, but no production caller invokes it. GameDesignSourceRepository.freeze, readCapture, and Capture also omit the gameplay-rule snapshot. Therefore, the generic-revision and legacy-command invariants are not enforced during publication capture.

      Wire the guard into the Game Logic handoff and publication capture path. If that path is intentionally not implemented yet, update version-control.md and the tracker to state that the guard and publication capture are not wired.

      • Accepted Overseer f9651483 selects completing passive six-family operation-bound capture in its existing owner, reusing GameplayRuleSnapshot and consumer byte equality; bounded persistence plan pending Document comparison. No activation or new cut.
  5. Hosted Review 3 CompletedRuntime 8m 38s
    Found: 2 Accepted: 0/2/0 Routed: 0
    1. Add the required Observation line to the new entry.Minor

      The file's entry format requires Context, Observation, and Expected pattern sub-bullets. This entry has no Observation line. The surprising behaviour sits only inside Context: the selector came from the source directory instead of the declared package, and Gradle executed zero tests.

      Move that lesson into an Observation line. Keep Recovery short, because the file says not to log fixes completed in the same work.

      Proposed structure

      --- "a/design/project-management/ai-observations.md"
      +++ "b/design/project-management/ai-observations.md"
      @@ -128,7 +128,8 @@
         - Recovery: the next foreground canonical attempt on `3c71c8c24379af623ca66550a4f4acaadd0ffd81` completed at 05:27:42 UTC with exit zero, full terminal capture, held-edge and backend proof, authenticated teardown and independently absent project resources. This does not establish why the earlier owner ended.
         - Reconsideration trigger: a subsequent canonical attempt completes with terminal capture, or bounded process evidence identifies why the previous owner ended.
       
       - `2026-10-16`: Derive focused Gradle selectors from declared Java packages
      -  - Context: a Gameplay capture proof supplied `integration.net...` from the categorized source directory, while the actual class declared `net...`; Gradle executed no tests and failed discovery.
      +  - Context: a Gameplay capture proof supplied `integration.net...` from the categorized source directory, while the actual class declared `net...`.
      +  - Observation: a categorized source root is not necessarily part of the Java package; the mismatched `--tests` selector executed no tests and failed discovery.
         - Expected pattern: read the source package and class declaration before constructing `--tests`, and verify fresh testcase counts before crediting proof. A categorized source root is not necessarily part of the Java package. Archive completed full-suite reports before a filtered rerun replaces the task output.
         - Recovery: the corrected declared-package selector executed all sixteen owning native cases successfully; the zero-test attempt remains a separate failed discovery attempt with no native proof credit.
      

      As per path instructions, the entry format is "YYYY-MM-DD: short title / Context / Observation / Expected pattern", and "ordinary bugs fixed in the same work should not become entries."

      • Accepted Minor: our new observation entry omits its required Observation field. Restore the declared structure within this current entry, preserving older history and Expected pattern.
    2. Document the inbound message-size requirement as well as the metadata allowance.Minor

      AccountOriginalDraftOrderGrpcCodec.Request accepts an original_account_binding of up to MAX_BINDING_BYTES (4 MiB). The serialized ClaimOriginalDraftRequest adds the namespace, request ID, schema version and field framing. A binding at or near 4 MiB therefore produces a request larger than gRPC's default server inbound limit of 4 MiB. The receiving server then rejects the call with RESOURCE_EXHAUSTED before the handler runs. The client sets withMaxInboundMessageSize(MAX_WIRE_BYTES) only for the response.

      The terminal-read contract already states the server-side request bound, "4 MiB plus 1 KiB". This Javadoc and the Account API contract (line 27) state only the metadata allowance. State that a registering server must also allow inbound messages of at least AccountOriginalDraftOrderGrpcCodec.MAX_WIRE_BYTES.

      Proposed Javadoc fix

      --- "a/services/account-service/src/main/java/net/firedevops/firemud/accountservice/service/session/AccountOriginalDraftOrderGrpcService.java"
      +++ "b/services/account-service/src/main/java/net/firedevops/firemud/accountservice/service/session/AccountOriginalDraftOrderGrpcService.java"
      @@ -25,9 +25,10 @@
       /**
        * Standalone, unregistered producer; Account obtains environment authority internally.
        *
      - * <p>Any Account receiving server that registers this service must configure its inbound metadata
      - * allowance to at least {@link AccountOriginalDraftOrderGrpcCodec#MAX_METADATA_BYTES}. Binding this
      - * service does not configure the server limit.
      + * <p>Any Account receiving server that registers this service must configure its inbound metadata
      + * allowance to at least {@link AccountOriginalDraftOrderGrpcCodec#MAX_METADATA_BYTES} and its
      + * inbound message size to at least {@link AccountOriginalDraftOrderGrpcCodec#MAX_WIRE_BYTES}.
      + * Binding this service configures neither server limit.
        */
       public final class AccountOriginalDraftOrderGrpcService implements BindableService {
         private final AccountOriginalDraftOrderService owner;
      
      • Accepted Minor: codec permits binding4MiB plus wire framing while registration documentation states metadata only. Document existing MAX_WIRE_BYTES receiving-server prerequisite beside MAX_METADATA_BYTES; no registration or runtime change.
  6. CLI Review 2 CompletedRuntime 4m 03s
    Found: 3 Accepted: 0/2/0 Routed: 0
    1. Make create reject an empty World epoch vector so it matches fromStored.Minor

      requireCompleteEpochVector accepts an empty observedEpochs list when the binding has zero WORLD_MANAGEMENT affected units. In that case, create encodes the count frame as "0". decode then calls positiveCount(), which accepts only [1-9][0-9]*, so it rejects those bytes.

      As a result, create can build an outcome that fromStored cannot read back. In WorldDraftTerminalOutcomeRepository.recordDefinitiveAbort, the row is inserted first. Then the readExact call after the insert throws a raw IllegalArgumentException instead of a clear ConflictException. The transaction rolls back, so no row is persisted. However, the failure appears after the insert and the error does not explain the cause.

      Reject the empty vector in the shared check so that both paths enforce the same contract.

      🛡️ Proposed fix

           List<AffectedUnit> expected =
               operation.binding().affectedUnits(DraftCommitBinding.Owner.WORLD_MANAGEMENT);
      +    if (expected.isEmpty()) {
      +      throw new IllegalArgumentException(
      +          "Definitive World abort requires at least one World affected unit");
      +    }
           if (observedEpochs.size() != expected.size()) {
      
      • Accepted Verified create accepts zero World units while decode requires a positive count. Reject empty expected vectors in shared validation; preserve canonical bytes and prove create/fromStored agree.
    2. Do not relax the ordinary-asset capture requirement for terminal v2 operations.Minor

      historical combines two cases: historicalOperation (v1 bytes) and "a terminal operation without a gameplay capture". The code then applies historical to both missing-capture checks. A sealed v2 operation therefore passes readCapture when its asset capture is missing, provided its gameplay capture is also missing. Before this change, only historicalOperation permitted a missing asset capture. V1024 made asset capture mandatory for fresh v2 operations.

      A v2 operation that is terminal and lacks both captures is corrupt or partial evidence. It is not legitimate pre-V1032 history. The method contract says "partial capture cannot authorize publication". The new pre-V1032 exemption applies only to the gameplay family. Keep the asset rule bound to historicalOperation.

      🛡️ Proposed fix

      -    boolean historical =
      -        historicalOperation || (gameplayCapture.isEmpty() && operationIsTerminal(operation));
      +    boolean preGameplayTerminal =
      +        !historicalOperation && gameplayCapture.isEmpty() && operationIsTerminal(operation);
           if (command.isEmpty()
               || policy.isEmpty()
      -        || (asset.isEmpty() && !historical)
      -        || (gameplayCapture.isEmpty() && !historical)) {
      +        || (asset.isEmpty() && !historicalOperation)
      +        || (gameplayCapture.isEmpty() && !historicalOperation && !preGameplayTerminal)) {
             throw new IllegalStateException("GAME_DESIGN_SOURCE_CAPTURE_INCOMPLETE");
           }
      

      Confirm that no retained terminal v2 operation needs an asset-less capture readback. The test preGameplayTerminalCaptureStaysUnknownAndCannotBeExtendedAfterV1032 retains an asset capture, so the fix keeps that test passing.

      • Accepted Verified terminal v2 missing gameplay currently also bypasses mandatory asset evidence. Keep historical asset exemption v1-only; preserve pre-V1032 gameplay-only history and add refusal proof.
    3. Check the anchor for the terminal-read bounds link.Minor

      Line 70 links to ../account-service/api-contracts.md#implementation-status for the "shared Account terminal-read transport bounds". The edited Account contract puts those bounds at its line 31. That line is under the ### Account-Owned Hosted Terms and Creator Party heading, not under an "Implementation Status" heading. If the Account document has an ## Implementation Status section, that section does not hold the bounds. If it has no such section, the anchor is broken. world-management-service/api-contracts.md Line 5 uses the same target. The authoring tracker links the Account transport to #account-owned-hosted-terms-and-creator-party.

      Confirm which section of the Account document holds the bounds. Then point both links to that anchor, or move the bounds paragraph under an Implementation Status heading.

      📝 Proposed anchor correction (if no Implementation Status section holds the bounds)

      -The prepared Draft terminal-read adapter retains the exact original Account-bound owner outcome under the shared [Account terminal-read transport bounds](../account-service/api-contracts.md#implementation-status).
      +The prepared Draft terminal-read adapter retains the exact original Account-bound owner outcome under the shared [Account terminal-read transport bounds](../account-service/api-contracts.md#account-owned-hosted-terms-and-creator-party).
      

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

      • Accepted Verified both links land in Implementation Status while bounds are under Account-Owned Hosted Terms and Creator Party. Correct only those two anchors; retain one canonical transport owner.
  7. Hosted Review 4 CompletedRuntime 10m 25s
    Found: 2 Accepted: 0/0/1 Routed: 0
    1. Assert the guard message for each rejected gameplay capture insert.Trivial

      assertInvalidGameplayCaptureInsert accepts any RuntimeException. All three inserts can therefore pass for a reason unrelated to the V1032 guards. Examples are a missing NOT NULL column, a foreign-key failure, or a uniqueness conflict. The changed-operation, changed-snapshot, and wrong-digest checks then do not prove the operation-binding, snapshot-binding, or digest guards.

      Two changes give positive proof:

      • Pass the expected guard message, or the SQLSTATE plus the server message, for each case. Assert it on the root cause, as the immutability assertions at Lines 835-861 already do.
      • Alternatively, show that the same SQL with exact operation.canonicalBytes(), gameplayCapture.canonicalBytes(), and gameplayCapture.digest() succeeds in a rolled-back transaction.

      ♻️ Proposed change

         private static void assertInvalidGameplayCaptureInsert(
             Fixture fixture,
      -      net.firedevops.firemud.gamedesign.publication.GameDesignPublicationOperation operation,
      +      GameDesignPublicationOperation operation,
             byte[] operationBytes,
             byte[] captureBytes,
      -      String captureDigest) {
      +      String captureDigest,
      +      String expectedGuardMessage) {
           assertThatThrownBy(
                   () ->
                       fixture.tx(
      @@
      -        .isInstanceOf(RuntimeException.class);
      +        .rootCause()
      +        .hasMessageContaining(expectedGuardMessage);
         }
      
      • Accepted Verified helper accepts any RuntimeException at all3 mutated capture inserts. Assert the actual canonical SQL guard root message per case, preserving fixture and immutable migration; this strengthens real refusal proof.
    2. Use a separate exemption for each capture family. A terminal v2 operation that lacks gameplay capture currently also skips the asset-capture requirement.Minor

      Before this change, a v2 (non-historical) operation without an asset capture failed with GAME_DESIGN_SOURCE_CAPTURE_INCOMPLETE. The new historical flag is true when the gameplay capture is absent and the operation is terminal, and the code applies that flag to both families. A sealed v2 operation that has neither an asset capture nor a gameplay capture now returns a Capture with asset empty. A missing asset row is corrupt or substituted evidence. The "partial capture cannot authorize publication" contract should still reject it.

      Only the gameplay capture predates V1032. Exempt only that family for terminal operations.

      Proposed fix

      --- "a/services/game-design-service/src/main/java/net/firedevops/firemud/gamedesign/publication/GameDesignSourceRepository.java"
      +++ "b/services/game-design-service/src/main/java/net/firedevops/firemud/gamedesign/publication/GameDesignSourceRepository.java"
      @@ -293,12 +293,12 @@
             new GameDesignReviewedBaseRepository(dsl)
                 .requireRetained(operation.account().input().selection().selectedCommit());
           }
      -    boolean historical =
      -        historicalOperation || (gameplayCapture.isEmpty() && operationIsTerminal(operation));
      -    if (command.isEmpty()
      -        || policy.isEmpty()
      -        || (asset.isEmpty() && !historical)
      -        || (gameplayCapture.isEmpty() && !historical)) {
      +    boolean gameplayExempt =
      +        historicalOperation || (gameplayCapture.isEmpty() && operationIsTerminal(operation));
      +    if (command.isEmpty()
      +        || policy.isEmpty()
      +        || (asset.isEmpty() && !historicalOperation)
      +        || (gameplayCapture.isEmpty() && !gameplayExempt)) {
             throw new IllegalStateException("GAME_DESIGN_SOURCE_CAPTURE_INCOMPLETE");
           }
           return Optional.of(
      
      • Rejected Duplicate of accepted CLI2 finding2, already corrected locally at6740 and qualified by17 fresh native cases. No separate fix; same publication will address this thread. CLI source obligation stays open until published.

Routed Findings

1 Open1 Accepted/Fixed0 Rejected
  1. Route 1 · PR #3227 → PR #3239 Accepted/FixedMinorRetry classifier misses the captured pre-execution generateJooq resolution wrapper

    The Account log records a Gradle configuration-cache serialization wrapper for :account-service:generateJooq, with the complete nested failure rooted at resolution of :account-service:jooqCodegen. The classifier in the exact failed-run source is identical to base 6543 and emitted no retry notice or refresh invocation. The retained output has no HTTP status or transport exception, so it supports a narrow retry-coverage gap and no upstream outage attribution.

    Outcome: Published14166597 shares bounded pre-execution jooqCodegen recovery across module/runtime callers. Focused recovery/selector contracts and independent Sol High reviews pass; actual Validation38690385102, Runtime38690385213 and Smoke38690385074 succeed. No upstream-outage claim or test-failure retry.

    Earlier routing and proof

    Earlier decisions

    • Routed The shared retry helper is the owning boundary; PR #3239 adds the narrowly scoped pre-substantive-resolution classification and contract proof. Native Gradle qualification remains outstanding.
  2. Route 2 · PR #3227 → Unassigned target OpenMajorA definitive Account denial leaves the Version application slot held with no release path.

    commit durably claims the coordinator binding and the Version application slot (Lines 93-101) before the Account call (Line 107). If Account definitively refuses the claim, the method throws and the slot stays held. Examples are an invalid, revoked or non-current creator credential, a stale hosted-terms generation, or a rejected binding. In that state every owner is still NOT_ATTEMPTED. releaseApplicationSlot cannot release it:

    • definiteNoApply needs at least one REJECTED owner.
    • An Account-bound commit also needs a final-abort tombstone (isAccountBound branch).
    • The class Javadoc states that this entry supplies no definitive-abort producer.

    The Version can then accept no other Draft commit. Only a retry of the same original operation with a credential that Account accepts can clear it. If the creator's authority is permanently lost, for example after a declined material terms change or a security lock, the Draft stays blocked. The ACCOUNT_REFUSED cross-service test asserts that the slot remains present.

    Separate a definitive Account refusal (PERMISSION_DENIED, UNAUTHENTICATED, INVALID_ARGUMENT, FAILED_PRECONDITION) from an uncertain one (UNAVAILABLE, deadline, transport loss). Account reserves and orders atomically, so a definitive refusal proves that no COMMIT_ORDER exists. For that case, record a durable no-order outcome while every owner is NOT_ATTEMPTED, then release the slot. Keep the current retain-for-recovery behaviour only for uncertain outcomes.

    Confirm that Account's claimOriginalDraft never leaves a reservation or order behind when it returns these definitive status codes.

Unlinked items

no items unlinked