PR #2839 review history
5C/5D · recovery and replay
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
- Tick commit predicate contradicts old-epoch reconciliation fence
- Accepted Corrected contract and architecture checks in published 7e2de1eede3bab6f4a99df8005d986bb402bf2b9.
- Automation admission preflight failure mutates intent before retryable return
- Accepted Preflight failures now return retryable UNAVAILABLE before intent or RPC with requeue proof in published 7e2de1eede3bab6f4a99df8005d986bb402bf2b9.
- Later sibling terminal fence outranks an ambiguous child handoff
- Accepted Retained parent and audit in-flight state for ambiguous child in published 7e2de1eede3bab6f4a99df8005d986bb402bf2b9.
- Entity enqueue sequence wrongly depends on pending allocator proposal
- Accepted Converged on accepted ADR 0065 within-epoch monotonicity in published 7e2de1eede3bab6f4a99df8005d986bb402bf2b9.
- Game Session ownership-store read exception loses retryable command result
- Accepted Return retryable UNAVAILABLE with command ID and no queue mutation in published 7e2de1eede3bab6f4a99df8005d986bb402bf2b9.
- Subagent Review 2 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Pending ADR 0183 wording contradicts accepted ADR 0069 command-root ownership
- Accepted Preserved accepted ordered manifest, frozen binding and allocation key while leaving UUIDv7 scalar/fanout proposals pending in published de66e664ead2147c8104a35329e66a1f8ab751a9.
- Accepted handoff retry returns before exact child identity comparison
- Accepted Both accepted-result fast paths now compare command, target, pin and deterministic dispatch identity with negative tests in published de66e664ead2147c8104a35329e66a1f8ab751a9.
- Subagent Review 3 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Redis schedule pre-claim tuple omits canonical namespace identity
- Accepted Corrected both tuple occurrences and linked canonical scripting table in published 222c5e4500956945362d4cbf7a2482374ecf45d8.
- Subagent Review 4 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Accepted ADR 0069 now asserts new command-plan root-allocation decisions without exact human review provenance
New deterministic plan, planOrdinal and allocation-row contract in ADR 0069 lines 52-62 is absent from its exact parent, but the ADR retains older TICK-16 accepted metadata; ADR 0183 cites the new detail as accepted.
- Accepted Material authority expansion is verified in the unique diff and accepted as a #2839 obligation; exact decision disposition is pending Overseer judgment before correction. No acceptance of the new allocator is inferred.
- Subagent Review 5 CompletedModel not recordedFound: 2 Accepted: 2 Routed: 0
- Recovered admission can terminalize skipped runtime preflight as malformed response
Preflight substitutes MALFORMED when admission is unavailable; transactional reread can become NORMAL, then cached MALFORMED is treated as terminal REMOTE_RESPONSE_INVALID.
- Accepted The unavailable-to-normal transition is reachable and not covered by reverse-transition tests; local correction and focused negative proof are in progress.
- Intent rollback leaves caller work-item version ahead and defeats retryable requeue
Handoff preparation mutates workItem rowVersion before transaction commit; rollback returns retryable, but finalization CASes stale version and leaves EVALUATING.
- Accepted Production save mutates entity before commit while catch returns retryable to caller; local correction and focused regression proof are in progress.
- Subagent Review 6 CompletedModel not recordedFound: 2 Accepted: 0 Routed: 0
- Definitive retryable child after committed intent can leave aggregate HANDOFF_IN_FLIGHT
Aggregate fanout defers child requeue after a retryable downstream response; finalization requires authoritative EVALUATING, while the committed parent is HANDOFF_IN_FLIGHT and ordinary claims select PENDING_EVALUATION.
- Rejected Confirmed current limitation, not a false claim of completed recovery. The owner explicitly tracks the missing evaluated descriptor/reconciliation owner. Fresh DSL requeue would violate the target. Keep this open as an implementation and proof gate.
- Dead-letter replay can re-enter a same-identity terminal handoff child
The current handoff preparation short-circuits only accepted rows; dead-letter replay can reset the parent, and a same-identity nonaccepted terminal row may be overwritten and dispatched again.
- Rejected Confirmed incomplete child-progress/replay boundary already tracked by the owner. Persisted reason collapses transient and terminal codes; a blanket guard could foreclose retry. Safe correction needs the committed descriptor/child ledger and outcome classification. Keep open.
- Subagent Review 7 CompletedModel not recordedFound: 1 Accepted: 1 Routed: 0
- Rollback can advance Automation epoch before unfenced Game Session enqueue
Handoff commits HANDOFF_IN_FLIGHT and releases the admission lock before downstream RPC; rollback can advance the epoch before Game Session accepts a request that carries no Automation epoch.
- Accepted Confirmed against the transaction boundary and ADR rollback fence: a local recheck cannot revoke an already accepted receiver enqueue. Cross-service linearization needs an Overseer protocol decision; #2839 stays open and no next corrected-state pass starts before a fix.
- Hosted Review 1 CompletedRuntime 13m 19sFound: 16 Accepted: 6/7/2 Routed: 1
- Correct the event-scope key.Major
Line 149 requires the collision lookup to include
playableStateNamespaceId. Line 116 excludesplayableStateScopefrom event-scope uniqueness. But the composite key at Lines 136–139 omits the namespace and includes the scope. Distinct namespaces can therefore alias under that key, while scope changes can split a namespace’s key. Update the composite key to includeplayableStateNamespaceIdand excludeplayableStateScope.As per path instructions, “Review docs for canonical-current-state consistency.”
- Accepted Accepted: canonical event-scope composite includes namespace, excludes scope evidence.
- Use one epoch field name for serialized event offsets.Minor
Line 659 says serialized event-offset payloads use
regionEpoch, but thetick-events-offsetexample at Line 680 usesregion_epoch. Change one entry so the payload contract has one spelling.As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Accepted: use regionEpoch for serialized event payloads, retaining storage-field spellings.
- Do not bind re-drive allocation to pending ADR 0183.Major
Line 302 makes the proposed ADR 0183 allocator binding for post-abandon command re-drives. Lines 47 and 77 describe allocation details as pending, while Lines 455 and 505 state that ADR 0183 is non-authoritative. The supplied decision inventory also says its allocation requirements do not define current target state.
Use the canonical owner contract for re-drive allocation, or leave the allocation detail unresolved until review. Do not present the pending proposal as a current requirement.
Proposed wording
- If it is re-admitted as a command, its root allocation follows the design in pending ADR 0183. + If it is re-admitted as a command, its root allocation follows the accepted owner contract; pending ADR 0183 does not define current target state.As per path instructions,
design/**/*.mdmust be reviewed for “canonical-current-state consistency.” The supplied decision-inventory excerpt states that ADR 0183’s allocation requirements do not define current target state.- Accepted Accepted: pending ADR0183 cannot bind post-abandon allocation.
- Make the bounded retry behavior explicit.Trivial
TemporalWorldLifecycleWorkflowImploverwrites repeated same-type signals. When activation and termination are both pending, activation runs first and advances the lifecycle epoch. Termination then uses the stale epoch, receivesWORLD_INSTANCE_LIFECYCLE_STALE, and retries for up to five activity attempts before the workflow fails.Suggested wording
-termination then reuses the pre-activation epoch after activation has advanced it and can retry until the workflow fails. +termination then reuses the pre-activation epoch after activation has advanced it and can retry the stale epoch for up to five activity attempts, after which the workflow fails.- Accepted Accepted: document existing bounded five-attempt stale-epoch activity retry.
- Replace reflection access with an explicit test seam.Trivial
controlPlaneComponentreads private fields by name throughgetDeclaredField. The compiler does not check these names. If someone renamescommandControlPlaneServiceorremoteControlPlaneService, the error appears only when the tests run. The test builders at lines 8568-8627 already constructGameSessionCommandControlPlaneServiceandGameSessionRemoteControlPlaneService. Return those instances from a small test fixture record, or call them directly. The reflection is then unnecessary.- Accepted Accepted: replace field-name reflection with explicit test-only component fixture.
- Restore the work item after a failed intent transaction.Major
prepareHandoffmutates the shared work item beforeappendHandoffIntent. If that transaction rolls back,reconcileFailedIntentPreparationreads the persisted item but does not restore the caller's object. Later sibling handoffs can reuseHANDOFF_IN_FLIGHTwith a stalerowVersion, causing optimistic-lock failures and leaving the parent unresolved.Restore the pre-transaction fields when
executeIntentTransactionthrows:HandoffPreparation preparation; + String priorStatus = workItem.getStatus(); + Instant priorUpdatedAt = workItem.getUpdatedAt(); + int priorRowVersion = workItem.getRowVersion(); try { preparation = executeIntentTransaction(workItem, command, dispatchId, preflight); } catch (RuntimeException ex) { + workItem.setStatus(priorStatus); + workItem.setUpdatedAt(priorUpdatedAt); + workItem.setRowVersion(priorRowVersion); LOGGER.warn(Update the failure test to expect the restored in-memory values.
- Accepted Accepted: restore caller object after local intent rollback; regression must preserve ambiguity fence.
- Keep the new ACL principals inside the Markdown table.Minor
The blank line at Line 73 ends the table after
coord_app. GitHub then renders the newentity_coord_appandgamesession_coord_approws at Lines 74–75 as plain text, not table entries. Remove the blank line and keep the role rows contiguous.- Accepted Accepted: restore contiguous ACL Markdown table rows.
- Reconcile the ADR totals with the decision inventory.Minor
Line 7 reports 181 ADR records and 172 records with completed review metadata, and lists direct decisions only through ADR 0182.
design/project-management/design-alignment/consequential-decision-inventory.mdreports 182 ADR records and 173 completed records at Line 58, and recordsEDGE-WITHDRAWAL-01as ADR 0184 at Line 386. Update this status to include ADR 0184 and the current totals.- Accepted Accepted: current inventory totals and accepted ADR0184 status.
- Qualify
gameInstanceIdfor pre-instance plugin triggers.MinorLine 357 requires
gameInstanceIdin each resolved plugin handler audit row. Line 392 says tenant-readinessonLoaduses a pre-instance identity and omits instance fields. These requirements conflict. RequiregameInstanceIdonly for instance-bound triggers and define the tenant-readiness audit shape.As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Accepted: qualify handler audit fields for the canonical pre-instance tenant-readiness identity.
- Major
The
AlreadyStartedpath does not compare the incomingPreparedWorldInstanceRequestwith the existing workflow's request identity. The current implementation can return the existingPREPARINGsnapshot for a request with a differentcontrolPlaneRequestId,launchDescriptorId, or other immutable field.Route · PR #2839 → Unassigned target OpenRouted to World lifecycle owner (unassigned PR): existing AlreadyStarted request-identity gap explicitly documented in this patch; full workflow reuse/CAS proof is separate from this PR transaction correction. No fix claimed. View routed finding - Clarify which target identity fields are required.Major
Line 99 describes
targetGameInstanceId,targetRegionId, andtargetRegionEpochas optional. When a distinct target runtime scope applies, all three are required.targetPlayableStateNamespaceIdis conditional on the target owning a playable-state namespace. State that the target scope is optional, but make these field-presence rules explicit. Otherwise, this line permits incomplete descriptor identities that conflict with Line 127 and the cookbook’s canonical rule.As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Accepted: complete optional target-runtime tuple; namespace conditional on ownership.
- Mark the descriptor flow as target-only.Minor
Line 241 says service-specific events follow the durable descriptor/outbox flow without a target-state qualifier. However,
design/architecture/system-architecture-scripting-examples-and-patterns.mdLine 72 says the current implementation persists only pre-DSL parent work. Line 25 says evaluated-descriptor replay is unavailable. Mark this flow as target-state or describe the narrower current path.As per path instructions, “Review docs for canonical-current-state consistency.”
- Accepted Accepted: distinguish target evaluated descriptor flow from current pre-DSL persistence.
- Mark this queue-recovery requirement as target-only.Major
Line 171 says the current
automation:queuerebuild and recovery path is unavailable and must fail closed. Line 265 also saysEVALUATINGrows lack a safe disposition without owner reconciliation and CAS fencing. This changed sentence instead says Automation “must rebuild/re-drive” a lost pointer without distinguishing target behavior from current behavior. Readers could treat it as a supported current recovery path. Mark the rebuild requirement as target-only and state that current pointer loss remains fenced for owner reconciliation.As per path instructions: “
design/**/*.md: Review docs for canonical-current-state consistency.”- Accepted Accepted: mark unavailable pointer rebuild/re-drive target-only and current fail-closed.
- Keep the existing command ID when ownership blocks a retry of an existing command.Minor
rejectIfOwnershipClosedbuilds eachAdmissionResultwith anullcommandId. On the existing-command path, a durable row already exists, andexisting.getCommandId()identifies it. The ownership-read failure branch at Lines 324-332 returnsexisting.getCommandId(). TheRUNTIME_PAUSED,STALE_TIMELINE, andOWNERSHIP_UNAVAILABLEbranches drop it. A caller then cannot link a paused or stale retry to the storedACCEPTEDrow. Examples are the remote follow-up execution path, which records a result command ID, and the Automation receiver once it is re-enabled. Copy the existing ID into the rejection result.🐛 Proposed fix
if (ownershipRejected.isPresent()) { - return new DurableAdmission(ownershipRejected.orElseThrow(), null, false); + AdmissionResult rejected = ownershipRejected.orElseThrow(); + return new DurableAdmission( + new AdmissionResult( + rejected.accepted(), + rejected.admissionOutcome(), + existing.getCommandId(), + rejected.errorCode(), + rejected.errorMessage()), + null, + false); }- Accepted Accepted: ownership-rejected existing retry retains durable command ID.
- Align the worked examples with namespace-based identity.Major
The changed contract at Lines 140 and 145 uses
playableStateNamespaceIdfor identity and excludesplayableStateScopefrom uniqueness. The worked pre-claim key at Line 162 still usesplayableStateScopeand omitsplayableStateNamespaceId. The child admission identity at Line 164 does the same. These examples can merge work across namespaces or make uniqueness depend on fence evidence that the contract excludes. Update both examples to use the applicable namespace ID and retainplayableStateScopeonly as exact-validated evidence.As per path instructions: “
design/**/*.md: Review docs for canonical-current-state consistency.”- Accepted Accepted: namespace identity in examples; scope remains separately validated evidence.
- Correct the HTTP Ping role description.Minor
The HTTP interceptor accepts both global and tenant-scoped privileged roles. The table incorrectly says that HTTP
/pingreturns403when the caller lacks a global privileged role.Suggested documentation fix
-| Public/infra health (target; current HTTP/gRPC drift) | `GET /ping`, `Ping` | Target: internal network + platform health policy. Current HTTP `/ping`: privileged [redacted credential] current gRPC `Ping`: [redacted credential] via interceptor. | The current HTTP route is not public: the shared interceptor returns `401` for missing/invalid credentials and `403` when the caller lacks a global privileged role. The current gRPC interceptor rejects missing/invalid credentials with `UNAUTHENTICATED`. | +| Public/infra health (target; current HTTP/gRPC drift) | `GET /ping`, `Ping` | Target: internal network + platform health policy. Current HTTP `/ping`: privileged [redacted credential] current gRPC `Ping`: [redacted credential] via interceptor. | The current HTTP route is not public: the shared interceptor returns `401` for missing/invalid credentials and `403` when the caller lacks a privileged role. `hasPrivilegedRole()` accepts global and tenant-scoped privileged roles. The current gRPC interceptor rejects missing/invalid credentials with `UNAUTHENTICATED`. |- Accepted Accepted: document actual privileged-role predicate without changing auth behavior.
- CLI Review 1 CompletedRuntime 9m 13sFound: 12 Accepted: 1/6/1 Routed: 0
- Minor
Update the README’s decision counts to match the current canonical inventory: include the fifth direct decision, EDGE-WITHDRAWAL-01 / ADR 0184, report 173 ADRs with completed review metadata, and reconcile applied-key totals to 187 wherever the README states 186. Keep the separately pending proposal and excluded navigation alias distinctions intact.
- Accepted Accepted: additional direct-decision/applied-key totals187 consistency beyond Hosted count correction.
- Minor
Update the AS-1.4 description of ScriptScheduleInstanceServiceImpl to remove the claim that due-point comparison spans clock domains, since lane ordering separates tick and wall-clock candidates first; retain the remaining ordering and target-state details.
- Accepted Accepted: lane partition precedes due sorting; remove false cross-clock comparison claim, retain real priority-order drift.
- Major
Update the eligibility description for rebuildPendingWorkItemIndex to exclude rows with an active, non-stale lease; allow EVALUATING rows only after staleness is proven or the lease is released through a fenced compare-and-set.
- Accepted Accepted: target-only rebuild cannot steal active lease; retain current unavailable replay and additional owner-reconciliation requirements.
- Minor
Update the participant-guard summary to distinguish the root EffectId from generated-child replay identities: identify each generated operation’s persisted child EffectId as its mutation replay identity and the root EffectId as lineage. Keep the summary consistent with the detailed contract and the canonical transaction-strategy semantics.
- Accepted Accepted: generated mutation uses its own persisted child EffectId, root is lineage; align canonical transaction owner.
- Trivial
Rename WorldInstanceActivationServiceImplTest to WorldLifecycleCommandServiceImplTest so the test class name matches the class under test and the termination tests are discoverable.
- Accepted Accepted: rename lifecycle-command test to actual class under test without losing tests; focused proof pending.
- Trivial
Update controlPlaneService(...) and the admission tests that use controlPlaneComponent(...) to retain and access the GameSessionCommandControlPlaneService and GameSessionRemoteControlPlaneService directly, then remove the reflective helper so field renames are checked at compile time.
- Rejected Duplicate of accepted Hosted4142913883; same explicit test-seam correction is already assigned in current batch.
- Minor
In the existing-command path, update the ownershipRejected branch to retain the rejection result’s outcome and error details while setting its command ID to existing.getCommandId() before constructing DurableAdmission. This ensures RUNTIME_PAUSED, STALE_TIMELINE, and OWNERSHIP_UNAVAILABLE rejections for an ACCEPTED row remain linked to the durable command.
- Rejected Duplicate of accepted Hosted4142913864; durable command-ID correction already assigned.
- Major
Update the worked example’s trigger identity fields to use playableStateNamespaceId and exclude playableStateScope from uniqueness; retain playableStateScope only as exact-validated evidence. Align the examples at Lines 162 and 164 with the namespace-based contract described in the trigger-instance identity section.
- Rejected Duplicate of accepted Hosted4142913758; namespace worked example correction already assigned.
- Minor
Update the
automationDispatchIddescription to call it a correlation key without describing it as low-cardinality; preserve the guidance that it must not be used as a metric label.- Accepted Accepted: dispatch correlation IDs are unbounded, not low-cardinality metric labels.
- Major
Update the event-scope identity key referenced by the collision lookup so it includes applicable playableStateNamespaceId and excludes playableStateScope. Keep scope evidence validation separate from identity comparison, so evidence changes are handled as conflicts rather than creating a distinct identity.
- Rejected Duplicate of accepted Hosted4142913806 namespace event identity correction, already assigned.
- Minor
Update the recovery guidance near the RUNNING-state check so class-level execution-time ratios are supporting evidence only when their availability is confirmed; otherwise verify recovery using authoritative runtime-health and queue-drain evidence. Keep the guidance consistent with the capability caveat elsewhere in the runbook.
- Accepted Accepted: qualify unavailable target-only ratio evidence; authoritative health/drain remains proof.
- Minor
In the implementation-tracking entry, remove the duplicated origin-timeout limitation so it appears only once; retain the remote_followup uniqueness-index and persisted-row-field statements unchanged.
- Accepted Accepted: remove duplicated origin-timeout limitation, preserve canonical index/retained-row status.
- Hosted Review 2 CompletedRuntime 11m 54sFound: 8 Accepted: 4/3/0 Routed: 1
- Separate owner-request evidence from Trigger Identity fields.Major
Line 68 defines
requiredTriggerIdentityFieldsas identity fields. Line 71 excludesscriptPinControlPlaneRequestIdfrom candidate, firing-claim, work-item, and derived event identities. Line 73 nevertheless requires the paired owner request evidence in that identity-field set. List it separately as required fence evidence and retain exact validation. Otherwise, producers and consumers can derive different durable idempotency keys.Proposed clarification
- - **Target-state exact-fence requirement:** For gameplay/runtime and scheduler events, this set must include the exact Game Session `scriptPatchVersion` plus `scriptPinEpoch` and the paired owner request evidence; a version-only or partial tuple is incomplete and cannot be admitted after a repin. + - **Target-state exact-fence requirement:** For gameplay/runtime and scheduler events, this set must include the exact Game Session `scriptPatchVersion` and `scriptPinEpoch`; a version-only or partial tuple is incomplete and cannot be admitted after a repin. The paired `scriptPinControlPlaneRequestId` is separately required fence evidence, exact-compared, and excluded from identity keys.As per path instructions, “Review docs for canonical-current-state consistency.”
- Accepted Accepted #2839 identity/evidence distinction: scriptPatchVersion/scriptPinEpoch identity; controlPlaneRequestId required exact-compared owner evidence excluded from keys.
- Clarify that Trigger Identity does not define command-handoff identity.Major
Lines 42 and 172 state that Full Trigger Identity governs handoff identity. The contract instead defines each emitted command by its complete Command-Handoff Identity, including
automationDispatchIdandcommandOrdinal(Lines 232–234). These statements conflict. If an implementation uses Trigger Identity as the child key, commands emitted by the same handler can alias.Change both statements to say that Full Trigger Identity governs handler identity only. As per path instructions, “Review docs for canonical-current-state consistency.”
Proposed wording correction
- Full Trigger Identity governs handler and handoff identity only. + Full Trigger Identity governs handler identity only. - Full Trigger Identity governs handler and Command-Handoff identity only. + Full Trigger Identity governs handler identity only.Also applies to: 172-172
- Accepted Accepted #2839 authority correction: Trigger Identity handler only; handoff admission/deduplication uses Command-Handoff Identity.
- Remove the unsupported lock-lifetime guarantee.Minor
Line 32 says the current formula and bounds do not prove the target contract. The final sentence then asserts that the target locks stay active through normal ticks and bound stalled-tick recovery. Remove that assertion or label it as an unproven target objective pending resolver evidence.
As per path instructions: “
design/**/*.md: Review docs for canonical-current-state consistency.”- Accepted Accepted #2839 proof-status correction: opaque shared lock TTL has no proved normal-tick/stalled-recovery guarantee; remove unsupported assurance.
- Do not require an unaccepted child-ID derivation.Major
Line 527 requires the lifesteal child
EffectIdto be derived from the accepted result. Line 71 says exact opaque allocation remains non-authoritative under pending ADR 0183.design/project-management/design-alignment/decision-inventory-cross-cutting.md, Line 134, also says the accepted TICK-04 decision does not select a generated-child allocator. Require a persisted child identity and replay reuse, but leave its allocation method to an accepted owner contract.As per path instructions,
design/**/*.mdmust preserve “canonical-current-state consistency.” The supplied TICK-04 ledger says no generated-child allocator has been selected.Proposed wording
- - Only after existing coordinator reconciliation accepts the target result does region A record the actor-generated “apply lifesteal heal” effect for the caster. A rejected or abandoned result creates no heal effect; an accepted heal has a deterministic, stable idempotent child `EffectId` derived from the accepted result and is not a new root actor command. Acceptance replay reuses that child identity and the exact accepted-result digest; it cannot create a second heal intent or silently accept a conflicting result. The pending [ADR 0183 proposal](./decisions/adr-0183-deterministic-effect-id-allocation-and-replay-binding.md) is non-authoritative. + - Only after existing coordinator reconciliation accepts the target result does region A record the actor-generated “apply lifesteal heal” effect for the caster. A rejected or abandoned result creates no heal effect; an accepted heal is not a new root actor command. The durable child intent stores the child `EffectId` and exact accepted-result digest; acceptance replay reuses both and cannot create a second heal intent or silently accept a conflicting result. Child identity allocation follows the applicable accepted owner contract. The pending [ADR 0183 proposal](./decisions/adr-0183-deterministic-effect-id-allocation-and-replay-binding.md) is non-authoritative.- Accepted Accepted #2839 lifesteal correction: store/reuse child EffectId and accepted-result digest; do not make pending allocation derivation authoritative.
- Align the break-glass instruction with the current fallback.Minor
Line 488 tells operators to use the Coordination Reset Model after a break-glass write. This conflicts with Line 476 and Line 501, which direct current deployments to preserve evidence, keep the scope fenced, and escalate while the tooling is unavailable. Adding a target-only duplicate here does not qualify the instruction at Line 488. Replace Line 488 with the target-state condition or remove it.
As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Accepted #2839 operational correction: unavailable reset tooling means evidence preservation, fenced scope and escalation; target reset model conditional.
- Clarify the resolved
bindingIdrequirement.Minor“Required resolved
bindingId” is difficult to parse. Say that the current schema and lookup omit the resolvedbindingIdrequired by the target identity.Proposed wording change
-... carries the required resolved `bindingId`. +... carries the resolved `bindingId` required by the target full Trigger Identity.The supplied LanguageTool hint identifies the same wording issue.
- Accepted Accepted #2839 wording correction: current rows/lookups omit resolved bindingId required by target Trigger Identity; fix in local batch, no schema completeness claim.
- Preserve namespace identity in the automation queue contract.Minor
automation:queue:{tenantInstanceTag}:<entityId>does not isolateplayableStateNamespaceId. The queue pointer andScriptWorkItemomit that field, andScriptWorkItemExecutionServiceImplclaims work byoutboxWorkItemIdonly. Repeated entity IDs can therefore share one pointer queue without namespace-specific ordering or fence validation.Add
playableStateNamespaceIdto the durable work identity, pointer payload, queue/rebuild scope, and consumer validation. Do not describe the current queue as namespace-isolated.📍 Affects 2 files
design/architecture/system-architecture-scripting-dsl-reference-and-lifecycle.md#L66-L66(this comment)design/architecture/system-architecture-scripting-examples-and-patterns.md#L72-L72
Route · PR #2839 → Unassigned target OpenRoute unassigned to Automation runtime AS-1.1/AS-1.2: namespace-aware durable work, pointers, queue/rebuild and consumer enforcement. Outside #2839 corpus implementation; current-status docs corrected locally, target not claimed live. View routed finding - Use the mutation
EffectIdfor child participant guards.MajorLine 469 says to derive the guard from the root
EffectId. Lines 467 and 470 define the mutation’s persisted root-or-childEffectIdas the guard identity, with the enclosing root retained as lineage.design/architecture/system-architecture-transactions.mdLine 87 states the same distinction. If an implementation follows the root-only wording, distinct child mutations with the same operation and target can share a guard identity and cause one mutation to conflict with or replay as the other. Update Line 469 to use the mutation’s persistedEffectId.Proposed wording
-Without that one-update-per-aggregate-per-tick invariant, each logical effect requires a participant guard derived from the stable root `EffectId`, typed operation, and target aggregate; a root-only ledger or guard is insufficient. +Without that one-update-per-aggregate-per-tick invariant, each logical effect requires a participant guard derived from the mutation's persisted root-or-child `EffectId`, typed operation, and target aggregate; the enclosing root `EffectId` remains lineage, and a root-only ledger or guard is insufficient.As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Accepted #2839 guard correction: persisted mutation root-or-child EffectId with typed operation and target; enclosing root lineage not child guard identity.
- CLI Review 2 CompletedRuntime 5m 09sFound: 6 Accepted: 1/5/0 Routed: 0
- Minor
Qualify the Redis Cluster
CROSSSLOTstatements in theIpConnectionLimiterdescription at both occurrences: say the error can occur whenipconn:<address>andsessionip:<sessionId>hash to different slots, rather than implying it occurs on every registration.- Accepted Accepted current-PR factual qualification: untagged ipconn/sessionip registration can fail CROSSSLOT when hashes differ; same-slot collisions do not always fail. Both occurrences will be corrected.
- Minor
Update the inspection guidance around PauseTicksForScope and GetRuntimeOwnershipStatus to make read-only coord_ops_ro inspection conditional on all endpoint, transport, credential, ACL, and readback attestation requirements in the preceding bullet passing. Preserve the existing supported boundary and other AOF custody instructions.
- Accepted Accepted current-PR safe operator-doc clarification: duplicate read-only inspection bullet must inherit all endpoint, transport, credential, ACL and positive/negative readback gates from preceding requirement; no supported scope expansion. Pending.
- Major
Update the S1/S2 watermark examples to key records by the owner-defined namespace partition, not game_instance_id, and keep the active game_instance_id as separate authorization or fence evidence. Reserve the instance-keyed identity for explicit S3 watermarks so an instance change cannot create a second S1/S2 watermark record.
- Accepted Accepted current-PR contract inconsistency: watermark examples must use owner-defined S1/S2 namespace identity with active instance as fence evidence, reserving instance-keyed uniqueness for classified S3; narrow example correction pending.
- Minor
Update the tick-events stream and offsets description in the architecture document to identify them as target-state or once implemented, not current; preserve the distinction that they are best-effort coordination hints.
- Accepted Accepted current-PR implementation-status correction: tick-events and offsets are target-only best-effort hints, not currently implemented projections; wording fix pending.
- Minor
Clarify the child replay clause in the command-level diagnosis guidance to match the normative contract’s deferred descriptor-level replay status and current
workItemIds[]mutation selector. Mark child replay as future or unsupported; do not implyCommand-Handoff Identityis currently a replay capability.- Accepted Accepted current-PR operator-doc fix: make descriptor/child replay deferred and preserve workItemIds as current parent-row mutation selector, linking the canonical contract rather than inventing a child replay API; pending.
- Minor
Clarify in the
ACCEPTEDrecovery lifecycle that the volatile-onlyLOST_BEFORE_STAGINGrestriction applies specifically to live startup recovery, and make the corresponding statement consistent in both paragraphs. Reconcile the rollback-purge mapping for durable commands purged before batch binding with ADR 0016 so it does not contradict that scoped restriction.- Accepted Accepted current-PR documentation fix: scope the volatile-only LOST_BEFORE_STAGING restriction to startup-loss recovery in both tracker paragraphs, preserving the separately proved rollback purge mapping; implementation pending in one bounded doc batch.
- CLI Review 3 CompletedRuntime 5m 44sFound: 6 Accepted: 3/2/0 Routed: 0
- Major
Update the implementation-tracking paragraph around EnqueueAutomationCommandIfAbsent to focus on current implementation behavior and gaps. Remove the repeated target actor-action, passive-effect, and handoff contract details, retaining links to ADR 0063, ADR 0069, Scripting Contracts, and Tick Concepts & Invariants as the canonical sources.
- Accepted Accepted: tracker repeats target actor/fairness and handoff identity rules. Keep implemented receiver gating and concrete gaps, link ADR0063/0069 and canonical scripting/tick owners. Pending bounded doc fix.
- Minor
Update the README’s declared current coverage summary from 355 discovered and 352 allocated sources to 357 discovered and 354 allocated sources, and align the validator’s declared summary with those figures.
- Accepted Accepted: validator proves357 discovered/354 allocated/3 exempt; inventory agrees but README current-summary bullet remains355/352. Preserve dated historical evidence and correct only current wording; no needless validator code rewrite.
- Major
Update the resume-generation transition rule to prevent a new mode-specific resumeWindowId from selecting work that remains pending in a prior window; require that prior window to reach COMPLETE before allocation, or explicitly define equivalent isolation while its claims settle under their original identities.
- Accepted Accepted: clarify isolation of prior-window pending claims from new-window selection while settling under original identities, consistent with existing epoch/pin fencing. Do not impose new global COMPLETE barrier or forbid independently reconciled new candidates.
- Major
Update the scheduler-owned stable continuity key to include isDryRun as an explicit identity field, so live and dry-run schedules with otherwise identical values have distinct continuity identities. Adjust the wording that currently scopes the key “for each isDryRun mode” to match.
- Accepted Accepted: make existing live/dry-run partition explicit in the secondary continuity identity wording, retaining canonical scheduler authority rather than a new mode semantics. Pending doc fix.
- Trivial
Replace the detailed target actor-action and passive-effect rules in the sentence beginning “Once receiver admission is available” with a brief statement of the local Game Session actor-action consequence, linking to Scripting Contracts and Tick Concepts for the canonical rules.
- Rejected Rejected duplicate of finding1 on the same tracker paragraph; one accepted correction removes the repeated actor/passive target rules while preserving implemented local consequence and owner links.
- Minor
Update the service-specific events statement to label the descriptor/outbox flow as target state, and preserve the distinction that the live legacy path uses per-command handoffs to Game Session.
- Accepted Accepted: service-specific descriptor/outbox flow is target state, not live legacy per-command delivery. Qualify status without changing target contract. Pending doc fix.
- CLI Review 4 CompletedRuntime 3m 19sFound: 1 Accepted: 0/1/0 Routed: 0
- Minor
Update the pending-statement sentence near “Command-plan ordinal” to limit ADR 0183’s unresolved scope to ordinal and ID-generation mechanics. Do not describe root-allocation treatment as pending; keep the established rule that non-empty plans require a root and zero-effect plans allocate none.
- Accepted Accepted: narrow execution-flow pending label to ordinal/ID-generation mechanics; retain canonical nonempty-root and zero-effect-no-root rules. Local doc correction pending; no ADR approval or runtime change.
- Hosted Review 3 CompletedRuntime 11m 13sFound: 9 Accepted: 5/3/1 Routed: 0
- Separate ADR 0075’s accepted child mapping from ADR 0183’s unresolved allocation mechanics.Minor
ADR 0075 accepts the owner-defined ordinal and durable owner-scope/root/parent/ordinal-to-child-
EffectIdadmission mapping. ADR 0183 may still define the scalar format and allocation mechanics that ADR 0075 does not cover. Scope ADR 0061 and ADR 0069 accordingly.Suggested wording
- The owner-scope/root/parent/ordinal mapping to each child `EffectId` is one atomic durable admission record. + Independent of pending ADR 0183, the owner-scope/root/parent/ordinal mapping to each child `EffectId` is one atomic durable admission record.- Generated-child allocation and root/child lineage beyond this accepted guard boundary remain subject to the non-authoritative [ADR 0183 proposal](./adr-0183-deterministic-effect-id-allocation-and-replay-binding.md). + The owner-scope/root/parent/ordinal-to-child-`EffectId` admission mapping and enclosing-root lineage required by ADR 0075 are accepted independently of ADR 0183. Command-plan ordering, root allocation, and identity-format or allocation mechanics not defined by that mapping remain subject to the non-authoritative [ADR 0183 proposal](./adr-0183-deterministic-effect-id-allocation-and-replay-binding.md).- The exact scalar format and allocation boundary for root or generated-child effect identities remain unresolved and are proposed in [ADR 0183](./adr-0183-deterministic-effect-id-allocation-and-replay-binding.md). + The owner-defined child ordinal and durable owner-scope/root/parent/ordinal-to-child-`EffectId` admission mapping required by ADR 0075 are accepted. The exact scalar format and root, command-plan, or other identity-allocation mechanics not defined by that mapping remain unresolved and are proposed in [ADR 0183](./adr-0183-deterministic-effect-id-allocation-and-replay-binding.md).📍 Affects 3 files
design/architecture/decisions/adr-0075-depth-cost-and-count-bounds-for-generated-effect-chains.md#L48-L48(this comment)design/architecture/decisions/adr-0061-single-owner-spatial-mutations-across-split-authority.md#L51-L51design/architecture/decisions/adr-0069-at-least-once-effect-execution-with-one-logical-terminal-outcome.md#L50-L50
- Accepted Accepted: preserve ADR0075 durable child ordinal/mapping as independently accepted; narrow ADR0061/0069 pending language to ADR0183-only mechanics. Three-document correction pending.
- Include the paired pin-owner request ID in support evidence.Minor
The ticket field list includes the authoritative
scriptPatchVersion/scriptPinEpochpair but omitsscriptPinControlPlaneRequestId. The canonical contract requires that paired ID as non-identity owner evidence and exact-validates it against Game Session. Without it, a ticket cannot show which owner record supplied the tuple. Add the request ID whenever authoritative pin evidence is available.As per path instructions, “Review docs for canonical-current-state consistency.” The paired owner-evidence rule is in
design/architecture/system-architecture-scripting-contracts.md, Line 46.Proposed wording
- the exact `scriptPatchVersion`/`scriptPinEpoch` pair only after authoritative pin evidence is available, + the exact `scriptPatchVersion`/`scriptPinEpoch` pair and paired `scriptPinControlPlaneRequestId` as non-identity owner evidence only after authoritative pin evidence is available,- Accepted Accepted: add paired scriptPinControlPlaneRequestId to support ticket as non-identity owner evidence when authoritative pin tuple exists. Current readiness exception remains.
- Correct the current-state pin-fence claim.Major
Line 263 defines the exact script tuple as
(scriptPatchVersion, scriptPinEpoch). However,design/architecture/system-architecture-scripting-operations-cookbook.mdLine 158 says the currentEnqueueAutomationCommandIfAbsentRequestomitsscriptPinEpoch. The current Game Session handoff therefore cannot revalidate that exact tuple or reject same-version, old-epoch work as Line 270 claims.Qualify the statement: retain the ingress validation and persistence claim, but identify downstream epoch revalidation as a current implementation gap. As per path instructions, “Review docs for canonical-current-state consistency.”
- Accepted Partially accepted: qualify unavailable downstream receiver proof. Reject missing-epoch premise: proto field25 already carries epoch; fix stale cookbook claim and explain live fail-closed receiver/remote binding gap.
- Do not describe the text-and-slot branch as a live gameplay-staging fallback.Minor
createBatchForTickrejects missing or blankcommandIdvalues before callingcommandSelections.commandSelectionsrepeats this guard before it callseffectKey. Therefore, current durable gameplay-command staging cannot reach thecommand-text:<hash>:slot:<index>branch without acommandId.Update the current-state wording in
system-architecture-tick-concepts-and-invariants.mdandsystem-architecture-tick-execution-flows.mdto identify this as an unreachable or legacy helper branch, not as a live staging fallback. Keep the Entity Management statement that missing command identity is rejected. Do not claim that live gameplay-command staging uses the fallback.📍 Affects 3 files
design/architecture/system-architecture-tick-concepts-and-invariants.md#L76-L76(this comment)design/architecture/system-architecture-tick-execution-flows.md#L16-L16design/architecture/microservices/entity-management-service/operations.md#L60-L60
- Accepted Accepted: describe text/slot effectKey fallback as unreachable in durable gameplay staging; commandSelections guards missing commandId. Keep Entity rejection and proposal-only allocation status.
- Include namespace identity in the parent Trigger Identity.Major
Line 140 includes
playableStateNamespaceIdin the schedule claim key and says the RPC carries the complete Trigger Identity. Line 142’s parent Trigger Identity field list omitsplayableStateNamespaceIdand listsplayableStateScopeinstead. Add the namespace ID to the parent fields and retain scope only as separately validated evidence.The supplied scripting contract defines
playableStateNamespaceIdas identity andplayableStateScopeas separate evidence. As per path instructions: “design/**/*.md: Review docs for canonical-current-state consistency.”- Accepted Accepted: restore playableStateNamespaceId to parent Trigger Identity; retain playableStateScope only as separately validated evidence. Target field-list correction pending.
- Require proof before reporting
NOT_APPLIED.MajorThe durable-effect branch can mark a retryable command
ABANDONEDandNOT_APPLIEDbased only on the existence of a matchingtick_effectrow. It does not require authoritative evidence that the effect was unapplied. Keep the command nonterminal and reconciliation-required when that evidence is inconclusive.- Accepted Accepted: durable prior effect existence alone cannot prove NOT_APPLIED. Correct purge target contract to require authoritative unapplied proof; disclose current implementation gap and preserve unresolved work.
- Require durability proof for the existing-marker outcome.Major
WAITAOFcovers earlier writes on its current client connection. If another connection created the deny marker, the existing-marker branch can return0and acknowledge only its own writes. A primary failure can then lose the marker afterDURABLE_BROWSER_REVOKE_ACK, allowing reuse of the revoked token.Require the existing-marker branch to reassert the valid marker with its original absolute expiry on the same connection before
WAITAOF, or withhold the durable acknowledgement until the original write's durability is proven. Keep malformed or conflicting state non-mutating and fail closed.- Accepted Accepted target-contract security correction: an existing marker needs same-connection reassertion preserving absolute expiry or original-write durability proof before durable ACK. Current implementation remains absent.
- Specify the participant-guard partition and digest role.Major
Lines 33 and 38 omit the owner-declared runtime-family partition. Line 363 also excludes
gameInstanceIdfrom participant uniqueness without limiting that statement to S1/S2.Line 134 of
design/project-management/design-alignment/decision-inventory-cross-cutting.mddefines uniqueness as persistedEffectIdplus typed operation and target aggregate, scoped by(tenantId, playableStateNamespaceId)for S1/S2 or(tenantId, gameInstanceId)for explicit S3. It definesrequestDigestas separately persisted and validated metadata, not part of uniqueness.State that partition and digest rule at Lines 33, 38, and 363. Limit the
gameInstanceIdexclusion at Line 363 to namespace-backed S1/S2.As per path instructions: “Review docs for canonical-current-state consistency.”
Also applies to: 33-33, 38-38
- Accepted Accepted: Entity secondary consequences must use owner-declared S1/S2 namespace or explicit S3 instance partition and separately validated digest, never digest uniqueness. Doc/link correction pending.
- Keep the
tenantInstanceTagimplementation-drift statement.TrivialAutomationRedisKeys.tenantInstanceTagconcatenatestenantIdandgameInstanceIdwith:.requirePartrejects only null or blank values.AutomationQueueServiceImplpassesScriptWorkItemstring fields directly to the builder during enqueue and rebuild.AutomationQueuePublicationSupportforwards the persisted work item without identity validation.Distinct values can produce the same tag. For example,
(tenantId="a", gameInstanceId="b:instance:c")and(tenantId="a:instance:b", gameInstanceId="c")produce the same tag. A}in either identifier can also change the Redis Cluster hash tag. Keep the requirement for a shared encoded tuple or a canonical UUID-boundary contract, and identify these missing enforcement points in the reference.- Accepted Accepted clarification: existing drift paragraph already retains encoding requirement; add verified blank-only builder and unenforced enqueue/rebuild/publication boundaries. No runtime encoding claim.
- CLI Review 5 CompletedRuntime 6m 07sFound: 7 Accepted: 2/2/2 Routed: 0
- Minor
Update the exact co-slotted key patterns to use the canonical replay hash tag,
{gateway-connect-token-replay-v1}, instead of the undefined{gatewayReplayDomain}placeholder, or explicitly define that placeholder as the canonical tag. Keep the replay, deny, and readiness keys in the same hash slot.- Accepted Accept: replace undefined gatewayReplayDomain placeholder with fixed gateway-connect-token-replay-v1 tag already required by canonical Gateway/replay contract.
- Trivial
Update the rollback-purge entry near
GetGameplayCommandStatusto remove its restatement of ADR 0016’s eligibility, fencing, terminal-field, and scope rules, retaining the ADR link, current implementation facts, status API statement, proof gaps, and any checker-required tracker wording.- Rejected Reject duplicate: same purge target duplication as finding 1; one accepted correction preserves implementation/proof gaps and ADR link without double counting.
- Trivial
Add a reference to the shared validation and runtime-proof guidance in the paragraph describing contract and migration tests for the
gateway-connect-token-replay-consume/v1descriptor, so evidence selection follows that process; leave the descriptor requirements unchanged.- Accepted Accept: add canonical validation/runtime-proof owner link for replay descriptor contract and migration test evidence; descriptor semantics unchanged.
- Major
Update the target charge-marker description for the pre-DSL trigger-record/work-item row so a separate handler charge record is the sole authority for admission and execution-start charges, and the trigger row only links to that record. Keep the existing current-state description of the single script_work_items row unchanged.
- Accepted Accept: target handler-charge record is sole admission/execution-start authority; trigger row links to it. Preserve current single script_work_items implementation description.
- Minor
Clarify the current Redis routing contract in the architecture document: align the statement about role-specific variables and the generic factory with the statement about deployment routing, distinguishing the current generic client’s configured endpoint from any role-specific routing. Preserve the target-state description and use the existing routing details to resolve the contradiction.
- Accepted Accept: distinguish the generic configured endpoint from future role-bound configuration; remove contradictory claim that role env vars already provide isolated routing.
- Major
Update the proposal-only wording in the tick-failures-and-operations architecture section to limit it to deterministic allocation mechanics and planOrdinal; retain stable root EffectId assignment before acknowledgement and persisted nonblank root before tick staging as target-state requirements.
- Accepted Accept: narrow proposal-only wording to deterministic allocation mechanics and planOrdinal; existing target root assignment/persisted nonblank root requirements remain mandatory.
- Trivial
In the rollback-purge status paragraph, keep the implementation status and proof gaps, but replace the duplicated eligibility predicates, fencing requirements, and terminal-field mapping with a link to the canonical rollback-purge contract in ADR 0016.
- Accepted Accept: replace duplicated target purge predicates/field mapping with canonical ADR 0016 link; retain current implementation, status API, explicit evidence gaps and checker-required wording.
- CLI Review 6 CompletedRuntime 3m 16sFound: 2 Accepted: 1/1/0 Routed: 0
- Minor
Update the Game Session row description so its Trigger Identity remains separate from the pin operation’s controlPlaneRequestId; describe the request ID as accompanying owner evidence, not as part of Trigger Identity. Keep the existing schedule projection and other correlation evidence unchanged.
- Accepted Accepted: separate scriptPinControlPlaneRequestId owner evidence from Trigger Identity in the worked enqueue example; retain schedule and immutable comparison fields.
- Major
Update the durable-intent identity rules to keep controlPlaneRequestId as the stable reservation and deduplication key across recovery claim changes. Use preAuthorizationReservationTuple/v1 for exact request comparison and the current claim fence only to authorize state transitions; do not make a refreshed fence part of the idempotency identity.
- Accepted Partially accepted: remove mutable claim fence from moderation idempotency identity and distinguish stale-fence rejection. Retain policyIntentRequestId for domain dedup and controlPlaneRequestId only at the canonical reservation boundary; reject changing the moderation key.
- Hosted Review 4 CompletedRuntime 8m 46sFound: 4 Accepted: 1/2/1 Routed: 0
- Fix the scope statement: Trigger Identity does not govern Command-Handoff identity.Minor
Line 180 says "Full Trigger Identity governs handler and Command-Handoff identity only." Line 42 and the Command-Handoff Identity section (Lines 236–240) say the opposite. Trigger Identity governs handler work only. Command-Handoff Identity governs child handoff deduplication. Parent Trigger Identity is correlation-only for children.
An implementation that follows Line 180 can key child commands by Trigger Identity. Commands from one handler can then alias.
Proposed wording
-- Full Trigger Identity governs handler and Command-Handoff identity only. After the complete applicable Command-Handoff Identity is admitted/deduplicated +- Full Trigger Identity governs resolved handler work only. The complete applicable Command-Handoff Identity governs child handoff admission and deduplication. After that identity is admitted/deduplicatedAs per path instructions, "Review docs for canonical-current-state consistency."
- Accepted Accepted: Full Trigger Identity governs handler work only; complete Command-Handoff Identity governs child admission/dedup. Preserve downstream mutation EffectId guard requirements.
- Consolidate the repeated tenant-reset guidance.Trivial
Line 47 and Line 48 repeat the session-policy and Account-projection rules from Lines 45 and 46. Merge the new family-specific details into the earlier bullets, then remove these duplicates. This keeps one canonical tenant-reset rule and reduces the risk that the copies diverge.
As per path instructions, “
design/**/*.md: Review docs for canonical-current-state consistency.”- Accepted Accepted: consolidate duplicated tenant-reset bullets into one family-complete rule per session/index and Account projection owner; retain exact legacy preserve/readback and target repair limits.
- Separate local-action intent from external-action intent.Major
Line 192 requires a durable
IN_PROGRESSintent before every effect. Line 193 requires the intent, backlog CAS, and final result to commit atomically for owner-local actions. A separately committed intent cannot be atomic with that local transaction. If the intent remains uncommitted until the local transaction finishes, it is not durable before the mutation.Keep owner-local intent, CAS, and result in one transaction. Require a durable
IN_PROGRESSintent before external or authority calls.Proposed wording
- Before any effect execution or external/authority call, the owner must persist a unique, digest-bound action-intent row ... with status IN_PROGRESS. + For external or authority calls, durably commit the unique, digest-bound IN_PROGRESS intent before the call. For owner-local mutations, record the intent in the same transaction as the backlog CAS and final result.As per path instructions: “
design/**/*.md: Review docs for canonical-current-state consistency.”- Accepted Accepted: owner-local intent/backlog CAS/result commit atomically; external or authority calls require durable intent before dispatch. Preserve stable request identity, digest, fencing and ambiguous outcome reconciliation.
- Do not describe the current queue as rebuildable.Minor
Line 72 calls the live pre-DSL queue a “rebuildable pointer.” Lines 68-69 in
design/architecture/system-architecture-scripting-dsl-reference-and-lifecycle.mdsay queue reset, rebuild, and resume remain unavailable. Qualify rebuildability as target-only so readers do not treat a current queue rebuild as supported.As per path instructions, “
design/**/*.md: Review docs for canonical-current-state consistency.”Proposed clarification
- - The committed pre-DSL trigger is projected into `automation:queue:{tenantInstanceTag}:<entityId>` only as a rebuildable pointer. + - The current `automation:queue:{tenantInstanceTag}:<entityId>` projection contains derived pre-DSL parent-work pointers; reset, rebuild, and resume remain unavailable. Treat rebuildability as target-only.- Accepted Accepted: describe current derived pre-DSL parent pointers and unavailable reset/rebuild/resume; rebuildability remains target-only under the lifecycle owner.
- CLI Review 7 CompletedRuntime 4m 59sFound: 5 Accepted: 2/1/1 Routed: 0
- Trivial
Add a link from the status entries to the shared validation and runtime-proof guidance, “Validation and Runtime-Proof.” Keep execution results in PR/CI or implementation-tracking records; do not add a validation ledger to the architecture contract.
- Accepted Accepted: add the shared validation/runtime-proof workflow link to scheduler introductory guidance; do not add an architecture validation ledger.
- Minor
Clarify the scheduler identity contract so all documents agree on whether plugin-owned schedules include scriptId. Update the canonical preimage description in TimerFiringCandidate.identity() and the related statements in the scheduler identity contracts to consistently include scriptId for plugin-owned schedules or qualify its inclusion as core-owned.
- Rejected Rejected: normative preimage explicitly restricts scriptId to core-owned schedules and the scheduler matches it. Live identity serialization is expressly narrower/unconverged; copying unconditional scriptId into plugin target identity would alter the canonical contract.
- Minor
Define the external control plane or a separate operation-bound deletion principal as the authority to delete the complete registered Cache prefix inventory; do not rely on automation_queue_rebuild_maint, which is scoped only to automation:queue:*. Specify the deletion authority’s exact prefix scope and bind it to the same operation, fence, and deployment generation used by the reset gate.
- Accepted Partially accepted: distinguish the external reset gate from deletion authorization; require separately authorized exact-prefix operation-bound deletion and document its unimplemented fail-closed gap. Do not broaden automation_queue_rebuild_maint or invent a shipped all-prefix role.
- Major
Reconcile current-state descriptions of the authenticated Game Session receiver across the quotas-and-operations document, cookbook, and runtime-execution architecture so they consistently state that it fails closed with FAILED_PRECONDITION before command or queue mutation; label any acceptance or replay flow as target state unless it describes behavior reached after the receiver fence. Update other current-state references to make clear that the live handoff is unavailable.
- Accepted Partially accepted: runtime-execution still claims a live admitted handoff scope. State authenticated receiver FAILED_PRECONDITION before mutation and qualify lower-level tuple checks; quotas/cookbook already align.
- Major
Update the due-candidate identity definition to include the complete target selector, including targetScopeType and targetScopeId for REGION and GLOBAL targets, while keeping entityId conditional on entity scope. Locate the identity specification in the schedule projection description.
- Accepted Accepted: schedule projection must list targetScopeType and targetScopeId for all target branches, retaining entityId only for ENTITY, consistent with the canonical scheduler preimage.
- CLI Review 8 CompletedRuntime 4m 30sFound: 2 Accepted: 1/1/0 Routed: 0
- Major
Update the target-state clause about coordination-prefix mutations to state that break-glass mutations may be issued only through the gated maintenance wrapper and that operators must not issue raw redis-cli writes. Keep the auditing, post-incident reset, and verification requirements intact.
- Accepted Remove target-state raw-write ambiguity: require the owner-authorized gated incident wrapper, never operator raw redis-cli mutations, preserving audit/reset/readback and current unavailable fail-closed fallback.
- Minor
Clarify the continuity migration rule in the schedule documentation: the source and target pin tuples may differ when both the prior and target tuples validate. Keep
scriptPatchVersionandscriptPinEpochas provenance and execution-fence metadata, not continuity-key components, and align the migration wording withsystem-architecture-scripting-dsl-reference-and-lifecycle.md.- Accepted Clarify both source and target pin tuples validate independently; equality is not continuity. Keep provenance and execution fences outside the stable key, matching the canonical DSL lifecycle example.
- Hosted Review 5 CompletedRuntime 11m 11sFound: 6 Accepted: 1/3/1 Routed: 1
- Mark the text-and-slot fallback as legacy-only.Minor
Live
createBatchForTickandcommandSelectionsreject missing command IDs beforeeffectKeyruns. Newly staged gameplay manifests therefore cannot reach this fallback. Mark it as legacy-only so current-live operators do not search for a candidate that live staging cannot produce.Suggested documentation fix
- When no command ID is available, the current implementation may use the documented `command-text:<hash>:slot:<index>` fallback to locate a candidate in the selected-work manifest. + For a legacy current-live manifest that lacks a command ID, operators may use the documented `command-text:<hash>:slot:<index>` fallback to locate a candidate in the selected-work manifest.- Accepted Mark command-text/slot correlation legacy-only; new staging rejects missing durable command IDs. Retain complete ledger/effect/participant verification and non-authorizing semantics.
- Keep the Redis profile drift explicit and correct the hosted cache settings.Minor
The hosted overlay provisions a persistent
redis-cachevolume, andstateful-core.yamlstarts the cache deployment with AOF enabled. That deployment does not setmaxmemoryormaxmemory-policy, so it does not provide the bounded, eviction-driven cache profile. Load the cache profile or declare equivalent bounded settings before claiming the target posture.The Coordination configuration also lacks an internal Redis
maxmemorybound inconfig/redis/redis.conf, the production Coordination values, and the hosted deployment settings. External container limits do not establish a Redis memory bound. Set an explicit bound in each supported Coordination profile, with sizing left to Platform Operations/6D.Route · PR #2839 → Unassigned target OpenPlatform Operations/6D owns hosted Cache profile and Coordination maxmemory configuration; current doc already records these exact gaps. Route deployment observation for independent owner triage, not a source-doc fix. View routed finding - Separate the current ingress wire from target namespace identity.Minor
TriggerScriptEventRequestcarriesplayable_state_scopeas field 19, but it has noplayable_state_namespace_idfield. The current ingress/handoff wire therefore cannot carry or validateplayableStateNamespaceId, and it does not guarantee the complete namespace/scope tuple. Mark the namespace ID as target state instead of listing it as a current service-local wire field.Suggested documentation fix
-- `tenantId`, `gameInstanceId`, `playableStateNamespaceId`, `regionId`, and `entityId` for the target runtime context when applicable. +- `tenantId`, `gameInstanceId`, `regionId`, and `entityId` for the current target runtime context when applicable. +- **Target state:** `playableStateNamespaceId` is the playable-state identity dimension. The current `TriggerScriptEventRequest` wire does not carry this field, so the current ingress/handoff contract does not guarantee the complete namespace/scope tuple.- Accepted Separate actual TriggerScriptEventRequest runtime wire fields from target-only namespace ID; current proto carries scope but no namespace ID, so no complete tuple proof.
- Keep timer firing claims out of the
onEnterRegionflow.MajorThis example describes an ordinary
TriggerScriptEventafter a committed region move. Line 73 also requires a scheduler firing claim and due-point advancement. The normative contract separates ordinary event-scope claims from scheduler/timer firing claims (design/architecture/system-architecture-scripting-normative-contract-tables.md, Lines 79–95 and 140–161). (raw.githubusercontent.com)Move the firing-claim and due-point clauses to the
onIntervalexample. Keep ordinary event admission and handler materialization in this flow.As per path instructions, “design/**/*.md”: “Review docs for canonical-current-state consistency.”
- Accepted Keep onEnterRegion ordinary event admission/handler materialization; move scheduler firing claim and due-state linkage to onInterval. Also align nearby current enqueue wording with the existing fail-closed receiver.
- Update the procedural-population description if its downstream behavior differs.Trivial
SpawnPopulationHook.afterGenerationcallsPveEncounterService.generateEvent(...)for each generated room and does not use the returnedPveEvent. The available implementation only selects a seeded event from in-memory lists. It does not show NPC or loot persistence or tick-driven command emission.- Accepted Partially accept cheap precision: existing paragraph already denies NPC/loot persistence and tick emission; explicitly name seeded in-memory event-list selection.
- Clarify the
RedisConflictTrackerexpiry-failure consequence.MinorRedisConflictTracker.recordConflictincrements the key before it sets the expiry. Ifincrementsucceeds andexpireraises an error, the method has no cleanup path. Theconflict:*key can remain without a TTL, and the repository has no current cleanup or cardinality bound for this namespace. The code logs only whenexpirereturnsfalse; it does not catch command exceptions.Suggested documentation update
-The shared `ConflictTracker` is another concrete consumer of this generic wiring: current Entity and Game Session callers emit `conflict:entity:<tenantId>:<entityId>` and `conflict:session:<tenantId>:<gameInstanceId>` through `RedisConflictTracker`, which performs separate `INCR` and `EXPIRE` calls and only warns when expiry fails. These counters are reset-tolerant diagnostics, never authority, but their current endpoint placement and mutation sequence remain implementation drift. +The shared `ConflictTracker` is another concrete consumer of this generic wiring: current Entity and Game Session callers emit `conflict:entity:<tenantId>:<entityId>` and `conflict:session:<tenantId>:<gameInstanceId>` through `RedisConflictTracker`, which performs separate `INCR` and `EXPIRE` calls. It logs only when `EXPIRE` returns false and does not catch command exceptions, so an increment that succeeds before an expiry error can leave a counter without a TTL. These counters are reset-tolerant diagnostics, never authority, but their current endpoint placement, mutation sequence, and expiry-failure handling remain implementation drift.- Accepted Correct ConflictTracker status: warn only on false expiry result, uncaught Redis command exceptions, and possible incremented counter without TTL. No runtime fix claim.
- CLI Review 9 CompletedRuntime 3m 25sFound: 6 Accepted: 1/1/2 Routed: 0
- Trivial
Add a reference to the shared validation and runtime-proof guidance in the required-proof coverage near the golden-vector requirements; keep all existing serializer-specific golden-vector cases unchanged.
- Accepted Add canonical validation/runtime-proof workflow link beside required scheduler golden vectors without changing serializer cases or admission semantics.
- Major
Replace the detailed namespace-isolation target mechanics in the AS-1.1/AS-1.2 tracker entry with a concise implementation-gap summary and a link to the canonical architecture contract. Keep implementation status and decisions in the tracker, and avoid duplicating contract details.
- Accepted Keep namespace-isolation implementation gap and routing status in tracker; replace repeated target mechanism inventory with canonical architecture owner links. No capability promotion.
- Trivial
Add a reference to the shared validation and runtime-proof guidance beside the “Focused proof” requirements so readers use the canonical process when selecting and reporting validation and runtime evidence.
- Accepted Add canonical validation/runtime-proof workflow link beside focused transaction proof; preserve all concrete concurrency, authority and effect-ID cases.
- Major
Update the description of handoff dispositions near “ENQUEUED,” “DUPLICATE_NOOP,” and “REMOTE_SCHEDULED” to label them as hypothetical or target behavior, not current legacy outcomes. Keep the documented current receiver behavior consistent: authenticated receiving RPCs fail with FAILED_PRECONDITION before mutation.
- Rejected Already corrected at reviewed 8a8bb2413: implementation status and both examples explicitly say authenticated receivers fail before mutation; acceptance disposition names are not claimed current successful outcomes.
- Major
Update the canonical scheduler preimage contract to include scriptId for both core-owned and plugin-owned schedules, matching the plugin candidate identity behavior described for ScriptScheduleInstanceServiceImpl.TimerFiringCandidate.identity(). Remove the core-owned-only condition so producers derive the same candidate identity.
- Rejected Repeated target-contract substitution: normative preimage intentionally requires scriptId only for core schedules and labels current implementation narrower. Plugin code drift does not authorize changing canonical identity.
- Minor
Update the
LOST_BEFORE_STAGINGdescription to trigger on loss of an acknowledged command before staging, not onEffectIdassignment failure; retain the preassigned root identity and preserve the eligibility constraints for unbound commands with no surviving batch.- Accepted Correct LOST_BEFORE_STAGING trigger to acknowledged volatile command loss before staging, not identity assignment failure; retain preassigned root identity and existing no-batch/unbound evidence gates.
- CLI Review 10 CompletedRuntime 9m 40sFound: 5 Accepted: 1/1/1 Routed: 0
- Trivial
Update the target workflow’s durable signal/update envelope description to identify expected lifecycle epoch/status as request data and owner-produced post-CAS evidence as result data; leave the retry and conflict behavior unchanged.
- Rejected Duplicate of finding 4: same request/result CAS-envelope correction is accepted once and will be implemented in that obligation.
- Minor
Update the current-legacy bullet near the receiving RPC descriptions so ENQUEUED and REMOTE_SCHEDULED are not presented as confirmed current successes; describe them as target semantics or remove that claim, keeping it consistent with the fail-closed behavior.
- Rejected Already fixed at 8a8bb2413: current RPCs explicitly fail closed; ENQUEUED/REMOTE_SCHEDULED are acceptance outcomes, not proved current successes.
- Minor
Qualify the root EffectId requirement in the tick-execution flow and its corresponding recovery-document requirement so it applies only to work-bearing commands with non-empty plans. Preserve the status-only path in which a no-effect command can reach terminal success without allocating a root EffectId.
- Accepted Pending #2839 flow/recovery correction: root requirements apply to work-bearing plans; preserve canonical no-effect status-only terminal SUCCESS without effect allocation.
- Major
Update the paragraph containing
scheduleFollowupto remove the repeated actor-action versus passive/inbound lane rule and keep the tracker focused on implementation status. Link to the canonical lane-semantics contract instead of restating its technical rule.- Accepted Pending #2839 tracker correction: replace duplicated lane semantics with canonical owner link; retain receiver implementation and proof gaps.
- Trivial
Clarify in the target workflow that owner CAS evidence is owner-produced result data recorded only after the lifecycle CAS commits; keep the expected lifecycle epoch/status in the request envelope and place CAS evidence in the result.
- Accepted Pending #2839 World workflow correction: expected epoch/status is request data; owner CAS evidence is post-commit result data, preserving retries/conflicts.
- Hosted Review 6 CompletedRuntime 10m 46sFound: 8 Accepted: 3/4/1 Routed: 0
- Make the authorization fingerprint mandatory in the durable record.Major
Line 40 requires
authorizationReferenceFingerprintin the immutablepostAuthorizationExecutionTuple. Line 92 requires the owner lookup to compare it. Line 69 says the durable record “may retain” the fingerprint, which makes a required field optional and leaves the record unable to satisfy the lookup contract. Require the record to persist the fingerprint as part of the tuple.As per path instructions: “Review docs for canonical-current-state consistency.”
Proposed wording
- Logging and Admin may retain the operator intent and Account-returned fingerprint; + Logging and Admin must persist the Account-returned fingerprint in the canonical post-authorization tuple;- Accepted Accepted #2839 ADR consistency fix: Account-returned fingerprint must persist unchanged in postAuthorizationExecutionTuple, preserving reference custody.
- Keep
regionEpochexplicit in the audit-field description.MinorThe canonical Trigger Identity table requires
regionEpochfor gameplay/runtime triggers, andscript_event_auditpersists it. Line 471 omits this field even though line 357 includes it.Suggested documentation fix
-- Each resolved live plugin handler is recorded in `script_event_audit` with the required Trigger Identity fields (including `tenantId` and `gameInstanceId` only for instance-bound handlers; tenant-readiness `onLoad` omits instance fields), plus `pluginId` / `pluginVersionId` and stage-aware outcome fields (`finalStage`, `finalOutcome`, `finalReason`). Pre-handler admission outcomes are recorded in `script_event_ingress_audit` and create no handler row. +- Each resolved live plugin handler is recorded in `script_event_audit` with the required Trigger Identity fields (including `tenantId` and `gameInstanceId` only for instance-bound handlers; gameplay/runtime triggers also include `regionEpoch`; tenant-readiness `onLoad` omits instance fields), plus `pluginId` / `pluginVersionId` and stage-aware outcome fields (`finalStage`, `finalOutcome`, `finalReason`). Pre-handler admission outcomes are recorded in `script_event_ingress_audit` and create no handler row.- Accepted Accepted #2839 audit-field correction: applicable gameplay/runtime Trigger Identity retains regionEpoch; preserve onLoad/instance exceptions.
- Clarify stale-scope admission and identity reuse.Minor
A stale
playableStateScopemust remain fenced from admission until authoritative reconciliation. If reconciliation proves that the authoritative scope is unchanged, the existing namespace-keyed identity may be reused. Update both clauses to state this sequence explicitly.📍 Affects 2 files
design/architecture/decisions/adr-0001-scripting-event-ingress-idempotency-identity.md#L19-L19(this comment)design/architecture/decisions/adr-0072-class-specific-timer-durability-and-recovery.md#L57-L57
- Accepted Accepted #2839 ADR wording alignment: stale scope remains admission-fenced until authoritative reconciliation; reuse only after unchanged scope proof.
- Keep the accepted child mapping distinct from pending details.Major
Line 44 says child-identity allocation is described only in pending ADR 0183. ADR 0069 already accepts the owner-defined child ordinal and durable owner-scope/root/parent/ordinal-to-child-
EffectIdmapping required by ADR 0075. Clarify that these requirements remain accepted and that only additional allocation and manifest details remain pending.Proposed clarification
-The exact child-identity allocation, manifest schema, and replay binding are not selected by this accepted fan-out decision. They are described only as a non-authoritative pending proposal in ADR 0183; no implementation may treat that proposal as current target state. +The accepted owner-defined child ordinal and durable owner-scope/root/parent/ordinal-to-child-`EffectId` mapping remain required under ADR 0069 and ADR 0075. This decision does not select the exact scalar format or additional manifest-schema and allocation mechanics. Those details remain a non-authoritative proposal in ADR 0183 and must not be treated as target state before human review.As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Accepted #2839 fan-out clarification: retain accepted child ordinal/mapping; distinguish those requirements from pending allocator scalar/schema mechanics.
- Qualify the live pin-fence claim.Major
design/architecture/system-architecture-scripting-quotas-and-operations.md, Line 270, says the authenticated Game Session receiver fails closed before mutation and that the live handoff is unavailable. This line says exact pin-epoch enforcement is active for the live handoff. Those statements conflict.scriptPinEpochis present on the request; the gap is that the receiver rejects before staging, so the current handoff does not reach the final-execution fence. Keep the lower-level checks qualified as applying where reached, and identify the authenticated handoff as unavailable.As per path instructions, “Review docs for canonical-current-state consistency.”
- Accepted Accepted #2839 pin-fence status correction: qualify reached lower-level checks and unavailable authenticated receiver before staging.
- Keep lane semantics in the canonical contract.Trivial
Line 180 repeats the actor-action and passive/inbound lane mapping already stated at line 145. Remove that mapping and keep the canonical Tick Concepts & Invariants link.
-Once receiver admission is available, local scripting commands use Game Session's actor-action path; a remote follow-up uses the owner-defined passive/inbound path, while any gameplay command it emits uses the actor-action path. +This tracker records the current receiver-admission and handoff gap.- Accepted Already implemented locally at 42c2cdd1f by accepted CLI finding1; owner-link tracker consolidation passes228 architecture/docs checks, publication pending.
- Exclude
automation:queue:*from the TTL-only default.MinorLine 126 says current queue lists have no TTL. Line 118 classifies queue-oriented prefixes as TTL-only unless they are strongly validated caches. These statements conflict for
automation:queue:*. Update the default at Line 118 or add an explicit queue exception.As per path instructions: “
design/**/*.md: Review docs for canonical-current-state consistency.”- Accepted Accepted #2839 current-state correction: exempt current RPUSH automation queues from TTL-only claim without asserting implemented target reset/rebuild.
- Mark the descriptor lifecycle as target-state.Minor
Line 30 says the live claim stops at
EVALUATINGand that descriptor persistence and post-DSL replay are not implemented. This sentence describes descriptor creation and dispatch without a target-state qualifier. Mark the flow as target-state.As per path instructions: “
design/**/*.md: Review docs for canonical-current-state consistency.”- Accepted Accepted #2839 DSL qualification: descriptor persistence and post-DSL replay flow are target-state, not current implementation.
- CLI Review 11 CompletedRuntime 5m 27sFound: 5 Accepted: 0/2/2 Routed: 0
- Minor
Prefix the Temporal lifecycle gap bullet with the capability IDs
GR-2.1/AR-3.1so it maps to the corresponding Capability Status rows; leave the rest of the bullet unchanged.- Accepted Pending #2839 tracker traceability correction: prefix Temporal lifecycle gap with owning GR-2.1 / AR-3.1 capability IDs; no behavior change.
- Trivial
Update the section around TickBatchExecutionService.executeDurableEffects to track only the observed stale-fence behavior and missing proof. Remove the duplicated target terminal-status rules, evidence-qualified recovery requirements, and batch-aggregation requirements; link to ADR 0069 and the transaction effect contract for those canonical rules.
- Accepted Pending #2839 tracker consolidation: retain observed stored-status/aggregation/stale-fence drift and missing proof; link canonical ADR0069/transaction rules.
- Minor
Update the superseded ADR’s requirements in the lines around gameplay/runtime handler identity and the additional referenced lines to read as historical context that points to ADR 0172, rather than stating current normative requirements; leave the canonical current requirements in ADR 0172.
- Accepted Pending #2839 historical-authority clarification: explicitly frame superseded ADR0001 and point current parent/handler authority to ADR0172 and normative tables.
- Minor
Update the current-status text describing ENQUEUED, DUPLICATE_NOOP, and REMOTE_SCHEDULED to match the receiving RPC behavior: both RPCs fail with FAILED_PRECONDITION before mutation, so handoff attempts do not prove local acceptance or remote scheduling.
- Rejected Already implemented on reviewed db22bf384: Periodic Patrol current-status paragraph explicitly says both RPCs fail FAILED_PRECONDITION before mutation.
- Trivial
Update the tracker paragraph around
scheduleFollowupto remove the target actor/passive lane policy and link to its canonical definition in the owning ADR or architecture contract instead. Keep only the current implementation behavior and gap here; apply the same change to the priority-first ordering repeated at lines 208–209.- Accepted Partially accepted: lane consolidation already local42c2cdd1f; replace additional repeated priority-first target rule with scheduler owner link and local drift.
- CLI Review 12 CompletedRuntime 3m 40sFound: 5 Accepted: 3/1/0 Routed: 0
- Major
Update the pending-scope sentence in the ADR to distinguish proposed allocation details from already accepted requirements. Limit pending status to command-plan order and root allocation, UUIDv7 scalar identity, canonical serialization, and additional manifest and allocator mechanics; preserve ADR 0075 and ADR 0077’s accepted child-identity and durable-mapping requirements as target contract, along with ADR 0069’s existing rules.
- Accepted Pending #2839 proposal clarification: ADR0183 pending allocator/scalar/schema choices do not suspend accepted child ordinal/durable mapping under ADR0069/0075/0077.
- Minor
Update the current-operator guidance in “Current Operator Fallback” so affected writers or clients are quarantined or stopped only when an existing readiness control supports it; otherwise, leave the deployment untouched and escalate. Keep the existing prohibition on destructive reset and client-release actions.
- Accepted Pending #2839 operator qualification: quarantine/stop only using supported readiness control; otherwise preserve deployment/evidence and escalate, with reset/release still prohibited.
- Major
Update the commit predicate wording so every eligible ledger row in the expected participant set must be terminal before commit; retain required/optional classification only for command outcome aggregation.
- Accepted Pending #2839 commit-owner correction in ticks.md100 (reported file/line is wrong): all eligible participant ledger rows terminal; required/optional only aggregates command result.
- Major
Update the
ABANDONEDoutcome description in the plugin-command purge semantics to require an explicitly retryable command, authoritative evidence that its effect was unapplied, and permission under applicable feature rules. Keep the surroundingPurgeQueuedTickCommandsForScriptPatchsemantics unchanged.- Accepted Pending #2839 plugin purge alignment: use canonical script-purge abandonment eligibility, authoritative unapplied-effect proof, feature permission and inconclusive hold.
- Minor
Update the “Current legacy” disposition descriptions around the current receiving RPCs so ENQUEUED, DUPLICATE_NOOP, and REMOTE_SCHEDULED are clearly definitions not produced by those RPCs, which fail closed before mutation. Keep the documented current-path behavior consistent throughout.
- Rejected Already fixed on reviewed850b40c53: examples77 explicitly says current receiving RPCs fail before mutation and dispositions are not confirmed current successes.
- CLI Review 13 CompletedRuntime 4m 38sFound: 4 Accepted: 1/3/0 Routed: 0
- Minor
Update the “Current-live branch” fallback in the runbook to match the active broader-containment fallback in Line 96: preserve containment already in place, block mutations, mark exact containment unverified, and escalate. Do not instruct operators to establish a fenced or stopped state when no deployed control is available.
- Accepted Accepted unsafe runbook fallback: preserve available broader containment, block mutations and escalate when deployed fencing control is absent; do not claim an unestablishable stopped state.
- Minor
Update the
entity_enqueue_seqallocator scope to includeentityIdalongside the tenant, game instance, playable-state namespace, region, and region epoch keys, so sequences are allocated per complete entity identity.- Accepted Accepted canonical scope omission: allocator tuple omits entityId despite per-entity sequence contract in ADR 0065; include full entity identity.
- Minor
Update the current-legacy handoff description in the paragraph distinguishing it from the target state: state that receiving RPCs fail with FAILED_PRECONDITION before mutation, and remove ENQUEUED, DUPLICATE_NOOP, and REMOTE_SCHEDULED as current outcomes. Leave the target-state description unchanged.
- Accepted Accepted current-example drift: interval handoff still claims success outcomes although authenticated receiving RPCs fail FAILED_PRECONDITION before mutation; align only current paragraph.
- Major
Define the replay quarantine release gate in the Gateway migration guidance: keep quarantine active until all old Gateway writers are drained or blocked and tagged replay state is authoritative. If mixed-version admission is supported, document the cross-version replay guard required before releasing quarantine.
- Accepted Accepted migration release gap: quarantine must remain until old Gateway writers are drained/blocked and tagged replay continuity is authoritative; keep unsupported mixed-version admission fail-closed.
- Hosted Review 7 CompletedRuntime 12m 02sFound: 8 Accepted: 2/4/2 Routed: 0
- Align the security summary with the documented operations.Minor
This OpenAPI file defines only
GET /pingand has no tenant/subject selector parameters. The new description assigns a selector-related security gap to operations that this contract does not expose. (raw.githubusercontent.com)Add the affected operations and selector parameters, or narrow the description to state that this OpenAPI document does not describe them.
Possible wording
- API for NPC automation and script management. Current REST routes are - unauthenticated and trust caller-supplied tenant/subject selectors; this - is an implementation security gap, not tenant-isolation proof. + API for NPC automation and script management. This specification documents + only `/ping`; it does not describe tenant/subject-scoped routes or their + authentication behavior.- Accepted Accepted OpenAPI boundary mismatch: specification exposes GET /ping only; describe its actual surface without attributing undocumented route authentication behavior.
- Qualify the digest-bound replay requirement.Minor
EntityMutationEffectReplayService.executeaccepts norequestDigest. For an existing effect, it looks up the record by tenant and effect ID and replays it. TheEntityManagementGrpcServicecallers do not compare a request digest before this call. A retry with the same effect ID and a changed payload is therefore not rejected by this path.Until validation exists, document digest-bound replay as a target requirement and record the current Entity Management gap.
Suggested documentation update
-- `EffectId` – the persisted mutation identity for one logical effect. Retries, replay, and reconciliation preserve the same mutation identity and immutable request digest under the accepted effect contract. A generated child has its own persisted child `EffectId` while retaining enclosing-root and parent lineage where applicable. Command-root allocation details remain pending in [ADR 0183](./decisions/adr-0183-deterministic-effect-id-allocation-and-replay-binding.md). +- `EffectId` – the persisted mutation identity for one logical effect. The target effect contract requires retries, replay, and reconciliation to preserve the same mutation identity and immutable request digest. Entity Management currently replays by tenant and effect ID without validating a request digest, so digest-bound replay remains a target requirement. A generated child has its own persisted child `EffectId` while retaining enclosing-root and parent lineage where applicable. Command-root allocation details remain pending in [ADR 0183](./decisions/adr-0183-deterministic-effect-id-allocation-and-replay-binding.md).- Accepted Accepted target/live clarification: EffectId digest binding is accepted target behavior; current Entity replay looks up tenant/effect and does not validate request digest.
- Keep
tenantIdin tenant-readiness audit identity.MinorLines 357 and 471 state that both
tenantIdandgameInstanceIdappear only for instance-bound handlers. Line 392 defines tenant-readinessonLoadas tenant-scoped and omits only instance-specific fields. These requirements conflict. RetaintenantIdin the pre-instance audit identity and makegameInstanceIdconditional on instance-bound handlers.As per path instructions: “Review docs for canonical-current-state consistency.”
Also applies to: 471-471
- Accepted Accepted tenant-readiness audit contradiction: pre-instance onLoad retains tenantId; only gameInstanceId and other instance fields are conditional.
- Clarify the routine-replay exemption.Trivial
Line 108 classifies owner-local dead-letter recovery as routine when it replays PostgreSQL work-item truth. It does not state that replay still requires complete stage-specific evidence and child dispositions. Add that limit so the exemption cannot authorize replay of ambiguous
EVALUATINGorHANDOFF_IN_FLIGHTwork.- Accepted Accepted recovery exemption ambiguity: routine replay still requires complete stage-specific evidence and child dispositions; ambiguous EVALUATING/HANDOFF_IN_FLIGHT cannot be replayed merely from work-item truth.
- Mark
playableStateNamespaceIdas target-state only.MinorThe current
TriggerScriptEventRequestdoes not carryplayableStateNamespaceId. Both examples list it without a local qualifier, which can make target identity appear to be current behavior.Suggested clarification
- - `tenantId`, `gameInstanceId`, `playableStateNamespaceId`, and `regionId`; `playableStateScope` is carried separately as exact-validated policy/routing/authorization/migration-fence evidence, not as an identity field. + - `tenantId`, `gameInstanceId`, `playableStateNamespaceId` (**target-state only**), and `regionId`; `playableStateScope` is carried separately as exact-validated policy/routing/authorization/migration-fence evidence, not as an identity field. ... - - An audit record is written to `script_event_audit` for each resolved handler Trigger Identity, with identifiers such as `scriptEventId`, `scriptId`, `tenantId`, `gameInstanceId`, `playableStateNamespaceId`, `regionId`, `regionEpoch`, and `tickId`, plus separately persisted exact-validated `playableStateScope` evidence and stage-aware outcome fields (`finalStage`, `finalOutcome`, `finalReason`) so operators can distinguish “DSL evaluated” from “accepted into tick queues”, enabling replay and troubleshooting as described in the same quotas and operations document. + - An audit record is written to `script_event_audit` for each resolved handler Trigger Identity, with identifiers such as `scriptEventId`, `scriptId`, `tenantId`, `gameInstanceId`, `playableStateNamespaceId` (**target-state only**), `regionId`, `regionEpoch`, and `tickId`, plus separately persisted exact-validated `playableStateScope` evidence and stage-aware outcome fields (`finalStage`, `finalOutcome`, `finalReason`) so operators can distinguish “DSL evaluated” from “accepted into tick queues”, enabling replay and troubleshooting as described in the same quotas and operations document.- Accepted Accepted example qualifier: namespace ID is target-only and absent from current TriggerScriptEventRequest; preserve separate scope evidence description.
- Record these as tenant-admin mutation paths outside gameplay admission.Trivial
InventoryControllerandEquipmentControllerexpose reachable POST and DELETE routes. The routes require tenant access, but they do not require character ownership.ScopedCharacterResolverchecks only tenant, character, and playable-state scope. The transactional services then save or deleteItemInstanceandItemStackrecords without Game Session effect, tick, or barrier admission. Keep the gap, but do not describe these routes as unguarded player paths.Suggested tracker wording
- The repository still advertises HTTP inventory/equipment mutation controllers that call Entity directly outside Game Session effect, tick, and barrier admission. These routes are not production-safe gameplay paths unless explicitly isolated under a separately approved owner/admin contract; their presence is implementation drift, not a second gameplay ingress. + The repository still exposes HTTP inventory/equipment mutation controllers to callers with tenant access. These handlers persist ItemInstance and ItemStack state outside Game Session effect, tick, and barrier admission. ScopedCharacterResolver checks tenant, character, and playable-state scope, but it does not bind the request to the character owner. Keep these routes isolated under an approved owner/admin contract; they are administrative mutation paths, not gameplay ingress.- Accepted Accepted tracker precision: tenant-access checks do not prove character ownership; describe reachable inventory/equipment persistence paths as tenant-accessible administrative mutations outside gameplay admission.
- Preserve the accepted child-ID mapping.Major
The last sentence classifies the entire child-ID allocation choice as pending. However,
design/architecture/decisions/adr-0069-at-least-once-effect-execution-with-one-logical-terminal-outcome.md, Line 50, accepts the owner-defined child ordinal and durable owner-scope/root/parent/ordinal-to-child-EffectIdmapping under ADR 0075. Scheduler implementers therefore receive conflicting requirements.Keep that mapping mandatory. Limit the pending classification to scalar format and additional allocation mechanics.
As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Accepted ADR 0065 drift: preserve mandatory owner-defined child ordinal and durable mapping under accepted ADR 0069/0075; only scalar and additional allocator mechanics remain pending.
- Include the paired pin-owner request ID in replay fencing.Major
Line 748 revalidates
scriptPatchVersionandscriptPinEpoch, but omitsscriptPinControlPlaneRequestId. The target contract indesign/architecture/system-architecture-scripting-event-registry.md, Line 73, requires that request ID as exact-compared owner/fence evidence. Add it to the replay evidence and compare it with Game Session before evaluation and each dispatch. Otherwise, replay can accept a pin tuple with contradictory owner evidence.As per path instructions, “Review docs for canonical-current-state consistency.”
- Accepted Accepted replay fence omission: retain and exact-compare separately paired scriptPinControlPlaneRequestId with Game Session before evaluation and each dispatch.
- CLI Review 14 CompletedRuntime 6m 46sFound: 1 Accepted: 0/1/0 Routed: 0
- Minor
Clarify the “Current implementation status” description so it distinguishes the implemented final-transaction success path from full-version requests currently blocked by the required Game Logic digest gate; align its availability claim with the documented gate.
- Accepted Accepted availability overclaim: final local publication transaction is implemented, but required Game Logic full-version digest gate currently blocks normal publication; link canonical participant availability status.
- CLI Review 15 CompletedRuntime 6m 09sFound: 2 Accepted: 1/1/0 Routed: 0
- Minor
Update the Target-state command handoff description to call the
(automationDispatchId, commandOrdinal)pair an identity suffix instead of a display suffix, while preserving the statement that it is insufficient by itself.- Accepted Fix in #2839: describe the command handoff pair as an identity suffix, retaining that complete runtime scope is mandatory and the pair alone is insufficient.
- Major
Require the exact ADR 0085 maintenance handoff to be validated, persisted, and passed to the verifier before either the Current-live or Target-state evidence-qualified CAS can mutate ledger rows; apply the same gate to replay-controller remediation. Keep the existing ownership and evidence checks, since they do not replace the handoff requirement.
- Accepted Fix in #2839: incident verifier CAS and replay-controller remediation must explicitly validate, persist and pass the canonical ADR0085 maintenance handoff before mutation; existing owner/fence/participant evidence does not replace it.
- Hosted Review 8 CompletedRuntime 12m 38sFound: 8 Accepted: 5/3/0 Routed: 0
- Keep replay-marker conflict handling in the mutation transaction.Major
Do not present an isolated marker transaction as an alternative. It can commit the replay marker without the effect mutation, contrary to the participant-guard atomicity contract in
design/architecture/system-architecture-transactions.md. Require a conflict-safe insert or a same-transaction savepoint, and retain PostgreSQL concurrency proof.As per path instructions: “
design/**/*.md: Review docs for canonical-current-state consistency.”- Accepted Keep marker conflict handling in the same mutation transaction via conflict-safe insert/savepoint; isolated marker transactions cannot prove guard/effect atomicity.
- Include stage-aware post-DSL recovery in the queue-rebuild gate.Minor
The rebuild gate must also establish a durable evaluated descriptor and a definitive disposition for ambiguous post-DSL handoffs. It must preserve handoff intent without replaying the DSL before releasing the affected scope.
Suggested documentation fix
-Once owner status reconciliation/reclamation, CAS fencing, and exact readback are implemented and proven, tooling may drop and rebuild only this pointer projection from the authoritative rows before releasing the scope. +Once owner status reconciliation/reclamation can establish a durable evaluated descriptor and a stage-aware disposition for ambiguous post-DSL handoffs without replaying the DSL or losing handoff intent, and CAS fencing and exact readback are implemented and proven, tooling may drop and rebuild only this pointer projection from the authoritative rows before releasing the scope.- Accepted Strengthen the Automation queue reset/rebuild gate with durable evaluated descriptor and stage-aware definitive handoff recovery, without DSL replay.
- Restore the exact pin tuple in scheduler candidate identity.Major
Lines 71-72 omit
scriptPatchVersionandscriptPinEpoch, while line 73 and the normative scheduler preimage require both fields as identity inputs. Restore the tuple in the scheduler identity text. KeepscriptPinControlPlaneRequestIdas fence evidence only.- - Scheduler/timer due candidates ... include the schedule-owned `scriptId` and any schedule-owned `pluginId`, `pluginVersionId`, and `bindingId`; plugin-owned candidates ... + - Scheduler/timer due candidates ... include the schedule-owned `scriptId` and any schedule-owned `pluginId`, `pluginVersionId`, and `bindingId`, the exact Game Session `scriptPatchVersion`, and the exact Game Session `scriptPinEpoch`; plugin-owned candidates ...- Accepted Clarify the scheduler-owned candidate field list includes the already-required exact Game Session version/epoch tuple; keep request ID evidence-only.
- Mark the commit-reference model as target state.Minor
Lines 23-24 say the durable branch/commit model is not implemented. Line 32 then says each revision and commit references domain objects without identifying this as target state. Mark that statement as target state or revise it to describe the current revision/version model.
As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Qualify the future branch/commit reference model as target state rather than implemented authored history.
- Separate guard uniqueness from replay evidence.Major
Specify the owner-classification partition in this contract. The participant-guard rule in
design/architecture/system-architecture-transactions.mdkeys S1/S2 guards by(tenantId, playableStateNamespaceId)and classified S3 guards by(tenantId, gameInstanceId). It treats scope and request digest as exact-validated evidence, not uniqueness dimensions. Without that distinction, consumers can build a different guard key or let changed requests create a second guard instead of conflicting. State that unclassified families fail before admission.- Accepted Link guard uniqueness to canonical owner-classified S1/S2/S3 partition; scope/digest are immutable compared evidence, not additional guard keys.
- Keep root
EffectIdallocation non-authoritative pending ADR 0183.MajorLine 60 makes the complete Command-Handoff Identity an input to allocating or looking up a root
EffectId.design/project-management/design-alignment/decision-inventory-cross-cutting.mdLine 134 says any future allocator and replay binding remain non-authoritative pending ADR 0183. Keep the complete identity for handoff deduplication, but remove the root-allocation requirement until that proposal is accepted.As per path instructions: “
design/**/*.md: Review docs for canonical-current-state consistency.”- Accepted Retain complete handoff deduplication identity but remove proposal-only root allocator input requirements; ADR0183 stays non-authoritative.
- Require source terminalization before re-drive.Major
These statements allow a new command/root after an effect reaches
ABANDONED. The target re-drive rule indesign/architecture/system-architecture-transactions.mdalso requires the source command to be terminalized. State that prerequisite here. Otherwise, a replacement identity can become admissible while the original command remains retryable, which can apply one logical mutation twice.Also applies to: 237-237
- Accepted Add source-command terminalization before conclusive post-abandon re-drive at both Game Session status passages, preserving ordinary retry identity.
- Limit the admission
due_tick_idassignment to wall-clock timers.MinorLine 434 says the admission transaction assigns a
due_tick_idfor every eligible source. Its final sentence says tick timers use their persisteddueTickId.design/architecture/system-architecture-tick-concepts-and-invariants.md, Lines 130–132, also reserves the separate admission coordinate for wall-clock timers.State that tick timers retain their persisted
dueTickId. Assign a separatedue_tick_idonly when a wall-clock timer is admitted. Otherwise, the contract permits recomputing tick-timer ordering during replay.As per path instructions: “Review docs for canonical-current-state consistency.”
Suggested wording
-Once eligible, one durable firing-claim/admission transaction reads the authoritative target timeline and assigns/persists exactly one target `regionEpoch` and `due_tick_id` ordering coordinate (normally the next committable tick), together with the source claim. +Once eligible, one durable firing-claim/admission transaction reads and persists the target `regionEpoch` with the source claim. For a wall-clock timer, it also assigns a separate `due_tick_id` ordering coordinate (normally the next committable tick). A tick timer retains its persisted `dueTickId` as its ordering coordinate.- Accepted Make existing wall-clock-only admission coordinate assignment explicit; tick timers retain persisted dueTickId, with epoch evidence unchanged.
- CLI Review 16 CompletedRuntime 5m 48sFound: 3 Accepted: 0/3/0 Routed: 0
- Minor
Clarify the
playableStateScopeandplayableStateNamespaceIdidentity rules so exact validation of the presented scope against authoritative scope must succeed before reusing an existing resume-window identity; only then may stale presented scope with unchanged authority reuse that identity, and validation failure must fail closed.- Accepted Accepted: stale presented scope must fail closed until reconciliation and exact validation succeed; unchanged authority then permits reuse, while scope transitions require a new namespace. Clarify existing accepted ADR without changing policy.
- Minor
Update the runtime persistence statement near “Trigger Identity” to match the current single-row model: describe the same script_work_items row carrying identity through both pre-DSL and evaluated stages. If retaining separate trigger and work-item records, explicitly label that design as target-state, consistent with the distinction near line 73.
- Accepted Accepted: the current executor uses one script_work_items row through pre-DSL and later processing. Qualify separate trigger/evaluated persistence as target-only and link the current boundary. Pending doc correction.
- Minor
Update the validation and runtime-proof sentence to require recording actual execution results in PR/CI evidence and, when applicable, updating the owning implementation tracker; do not present these records as alternatives.
- Accepted Accepted: require actual execution results in PR/CI evidence and, when capability status changes, the owning tracker; these records are complementary, not alternatives. Pending focused doc correction.
- Hosted Review 9 CompletedRuntime 12m 46sFound: 9 Accepted: 9 Routed: 0
- Include all owner-scope fields in the identity summary.Minor
The canonical identity includes
tenantIdandgameInstanceIdin addition to the namespace, region, dispatch, ordinal, and optional target fields. Name these fields so the summary cannot be read as a narrower deduplication key.-: source `playableStateNamespaceId`/region identity, optional distinct target namespace/region identity, the `automationDispatchId` +: source `tenantId`, `gameInstanceId`, `playableStateNamespaceId`, `regionId`, and `regionEpoch`; optional distinct target `targetGameInstanceId`, `targetPlayableStateNamespaceId`, `targetRegionId`, and `targetRegionEpoch`; the `automationDispatchId`- Accepted Accept local summary correction: source tenant/game-instance ownership cannot be omitted from the complete canonical handoff identity. Preserve canonical owner link and existing target-only/live-gap distinction.
- Require terminal evidence for every participant in the expected set.Major
system-architecture-ticks.mdLine 100 says required-versus-optional classification affects command-result aggregation, not tick commit. Lines 163, 190, and 207 say “every required participant.” Readers could treat optional participants as exempt and mark a tickAPPLIEDwhile an expected participant remains unresolved. State that every participant in the complete expected set needs terminal evidence, regardless of command-result classification.As per path instructions: “design/**/*.md: Review docs for canonical-current-state consistency.”
Also applies to: 190-190, 207-207
- Accepted Accept contract conflict: all participants in complete expected set require durable terminal evidence for tick commit; optional classification affects only command-result aggregation. Correct three Redis summaries.
- Align the serialized tick-offset field name.Minor
system-architecture-redis.md:659-680states that serialized event-offset payloads useregionEpoch.system-architecture-ticks.md:91states that the sametick-events-offsetrecord serializes the field asregion_epoch. This is a contract conflict, not a hash-versus-value distinction. Choose one canonical spelling and align both documents and the reader contract.- Accepted Accept serialization conflict: canonical ticks owner maps logical regionEpoch to target offset field region_epoch. Align Redis offset projections; producer/reader remain unimplemented, no live schema migration.
- Require authoritative no-batch proof before
LOST_BEFORE_STAGING.MajorLine 89 lists
RECEIVEDorENQUEUEDstatus and no survivingtickBatchId, but those conditions do not prove that staging or application did not commit. Require authoritative no-batch evidence before recordingexecutionOutcome = LOST_BEFORE_STAGINGandgameplayResult = NOT_APPLIED; otherwise, keep the command unresolved. The current Game Session recovery contract indesign/architecture/microservices/game-session-service/runtime-and-data.mdrequires that evidence.- Accepted Accept missing safety prerequisite: authoritative proof of no committed batch/materialization/application is required before LOST_BEFORE_STAGING/NOT_APPLIED; absence of a tickBatchId is not proof.
- Limit the maintenance handoff to maintenance operations.Minor
The
applied but not markedflow currently requires the ADR 0085 handoff for both verifier CAS branches. The canonical contract permits ordinary idempotent crash replay when the owner records a non-conflicting routine-replay classification and its evidence. Without that exception, valid reconciliation can fail closed because it lacks a maintenance handoff.- - **Maintenance admission applies to both branches:** Before either verifier CAS may mutate a ledger row, validate the exact ADR 0085 external maintenance handoff, durably persist it, and pass it unchanged with the reconciliation evidence. Owner, epoch, executor, manifest, or participant proof does not replace this external admission. If the handoff is missing or unproved, make no mutation and use the existing fail-closed [Current Operator Fallback](./system-architecture-redis-reset-and-recovery.md#current-operator-fallback) and escalate. See [Redis Reset & Recovery](./system-architecture-redis-reset-and-recovery.md#coordination-reset-model) and [ADR 0085](./decisions/adr-0085-evidence-gated-coordination-replay-and-fenced-reset.md). + - **Maintenance admission applies to both branches for coordination-maintenance operations:** Before either verifier CAS may mutate a ledger row as part of coordination maintenance, validate the exact ADR 0085 external maintenance handoff, durably persist it, and pass it unchanged with the reconciliation evidence. An ordinary idempotent crash replay may omit that handoff only when the owner explicitly records the non-conflicting routine-replay classification and its applicable evidence, fence, epoch, and scope proof. Owner, epoch, executor, manifest, or participant proof does not replace the external admission for a maintenance operation. If the required handoff or routine-replay classification is missing or unproved, make no mutation and use the existing fail-closed [Current Operator Fallback](./system-architecture-redis-reset-and-recovery.md#current-operator-fallback) and escalate. See [Redis Reset & Recovery](./system-architecture-redis-reset-and-recovery.md#coordination-reset-model) and [ADR 0085](./decisions/adr-0085-evidence-gated-coordination-replay-and-fenced-reset.md).- Accepted Accept overbroad runbook gate: maintenance CAS requires exact external handoff; only explicit durable non-conflicting routine-replay classification/evidence permits its canonical exemption. Preserve fail-closed fallback.
- Define the Gateway-owned replay-readiness API.Minor
RunPostResetSmokeCheckrequires the canonical replay consume andWAITAOFto run on one pinned Coordination connection and returnDURABLE_REPLAY_CONSUME_ACK. The document prohibits maintenance tooling from receiving Coordination credentials, but it only specifies a generic owning-service API and marks that API as unimplemented. It does not define a Gateway operation, connection ownership, or proof returned to recovery. Add that owner-bound contract before treating this checklist as executable.- Accepted Accept target contract gap: Gateway owns authenticated replay-readiness probe and same pinned consume/WAITAOF proof. Define owner-bound unavailable target seam, not a live invocation or credential grant.
- Clarify which binding fields apply to root allocations.Trivial
Line 40 requires each allocation boundary to bind an enclosing root and parent. Line 46 defines a root
EffectIdandplanOrdinal, but it does not define the root values for the enclosing-root and parent fields. Specify whether a root binds its ownEffectIdas the enclosing root and how its absent parent is represented. This distinction is needed to compare first allocation with retries and replay.- Accepted Accept proposed-only clarification: root allocation binds its own EffectId as enclosing root and explicit absent parent consistently on retries/replay. Keep ADR0183 pending; no runtime or accepted-policy change.
- CodeRabbit summary-only outside-diff finding 1 of 1 (aggregate; no individual detail)
summary-only aggregate; provider supplied no individual detail
- Accepted Accept generic workflow mapping clarification: scopeKey game-instance and businessKey gameInstanceId reproduce the existing World canonical ID. Related owning-doc correction, not new behavior.
- Workflow ID wording conflicts with the canonical ID defined later in the same file.Trivial
Line 14 says the workflow ID is "stable per world instance". Line 35 defines it as
world-lifecycle:<tenantId>:game-instance:<gameInstanceId>. Use the same term in both places. State that the ID is stable per<tenantId, gameInstanceId>.Proposed wording
-Its canonical Temporal workflow ID is stable per world instance, and retries use that workflow identity plus durable launch/workflow identity +Its canonical Temporal workflow ID is stable per `<tenantId, gameInstanceId>`, and retries use that workflow identity plus bound launch/request evidence- Accepted Accept terminology alignment: World workflow identity is tenantId plus gameInstanceId, not ambiguous world-instance shorthand. Preserve existing immutable launch-evidence and AlreadyStarted gap.
- CLI Review 17 CompletedRuntime 6m 08sFound: 3 Accepted: 1/1/0 Routed: 0
- Major
Update the derived-reaction sentence to identify the accepted owner-scope/root/parent/ordinal-to-child-EffectId mapping as defined by ADR 0075, and limit ADR 0183’s unresolved scope to command-plan ordering, root allocation, and identity/allocation mechanics outside that mapping. Update the corresponding Registry summary in README.md to preserve the same distinction.
- Accepted Pending bounded correction: ADR0054 and registry must retain accepted ADR0075 durable child mapping independently of pending ADR0183 allocator mechanics.
- Minor
Correct the tenant-scoped patterns in the Redis prefix list so both
automation:test:capacityandautomation:readiness:capacityclose the{<tenant-id>}hash tag before:*, matching the documented key format elsewhere.- Accepted Pending bounded correction: close both tenant capacity prefix hash tags before wildcard, matching canonical key formats.
- Minor
Update the consequence discussing child ordinals to describe replay stability as provided by persisting the owner-defined ordinals, rather than requiring deterministic ordinal allocation; keep the distinction between persistence and allocation strategy clear.
- Accepted Pending bounded correction: clarify replay stability from persisted owner-defined child ordinals, without imposing deterministic allocation.
- CLI Review 18 CompletedRuntime 7m 53sFound: 3 Accepted: 1/0/1 Routed: 0
- Minor
Update the ADR 0183 registry row to narrow its pending scope: retain command-plan ordering, planOrdinal, and command-root allocation, and describe only unresolved generated-child scalar/serialization choices and additional allocator or manifest details. Remove wording that implies the accepted generated-child/fan-out allocation contracts remain pending.
- Rejected Already implemented by published fb5bc2e88: registry distinguishes accepted ADR0075 child mapping from additional pending scalar/serialization/allocator mechanics. Reviewed older 2fd head.
- Trivial
Update the origin-reconciliation entry in the implementation tracker to retain its implementation and proof status while replacing the duplicated target-state checklist with a reference to the canonical owner contracts linked above.
- Accepted Pending bounded correction: retain origin reconciliation implementation/proof gaps, replace duplicated target checklist with canonical owner links already above.
- Major
Update the stale marker-transaction guidance in the Entity Management runtime-and-data documentation to match operations.md: require a conflict-safe insert or a savepoint within the same transaction, keeping the marker and mutation atomic. Remove the isolated marker transaction as an acceptable correction.
- Accepted Pending bounded correction: runtime-and-data still offers isolated marker transaction; canonical operations requires conflict-safe insert/savepoint within same atomic marker/mutation transaction.
- CLI Review 19 CompletedRuntime 9m 01sFound: 4 Accepted: 2/2/0 Routed: 0
- Major
Clarify in the ADR that the immutable reservationClaimFence in postAuthorizationExecutionTuple is distinct from a fresh recovery-claim fence. Update the transition and handoff checks for expired AUTHORIZATION_PENDING claims to validate the fresh recovery-claim fence separately without replacing the stored tuple fence.
- Accepted Pending bounded ADR0048 correction: preserve immutable tuple reservation fence and validate fresh pre-authorization recovery claim fence separately through transition/handoff.
- Major
Update the current-live recovery guidance so ledger backlog does not trigger replay-controller remediation; keep current-live operators on the fail-closed fallback. Restrict replay-controller remediation to target deployments and require the replay-controller proof gate before triggering it.
- Accepted Pending bounded safety correction: current-live ledger backlog must not trigger unavailable replay-controller remediation; target remediation requires published capability/proof gate.
- Minor
Update the failure-state description in the runtime-and-data documentation to distinguish crashes before and after the durable STAGED update: pre-update failures leave the command ACCEPTED, while STAGED-without-batch applies only after that update and before durable tick_batch/tick_effect creation. Keep the documented recovery and evidence qualifications consistent with this distinction.
- Accepted Pending bounded crash-window correction: failure before durable STAGED update leaves ACCEPTED; STAGED without batch follows that update and precedes durable batch/effect creation.
- Minor
Align the scheduler/timer status across the architecture document: reconcile the target-only, unimplemented description near “Target-state only” with the reload behavior and rebuildable-index descriptions, making clear whether those behaviors are current or target-state. Preserve the documented canonical current-state distinction.
- Accepted Pending bounded clarification: target-only reload and rebuildable-index lifecycle must not be mistaken for current implemented PostgreSQL scheduler behavior.
- Hosted Review 10 CompletedRuntime 14m 03sFound: 9 Accepted: 4/5/0 Routed: 0
- Allow
nullforRefreshRolesResponse.error.MinorThe field names and
SUCCESS/ERRORvalues matchApiResponse. However,ApiResponse.success(result)setserrortonull, while the OpenAPI schema only referencesErrorDetail. OpenAPI 3.1 must allow the serializednullvalue.Suggested schema fix
error: - $ref: '#/components/schemas/ErrorDetail' + anyOf: + - $ref: '#/components/schemas/ErrorDetail' + - type: 'null'The named schema is appropriate; matching the inline style is not required.
- Accepted Accepted: OpenAPI3.1 RefreshRolesResponse.error must admit null returned by ApiResponse.success while retaining ErrorDetail; local fix pending.
- Require explicit non-application evidence.Major
The no-batch CAS can fence concurrent staging only when it atomically checks the authoritative command record and terminalizes it. If staging wins, the loss transition must affect zero rows. The CAS does not, by itself, prove that no effect materialization or domain application committed. Require that authoritative evidence before assigning
NOT_APPLIED.-An `ACCEPTED_VOLATILE` command still in `RECEIVED` or `ENQUEUED`, with no surviving durable `tickBatchId`, effect ledger, or source/effect claim, may terminate as lost before durable staging only when an atomic owner-defined no-batch CAS/version-fenced check wins: +An `ACCEPTED_VOLATILE` command still in `RECEIVED` or `ENQUEUED`, with no surviving durable `tickBatchId`, effect ledger, or source/effect claim, may terminate as lost before durable staging only when an atomic owner-defined no-batch CAS/version-fenced operation on the authoritative command record wins, concurrent staging therefore affects zero rows, and authoritative evidence proves that no committed batch, effect materialization, or domain application exists:- Accepted Accepted: align ADR0069 lost-before-staging CAS with authoritative command state and owner-defined non-application evidence; local fix pending.
- Preserve the full ADR 0029 quarantine deadline.Minor
Line 53 states the 30-second token lifetime plus two skew intervals, but omits the ADR 0029 rule that a known latest affected-token expiry must also be covered by one skew interval. State the fixed interval as a minimum and retain this additional bound so the summary cannot authorize earlier reopening.
As per path instructions,
design/**/*.mdmust be reviewed for “canonical-current-state consistency.”- Accepted Accepted: link replay quarantine to ADR0029 including known latest-expiry plus skew and readiness proof; local fix pending.
- Document effects-based AOF replay.Minor
FireMUD uses Redis 7.4.3, with Redis 7.2+ command-effects propagation as the documented mode. AOF replay applies the script's recorded write effects; it does not rerun Lua with the original
ARGVvalues. Retain the explicit arguments requirement for deterministic initial execution.- Implemented using deterministic, idempotent Lua scripts that accept explicit caller-supplied `currentTickId` and, when evaluating a wall-clock source, `now_ms` values as `ARGV`; scripts must not call Redis `TIME`, and AOF replay reuses the same arguments. + Implemented using deterministic, idempotent Lua scripts that accept explicit caller-supplied `currentTickId` and, when evaluating a wall-clock source, `now_ms` values as `ARGV`; scripts must not call Redis `TIME`, and AOF replay applies the script's recorded write effects.- Accepted Accepted: AOF reapplies recorded write effects rather than re-executing Lua; preserve explicit initial time/tick inputs; local fix pending.
- Align the scheduler candidate identity’s field-membership rules.Major
The contract gives conflicting instructions for the scheduler’s composite identity. Implementations could derive different candidate identities or deduplicate distinct candidates.
design/architecture/system-architecture-scripting-normative-contract-tables.md#L98-L98: IncludescriptIdfor plugin-owned candidates, or revise Line 86 so both locations specify the same identity fields.design/architecture/system-architecture-scripting-normative-contract-tables.md#L342-L342: Clarify whetherscheduleDefinitionIdis a component of the composite trigger-claim identity, consistent with Lines 92 and 98.
As per path instructions, “Review docs for canonical-current-state consistency.”
📍 Affects 1 file
design/architecture/system-architecture-scripting-normative-contract-tables.md#L98-L98(this comment)design/architecture/system-architecture-scripting-normative-contract-tables.md#L342-L342
- Accepted Partially accepted: correct scheduleDefinitionId identity membership and descriptive core-only scriptId qualification. Reject adding plugin scriptId to the canonical preimage; local fix pending.
- Keep
outboxWorkItemIdseparate from Command-Handoff Identity.MinorLine 52 groups
outboxWorkItemIdunder the complete Command-Handoff Identity. Line 53 says it is correlation-only and excluded from child uniqueness, deduplication, and replay selection. State the child identity fields separately, then listoutboxWorkItemIdas parent correlation.As per path instructions: “
design/**/*.md: Review docs for canonical-current-state consistency.”Suggested wording
- the complete Command-Handoff Identity, including `outboxWorkItemId` as parent correlation and optional distinct target fields + the complete Command-Handoff Identity, with `outboxWorkItemId` retained separately as parent correlation and optional distinct target fields- Accepted Accepted: outboxWorkItemId is separate parent correlation, not a Command-Handoff Identity member; local fix pending.
- Quarantine replay admission after marker loss.Major
Production Redis absence fails closed, and
setIfAbsent(false)rejects replays. However, an evicted or reset marker is treated as a first use, so an unexpired token can be replayed. Apply the shared readiness/fence quarantine before reopening admission after marker loss or reset.- Accepted Accepted: Redis replay-admission overview must preserve shared readiness/fence quarantine after continuity loss; local fix pending.
- Do not document privileged JWTs with plaintext transport.Minor
The gRPC server enables TLS by default, so
grpcurl -plaintextdoes not match the default configuration; when TLS is disabled, it sends the JWT without encryption. The HTTP example also sends a privileged JWT overhttp://. Use TLS-enabled commands. If plaintext is retained for local harnesses, label it non-production and require disposable tokens.- Accepted Accepted: privileged HTTP/gRPC examples require authenticated TLS or an explicitly disposable nonproduction harness; local fix pending.
- Specify that every effect-binding conflict fails closed.Major
ADR 0069 in
design/architecture/decisions/adr-0069-at-least-once-effect-execution-with-one-logical-terminal-outcome.md(Lines 46–50) requires exact validation of the full persistedEffectIdbinding, including participant context, namespace, scope, and manifest. It also requires any conflict to fail closed. This sentence names only operation, target, and digest conflicts. Include the other binding conflicts so this contract cannot be read as permitting a reusedEffectIdwith changed evidence.As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Accepted: modding guard conflicts must cover complete owner-defined effect binding, not only operation/target/digest; local fix pending.
- CLI Review 20 CompletedRuntime 7m 09sFound: 4 Accepted: 1/2/0 Routed: 0
- Major
Update the Coordination Redis profile requirements to mandate a finite maxmemory value for every non-ephemeral profile, alongside maxmemory-policy=noeviction. Keep the explicitly labelled ephemeral one-shot test/CI exception limited to the existing policy deviation.
- Accepted Accepted: require finite positive maxmemory for non-ephemeral Coordination profiles, preserving the narrow ephemeral policy exception; local documentation fix pending.
- Major
Update the canonical scheduler preimage definition and the related logical identity so plugin-owned candidates include scriptId consistently with schedule-owned candidates; add a plugin-branch golden vector verifying the resulting identity.
- Rejected Rejected plugin scriptId addition: canonical preimage intentionally core-only; descriptive mismatch is being corrected by the accepted Hosted finding without changing plugin identity.
- Minor
Clarify the readiness transition in the recovery probe flow: define how recovery establishes the consume script’s required OPEN state while a separate player-admission hold remains active. Identify the recovery owner’s release gate that keeps player admission closed until DURABLE_REPLAY_CONSUME_ACK and all other release conditions pass.
- Accepted Accepted: document unproved recovery-probe readiness transition and fail-closed gate. Normal consume requires OPEN before proof; mechanism choice escalated to Overseer, no unsafe admission opening.
- Minor
Revise the EffectId definition and the candidate and fan-out sections so UUIDv7 and related allocation rules are presented as proposed behavior, conditional on acceptance, rather than requirements of the canonical contract. Keep the distinction between current state and the proposal consistent throughout the ADR.
- Accepted Accepted: explicitly qualify ADR0183 scalar and candidate/fan-out allocator wording as proposed, preserving accepted child mapping authority; local fix pending.
- CLI Review 21 CompletedRuntime 8m 36sFound: 1 Accepted: 0/1/0 Routed: 0
- Minor
Clarify in the Game Session ownership description that owning live and recent presence projection responsibility does not assign the current physical presence prefixes to Coordination Redis. Update the sentence near the gameplay coordination families to state that those prefixes have no assigned Redis role; keep the existing ownership and family descriptions intact.
- Accepted Accept local profile wording: Game Session owns live/recent presence projections, but current physical presence prefixes have no assigned Redis role. Preserve owner catalog and implementation gap; bounded doc fix pending.
- Hosted Review 11 CompletedRuntime 9m 58sFound: 6 Accepted: 4/2/0 Routed: 0
- Keep generated-child ID derivation proposal-only.Major
Line 90 makes the child ordinal part of deterministic child-ID derivation. However,
design/architecture/system-architecture-overview.mdLine 57 says exact generated-child allocation remains non-authoritative in pending ADR 0183. The PR objective also identifies child allocation as part of that proposal. Remove this derivation rule or label it proposal-only to keep the identity contract consistent.As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Partial acceptance: deterministic child-ID derivation remains pendingADR0183. Preserve accepted owner-allocated child ordinal and durable replay-stable mapping; not all child identity is proposal-only.
- Correct the partial-export failure description.Minor
AssetExportServiceImplwrites assets andmanifest.jsonbefore returningExportedAssetManifest. If either write fails,VersionPublishCommandServiceImplhas no manifest for artifact failure recording or cleanup. Cleanup errors are logged only.However,
TemporalVersionPublishActivitiesImplcatches onlyPendingReconciliationException.VersionPublishCommandServiceImplnormally recordsFAILEDand returns that snapshot to the activity.Suggested documentation fix
-The Temporal activity catches these failures and returns terminal `FAILED`, so ambiguous partial exports have no durable recovery authority. +`VersionPublishCommandServiceImpl` normally records these failures as terminal `FAILED` before returning the snapshot to `TemporalVersionPublishActivitiesImpl`; that activity only converts `PendingReconciliationException` to nonterminal `PENDING`. If export fails before a manifest is returned, the partial export still has no durable cleanup key list or artifact failure record.- Accepted Accept current-status correction: command service records FAILED and returns snapshot; activity converts only PendingReconciliationException to PENDING. Preserve unrecorded partial-export cleanup gap.
- Keep the Gateway ownership contract consistent.Major
The accepted ownership inventory and the Redis prefix catalog disagree about Gateway's Coordination Redis authority. This can route ACL, reset, or maintenance work through an incorrect owner.
design/architecture/decisions/adr-0009-coordination-redis-ownership-boundary.md#L24-L27: Add an explicit Gateway ownership bullet for replay, deny, readiness, and recovery-probe prefixes, or add a normative reference to ADR 0029.design/architecture/system-architecture-redis.md#L633-L634: Include theprobe:<operationId>:<nonce>family in the Gateway-owned list so it matches line 630's registration.
📍 Affects 2 files
design/architecture/decisions/adr-0009-coordination-redis-ownership-boundary.md#L24-L27(this comment)design/architecture/system-architecture-redis.md#L633-L634
- Accepted Accept Gateway ownership owner link in ADR0009 plus missing probe inventory; inventory portion overlaps accepted CLI1ae2#2, one shared fix batch.
- Require the ADR 0085 handoff for maintenance and reset mutations.Major
Line 128 allows an owner routine-replay exemption to replace the handoff for a maintenance mutation. Line 201 also permits either authority branch for maintenance and reset mutations. The runbook,
design/architecture/system-architecture-tick-incident-runbook.mdLine 329, limits handoff omission to a specifically classified, non-conflicting routine replay. Restrict the exemption to ordinary owner-local replay or reconciliation. Require the exact external handoff for maintenance and reset mutations.As per path instructions: “
design/**/*.md: Review docs for canonical-current-state consistency.”Also applies to: 201-201
- Accepted Accept exact ADR0085 handoff for maintenance/reset, no exemption substitute. Retain recorded non-conflicting routine owner-local replay exemption only outside maintenance/reset.
- Keep the participant-guard partition in the identity contract.Major
The participant-guard contract requires the owner-declared runtime-family partition and its applicable namespace dimension in addition to the persisted root or child
EffectId, typed operation, and target. This wording lists onlyEffectId, operation, target, andrequestDigest, then excludes the remaining scope facts from ledger uniqueness. If applied literally, two owner families or namespaces can share a deduplication identity. State the partition and namespace rule here. State thatrequestDigestbinds the identity but does not replace it.- Accepted Accept participant guard owner-family partition and applicable namespace dimensions; requestDigest is bound evidence not uniqueness substitute. Link canonical Transactions owner.
- Add the known-token expiry bound to this release gate.Minor
Line 404 requires the detection-time lifetime-plus-skew barrier, but does not state the additional wait for a later known affected-token expiry. Line 53 of
design/architecture/system-architecture-redis-cheatsheet.mdrequires reopening only after the later of those deadlines. State that condition here so the canonical Gateway recovery text cannot permit an earlier release.As per path instructions,
design/**/*.mdmust be reviewed for “canonical-current-state consistency.”- Accepted Accept Gateway local release consequence: wait later of detection lifetime/skew barrier and known affected expiry plus skew; ADR0029 remains canonical owner.
- CLI Review 22 CompletedRuntime 4m 12sFound: 5 Accepted: 1/4/0 Routed: 0
- Minor
Add a “Supersession” section to this ADR with the exact “Replacement ADR” entry linking to ADR 0172, matching the replacement already named in its status.
- Accepted Accept missing supersession metadata: add Replacement ADR link to0172 already named by Superseded status; preserve historical identity rationale.
- Minor
Update the Coordination prefix ownership statement to include
gateway:connect-token:{gateway-connect-token-replay-v1}:probe:*among Gateway-owned prefixes, alongside the existing replay-domain families, so ownership inventories include the recovery-probe prefix.- Accepted Accept local inventory alignment: include already-approved Gateway probe family beside replay, deny and readiness. No new Redis authority.
- Minor
Update the 2026-10-01 entry in the AI observations file to include the required Observation and Expected pattern fields, capturing the reusable lesson and expected behavior already described by its Context and Outcome while retaining the existing Proof.
- Accepted Accept append-only completion of own new observation: append Observation and Expected pattern to its Context/Outcome/Proof; preserve all existing text.
- Major
Update the replay operation in the RunPostResetSmokeCheck contract to use Gateway’s typed probe while readiness is QUARANTINED, rather than requiring the normal replay-consume path. Keep the existing fail-closed and durability requirements consistent with the quarantine probe.
- Accepted Accept remaining reset-smoke circularity: use Gateway typed probe while QUARANTINED; normal player consume remains OPEN-only; target-only current status preserved.
- Minor
Add a “Supersession” section to this ADR with the exact “Replacement ADR” entry linking to ADR 0170, matching the existing superseded status and link target.
- Accepted Accept missing supersession metadata: add Replacement ADR link to0170 already named by current Superseded status; do not alter human review metadata.
- CLI Review 23 CompletedRuntime 4m 08sFound: 3 Accepted: 1/2/0 Routed: 0
- Major
Update the Gateway replay-consume cutover documentation around the replay descriptor to require admission blocking for any jti represented only by a legacy untagged marker until its marker is migrated to the tagged keyspace or the token expires. Specify how quarantine enforces the block or how migration proves exact marker transfer, without allowing the target descriptor to treat those tokens as unused.
- Accepted Accepted: descriptor cutover must explicitly block legacy-only replay tokens under canonical quarantine gates; tagged absence cannot prove unused. Documentation consequence, not implemented migration proof.
- Minor
Update the tenant-readiness
onLoadpin-field wording near the non-gameplay Trigger Identity description to state thatscriptPinEpochandscriptPinControlPlaneRequestIdare absent whilescriptPatchVersionremains required. Ensure it no longer describes the entire pin tuple as absent.- Accepted Accepted: tenant-readiness onLoad omits pin epoch/request evidence, not required scriptPatchVersion. Align observability consequence with normative identity owner.
- Minor
Update the section summary around the onInterval timer to describe Redis keys as projections supporting each step, not as authoritative state; keep PostgreSQL schedule rows as the authoritative source.
- Accepted Accepted: lifecycle summary incorrectly calls Redis keys authoritative. Preserve PostgreSQL schedule authority and describe Redis as projections.
- CLI Review 24 CompletedRuntime 4m 36sFound: 3 Accepted: 0/3/0 Routed: 0
- Minor
Update the Game Session entry in the coord_app row to specify whether tick-events:* is a durable stream or a best-effort hint. For a durable stream, document its transactional outbox handoff and retention contract, including how retention avoids trimming entries before lagging consumers advance; for a best-effort hint, state that explicitly and qualify direct-consumer behavior accordingly.
- Accepted Accepted: ACL row must identify target tick-events stream as best-effort hint, bounded retention and canonical rebootstrap, not durable delivery. PostgreSQL remains authority; no new outbox contract.
- Minor
Update the recovery scope in the architecture guidance around ExternalMaintenanceHandoff so it is required only for recovery paths that perform maintenance or reset mutations, consistent with the scope at line 128. Preserve the separate OwnerRoutineReplayExemption rules for routine replay and reconciliation outside maintenance and reset.
- Accepted Accepted clarification: mandatory handoff covers maintenance/reset mutations, including recovery that performs them. Preserve nonconflicting ordinary owner-local replay exemption outside that boundary.
- Minor
Clarify the
entity_enqueue_seqallocation semantics in the tick-batch identity description: include the entity identifier in the allocation scope if sequences are per-entity, or describe the sequence as scope-wide and define its ordering contract. Keep the surrounding identity and reset semantics consistent with that choice.- Accepted Accepted: canonical ADR0065/Ticks allocates entity-local sequences; selected-work allocation tuple omits entityId. Add it without changing batch/reset identity.
- Hosted Review 12 CompletedRuntime 10m 45sFound: 7 Accepted: 5 Routed: 0
- Use the canonical date format in the entry title.Minor
The file template requires each entry to start with `
YYYY-MM-DD: short title`. Every other new entry follows this format. Line 198 leaves the date without backticks and ends the title with a period. Readers who scan for the template pattern can miss this entry.Proposed fix
-- 2026-10-01: Keep validation-script inputs stable during execution. +- `2026-10-01`: Keep validation-script inputs stable during executionAs per coding guidelines: "
YYYY-MM-DD: short title".- Accepted Accept trivial canonical observation title formatting: backtick date and omit trailing period; preserve the validated input-race observation.
- Align the reset-smoke limit with its required probes.Major
Line 13 says
RunPostResetSmokeCheckmay perform only sampled lease probes and the optional Gateway probe. Line 455 also requires forbidden-command probes, including destructive cases on an isolated disposable target with cleanup and readback. As written, the smoke check cannot satisfy both requirements. Clarify that the limit protects live tick state and explicitly allow the isolated probe harness.As per path instructions: “Review docs for canonical-current-state consistency.”
- Accepted Accept reset-smoke contract clarification: live tick data stays non-mutating, while required ACL-denial probes may use only the existing isolated disposable/protected harness with cleanup/readback. Preserve Gateway and lease constraints.
- Keep generated-child allocation details proposal-only.Major
Line 90 requires owners to persist an ordinal-to-child-
EffectIdmapping as an accepted contract. Butdesign/architecture/system-architecture-transactions.mdsays generated-child allocation details remain pending in ADR 0183, anddesign/architecture/system-architecture-overview.mdsays exact generated-child allocation remains non-authoritative there. Keep the mapping proposal-only; retain the accepted requirement to use a persisted childEffectIdand preserve applicable lineage.Suggested wording
- The owner must allocate and durably persist each generated child's ordinal and owner-scope/root/parent/ordinal-to-child-`EffectId` mapping under the accepted owner contract; deterministic child-ID derivation is only proposed by pending [ADR 0183](./decisions/adr-0183-deterministic-effect-id-allocation-and-replay-binding.md) and is not current target. + Generated-child allocation details, including ordinal assignment and ordinal-to-child-`EffectId` mapping, remain proposal-only in pending [ADR 0183](./decisions/adr-0183-deterministic-effect-id-allocation-and-replay-binding.md). The accepted effect contract requires each child mutation to use its persisted child `EffectId` and retain applicable root and parent lineage.As per path instructions: “Review docs for canonical-current-state consistency.”
- Rejected Reject: accepted ADR0069/0075/0077 require owner-defined ordinal and durable child mapping. ADR0183 Context explicitly preserves that independent contract; only added scalar/allocator/manifest choices are pending. Removing accepted mapping would regress authority.
- CodeRabbit summary-only outside-diff finding 1 of 1 (aggregate; no individual detail)
summary-only aggregate; provider supplied no individual detail
- Accepted Accept Entity76 status contradiction: namespace/target/digest replay guard is target-only; live replay uses tenant/effectId and operation-only reuse checks. Clarify local consequence without changing target.
- CodeRabbit summary-only duplicate finding 1 of 1 (aggregate; no individual detail)
summary-only aggregate; provider supplied no individual detail
- Accepted Accept cheap World179 retry-bound clarification: stale pre-activation epoch is retried for at most five termination-activity attempts, consistent with191 and existing workflow. No new retry/runtime behavior.
- Clarify the current scope-validation guarantee.Minor
TriggerScriptEventRequestcarriesplayableStateScope, and the ingress path persists it in ingress and work records. However,ScriptEventIngressServiceImplrejects a scope mismatch only when both the request and owner runtime state provide a scope. This check does not establish complete namespace/scope owner proof. Align line 89 with the current-state limitation inruntime-and-data.md.Suggested documentation fix
-`playableStateScope` is carried for gameplay-originated events as separately persisted, exact-validated policy/routing/authorization/migration-fence evidence. Current scope evidence does not prove the complete target namespace/scope tuple. It stays explicit for handler/work fencing and operator read models but is excluded from Trigger Identity, timer-follow-up identity, uniqueness, and deduplication keys; see the [normative identity tables](../../system-architecture-scripting-normative-contract-tables.md#table-1-trigger-identity-required-fields). +`playableStateScope` is carried for gameplay-originated events and persisted in ingress and work records. The current ingress path compares it with the owner runtime scope only when both values are present; this conditional check does not prove the complete target namespace/scope owner-proof tuple. It stays explicit for handler/work fencing and operator read models but is excluded from Trigger Identity, timer-follow-up identity, uniqueness, and deduplication keys; see the [normative identity tables](../../system-architecture-scripting-normative-contract-tables.md#table-1-trigger-identity-required-fields).- Accepted Accept API current-state correction: ingress persists scope but compares request/owner scope only when both enum values are present (ScriptEventIngressServiceImpl 659-665); keep incomplete owner-proof status and identity exclusions.
- Retain the queue-tag drift statement.Trivial
AutomationRedisKeys.tenantInstanceTagconcatenates raw values afterrequirePart.requirePartrejects only null or blank values. It does not enforce canonical lowercase UUIDs or reject delimiters and braces.AutomationQueueServiceImpluses this builder for queue writes and lookups, so the current-state wording is accurate.- Rejected No correction needed: Redis609 already labels raw Automation queue-tag construction as noncanonical drift. Builder99-110 rejects only null/blank and source confirms the retained statement; no requested canonicalization was applied.
- CLI Review 25 CompletedRuntime 3m 43sFound: 3 Accepted: 0/2/1 Routed: 0
- Minor
Update the coordination-prefix ownership description to identify the target issuance-result family as session:connect-token:v1: and list the unversioned session:connect-token: legacy family separately. Keep the existing ownership assignments and other prefix descriptions unchanged.
- Accepted Accepted current-PR doc correction: exact target session:connect-token:v1:* ownership must distinguish the retained unversioned legacy family; fixes the normative inventory only.
- Trivial
Clarify in the RunPostResetSmokeCheck description that “existing” refers only to the authenticated owning-service maintenance transport boundary, not an implemented API endpoint. Keep the typed Gateway recovery probe endpoint explicitly target-only and unimplemented.
- Accepted Accepted current-PR wording correction: existing refers only to owning-service authenticated transport, not an implemented recovery endpoint; retain target-only/unimplemented probe status.
- Minor
Add the same target-state/current-deployment distinction to the later reset_first branch: make executing the coordination reset sequence target-state-only once the canonical gated operation is implemented and proven, and direct current deployments to preserve evidence, keep the scope fenced or stopped, use the shipped safety boundaries and read-only inspection, then follow Current Operator Fallback. Keep the branch consistent with the existing guidance near the opening of the runbook.
- Accepted Accepted current-PR runbook correction: later reset_first branch must explicitly keep reset target-only and direct current operators to the fenced/read-only fallback, matching existing opening guidance.
Routed Findings
Route 1 · PR #2829 → PR #2839 Accepted/FixedMajorIn the retryableFanoutFence branch, distinguish whether any command handoff was attempted: if none was attempted, route the item through the plugin-fence retry path at STAGE_DSL_EV
In the retryableFanoutFence branch, distinguish whether any command handoff was attempted: if none was attempted, route the item through the plugin-fence retry path at STAGE_DSL_EVAL; retain the STAGE_TICK_HANDOFF dead-letter path only after a handoff attempt.
Outcome: Published ccd32091c retains post-DSL uncertainty as EVALUATING/HANDOFF_IN_FLIGHT; no blanket DSL retry. 251 executor/handoff tests pass, including fanout and finalization rollback plus sibling progress. Full ADR0107 recovery ledger remains explicit successor gap.
Earlier routing and proof
Earlier decisions
- Accepted Partially accepted: post-evaluation fanout/child uncertainty must not restart DSL without a frozen descriptor and recovery ledger. Implement fail-closed retention instead of the suggested blanket DSL_EVAL retry; full stage-aware recovery remains a declared successor obligation.
Route 2 · PR #2829 → PR #2839 RejectedMajorUpdate the recovery flow around claimThenProcessWorkItem so a processing failure cannot leave the committed EVALUATING claim blocking drain convergence indefinitely; add a bounded
Update the recovery flow around claimThenProcessWorkItem so a processing failure cannot leave the committed EVALUATING claim blocking drain convergence indefinitely; add a bounded stale-claim recovery path that dead-letters stale rows with stage_evidence_unavailable, while retaining processingFailureAfterClaimCounter for visibility.
Outcome: A bounded age-based sweep cannot terminalize a stale EVALUATING claim without an expired owner CAS and definitive downstream disposition. No such owner/recovery evidence exists; retaining the claim fail-closed is required by ADR0107 and documented in the Automation tracker.
Earlier routing and proof
Earlier decisions
- Rejected A bounded age-based sweep cannot terminalize a stale EVALUATING claim without an expired owner CAS and definitive downstream disposition. No such owner/recovery evidence exists; retaining the claim fail-closed is required by ADR0107 and documented in the Automation tracker.
Route 3 · PR #2829 → PR #2839 RejectedMajorUpdate the `claimThenProcessWorkItem` failure path so a processing failure releases the committed claim in a separate `REQUIRES_NEW` transaction, returning the work item to `PENDIN
Update the
claimThenProcessWorkItemfailure path so a processing failure releases the committed claim in a separateREQUIRES_NEWtransaction, returning the work item toPENDING_EVALUATIONonly if itsrowVersionstill matches the claimed version. Preserve the original exception as the failed attempt; if release fails, retain that failure as suppressed.Outcome: Returning a committed EVALUATING claim to PENDING_EVALUATION is unsafe after an uncertain accepted handoff. ADR0107 requires durable evaluated descriptor, child dispositions and owner-fenced recovery; #2839 declares that gap and preserves the unresolved claim.
Earlier routing and proof
Earlier decisions
- Rejected Returning a committed EVALUATING claim to PENDING_EVALUATION is unsafe after an uncertain accepted handoff. ADR0107 requires durable evaluated descriptor, child dispositions and owner-fenced recovery; #2839 declares that gap and preserves the unresolved claim.
Route 4 · PR #2839 → Unassigned target OpenMinorKeep the Redis profile drift explicit and correct the hosted cache settings.
The hosted overlay provisions a persistent
redis-cachevolume, andstateful-core.yamlstarts the cache deployment with AOF enabled. That deployment does not setmaxmemoryormaxmemory-policy, so it does not provide the bounded, eviction-driven cache profile. Load the cache profile or declare equivalent bounded settings before claiming the target posture.The Coordination configuration also lacks an internal Redis
maxmemorybound inconfig/redis/redis.conf, the production Coordination values, and the hosted deployment settings. External container limits do not establish a Redis memory bound. Set an explicit bound in each supported Coordination profile, with sizing left to Platform Operations/6D.Outcome: Platform Operations/6D owns hosted Cache profile and Coordination maxmemory configuration; current doc already records these exact gaps. Route deployment observation for independent owner triage, not a source-doc fix.
Route 5 · PR #2839 → Unassigned target OpenMinorPreserve namespace identity in the automation queue contract.
automation:queue:{tenantInstanceTag}:<entityId>does not isolateplayableStateNamespaceId. The queue pointer andScriptWorkItemomit that field, andScriptWorkItemExecutionServiceImplclaims work byoutboxWorkItemIdonly. Repeated entity IDs can therefore share one pointer queue without namespace-specific ordering or fence validation.Add
playableStateNamespaceIdto the durable work identity, pointer payload, queue/rebuild scope, and consumer validation. Do not describe the current queue as namespace-isolated.📍 Affects 2 files
design/architecture/system-architecture-scripting-dsl-reference-and-lifecycle.md#L66-L66(this comment)design/architecture/system-architecture-scripting-examples-and-patterns.md#L72-L72
Outcome: Route unassigned to Automation runtime AS-1.1/AS-1.2: namespace-aware durable work, pointers, queue/rebuild and consumer enforcement. Outside #2839 corpus implementation; current-status docs corrected locally, target not claimed live.
Route 6 · PR #2839 → Unassigned target OpenMajorThe `AlreadyStarted` path does not compare the incoming `PreparedWorldInstanceRequest` with the existing workflow's request identity. The current implementation can return the existing `PREPARING` snapshot for a request with a different `controlPlaneRequestId`, `launchDescriptorId`, or other immutab
The
AlreadyStartedpath does not compare the incomingPreparedWorldInstanceRequestwith the existing workflow's request identity. The current implementation can return the existingPREPARINGsnapshot for a request with a differentcontrolPlaneRequestId,launchDescriptorId, or other immutable field.Outcome: Routed to World lifecycle owner (unassigned PR): existing AlreadyStarted request-identity gap explicitly documented in this patch; full workflow reuse/CAS proof is separate from this PR transaction correction. No fix claimed.
Route 7 · PR #2909 → PR #2839 Accepted/FixedMajorUpdate the generated-effects invariant describing child identity to use the same owner-defined, deterministic child ordinal allocated and persisted by the owning contract for repla
Update the generated-effects invariant describing child identity to use the same owner-defined, deterministic child ordinal allocated and persisted by the owning contract for replay-stable reuse as the execution-flows document; do not describe the ordinal as digest-covered while ADR 0183 remains pending.
Outcome: Published #2839 f8af1b52a5ec1f076f04223fea30b722b871f1ba preserves the received canonical contract correction. Exact assembled head: 228 architecture tests, linkCheck and lintMarkdown pass. Runtime gaps remain explicitly unimplemented.
Earlier routing and proof
Earlier decisions
- Accepted Target owner accepts this bounded contract/proof-status correction; local implementation in progress, no published fix or resolution yet
Route 8 · PR #2909 → PR #2839 Accepted/FixedMinorRemove the mandatory forwarded-request contract from the superseded ADR 0011 and link to the corresponding current requirement in ADR 0170, keeping the active forwarding contract a
Remove the mandatory forwarded-request contract from the superseded ADR 0011 and link to the corresponding current requirement in ADR 0170, keeping the active forwarding contract authoritative there.
Outcome: Published #2839 f8af1b52a5ec1f076f04223fea30b722b871f1ba preserves the received canonical contract correction. Exact assembled head: 228 architecture tests, linkCheck and lintMarkdown pass. Runtime gaps remain explicitly unimplemented.
Earlier routing and proof
Earlier decisions
- Accepted Target owner accepts this bounded contract/proof-status correction; local implementation in progress, no published fix or resolution yet
Route 9 · PR #2909 → PR #2839 Accepted/FixedMinorQualify the crash-recovery claims in the recovery descriptions so they distinguish current behavior from target behavior: state that current recovery can reconstruct only states su
Qualify the crash-recovery claims in the recovery descriptions so they distinguish current behavior from target behavior: state that current recovery can reconstruct only states supported by existing durable records, and that a STAGED command without a tick_batch or tick_effect is not currently recovered. Keep the existing replay-authority limits intact.
Outcome: Published #2839 f8af1b52a5ec1f076f04223fea30b722b871f1ba preserves the received canonical contract correction. Exact assembled head: 228 architecture tests, linkCheck and lintMarkdown pass. Runtime gaps remain explicitly unimplemented.
Earlier routing and proof
Earlier decisions
- Accepted Target owner accepts this bounded contract/proof-status correction; local implementation in progress, no published fix or resolution yet
Route 10 · PR #2909 → PR #2839 Accepted/FixedMinorMove the normative preimage specification from this historical ADR to the active canonical contract, then replace the specification here with a link to that contract. Keep the refe
Move the normative preimage specification from this historical ADR to the active canonical contract, then replace the specification here with a link to that contract. Keep the reference to ScriptScheduleInstanceServiceImpl.TimerFiringCandidate.identity() only as context if needed; do not leave this ADR defining the current implementation requirement.
Outcome: Published #2839 f8af1b52a5ec1f076f04223fea30b722b871f1ba preserves the received canonical contract correction. Exact assembled head: 228 architecture tests, linkCheck and lintMarkdown pass. Runtime gaps remain explicitly unimplemented.
Earlier routing and proof
Earlier decisions
- Accepted Target owner accepts this bounded contract/proof-status correction; local implementation in progress, no published fix or resolution yet
Route 11 · PR #2909 → PR #2839 Accepted/FixedMajorUpdate the generated_effect mapping for commandId_or_effectKey to use the recorded child EffectId as the identity slot, without tying its allocation to the parent/root identity or
Update the generated_effect mapping for commandId_or_effectKey to use the recorded child EffectId as the identity slot, without tying its allocation to the parent/root identity or child ordinal. Leave child-ID allocation unresolved pending ADR 0183.
Outcome: Published #2839 f8af1b52a5ec1f076f04223fea30b722b871f1ba preserves the received canonical contract correction. Exact assembled head: 228 architecture tests, linkCheck and lintMarkdown pass. Runtime gaps remain explicitly unimplemented.
Earlier routing and proof
Earlier decisions
- Accepted Target owner accepts this bounded contract/proof-status correction; local implementation in progress, no published fix or resolution yet
Route 12 · PR #2909 → PR #2839 Accepted/FixedMinorMark the `DROP`/`PICKUP` sequence in the Game Session runtime-and-data documentation as target state, rather than describing it as current behavior. Keep the actor-lock, barrier, a
Mark the
DROP/PICKUPsequence in the Game Session runtime-and-data documentation as target state, rather than describing it as current behavior. Keep the actor-lock, barrier, and stale-evidence requirements intact.Outcome: Published #2839 f8af1b52a5ec1f076f04223fea30b722b871f1ba preserves the received canonical contract correction. Exact assembled head: 228 architecture tests, linkCheck and lintMarkdown pass. Runtime gaps remain explicitly unimplemented.
Earlier routing and proof
Earlier decisions
- Accepted Target owner accepts this bounded contract/proof-status correction; local implementation in progress, no published fix or resolution yet
Route 13 · PR #2909 → PR #2839 Accepted/FixedMajorUpdate the World Management retry guidance to use the persisted mutation EffectId for both retries and the participant guard, including generated-child MOVE and PICKUP operations;
Update the World Management retry guidance to use the persisted mutation EffectId for both retries and the participant guard, including generated-child MOVE and PICKUP operations; retain the command-root EffectId only for lineage so retries are recognized as replays.
Outcome: Published #2839 f8af1b52a5ec1f076f04223fea30b722b871f1ba preserves the received canonical contract correction. Exact assembled head: 228 architecture tests, linkCheck and lintMarkdown pass. Runtime gaps remain explicitly unimplemented.
Earlier routing and proof
Earlier decisions
- Accepted Target owner accepts this bounded contract/proof-status correction; local implementation in progress, no published fix or resolution yet
Route 14 · PR #2909 → PR #2839 Accepted/FixedMinorUpdate the consolidation status on Line 113 to include ADR 0184 alongside ADRs 0179–0182, consistent with the recorded `EDGE-WITHDRAWAL-01` decision. Locate the status text by its
Update the consolidation status on Line 113 to include ADR 0184 alongside ADRs 0179–0182, consistent with the recorded
EDGE-WITHDRAWAL-01decision. Locate the status text by its reference to the direct decisions being integrated.Outcome: Published #2839 f8af1b52a5ec1f076f04223fea30b722b871f1ba preserves the received canonical contract correction. Exact assembled head: 228 architecture tests, linkCheck and lintMarkdown pass. Runtime gaps remain explicitly unimplemented.
Earlier routing and proof
Earlier decisions
- Accepted Target owner accepts this bounded contract/proof-status correction; local implementation in progress, no published fix or resolution yet
Route 15 · PR #2909 → PR #2839 Accepted/FixedMinorUpdate the canonical handoff identity description to make clear that source tenantId and gameInstanceId are shared fields inherited from the row, alongside playableStateNamespaceId
Update the canonical handoff identity description to make clear that source tenantId and gameInstanceId are shared fields inherited from the row, alongside playableStateNamespaceId, regionId, and regionEpoch; ensure the identity list and lookup tuple consistently include them.
Outcome: Published #2839 f8af1b52a5ec1f076f04223fea30b722b871f1ba preserves the received canonical contract correction. Exact assembled head: 228 architecture tests, linkCheck and lintMarkdown pass. Runtime gaps remain explicitly unimplemented.
Earlier routing and proof
Earlier decisions
- Accepted Target owner accepts this bounded contract/proof-status correction; local implementation in progress, no published fix or resolution yet
Unlinked items
no items unlinked