Skip to content

Receipts follow-ups from the #2394 cross-vendor review (not fail-open) #2473

In review

Description

@abrichr

Items from Codex's round-3 review of #2394 at 678b5697 that are not fail-open (none of them reports a wrong VERIFIED, signed or accepted result). Under the review rule they are filed here rather than fixed in the PR.

  1. openadapt/quickstart/engine.py (about line 776) calls the receipt writer directly, so OPENADAPT_RECEIPT=off still produces receipt.json and receipt.private.json in the quickstart. It should go through receipt_after_run / mode_enabled like run and replay.
  2. scripts/quickstart_lifecycle.py (about line 221) still reads outcome from receipt.json and requires receipt.png and receipt.md. A correctly generated run with the new receipt filenames fails the lifecycle check. Update it to the record/run/v1 files.

For reference, four other items from that round are already fixed in the stacked #2412 writer and land with it: line strength from the evidence tier, an exclusive temp file, verifying an existing receipt before reusing it, and binding the receipt to the report of the run that just finished. #2394, #2410 and #2412 merge back to back, with no release in between.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions