Check committed file sizes
This commit is contained in:
@@ -386,6 +386,13 @@ The rule applies to candidate contents even when testing disables workspace use.
|
||||
|
||||
## Stage 8: Inspect individual committed file sizes
|
||||
|
||||
**Completion:** Complete. `Validation.FileSize` and `validation.file_size` enable
|
||||
a per-blob decimal-byte limit with a 1,000,000-byte default, strict greater-than
|
||||
comparison, and literal repository-relative file/directory exclusions. The check
|
||||
uses captured blob sizes, counts symlink link text, omits gitlinks, and reports
|
||||
one oversized file with its measurement. Nil disables the check, and historical
|
||||
or aggregate repository size is outside its scope.
|
||||
|
||||
**Outcome:** Optional limits and intentional path exceptions are operational.
|
||||
|
||||
1. Add `FileSizeValidationSpec`, `ValidationSpec.FileSize`, and matching JSON
|
||||
|
||||
Reference in New Issue
Block a user