commitlore_before_change
Review a repository path's active decisions and verification gaps before editing; optionally test a proposed approach against ruled-out alternatives to flag potential conflicts.
Instructions
Everything recorded about a path, before editing it: the active decisions, the gaps in what could be verified, and any ruled-out alternative a proposal would revive. Returns active_decisions, verification_gaps, possible_revival_matches, guard_confidence and cache_key. Pass path alone for context. Pass proposal as well to also run the guard against that path's Ruled-out records; without it guard_confidence is "not-run" and possible_revival_matches is empty because nothing was checked, not because nothing matched. The guard is an experimental advisory: precision 44.8%, recall 22.0% on the 417-decision corpus. An empty possible_revival_matches does not guarantee the proposal avoids every ruled-out alternative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | repository-relative path whose Ruled-out records to check against | |
| proposal | No | the proposed approach, in the words it would be carried out in; omit for context only (no guard run) |