Repository navigation
Add the incident overlay renderer and the settings-secrets picture (INC-2) - #407
Merged
Merged
Conversation
Draws an incident path on the published harness figure: red path, dimmed cards off it, ringed catch points (solid where a proof recorded a refusal, dashed where a rule can be added) and the refusal text under the map. Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
jothimani-rajendran
marked this pull request as ready for review
November 20, 2026 02:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A reusable overlay renderer that draws one incident on the published harness figure (
where-chock-sits.jsonand.mjs, unchanged), and its first picture,docs/assets/readme/v2/incidents/claude-settings-secrets.png, titled "Keep the agent's local settings out of git".git commitof two fake settings files was refused byscan-secrets(exit 1). A clean settings file committed (exit 0). Run by the owner, recorded in the org-plan witness PR.docs/assets/readme/incidents/<slug>.json. Render withnode docs/assets/readme/render-incident.mjs <slug>.Source of the incident: Apiiro, 2026-11-05, and GitGuardian, 2026-11-09 (cited in the witness record).
Definition of done
ruff check .andruff format --check .cleantests/test_incident_overlay.py,tests/test_repo_standards.py(line budget) andtests/test_readme_*pass locallychangelog.d/inc2-incident-overlay.mdfragmentClaims
.chock/or any owner-only file.