Skip to content

fix(devtools): route affected obligations for MCP and runtime surfaces #581

Closed as not planned

Description

@Sinity

Summary

devtools affected-obligations suppresses several important runtime surfaces as unknown. PRs touching these files therefore do not get focused proof obligation routing.

Parent: #578

Evidence

Command:

devtools affected-obligations --json \
  --path polylogue/mcp/server_tools.py \
  --path polylogue/storage/blob_store.py \
  --path browser-extension/src/popup.js \
  --path polylogue/rendering/renderers/html.py \
  --path polylogue/ui/tui/app.py

Observed suppressed paths:

unknown:browser-extension/src/popup.js
unknown:polylogue/mcp/server_tools.py
unknown:polylogue/rendering/renderers/html.py
unknown:polylogue/storage/blob_store.py
unknown:polylogue/ui/tui/app.py

The verification catalog has many subjects, but the changed-path router does not classify these surfaces into useful obligations.

Acceptance criteria

  • MCP server/tool paths route to MCP contract obligations.
  • Rendering paths route to renderer/output fidelity obligations.
  • Blob-store paths route to storage/blob integrity obligations.
  • TUI paths route to appropriate smoke/contract obligations or an explicit documented exclusion.
  • Browser extension paths route to extension/build/contract obligations or an explicit documented exclusion.
  • devtools affected-obligations --json no longer suppresses the listed paths as unknown.

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

    Follow-up audit clarification: this issue should cover more than path classification. The missing target is native subject-family support plus routing for product confidence domains.

    Additional surfaces called out by the audit:

    • mcp.tool subjects for MCP parity, roles, destructive tools, schema drift, and error sanitization.
    • api.method subjects for facade/API/sync API method contracts.
    • browser.extension_surface subjects for extension JS/build/message sequencing.
    • site.publication_surface and docs.media_asset subjects for static site/docs/media publication evidence.
    • distribution.artifact subjects for wheel/sdist/devshell/Nix install paths.
    • blob_store.layout and durability/concurrency subjects.
    • tui.screen subjects.
    • surface.parity_operation subjects, now split into fix(proof): turn API parity manifest into surface verifier #602.

    Routing should move from broad mechanism buckets to these declared subject families where possible.

  3. 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