PR #2856 review history
Section exits and Unit 1B · admission and email links
Review rounds
Three-number pills mean: found (raw) / accepted here (useful) / routed
Recorded review history
Reviews and findings
- Subagent Review 1 CompletedModel not recordedFound: 5 Accepted: 5 Routed: 0
- 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.
- Game Design documentation understated denial of patched launch descriptor replayMinor
- Accepted Corrected Game Design README in 43a65f1b28ddf5139ba15c2a0ab8d186aa1ca4e8; exact-base/readiness reactivation remains open.
- 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.
- Game Design API described a synchronous fallback when Temporal is unavailableMinor
- Accepted Corrected API RPC status to PUBLISH_WORKFLOW_UNAVAILABLE in 43a65f1b28ddf5139ba15c2a0ab8d186aa1ca4e8.
- 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.
- Subagent Review 2 CompletedModel not recordedFound: 4 Accepted: 4 Routed: 0
- Tracker retained stale participant-authorization status after reconciliationMinor
- Accepted Corrected in f39c8df6086d9fe6504aefcfbf42e36f49554315.
- Reconciled Automation documentation overclaimed digest supportMinor
- Accepted Corrected in f39c8df6086d9fe6504aefcfbf42e36f49554315.
- Reconciled Game Design documentation misstated notification failure consequenceMinor
- Accepted Corrected in f39c8df6086d9fe6504aefcfbf42e36f49554315.
- Tracker misstated empty-manifest publication consequence after reconciliationMinor
- Accepted Corrected in f39c8df6086d9fe6504aefcfbf42e36f49554315.
- Subagent Review 3 CompletedModel not recordedFound: 3 Accepted: 3 Routed: 0
- Automation reported notification success after readiness admission returned falseMajor
- Accepted Fixed locally in 3796bc9ed with non-success response and focused service/gRPC negative proof.
- 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.
- 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.
- Subagent Review 4 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- Subagent Review 5 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- 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.
- Subagent Review 6 CompletedModel not recordedFound: 3 Accepted: 2 Routed: 0
- 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.
- 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.
- 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.
- Subagent Review 7 CompletedModel not recordedFound: 3 Accepted: 1 Routed: 0
- Normal patch publication lacks manifest listMajor
- Rejected Explicit documented fail-closed manifest-proof gap, not a new violation by this patch.
- 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.
- 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.
- Subagent Review 8 CompletedModel not recordedFound: 2 Accepted: 0 Routed: 0
- 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.
- 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.
- Subagent Review 9 CompletedModel not recordedFound: 1 Accepted: 0 Routed: 0
- 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.
- Subagent Review 10 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- 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.
- Subagent Review 11 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- 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.
- Subagent Review 12 CompletedModel not recordedFound: 0 Accepted: 0 Routed: 0
- No findings recorded for this run
- CLI Review 1 CompletedRuntime 2m 50sFound: 2 Accepted: 0/2/0 Routed: 0
- 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.
- 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.
- CLI Review 2 CompletedRuntime 2m 21sFound: 0 Accepted: 0/0/0 Routed: 0
- No findings recorded for this run
- CLI Review 3 CompletedRuntime 2m 02sFound: 1 Accepted: 0/1/0 Routed: 0
- Minor
Update the
NotifyScriptVersionUpdateexplanation to distinguish the composed Game Design path from a direct Automation RPC: when participant digest responses are supplied, the client rejects an emptyaffectedScriptslist before RPC construction; a separate direct empty-list request is rejected before readiness mutation. Keep the remaining durableFAILEDreceipt 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.
- CLI Review 4 CompletedRuntime 2m 26sFound: 1 Accepted: 1/0/0 Routed: 0
- 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.
- Hosted Review 1 CompletedRuntime 6m 36sFound: 4 Accepted: 1/2/1 Routed: 0
- 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_UNAVAILABLEbefore 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-L35design/architecture/system-architecture-scripting.md#L119-L119design/architecture/system-architecture-scripting.md#L125-L125design/architecture/system-architecture-temporal-workflows.md#L15-L15design/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.
- Remove the dead
scriptingClient.notifyScriptVersionUpdatestubs.TrivialVersionServiceImplno longer takesAutomationScriptingClientas a dependency. ThedoThrowanddoAnswerstubs onnotifyScriptVersionUpdatetherefore can never run.The test names
manifestUnavailablePreemptsAutomationClientValidationandlegacyPendingAttemptWithPossibleDispatchIsNotRedispatchedOrDeletedclaim 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 onscriptingClientin this file are always true for the same reason. They are not evidence that notification is skipped. OnlyserviceWithPublishGateactually routes calls throughscriptingClient.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.
- 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:
collectScriptPatchParticipantDigeststhrows a retryable dependency failure, such asUNAVAILABLEorDEADLINE_EXCEEDED.- Lines 195-198 throw
PUBLISH_ATTEMPT_PENDING_RECONCILIATION_REQUIREDand leave the attemptPENDINGand the draft in place. The message tells the caller to retry the exact request. - On that exact retry,
reservation.newlyCreated()isfalse. 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
publishRequestIdfor the same(tenantId, baseVersionId, scriptPatchVersion).reserveScriptPatchrejects that request withPUBLISH_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-dispatchedPENDINGattempt rerun the participant gate. - Alternatively, when the failure is a pre-dispatch participant dependency failure, terminalize the attempt as
FAILEDwith a retryable code.
In both cases, keep the hold only for legacy attempts that may have dispatched.
transientParticipantReadLeavesNewScriptPatchPendingasserts 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.
- Distinguish local retry proof from durable retry proof.Minor
WorldLifecycleCommandServiceImplTestasserts that local cleanup failure leaves the instanceTERMINATING. It also retries the same request to completion. The statement that the tests do not proveTERMINATINGretention 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.
- Hosted Review 2 CompletedRuntime 17m 24sFound: 3 Accepted: 0/3/0 Routed: 0
- Do not describe the tuple check as a live enqueue fence.Minor
The authenticated receiver rejects
EnqueueAutomationCommandIfAbsentbefore 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.
- 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.
- Deny POST requests before request-body binding.Minor
If the POST body is missing or malformed, Spring rejects it before
createreturnsCRAFTING_UNAVAILABLE. Those requests receive a binding error instead of the documented HTTP 501 response. Remove the unused@RequestBodyparameter 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
No routes recorded
Unlinked items
no items unlinked