{"slug": "show-hn-witnis-blast-radius-that-follows-inheritance-where-grep-stops", "title": "Show HN: Witnis – blast radius that follows inheritance where grep stops", "summary": "A developer released Witnis, an Apache-2.0 tool installable via `pip install witnis` or `uvx witnis`, that indexes a repository to compute change blast radius by following inheritance where grep stops. On spring-petclinic at commit `500158f`, `git grep -lw Person -- '*.java'` hits five files but misses `OwnerController`, `PetController` and `VisitController`, which `witnis impact Person` reaches by following `Owner extends Person`. The tool ships public `index`, `look`, `impact` and `verify` commands, a PR gate GitHub Action pinned at `@v1.11.2`, and a default-blocked verify step that executes 0 commands until `WITNIS_ALLOW_VERIFY=1` and `--execute` are set.", "body_md": "Local evidence for coding agents: index a repo, show blast radius, put the same envelope on a PR, and keep verify **blocked** until you authorize it.\n\nSearch name: **witnis-dev**. Not [Witnis AB](https://www.witnis.se). Apache-2.0. Listing: [mcprush](https://mcprush.com/l00plegend/witnis-witnis-dev-mcp).\n\n```\npip install witnis\n# or\nuvx witnis\n```\n\nOn [spring-petclinic](https://github.com/spring-projects/spring-petclinic) @ `500158f`, `git grep -lw Person -- '*.java'` hits five files. None of them are `OwnerController`, `PetController`, or `VisitController` — those only talk about `Owner`.\n\n`witnis impact Person` follows `Owner extends Person` into those controllers.\n\n```\nwitnis index .\nwitnis impact Person --plain\n```\n\nThat is analysis completeness (grep vs index), not an LLM A/B test. Dual-human labels are still open. Notes: [`docs/benchmarks/petclinic-person-grep-vs-impact.md`](https://github.com/L00PLeGeNd/Witnis/blob/master/docs/benchmarks/petclinic-person-grep-vs-impact.md).\n\nUse a full clone (`fetch-depth: 0`). `@v1` moves with 1.x; pin `@v1.11.2` if you do not want that. Default run is blocked — 0 commands executed.\n\n```\n- uses: actions/checkout@v4\n  with: { fetch-depth: 0 }\n- uses: L00PLeGeNd/Witnis/.github/actions/pr-gate@v1\n```\n\nPublic tools: `index`, `look`, `impact`, `verify`. Everything else needs `WITNIS_MCP_EXPERIMENTAL=1`.\n\n```\nuvx witnis loop-init\n```\n\nThat writes a Cursor / Claude snippet and a Harnis stdio policy. One install — seatbelt is not a second product. `WITNIS_DB` defaults to `.witnis/index.sqlite`.\n\n```\n{\n  \"mcpServers\": {\n    \"witnis\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\", \"harnis\", \"mcp\", \"--preset\", \"coding-agent\", \"--\",\n        \"uvx\", \"witnis\", \"mcp\"\n      ]\n    }\n  }\n}\n```\n\nVerify does nothing until `WITNIS_ALLOW_VERIFY=1` and `--execute`. `automation_verified` means the allowlisted commands ran. It is not a human review.\n\nMore: [`SECURITY.md`](https://github.com/L00PLeGeNd/Witnis/blob/master/SECURITY.md) · [` docs/trusted-agent-loop.md`](https://github.com/L00PLeGeNd/Witnis/blob/master/docs/trusted-agent-loop.md) · [`docs/cli-cheatsheet.md`](https://github.com/L00PLeGeNd/Witnis/blob/master/docs/cli-cheatsheet.md) · PetClinic GT (not dual-human): [`docs/benchmarks/petclinic-human-v2.md`](https://github.com/L00PLeGeNd/Witnis/blob/master/docs/benchmarks/petclinic-human-v2.md).\n\nmcp-name: io.github.L00PLeGeNd/witnis", "url": "https://wpnews.pro/news/show-hn-witnis-blast-radius-that-follows-inheritance-where-grep-stops", "canonical_source": "https://github.com/L00PLeGeNd/Witnis", "published_at": "2026-11-22 14:32:33+00:00", "updated_at": "2026-11-22 14:42:02.464812+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "developer-tools", "ai-safety"], "entities": ["Witnis", "spring-petclinic", "OwnerController", "PetController", "VisitController", "Harnis", "Cursor", "Claude"], "also_reported_by": [], "takeaway": "Index the repo with `witnis index .` and run `witnis impact <symbol>` instead of grep to catch inheritance-linked callers such as `OwnerController` via `Owner extends Person`, and keep verify blocked until `WITNIS_ALLOW_VERIFY=1` plus `--execute` are set.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-witnis-blast-radius-that-follows-inheritance-where-grep-stops", "markdown": "https://wpnews.pro/news/show-hn-witnis-blast-radius-that-follows-inheritance-where-grep-stops.md", "text": "https://wpnews.pro/news/show-hn-witnis-blast-radius-that-follows-inheritance-where-grep-stops.txt", "jsonld": "https://wpnews.pro/news/show-hn-witnis-blast-radius-that-follows-inheritance-where-grep-stops.jsonld"}}