FireMUD Delivery Status

PR data refreshed

PR #3142 review history

Review rounds

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

Hosted CodeRabbit2 completed
2/2/01/1/0
CLI CodeRabbit4 completed
2/2/00/0/00/0/00/0/0
Subagent Review4 completed
2/2/00/0/00/0/00/0/0

Recorded review history

Reviews and findings

  1. CLI Review 1 CompletedRuntime 1m 21s
    Found: 2 Accepted: 0/0/2 Routed: 0
    1. Merge the two identical target-binding checks into one method.Trivial

      requireLifecycleRequestMatches and requireLifecycleStateReadRequestMatches run the same seven-field target comparison. The only difference is the text of the publicProduction error message. If one copy changes and the other does not, acquire and readState will bind different target scopes. Use one method with an operation label.

      ♻️ Proposed refactor

      -  private void requireLifecycleRequestMatches(
      -      Request holdRequest, WorldCanonicalInstanceLifecycleEvidence.Request lifecycleRequest) {
      +  private void requireLifecycleRequestMatches(
      +      Request holdRequest,
      +      WorldCanonicalInstanceLifecycleEvidence.Request lifecycleRequest,
      +      String operation) {
           Objects.requireNonNull(lifecycleRequest, "lifecycleRequest");
           if (!lifecycleRequest.publicProduction()) {
             throw new IllegalArgumentException(
      -          "World initial-admission hold acquisition requires public-production lifecycle evidence");
      +          "World initial-admission hold " + operation
      +              + " requires public-production lifecycle evidence");
           }
           ...
         }
      -
      -  private void requireLifecycleStateReadRequestMatches(...) { ... }
      

      Call it with "acquisition" from acquire and with "state read" from readState.

      • Accepted Accepted current-PR Trivial consolidation: acquire and readState duplicate the same complete lifecycle target check. Share predicate with an operation-specific label, preserving exact errors and all denial behavior. Fix prepared locally and publish only after active Hosted terminal.
    2. Use AuthoringFixtures.lifecycleEvidence instead of a second copy of the fixture.Trivial

      evidence() repeats the same steps as AuthoringFixtures.lifecycleEvidence: the descriptor request, the descriptor, the participants, the v2 release, the receipt, the lifecycle request, and the evidence values. The only difference is the status and epoch, which are "PREPARING" and 3L here. When the attestation contract changes, both copies must change together. This PR already changed the participant-schema selection in both copies.

      ♻️ Proposed refactor

         private static WorldCanonicalInstanceLifecycleEvidence evidence() throws Exception {
      -    WorldPublishedStartLocationEvidence selector =
      -        WorldPublishedStartLocationGrpcCodecTest.evidence();
      -    ...
      -    return new WorldCanonicalInstanceLifecycleEvidence(
      -        ...);
      +    return net.firedevops.firemud.common.testing.AuthoringFixtures.lifecycleEvidence(
      +        "PREPARING", 3L);
         }
      
      • Accepted Accepted current-PR Trivial fixture reuse: lifecycle evidence test repeats AuthoringFixtures construction with PREPARING/3. Reuse canonical fixture preserving complete tuple and field values; focused Common proof required before publication. No change to runtime authority.
  2. Subagent Review 1 CompletedModel: gpt-6-luna · Xhigh
    Found: 2 Accepted: 2 Routed: 0
    1. New launch descriptor RPC codec lacks direct wire-closure regression proofMinor
      • Accepted Add canonical-fixture-backed exact request/response, optional presence, correlation/digest and malformed/unknown nested-field tests across supported release selections. Focused implementation assigned; no runtime activation or playable closure claim.
    2. Present blank launch identifiers pass domain validationMinor
      • Accepted Current foundation owner correction: reject blank optional patch/remap identifiers with focused domain negatives; preserve optional JSON semantics. Local bounded implementation assigned, resolution pending.
  3. Hosted Review 1 CompletedRuntime 4m 41s
    Found: 2 Accepted: 0/0/2 Routed: 0
    1. Merge the two identical lifecycle-target checks into one method.Trivial

      requireLifecycleRequestMatches and requireLifecycleStateReadRequestMatches run the same eight comparisons. Only the text of the public-production error message differs. If someone adds a field to the target scope later, they must update both methods. If they update only one, acquire and readState will accept different target scopes.

      Use one method and pass the operation label as a parameter.

      ♻️ Proposed refactor

      -  private void requireLifecycleRequestMatches(
      -      Request holdRequest, WorldCanonicalInstanceLifecycleEvidence.Request lifecycleRequest) {
      +  private void requireLifecycleTargetMatches(
      +      Request holdRequest,
      +      WorldCanonicalInstanceLifecycleEvidence.Request lifecycleRequest,
      +      String operation) {
           Objects.requireNonNull(lifecycleRequest, "lifecycleRequest");
           if (!lifecycleRequest.publicProduction()) {
             throw new IllegalArgumentException(
      -          "World initial-admission hold acquisition requires public-production lifecycle evidence");
      +          "World initial-admission " + operation + " requires public-production lifecycle evidence");
           }
           ...
         }
      -
      -  private void requireLifecycleStateReadRequestMatches(...) { ... }
      

      Then call it as requireLifecycleTargetMatches(holdRequest, lifecycleRequest, "hold acquisition") in acquire, and as requireLifecycleTargetMatches(holdRequest, lifecycleRequest, "hold-state read") in readState.

      • Accepted Valid current-PR consolidation; duplicates accepted CLI finding1. Shared exact lifecycle-target predicates and both operation-specific error messages will be preserved in the coherent local batch; focused physical client regression proof pending.
    2. Replace the private evidence() builder with AuthoringFixtures.lifecycleEvidence.Trivial

      Lines 740-846 copy the body of AuthoringFixtures.lifecycleEvidence(String, long) almost line for line. The only difference is that the fixed status "PREPARING" and epoch 3L are written in place. This PR applies the java-test-fixtures plugin to common-platform-core, so this test source set can already use AuthoringFixtures. WorldCanonicalInitialAdmissionHoldStateTest in the same package already uses it.

      If the descriptor, release, or selector fixture changes later, someone must update both copies. If they drift, the lifecycle tests and the hold-state tests will check different evidence shapes.

      ♻️ Proposed refactor

         private static WorldCanonicalInstanceLifecycleEvidence evidence() throws Exception {
      -    WorldPublishedStartLocationEvidence selector =
      -        WorldPublishedStartLocationGrpcCodecTest.evidence();
      -    var descriptorRequest =
      -        ...
      -    return new WorldCanonicalInstanceLifecycleEvidence(
      -        request,
      -        binding,
      -        startLocation,
      -        1042L,
      -        "PREPARING",
      -        3L,
      -        ...);
      +    return net.firedevops.firemud.common.testing.AuthoringFixtures.lifecycleEvidence(
      +        "PREPARING", 3L);
         }
      
      • Accepted Valid current-PR canonical fixture reuse; duplicates accepted CLI finding2. AuthoringFixtures PREPARING/3L matches existing tuple; local correction prepared, consolidated lifecycle regression proof pending.
  4. CLI Review 2 CompletedRuntime 1m 28s
    Found: 0 Accepted: 0/0/0 Routed: 0
    1. No findings recorded for this run
  5. Subagent Review 2 CompletedModel: gpt-6-luna · Xhigh
    Found: 0 Accepted: 0 Routed: 0
    1. No findings recorded for this run
  6. CLI Review 3 CompletedRuntime 1m 41s
    Found: 0 Accepted: 0/0/0 Routed: 0
    1. No findings recorded for this run
  7. Subagent Review 3 CompletedModel: gpt-6-luna · Xhigh
    Found: 0 Accepted: 0 Routed: 0
    1. No findings recorded for this run
  8. CLI Review 4 CompletedRuntime 1m 59s
    Found: 0 Accepted: 0/0/0 Routed: 0
    1. No findings recorded for this run
  9. Subagent Review 4 CompletedModel: gpt-6-luna · Xhigh
    Found: 0 Accepted: 0 Routed: 0
    1. No findings recorded for this run
  10. Hosted Review 2 CompletedRuntime 3m 21s
    Found: 1 Accepted: 0/0/1 Routed: 0
    1. Retain the overload or document its v1 scope.Trivial

      supportedParticipantDigestSchema(String) always uses SCHEMA_VERSION and returns v1 schemas. No current caller uses this overload, so the reported v2/v3 rejection is not an active caller defect. The overload remains misleading because its Javadoc describes a general supported schema while versioned validation now uses the attestation version. Deprecate it or rename it to state its v1 scope.

      +  @Deprecated
         public static int supportedParticipantDigestSchema(String participantKey) {
      
      • Accepted Accepted current-PR Trivial clarification: unused single-argument helper implicitly selects retained-v1 schema. Mark deprecated and document explicit-version overload; preserve behavior and versioned validation. Fix current candidate, no downstream route.

Routed Findings

0 Open0 Accepted/Fixed0 Rejected

No routes recorded

Unlinked items

no items unlinked