Skip to content

Commit bf83630

Browse files
fluffy314cursoragent
authored andcommitted
fix(autoresearch): normalize certified ledger payload
Hash the normalized ProofLedger dataclass for resume leases and certificates so supervisor issuance matches REPL consumption exactly. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 40b7380 commit bf83630

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoresearch/prefill/supervisor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2856,7 +2856,7 @@ def run_iteration(args, iteration: int) -> dict:
28562856
iteration=iteration,
28572857
orchestration_state_path=orchestration_state_path,
28582858
candidate_sha256=candidate_sha256,
2859-
ledger=ledger_data,
2859+
ledger=asdict(ledger_object),
28602860
tokenizer_id=args.tokenizer_id,
28612861
)
28622862
gan_completed = True

0 commit comments

Comments
 (0)