openai / gpt-6-astra / high / high effort preferred over openai / gpt-6.1-sol / low / low effort · close win.
Primary judge: Sol 6.1, requested Low. Effective provider effort and internal attempts were not verified. A close win is still a scored preference; it does not establish a material defect.
Reviewed public evidence
Task goal
Review the installed native BattleRanks recipe capture and publication lifecycle in this frozen source. Trace capture admission through finalization, write durability, unique run bindings, retry/recovery, and combined-sink handoff. Find concrete crash windows, duplicate publication risks, missing source bindings, or terminal-state handling errors. For each finding cite exact functions, give a minimal event sequence, state severity and preconditions, explain which existing guard fails or succeeds, and propose the smallest recovery or regression check. Keep provider authorization, admission gates, live controls, Terra judge, Sol synthesis and rating formulas unchanged. Do not edit files, launch models, or claim tests ran.
openai / gpt-6-astra / high / high effort answer
## Conclusion
Independent, read-only analysis found **three synthesis-provenance gaps and one conditional combined-sink initialization risk**. The supplied code does not expose publication, finalization, journal durability, or terminal-state recovery, so it cannot establish an actual duplicate-publication defect or end-to-end crash safety.
No files were edited, models launched, or tests run.
## Findings
### 1. Continued synthesis sessions do not receive a new prompt binding
**Severity:** Medium; high if publication treats session metadata as authoritative provenance.
**Precondition:** A synthesis lane follows the `lane.continuedFrom` path with a new assignment prompt.
**Evidence**
- The native admission excerpt resumes an existing session at `source/native-run.capture-excerpt.txt:23–25`.
- Both synthesis hashes are written only inside the alternative `session.create` branch, at lines `55–97`, specifically line `76`.
- `synthesisPromptSHA256()` hashes exact assignment bytes: `source/recipe-capture.js:6–9`.
**Minimal sequence**
1. Synthesis session receives prompt A and metadata containing hash(A).
2. A subsequent synthesis assignment resumes that session with prompt B.
3. The continuation branch bypasses metadata creation.
4. Session metadata still describes A, while any later execution of B needs a separate binding.
**Guard assessment:** `assertContinuationSession()` and the parent-policy comparison protect continuation identity and authority, according to their call sites. The visible code does not bind the new synthesis prompt. Their implementations and subsequent prompt admission are outside the packet.
**Smallest recovery/check:** Persist `{runID, childSessionID, assignmentMessageID, promptSHA256, instructionsSHA256}` for every synthesis assignment before dispatch, including continuations. A regression check should resume a synthesis session with a different prompt and require distinct, correctly linked assignment provenance.
**Confidence:** High for the branch omission; downstream publication consequences remain conditional.
### 2. Reusing a created-but-unprompted session does not validate its synthesis hashes
**Severity:** Medium; high if recovered publication relies on stale metadata.
**Precondition:** Recovery takes `reuseCreated`, and the reconstructed prompt or installed prompt implementation differs.
**Evidence**
- Initial creation records synthesis hashes at `source/native-run.capture-excerpt.txt:76`.
- The `reuseCreated` checks at lines `26–39` validate session, project, agent, lane, role, run, parent, execution model, and absence of user/assistant messages.
- They do **not** compare either synthesis hash.
- The excerpt does not provide the enclosing function’s name; these citations identify its exact admission branches.
**Minimal sequence**
1. Create a synthesis session with metadata for prompt A.
2. Crash or pause before sending its first prompt.
3. Recover with prompt B, or a different installed prompt-source version.
4. `reuseCreated` accepts the empty session because all checked identities match.
5. The visible admission path leaves the old synthesis hashes intact.
**Guard assessment:** The empty-context check successfully prevents reuse after a visible conversation turn. It does not establish that the next prompt matches the provenance already attached to the session. The later prompt-dispatch implementation is not supplied, so a subsequent safeguard cannot be ruled out.
**Smallest recovery/check:** Before accepting a reused synthesis session, compare both stored hashes against the frozen assignment. Recover the original bytes or fail closed on mismatch. Inject a restart between session creation and first prompt; change only the prompt bytes and require rejection.
**Confidence:** High for the missing comparison in this branch.
### 3. The instruction hash can describe disk contents rather than the executing implementation
**Severity:** Medium provenance-integrity risk.
**Precondition:** `prompts.js` changes while the process retains an already-loaded prompt implementation.
**Evidence**
- `synthesisInstructionsSHA256()` reads `./prompts.js` from disk on every call: `source/recipe-capture.js:12–14`.
- It is called during session creation: `source/native-run.capture-excerpt.txt:76`.
**Minimal sequence**
1. The process loads prompt implementation V1.
2. An installation update replaces the file with V2 without restarting that process.
3. The process constructs an assignment using retained V1 code.
4. `synthesisInstructionsSHA256()` reads V2 and labels the session with V2’s source hash.
**Guard assessment:** `synthesisPromptSHA256()` still accurately binds the supplied prompt string. It does not prove that the separately recorded source digest identifies the implementation that generated that string. The comment requesting retention of source bytes is not an archival implementation.
**Smallest recovery/check:** Bind the source digest and retained source bytes to the loaded prompt implementation’s lifecycle, rather than rereading a replaceable file at dispatch. A regression check should replace the source after loading and verify that execution provenance remains tied to the loaded version.
**Confidence:** High under the stated update condition; the actual prompt-loading and archive mechanisms are outside the packet.
### 4. Combined-sink binding cannot enforce its required import order
**Severity:** High if an already-initialized recorder subsequently writes to the wrong season directory.
**Precondition:** The recorder captures its journal directory before the first successful binding.
**Evidence**
- `bindCombinedScorecardDirectory()` explicitly requires binding before recorder import: `source/combined-sink.js:3–5`.
- The function only validates configuration, checks its own global binding, and sets the environment variable: lines `6–18`.
- No recorder-initialization acknowledgment is checked.
**Minimal sequence**
1. Recorder initializes against directory A.
2. First call to `bindCombinedScorecardDirectory({combinedSeasonEnabled:true, scorecardDirectory:B})` occurs.
3. No prior global binding exists, so the function accepts B.
4. A recorder that captured A on import continues writing there while the binding reports B.
**Guard assessment:** The conflicting-directory and environment-drift checks at lines `14–15` succeed for repeated bindings. They cannot detect an earlier recorder import. The recorder’s import-time capture is documented here but its implementation and actual initialization order are not supplied.
**Smallest recovery/check:** Require recorder initialization to acknowledge the bound directory, and reject a mismatch before accepting publications. Check both import orders and require the late-binding case to fail rather than silently split destinations.
**Confidence:** High that this function does not enforce ordering; occurrence in installed wiring is unproven.
## Lifecycle and unique-binding assessment
| Stage | What the evidence establishes |
|---|---|
| Dispatch identity | `moaDispatchDigest()` hashes stable spec content (`moa-job-spec.js:20–23`); `assertFrozenDispatch()` detects content drift (`562–567`). This is not, by itself, a unique execution/publication ID. |
| Resolved roster | `bindResolvedRoster()` incorporates receipt-derived seats (`357–381`). `seatFromReceipt()` permits null `receiptID` and `assignmentID` (`304–307`). |
| Retry identity | `retainFrozenRoster()` compares an unordered roster of role, route, model, variant, effort, and seat (`384–405`). It deliberately does not compare receipt IDs, assignment IDs, run IDs, or prompt hashes. This guards roster identity, not unique capture provenance. |
| Live authorization | `assertRecoveryDispatch()` and `assertFrozenIdentity()` revalidate frozen identity and current authorization (`408–447`, `569–579`). These guards should remain unchanged. |
| Native admission | Run/lane/parent metadata and synthesis hashes are attached at session creation (`native-run.capture-excerpt.txt:61–94`). Observer setup also receives run, child, and assignment-message identities (`123–125`). |
| Persistence | `saveRun()` is awaited before creation, after creation, and after reconciliation (`49–52`, `99–113`). Atomic replacement, flush/fsync, and persistence semantics are not shown. |
| Finalization/publication | No publication commit, acknowledgment, deduplication key, terminal-state transition, or recovery scanner appears in the packet. |
**Important distinction:** Missing run IDs in a roster comparator are not themselves proof of a defect: retries may legitimately have new receipt IDs. The unresolved question is whether publication separately binds an immutable run/assignment identity and enforces idempotency.
## Crash windows requiring verification
These are **unresolved checks, not demonstrated publication defects**:
- **Session creation succeeds; `saveRun()` fails:** the catch invokes `reconcileSession()` (`native-run.capture-excerpt.txt:99–113`). Whether reconciliation verifies exact metadata and safely recovers after process death is unknown.
- **Sink append succeeds; publication acknowledgment is lost:** inspect whether replay uses a durable unique publication key. No append or acknowledgment implementation is supplied.
- **Terminal state persists before publication, or vice versa:** inspect whether recovery independently repairs the missing side effect without reopening completed inference. Terminal-state handling is not supplied.
- **Host/power failure after a successful write:** awaited calls alone cannot demonstrate durable journal and run-state storage.
The imported quality-policy dependency, prompt implementation/archive, native persistence/reconciliation methods, recorder, and lifecycle finalizer are outside this packet. Consequently, claims about their safeguards would be speculation.
**Next useful action:** Review the finalizer and recorder against these precise failure boundaries, then add narrowly scoped crash-injection checks for assignment-hash recovery and idempotent publication. Preserve provider authorization, admission gates, live controls, judge/synthesis selection, and rating formulas.openai / gpt-6.1-sol / low / low effort answer
## Conclusion
Direct, independent analysis of the supplied snapshot: **capture provenance and dispatch guards are visible, but durable capture finalization, publication, and terminal-state recovery are not.** Exactly-once publication cannot be established from this packet. No tests were run.
### 1. Combined-sink binding cannot detect an already-imported recorder
**Severity: Medium; conditional handoff risk. Confidence: High.**
**Evidence:** `bindCombinedScorecardDirectory`, `source/combined-sink.js:3–18`, says the recorder captures its journal path on import. The function validates the directory and checks previous global/environment bindings, but does not check the recorder’s actual destination or initialization state.
**Minimal sequence:**
1. Recorder imports and captures directory A.
2. Trusted configuration first calls `bindCombinedScorecardDirectory` with directory B.
3. The function sets the environment/global binding to B and returns successfully.
4. The already-initialized recorder can still write to A.
**Precondition:** Recorder import precedes the first binding; whether installed initialization permits that ordering is outside this packet.
**Guard:** Canonical-path checks and conflicting-binding checks succeed at their stated purposes, but neither detects an import-time destination captured earlier.
**Smallest recovery/check:** Have the initialized recorder expose its captured destination and require equality before accepting a binding. Regression: import recorder under A, bind B, and require an explicit failure rather than a successful handoff.
### 2. Template hashing records current file bytes, not necessarily executing template bytes
**Severity: Medium; conditional provenance corruption. Confidence: High.**
**Evidence:** `synthesisInstructionsSHA256`, `source/recipe-capture.js:12–14`, rereads `./prompts.js` on each call. Native session creation records this digest in `source/native-run.capture-excerpt.txt:55–76`.
**Minimal sequence:**
1. A running host loads a prompt implementation.
2. An installation update replaces `prompts.js` without restarting that host.
3. The host constructs a synthesis assignment using its previously loaded implementation.
4. `synthesisInstructionsSHA256()` hashes the replacement file.
5. Session metadata associates the assignment with source bytes that did not produce it.
**Precondition:** In-place source replacement while the old implementation remains loaded. Prompt construction and package-update behavior are not supplied.
**Guard:** `synthesisPromptSHA256`, `recipe-capture.js:6–8`, correctly hashes the supplied exact prompt string. It does not establish that the separately recorded template digest identifies the implementation that generated that string.
**Smallest recovery/check:** Capture and retain the template source bytes/digest when loading the implementation, then reuse that binding. Regression: replace the source file after loading and verify that subsequent assignments retain the loaded implementation’s digest.
Also, the comment requiring retention of exact source bytes (`recipe-capture.js:10–11`) is not itself an archive write; none is shown here.
### 3. Native session creation has a reconciliation boundary requiring provenance verification
**Severity: Medium; conditional crash-recovery risk, not a demonstrated duplicate publication. Confidence: High on the boundary; unresolved on recovery correctness.**
**Evidence:** The shown lane-admission routine persists `"create-attempting"` before `session.create` (`native-run.capture-excerpt.txt:49–55`) and persists `"session-created"` afterward (`98–100`). On error it calls `reconcileSession(childSessionID)` and accepts a truthy result (`101–113`).
**Minimal sequence:**
1. Persist `"create-attempting"`.
2. Native session creation succeeds, including synthesis hashes.
3. Process exits before the following `saveRun`.
4. Recovery must reconcile the persisted attempt with the existing session.
**Preconditions:** Crash in this interval, followed by recovery. The enclosing function name and restart implementation are not supplied.
**Guard:** A predetermined `childSessionID` and persisted create intent support reconciliation. However, the shown catch branch does not itself verify reconciled session metadata, including `runID`, lane identity, or synthesis hashes. The separate `reuseCreated` path checks substantial identity (`26–38`), but does not check those synthesis hashes either.
**Smallest recovery/check:** Fault-inject after successful creation but before `saveRun`; require recovery to verify the existing session’s run/lane and capture digests against durable expected values before prompting it. Whether `reconcileSession` already supplies these checks is unresolved.
## Guards that succeed—and their limits
- `assertFrozenDispatch` verifies dispatch content integrity (`moa-job-spec.js:562–566`).
- `retainFrozenRoster` verifies reviewer/synthesizer route identities across retries (`396–405`).
- `assertRecoveryDispatch` checks frozen authorization or re-resolution consistency (`569–578`).
These are **dispatch guards, not publication idempotency guards**. In particular, `rosterIdentity` excludes `receiptID`, `assignmentID`, and run/session identifiers (`384–393`). Thus a passing roster comparison cannot establish a unique capture-to-run binding. That exclusion may intentionally permit new retry assignments; it is not independently a defect.
## Unresolved lifecycle requirements
The packet shows no capture record writer, durable source archive, finalizer, publication journal, publication acknowledgment, deduplication key, or terminal-state transition handler. Therefore:
- No concrete duplicate-publication sequence can be proven.
- Write/fsync/rename durability cannot be assessed.
- Retry behavior after publication but before acknowledgment cannot be assessed.
- Completed, failed, cancelled, or rejected capture handling cannot be assessed.
Other dependencies outside the packet include `prompts.js`, `qualityPolicyReason`, `saveRun`, `reconcileSession`, and the recorder implementation.
**Next useful action:** Review the finalizer and recorder against three fault boundaries: session-created-before-save, publication-written-before-acknowledgment, and terminal-state-persisted-before-finalization. Require restart to converge on one publication with durable source/run bindings, without changing authorization, admission, judge, synthesis, or rating behavior.
Primary judge's stated reason
A offers an additional targeted regression scenario: resume synthesis with changed assignment bytes and verify distinct assignment provenance. That is useful to the requested recovery review, but the preference is forced and weak, not an established material quality difference. The unseen downstream binding mechanisms leave uncertainty, and an independent review could reasonably prefer B's more cautious framing.
This reason is the judge's assessment. No independent factual-defect finding is asserted by this record.
Battle wave: 705ae38b-ca93-4775-b806-02cf89120b55. Pair: brp1_51c6d910d5281aaea2111092a8f34f643f03cb3ab9d372cb138003a518e58c90. A separate independent review is required before calling a concern a verified factual defect. Judge disagreement is not recorded here.