Skip to content

Readers of network captures ignore minimized bodies since #2480 #2789

Done

Description

@abrichr

Since #2480, network captures keep only declared fields: a save is written as body_minimized/form_minimized with no body/form. #2785 fixed readiness.reference. These readers still look only at line["body"] or line["form"] and see nothing in a default capture (found by Grok's review of #2785):

  • packages/flow/openadapt_flow/undo_proposal.py:387
  • packages/flow/openadapt_flow/record_check_proof.py:166
  • packages/flow/openadapt_flow/record_check_synthesis.py:542
  • packages/flow/openadapt_flow/compiler/api_proposal.py:1092-1173

Each should either rebuild what it needs from the kept fields (capture_privacy.restore_kept_json, form_minimized["kept"]), refusing clearly when a field it needs was withheld, or say plainly that it needs a raw-bodies recording. Fail closed: never propose from a body it can't see.

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