process: add PR body post-check gate and tooling (#392) #393

Merged
jihoson merged 3 commits from feature/issue-392-pr-body-postcheck into feature/v3-session-policy-stream 2026-03-02 18:34:59 +09:00
Collaborator

Summary

  • add scripts/validate_pr_body.py to validate PR body formatting right after PR creation
  • detect escaped-newline artifact patterns, unbalanced fenced code blocks, and missing markdown structure
  • add unit tests for PR body validation script
  • add mandatory PR body post-check guidance to docs/commands.md and docs/workflow.md
  • enforce guidance presence via scripts/validate_docs_sync.py

Traceability

  • REQ-ID: REQ-OPS-002, REQ-OPS-003
  • TASK-ID: TASK-OPS-002, TASK-OPS-003
  • TEST-ID: TEST-ACC-008, TEST-ACC-009

Validation

  • pytest -q tests/test_validate_pr_body.py tests/test_validate_docs_sync.py tests/test_validate_ouroboros_docs.py tests/test_validate_governance_assets.py
  • python3 scripts/validate_docs_sync.py
  • python3 scripts/validate_ouroboros_docs.py

Linked Issue

## Summary - add `scripts/validate_pr_body.py` to validate PR body formatting right after PR creation - detect escaped-newline artifact patterns, unbalanced fenced code blocks, and missing markdown structure - add unit tests for PR body validation script - add mandatory PR body post-check guidance to `docs/commands.md` and `docs/workflow.md` - enforce guidance presence via `scripts/validate_docs_sync.py` ## Traceability - REQ-ID: `REQ-OPS-002`, `REQ-OPS-003` - TASK-ID: `TASK-OPS-002`, `TASK-OPS-003` - TEST-ID: `TEST-ACC-008`, `TEST-ACC-009` ## Validation - `pytest -q tests/test_validate_pr_body.py tests/test_validate_docs_sync.py tests/test_validate_ouroboros_docs.py tests/test_validate_governance_assets.py` - `python3 scripts/validate_docs_sync.py` - `python3 scripts/validate_ouroboros_docs.py` ## Linked Issue - closes #392
agentson added 1 commit 2026-03-02 18:20:49 +09:00
process: add mandatory PR body post-check step (#392)
All checks were successful
Gitea CI / test (push) Successful in 33s
Gitea CI / test (pull_request) Successful in 33s
7d24f19cc4
agentson added 1 commit 2026-03-02 18:28:01 +09:00
fix: harden PR body validator for mixed escaped-newline and tea path (#392)
All checks were successful
Gitea CI / test (push) Successful in 32s
Gitea CI / test (pull_request) Successful in 33s
f4f8827353
agentson added 1 commit 2026-03-02 18:32:08 +09:00
fix: require executable tea fallback binary (#392)
All checks were successful
Gitea CI / test (push) Successful in 32s
Gitea CI / test (pull_request) Successful in 33s
bd9286a39f
jihoson merged commit d9cf056df8 into feature/v3-session-policy-stream 2026-03-02 18:34:59 +09:00
jihoson deleted branch feature/issue-392-pr-body-postcheck 2026-03-02 18:34:59 +09:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jihoson/The-Ouroboros#393