Remove validation section enforcement from submit #74

Merged
vnprc merged 2 commits from agent/docs-only-submit into master 2026-06-27 15:18:43 +01:00
Member

Closes allod/tools#73

Removes the body_has_validation_heading check and ## Validation hard gate from allod change submit. The validation section requirement is better served by agent memory guidance, which can apply judgment about when validation is meaningful rather than forcing a syntactic check that agents can trivially satisfy with boilerplate.

Net result: -44 lines, no new flags or options.

Validation

Run the test suite:

bash tests/allod-change.sh

All 79 tests pass (down from 85 — 6 removed with the validation enforcement).

Verify submit accepts a body without a ## Validation heading:

cd /tmp/allod-change-work-allod-tools-docs-only-submit-sCuSCC
allod change submit -t "test" -b "no validation heading" --dry-run

Should succeed with exit 0 and print the body.

Closes allod/tools#73 Removes the `body_has_validation_heading` check and `## Validation` hard gate from `allod change submit`. The validation section requirement is better served by agent memory guidance, which can apply judgment about when validation is meaningful rather than forcing a syntactic check that agents can trivially satisfy with boilerplate. Net result: -44 lines, no new flags or options. ## Validation Run the test suite: ``` bash tests/allod-change.sh ``` All 79 tests pass (down from 85 — 6 removed with the validation enforcement). Verify submit accepts a body without a `## Validation` heading: ``` cd /tmp/allod-change-work-allod-tools-docs-only-submit-sCuSCC allod change submit -t "test" -b "no validation heading" --dry-run ``` Should succeed with exit 0 and print the body.
Move validation section guidance to agent memory instead of
hard-gating it in tooling. The syntactic check could not verify
quality and created friction for docs-only PRs without improving
outcomes. Remove body_has_validation_heading, the --docs-only
flag, and all related tests.
allod-agent changed title from Allow docs-only PRs without validation sections to Remove validation section enforcement from submit 2026-06-27 15:12:10 +01:00
vnprc approved these changes 2026-06-27 15:18:37 +01:00
vnprc merged commit de45cf06cd into master 2026-06-27 15:18:43 +01:00
vnprc deleted branch agent/docs-only-submit 2026-06-27 15:18:43 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
allod/tools!74
No description provided.