Description
The compiler rejects max-patch-size as an unknown property under tools.repo-memory,
but the documentation at https://github.github.com/gh-aw/reference/repo-memory/#advanced-configuration
explicitly lists it as a valid field with an example.
Steps to Reproduce
Add max-patch-size under tools.repo-memory in a workflow frontmatter:
tools:
repo-memory:
max-file-size: 1048576
max-patch-size: 1048576
Run gh aw compile.
Error
error: at '/tools/repo-memory' (line 62, column 5): Unknown property: max-patch-size.
Valid fields are: allowed-extensions, branch-name, branch-prefix, create-orphan,
description, file-glob, max-file-count, max-file-size, target-repo, wiki.
'max-patch-size' belongs under 'safe-outputs'
Expected Behavior
Compilation succeeds. According to the documentation, max-patch-size is a valid
field under tools.repo-memory that limits the total size of changes in a single push.
Environment
- gh-aw compiler version: v0.57.0