FireMUD Delivery Status

PR data refreshed

PR #2856 review history

Fail closed on unproven section-exit runtime paths

Section exits and Unit 1B · admission and email links

Review rounds

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

Hosted CodeRabbit2 completed
Progress: Waiting turnRule: Min 2 remaining · Max 3 remaining
4/4/03/3/0
CLI CodeRabbit4 completed
Progress: Waiting turnRule: Min 3 remaining · Max 6 remaining
2/2/00/0/01/1/01/1/0
Subagent Review12 completed
2/0/01/0/01/1/01/1/00/0/0

Recorded review history

Reviews and findings

  1. Subagent Review 1 CompletedModel not recorded
    Found: 5 Accepted: 5 Routed: 0
    1. Automation API described protected full/patch digest RPC as supported instead of UNSUPPORTED_SCOPEMinor
      • Accepted Corrected Automation API status in 43a65f1b28ddf5139ba15c2a0ab8d186aa1ca4e8; target base digest remains open.
    2. Game Design documentation understated denial of patched launch descriptor replayMinor
      • Accepted Corrected Game Design README in 43a65f1b28ddf5139ba15c2a0ab8d186aa1ca4e8; exact-base/readiness reactivation remains open.
    3. Entity crafting status still described callable service dispatch despite fail-closed RESTMinor
      • Accepted Corrected Entity API and gameplay tracker in 43a65f1b28ddf5139ba15c2a0ab8d186aa1ca4e8; dormant ownership gaps remain.
    4. Game Design API described a synchronous fallback when Temporal is unavailableMinor
      • Accepted Corrected API RPC status to PUBLISH_WORKFLOW_UNAVAILABLE in 43a65f1b28ddf5139ba15c2a0ab8d186aa1ca4e8.
    5. Docs omitted INVALID_ARGUMENT propagation before Game Design publication finalizationMinor
      • Accepted Corrected Game Design README, Automation API and tracker in 43a65f1b28ddf5139ba15c2a0ab8d186aa1ca4e8; durable FAILED receipt remains open.
  2. Subagent Review 2 CompletedModel not recorded
    Found: 4 Accepted: 4 Routed: 0
    1. Tracker retained stale participant-authorization status after reconciliationMinor
      • Accepted Corrected in f39c8df6086d9fe6504aefcfbf42e36f49554315.
    2. Reconciled Automation documentation overclaimed digest supportMinor
      • Accepted Corrected in f39c8df6086d9fe6504aefcfbf42e36f49554315.
    3. Reconciled Game Design documentation misstated notification failure consequenceMinor
      • Accepted Corrected in f39c8df6086d9fe6504aefcfbf42e36f49554315.
    4. Tracker misstated empty-manifest publication consequence after reconciliationMinor
      • Accepted Corrected in f39c8df6086d9fe6504aefcfbf42e36f49554315.
  3. Subagent Review 3 CompletedModel not recorded
    Found: 3 Accepted: 3 Routed: 0
    1. Automation reported notification success after readiness admission returned falseMajor
      • Accepted Fixed locally in 3796bc9ed with non-success response and focused service/gRPC negative proof.
    2. Current-status documentation described empty notification as a silent returnMinor
      • Accepted Corrected in 3796bc9ed across service, system, proto and ADR status text, keeping target durable receipt separate.
    3. Game Design terminalized publication after ambiguous post-mutation Automation failureMajor
      • Accepted Fixed locally in 3796bc9ed: typed pre-dispatch denial stays terminal, possible dispatch stays PENDING with explicit reconciliation error and INTERNAL/deadline negatives.
  4. Subagent Review 4 CompletedModel not recorded
    Found: 0 Accepted: 0 Routed: 0
    1. No findings recorded for this run
  5. Subagent Review 5 CompletedModel not recorded
    Found: 1 Accepted: 1 Routed: 0
    1. Known PUBLISH_WORKFLOW_UNAVAILABLE is masked as INTERNAL by Game Design gRPCMinor
      • Accepted The known fail-closed publication code is added to the bounded gRPC mapping with a focused regression test; validation and publication pending.
  6. Subagent Review 6 CompletedModel not recorded
    Found: 3 Accepted: 2 Routed: 0
    1. Normal script-patch docs claim Automation denial although the client rejects before RPCMinor
      • Accepted Current-state documentation now distinguishes pre-dispatch Game Design client rejection from direct Automation RPC denial; link/Markdown proof passed, publication pending.
    2. Known PUBLISH_WORKFLOW_UNAVAILABLE is masked as INTERNAL by Game Design gRPCMinor
      • Rejected Duplicate of the accepted runtime-lens finding in this commissioned pair; the single correction is attributed there.
    3. Automation tracker says empty-notification handling did not changeMinor
      • Accepted Tracker now states the actual client and direct Automation denials while leaving the target durable receipt gap explicit; link/Markdown proof passed, publication pending.
  7. Subagent Review 7 CompletedModel not recorded
    Found: 3 Accepted: 1 Routed: 0
    1. Normal patch publication lacks manifest listMajor
      • Rejected Explicit documented fail-closed manifest-proof gap, not a new violation by this patch.
    2. Nonblank persisted patch descriptor replay rejectsMajor
      • Rejected Explicit documented current readiness-proof gap; patch deliberately fails closed until exact READY evidence exists. Distinct from a null-patch descriptor rejected by changed mutable default.
    3. Persisted unpatched launch retry reevaluates mutable template defaultMajor
      • Accepted Exact request-hash retry must return the stored descriptor. New template-default readiness guard can reject an earlier null-patch descriptor after default changes; remove that replay-only guard and prove same-descriptor retry.
  8. Subagent Review 8 CompletedModel not recorded
    Found: 2 Accepted: 0 Routed: 0
    1. Automation explicit negative response leaves publish PENDINGMajor
      • Rejected FAILED_PRECONDITION can follow beginPatchReadiness/applyIfCurrent/rebuildRegistryIfCurrent false after partial external effects. A negative response is not no-effect proof; retaining PENDING for exact reconciliation is the safe fail-closed contract. Current empty manifest is pre-dispatch rejected.
    2. Automation admin-role guard lacks workload-only proofMajor
      • Rejected Inherited target owner-to-owner workload authorization gap; requireAdminRole predates this unique patch and current normal path is pre-dispatch closed.
  9. Subagent Review 9 CompletedModel not recorded
    Found: 1 Accepted: 0 Routed: 0
    1. Conditional readiness-before-publication orderMajor
      • Rejected Not reachable in current boundary: normal path always passes an empty list, typed preflight rejects before RPC/finalization. Owner docs distinguish this containment from future published-patch readiness/redrive. Preserve approved fail-closed seam; enabling publication requires separate owner proof.
  10. Subagent Review 10 CompletedModel not recorded
    Found: 1 Accepted: 1 Routed: 0
    1. Current script-patch status names an unreached preflight instead of the participant digest gateMinor
      • Accepted Automation returns UNSUPPORTED_SCOPE before notification; real publish gate stops with PARTICIPANT_UNAVAILABLE. P3 current-status correction plus composed negative unit proof underway; no production unblocking.
  11. Subagent Review 11 CompletedModel not recorded
    Found: 1 Accepted: 1 Routed: 0
    1. P3 Patch-digest negative test name misstates supplied base and proved rejectionTrivial
      • Accepted Valid base7 fixture proves UNSUPPORTED_SCOPE, not missing-base validation; rename narrowly, retain exact existing negative assertions and closed publication.
  12. Subagent Review 12 CompletedModel not recorded
    Found: 0 Accepted: 0 Routed: 0
    1. No findings recorded for this run
  13. CLI Review 1 CompletedRuntime 2m 50s
    Found: 2 Accepted: 0/2/0 Routed: 0
    1. Minor

      Update the PublishScriptPatchVersion index entry to describe it as a publication request rather than claiming it publishes a patch version, and direct readers to the current failure status documented for the composed path.

      • Accepted Minor current-PR API index drift: requests publication, but composed path fails at unsupported participant scope. Link existing owning implementation status rather than imply successful publication. Fix in this batch.
    2. Minor

      Narrow the no-trigger/no-workflow statement in the publication tracker to the composed VersionServiceImpl publication path; do not imply that eligible non-empty NotifyScriptVersionUpdate notifications lack a separate script-patch-readiness workflow.

      • Accepted Minor current-PR documentation defect: tracker overstates no readiness workflow; narrow to composed VersionServiceImpl participant-denied publish path, preserving eligible direct nonempty notification readiness. Fix in this batch.
  14. CLI Review 2 CompletedRuntime 2m 21s
    Found: 0 Accepted: 0/0/0 Routed: 0
    1. No findings recorded for this run
  15. CLI Review 3 CompletedRuntime 2m 02s
    Found: 1 Accepted: 0/1/0 Routed: 0
    1. Minor

      Update the NotifyScriptVersionUpdate explanation to distinguish the composed Game Design path from a direct Automation RPC: when participant digest responses are supplied, the client rejects an empty affectedScripts list before RPC construction; a separate direct empty-list request is rejected before readiness mutation. Keep the remaining durable FAILED receipt and zero-handler manifest behavior accurate.

      • Accepted Minor owned documentation drift: composed Game Design client rejects empty affectedScripts before RPC construction; separate direct Automation empty-list denial still lacks durable FAILED receipt. Correct the initial mistaken public zero count to attributable 1/1; fix next batch.
  16. CLI Review 4 CompletedRuntime 2m 26s
    Found: 1 Accepted: 1/0/0 Routed: 0
    1. Major

      Update the notifyScriptVersionUpdate call in VersionServiceImpl to pass affected script names derived from the reserved patch instead of an empty list. If the patch cannot provide verifiable names, return a typed manifest-unavailable failure before dispatch; update the finalization test to reflect the reachable behavior.

      • Accepted Accept typed manifest-unavailable pre-dispatch denial and reachable proof in #2856. No owner-verified affected-script manifest exists; do not synthesize names or enable publication. Preserve terminal replay and ambiguous pending receipts.
  17. Hosted Review 1 CompletedRuntime 6m 36s
    Found: 4 Accepted: 1/2/1 Routed: 0
    1. Document the manifest-denial branch before the empty-list checks.Minor

      The PR adds an earlier Game Design gate: when participant digests pass but a newly reserved patch lacks an owner-verified affected-script manifest, Game Design returns SCRIPT_PATCH_MANIFEST_UNAVAILABLE before notification. Distinguish this failure from the separate client and Automation empty-list checks.

      • design/architecture/system-architecture-scripting.md#L31-L31: distinguish the manifest-denial path from the client empty-list check.
      • design/architecture/system-architecture-scripting.md#L35-L35: add the manifest-denial path before the conditional empty-notification seam.
      • design/architecture/system-architecture-scripting.md#L119-L119: distinguish the manifest-denial path from the downstream empty-list checks.
      • design/architecture/system-architecture-scripting.md#L125-L125: add the manifest-denial path before describing the client preflight and direct Automation rejection.
      • design/architecture/system-architecture-temporal-workflows.md#L15-L15: distinguish the manifest-denial path from the downstream empty-list check.
      • design/project-management/implementation-tracking/automation-and-scheduler-runtime.md#L126-L126: record the Game Design gate before the conditional client-preflight seam.

      As per coding guidelines: “Use the relevant tracker as the reader-facing account of implementation status.” As per path instructions: “Review docs for canonical-current-state consistency.”

      📍 Affects 3 files

      • design/architecture/system-architecture-scripting.md#L31-L31 (this comment)
      • design/architecture/system-architecture-scripting.md#L35-L35
      • design/architecture/system-architecture-scripting.md#L119-L119
      • design/architecture/system-architecture-scripting.md#L125-L125
      • design/architecture/system-architecture-temporal-workflows.md#L15-L15
      • design/project-management/implementation-tracking/automation-and-scheduler-runtime.md#L126-L126
      • Accepted Accepted current-PR documentation alignment: successful participant digest gate reaches Game Design SCRIPT_PATCH_MANIFEST_UNAVAILABLE before any notification; distinguish downstream checks. Pending bounded fix.
    2. Remove the dead scriptingClient.notifyScriptVersionUpdate stubs.Trivial

      VersionServiceImpl no longer takes AutomationScriptingClient as a dependency. The doThrow and doAnswer stubs on notifyScriptVersionUpdate therefore can never run.

      The test names manifestUnavailablePreemptsAutomationClientValidation and legacyPendingAttemptWithPossibleDispatchIsNotRedispatchedOrDeleted claim behavior that these tests do not exercise. Remove the stubs, or rename the tests to describe the manifest and pending-hold behavior they actually check.

      The never() verifications on scriptingClient in this file are always true for the same reason. They are not evidence that notification is skipped. Only serviceWithPublishGate actually routes calls through scriptingClient.

      Also applies to: 798-803

      • Accepted Accepted current-PR proof correction: default VersionServiceImpl has no scriptingClient, so remove unreachable stubs/vacuous notification assertions and name tested manifest/retained pending behavior accurately. Preserve real publish-gate notification assertions. Pending fix.
    3. A transient participant failure permanently blocks the publish request and its patch tuple.Major

      This defect occurs only on a newly reserved attempt. It runs in three steps:

      1. collectScriptPatchParticipantDigests throws a retryable dependency failure, such as UNAVAILABLE or DEADLINE_EXCEEDED.
      2. Lines 195-198 throw PUBLISH_ATTEMPT_PENDING_RECONCILIATION_REQUIRED and leave the attempt PENDING and the draft in place. The message tells the caller to retry the exact request.
      3. On that exact retry, reservation.newlyCreated() is false. Lines 166-171 therefore throw pending reconciliation again, with no participant read and no cleanup.

      Nothing ever moves this attempt out of PENDING. This code path never dispatches a notification, so the guard comment's concern ("may have dispatched readiness") cannot apply to an attempt that failed before notification.

      The retained draft also blocks a fresh publishRequestId for the same (tenantId, baseVersionId, scriptPatchVersion). reserveScriptPatch rejects that request with PUBLISH_SCRIPT_PATCH_IDENTITY_CONFLICT. The patch identity stays unusable until an operator repairs the data by hand.

      Choose one of these fixes:

      • Persist a pre-dispatch marker on the attempt, for example notificationDispatched=false. Let a retry of a non-dispatched PENDING attempt rerun the participant gate.
      • Alternatively, when the failure is a pre-dispatch participant dependency failure, terminalize the attempt as FAILED with a retryable code.

      In both cases, keep the hold only for legacy attempts that may have dispatched.

      transientParticipantReadLeavesNewScriptPatchPending asserts only the first call. Extend it with an exact retry to cover this trap.

      • Accepted Pre-dispatch dependency failure leaves PENDING but exact retry is barred. Terminalize the proven new non-dispatched failure through atomic cleanup; retain legacy and ambiguous PENDING holds and exact FAILED replay. Pending regression proof.
    4. Distinguish local retry proof from durable retry proof.Minor

      WorldLifecycleCommandServiceImplTest asserts that local cleanup failure leaves the instance TERMINATING. It also retries the same request to completion. The statement that the tests do not prove TERMINATING retention across failure and retry is too broad. State that local control flow is covered, while durable database and cross-owner recovery remain unproved. As per path instructions, “Review docs for canonical-current-state consistency.”

      • Accepted Accepted current-PR documentation correction: actual local cleanup failure and same-request retry are unit-proved; durable database/cross-owner recovery remains unproved. Pending bounded fix.
  18. Hosted Review 2 CompletedRuntime 17m 24s
    Found: 3 Accepted: 0/3/0 Routed: 0
    1. Do not describe the tuple check as a live enqueue fence.Minor

      The authenticated receiver rejects EnqueueAutomationCommandIfAbsent before mutation and does not call the lower-level admission method. Startup recovery re-enqueues accepted commands without checking the tuple before queue materialization. Distinguish that internal admission check from the separate tick-staging check.

      Suggested status update

      -- The live `EnqueueAutomationCommandIfAbsentRequest` carries both `scriptPatchVersion` and `scriptPinEpoch`, and Game Session's local admission/retry path compares the exact current tuple before re-enqueueing accepted unstaged work. Complete remote source/target tuple propagation, final-effect enforcement, and consumer proof remain open; the local fence does not establish that broader target boundary.
      +- The live `EnqueueAutomationCommandIfAbsentRequest` carries both `scriptPatchVersion` and `scriptPinEpoch`, but its authenticated receiver currently returns `FAILED_PRECONDITION` / `automation_admission_receiver_fence_unavailable` before command or queue mutation. The lower-level admission method compares the current tuple, but this receiver does not call it. Startup recovery re-enqueues accepted-but-unstaged commands without checking the tuple before queue materialization; tick staging applies a separate tuple check. Complete remote source/target tuple propagation, final-effect enforcement, and consumer proof remain open; the internal local fence does not establish that broader target boundary.
      
      • Accepted Accepted: live authenticated enqueue receiver denies before lower-level admission; startup recovery does not tuple-check before queue materialization. Correct status text while retaining separate tick-stage checks and open remote/final-effect work.
    2. Attribute cancellation to the job timeout.Minor

      ✅ Runtime observed

      The Game Session cross-service task completed 39 tests, with 38 failures. The CI matrix disables fail-fast and the job has a 20-minute timeout. The tracker should describe a job timeout, not test-level fail-fast cancellation.

      Update the tracker

      -Exact #2848 composed CI run `35968901756` passed Account Build/Test with executed PostgreSQL integration but did not pass the whole Validation Gate. Automation's four PostgreSQL failures also occurred on an earlier ancestor run and are separate owner-side defects. TCP Proxy recorded 13/17 failed cross-service tests and Game Session recorded 38/39 failed before fail-fast cancellation; representative `PLAY_IDENTITY_UNAVAILABLE` traces stop at the unchanged Game Session `GameplayAdmissionPointerSnapshots.requireAdmittedRoutingBundle` during Entity character lookup, before Account's new runtime-read denial is reached. The #2848 unique diff changed neither Game Session nor TCP Proxy production code. This is inherited composed Game Session setup/admission proof debt, not evidence that the Account patch caused the failure or that the Account–Game Session handoff is working. Unit 1B must correct or seed the admitted routing bundle under its canonical owner, execute focused PLAY cross-service tests through both transports, and then rerun the affected suites; the subsequent Account authority reads may expose additional intentional fail-closed gates.
      +Exact #2848 composed CI run `35968901756` passed Account Build/Test with executed PostgreSQL integration but did not pass the whole Validation Gate. Automation's four PostgreSQL failures also occurred on an earlier ancestor run and are separate owner-side defects. TCP Proxy recorded 13/17 failed cross-service tests. Game Session completed all 39 cross-service tests, with 38 failures, before its job was cancelled at the 20-minute timeout. Representative `PLAY_IDENTITY_UNAVAILABLE` traces stop at the unchanged Game Session `GameplayAdmissionPointerSnapshots.requireAdmittedRoutingBundle` during Entity character lookup, before Account's new runtime-read denial is reached. The #2848 unique diff changed neither Game Session nor TCP Proxy production code. This is inherited composed Game Session setup/admission proof debt, not evidence that the Account patch caused the failure or that the Account–Game Session handoff is working. Unit 1B must correct or seed the admitted routing bundle under its canonical owner, execute focused PLAY cross-service tests through both transports, and then rerun the affected suites; the subsequent Account authority reads may expose additional intentional fail-closed gates.
      
      • Accepted Accepted: exact run35968901756 log proves39tests/38failures; job107534169149 ran07:20:48-07:40:49 and cancelled at configured20min with matrix fail-fast false. Correct cancellation cause only.
    3. Deny POST requests before request-body binding.Minor

      If the POST body is missing or malformed, Spring rejects it before create returns CRAFTING_UNAVAILABLE. Those requests receive a binding error instead of the documented HTTP 501 response. Remove the unused @RequestBody parameter if every crafting POST must return the same denial. Add a malformed-body case to the controller test.

      As per path instructions, “services/**: Prioritize bugs, regressions, missing tests, cross-service contract drift, and architecture mismatches over style nits.”

      • Accepted Accepted: unused validated request body binds malformed/missing POST before fail-closed501. Remove body argument and add malformed/missing-body denial proof; crafting remains unavailable.

Routed Findings

0 Open0 Accepted/Fixed0 Rejected

No routes recorded

Unlinked items

no items unlinked