commitlore_guard
Check a proposed approach against previously ruled-out alternatives for a file path, returning matching records and rejection reasons to avoid repeating rejected decisions.
Instructions
Check a proposal against the Ruled-out records for a path before acting on it. Returns every record whose alternative matches, with the reason it was rejected. Experimental advisory: precision 44.8%, recall 22.0% on the 417-decision corpus. An empty matched array does not guarantee the proposal avoids every ruled-out alternative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | repository-relative path whose Ruled-out records to check against | |
| proposal | Yes | the proposed approach, in the words it would be carried out in |