PHASE_OFF_ZONE_SHARED_PREFLIGHT_LEGACY · branch loop/it51 · base 4ec0b9ef1 · candidate 8ab925779 · took 1327h 45mMechanism. In triggers.rs::reconcile_off_zone_keyword_triggers_with_prefilter_mode, reuse the shared-effects emptiness verdict throughout read_pass. off_zone_characteristics.rs::off_zone_keyword_reconciliation_can_skip currently repeats cache identity checks and thread-local borrows for each recipient. Keep recipient-index and base-definition checks per object.
Evidence. xn5.67, docs/stage0-decision-memo.md:L4904, attributes 1.4% inclusive process CPU to reconciliation_can_skip within the 7.0% reconciliation family. The shared-list check is only part of that measured component; its individual share is unmeasured. Inspection confirms that read_pass stages changes and commits them afterward. The previous PHASE_RECIPIENT_BUCKET_EMPTINESS_LEGACY candidate addressed empty index buckets, a separate operation.
Counter and kill threshold. Existing xn5.67 reconciliation_can_skip profile row: 1.4% inclusive CPU. Expected instruction reduction: 0.3–0.6% per action at 4,000 actions, an unmeasured planning estimate. The profile predates subsequent loop changes.
Invariant. A shared-effects emptiness verdict remains constant while the same GameState is borrowed read-only. Cache it lazily only after the existing eligibility guards pass, and discard it before staged writes. Preserve recipient ordering, contribution evaluation, grant retirement, and all three fingerprints. Never reuse the verdict across states, nested scratch queries, commits, or reconciliation calls.
| Role | Harness / model | Time | Exit | Tokens in / out | Note |
|---|---|---|---|---|---|
| planner | codex / gpt-6.1-sol | 12m 9s | 0 | 3,430,971 / 12,278 | |
| executor | codex / gpt-6-luna | 42m 0s | 0 | 7,917,614 / 20,144 | |
| reviewer | codex / gpt-6.1-sol | 0m 45s | 0 | 21,504 / 792 |
| Gate | Result | Exit | Detail |
|---|---|---|---|
| fmt | pass | 0 | cargo fmt --all -- --check |
generated 2026-11-28 18:17:17 · read-only · refreshes every 30 s