twining_why
Check what decisions constrain a file before modifying it. See rationale and alternatives to avoid contradicting prior choices, with results ranked by relevance.
Instructions
Before modifying a file, check what decisions constrain it. Shows rationale and alternatives so you don't contradict prior choices. Results are ranked by relevance and bounded by a token budget; overflow decisions appear as one-liners in more — pass their ids back via ids for full detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Return full detail (rationale, context, alternatives) for exactly these decision ids | |
| scope | No | File path, module name, or symbol to query (required unless ids is set) | |
| max_tokens | No | Token budget for the full-detail tier (default 4000) | |
| include_superseded | No | Include superseded decisions (excluded by default) |