docs: document guard_exclude_paths, trim its config comment, fix max_rounds default - #55
Open
TON14 wants to merge 2 commits into
Open
docs: document guard_exclude_paths, trim its config comment, fix max_rounds default#55TON14 wants to merge 2 commits into
TON14 wants to merge 2 commits into
Conversation
TON14
force-pushed
the
docs/guard-exclude-paths
branch
2 times, most recently
from
August 20, 2026 06:43
15ae8be to
199eae5
Compare
The generated config carries a six-line comment that restates validation rules better placed in the README, while neither README mentions the setting at all. Keep the template comment to what an operator needs at the point of edit - what the key is for, and that the flag replaces the list - and document the audit trade-off, the path constraints, and the recorded metadata in both READMEs.
Both READMEs advertise 30 in the [run] table and the CLI options list, while DEFAULT_MAX_ROUNDS, the generated config template, and `lh-harness run --help` all say 25.
TON14
force-pushed
the
docs/guard-exclude-paths
branch
from
August 20, 2026 13:17
199eae5 to
7102934
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
guard_exclude_pathslanded in #28, but neither README mentions it, so the only description of the setting is the comment in the generated config — and that comment now runs six lines, five of which restate validation rules an operator cannot act on while editing the file.Rebased onto 0.1.7.
Trim the config template comment
CONFIG_TEMPLATEkeeps the part that helps at the point of edit — what the key is for, a concrete example, that agents still read excluded paths, and the replace semantics added in #56 — matching the one-to-three-line comments on the surrounding keys. The validation rules move to the README.Document the setting in both READMEs
A
[run]table row plus a paragraph under the table, inREADME.mdandREADME.zh-CN.md, covering what the comment no longer says:.gitand harness-owned control/state paths are rejected at startup, with the run refusing to start on the first violation;verifier_guard_exclude_paths;--guard-exclude-pathis repeatable and replaces the configured list rather than adding to it, per_apply_repeatable_defaults.Correct the documented
max_roundsdefaultBoth READMEs advertise
30in the[run]table and in the CLI options list, whileDEFAULT_MAX_ROUNDS, the config template, andlh-harness run --helpall say25.Documentation only — no behavior change.
pytest: 404 passed, 2 skipped.