Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
Check compares a commit's actual diff line count against the plan step's stated expectation. expectedLines == 0 means the plan step gave no estimate, in which case the deterministic check abstains (returns false) and leaves scope judgment to the LLM roles.
func IsGenerated ¶ added in v0.1.0
IsGenerated reports whether a repo-relative path is a machine-generated artifact (lockfile, codegen output, Pact contract, test snapshot) whose size says nothing about the scope of the hand-written change. Plan steps estimate hand-written lines ("~150 lines + 1 generated JSON fixture"), so the SCOPE_BLOAT check must not count these against the expectation. Repo-specific generated paths belong in .gitattributes as linguist-generated, which the caller honours separately.
Types ¶
This section is empty.