Skip to content

form_tx: compiled packs can be certified ready without commit evidence, then never confirm a save #2556

In review

Description

@abrichr

Follow-up from the independent review of #2429 at 0c61aaf. This fails closed, so it is a gap in generality rather than a safety bug.

Since 026326e, FormReconciler confirms a save only when the pack declares commit_url_patterns or a record-specific summary lookup. But pack_compiler.py (around line 1113) builds packs without commit_url_patterns, and certified_ready doesn't require commit evidence. So a compiled pack can be certified ready and still end every commit as DELIVERY_UNCERTAIN.

Fix, kept general with no app names in the engine:

  • the demo compiler should derive the commit endpoint from the demonstration's own save request, the write that the recorded save answered with success;
  • certified_ready should require either that, or a summary lookup.

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