Skip to content

fix(proof): make proof-pack surface suppressed paths in PR comments #586

Closed as not planned

Description

@Sinity

Summary

devtools proof-pack records suppressed unknown paths in JSON, but the Markdown posted to PRs omits them and can present an unrouteable change as having no affected domains and no known gaps.

Related: #581

Evidence

Command:

devtools proof-pack \
  --path polylogue/mcp/server_tools.py \
  --path polylogue/storage/blob_store.py \
  --path browser-extension/src/popup.js \
  --json

Observed:

affected_obligations 0
suppressed ['unknown:browser-extension/src/popup.js', 'unknown:polylogue/mcp/server_tools.py', 'unknown:polylogue/storage/blob_store.py']

Markdown for the same paths renders:

### Affected Domains
- none

### Known Gaps
- none for affected domains

Relevant code:

  • devtools/proof_pack.py:73 through devtools/proof_pack.py:94 stores the affected report and known gaps in the proof-pack payload.
  • devtools/proof_pack.py:240 through devtools/proof_pack.py:271 renders Markdown but does not render affected.obligation_diff.suppressed.
  • .github/workflows/proof-comment.yml:28 through .github/workflows/proof-comment.yml:34 posts this Markdown on PRs.

Acceptance criteria

  • Proof-pack Markdown renders suppressed unknown paths prominently.
  • The PR comment does not say or imply "no affected domains / no known gaps" when suppressed paths are present.
  • Suppressed paths either fail the proof-pack job or are rendered as a blocking/manual-review cell with an explicit remediation path.
  • Add a test for Markdown output with suppressed paths.

Activity

  1. added
    type:fix
    theme:verifiability
    theme:proof-kernel
    area:devtools
    on May 1, 2026
  2. Sinity commented on May 1, 2026

    @Sinity
    OwnerAuthor

    Superseded by #594. I consolidated this finding into the composite issue so the work can be handled as one coherent slice instead of as a tiny standalone ticket. The original evidence remains available in this issue history.

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

    area:devtoolstheme:proof-kerneltheme:verifiabilitytool:codextype:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions