Skip to content

Change impact × policy: follow-ups from #389's post-merge review #402

Open

Description

@ARSH871-bot

Follow-ups from the post-merge review of #389. Repro inputs for each are in that review comment.

  • Filter rules by device presence in both snapshots; report absent ones once (fixes the stranger-network verified=False). Owner: Shubham.
  • Pass the staged policy through propose_change(policy=) and /api/propose; key warning on direction, not severity. Owners: Ankeet + Samika.
  • State the policy coverage: how many rules were compared and which sections were not; make an empty policy_compliance section loud; decide whether access_control/routing join.
  • Differential searchFilters for rules breached on both sides; take "still breached" out of the none card; scope the "neither causes nor fixes" wording to the filter.
  • Tests: fake-session _rule_breached (snapshot switch, action, every arm); policy=P is what gets evaluated; the number guard.
  • Run the policy stage even when reachability fails, or say it did not run; give CH-051 a collision-proof id.
  • Docs: change_impact docstring, CLAUDE.md:716, shapes doc open question 2, placement of the policy-rules.md section, CLI notes.

Activity

  1. added
    bugSomething isn't working
    layer: analysisLayer 1 — Batfish orchestration, checks, the pipeline
    phase: 3Market readiness -- what stands between us and a product someone could buy.
    on Oct 14, 2026
  2. patelankeet2 commented on Oct 18, 2026

    @patelankeet2
    Collaborator

    Picked up item 2 (the propose-a-change policy wiring, assigned to me and Samika): PR #405.

    Live-reproduced both halves before fixing -- propose always used the built-in policy regardless of what was staged, and separately, a high-severity policy requirement breach would have made the warning banner claim "opens access" on a change that actually closes required access. Both fixed, both re-verified end to end through the real running server.

    The other items on this checklist (device-presence filtering, coverage wording, differential searchFilters, tests, docs) are yours or joint follow-ups and are untouched by #405.

  3. shubhamkataria2005 commented on Oct 20, 2026

    @shubhamkataria2005
    Collaborator

    Items 1, 3, 4, 5, 6 and 7 are in #406, along with #403. Item 2 is #405. The checklist above can be ticked as each PR merges.

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

Metadata

Metadata

Labels

bugSomething isn't workinglayer: analysisLayer 1 — Batfish orchestration, checks, the pipelinephase: 3Market readiness -- what stands between us and a product someone could buy.

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions