feat: extract review-merge-pr workflow from monolithic LLM skill #335

Merged
sysadmin merged 4 commits from feat/issue-334-review-merge-workflow-extract into master 2026-07-07 03:57:19 -05:00
Owner

Closes #334

Part of #333.

Summary

Splits reviewer-only rules out of the monolithic skills/llm-project-workflow/SKILL.md into dedicated workflow and schema files.

Changes

  • workflows/review-merge-pr.md — self-contained PR review/merge workflow
  • schemas/review-merge-final-report.md — reviewer controller handoff + mutation ledger
  • SKILL.md — task-mode router; §F/§G replaced with links to extracted workflow
  • templates/review-pr.md, templates/merge-pr.md — reference extracted workflow
  • tests/test_llm_workflow_split.py — doc-contract tests

Validation

pytest tests/test_llm_workflow_split.py tests/test_review_proofs.py::TestControllerHandoff::test_skill_doc_declares_handoff_requirement tests/test_shell_spawn_hard_stop_docs.py::test_skill_doc_declares_shell_spawn_hard_stop_rule -q
→ 8 passed

Out of scope (follow-up)

  • workflows/create-issue.md and workflows/work-issue.md (#333 siblings)
  • gates/*.md shared rule files
Closes #334 Part of #333. ## Summary Splits reviewer-only rules out of the monolithic `skills/llm-project-workflow/SKILL.md` into dedicated workflow and schema files. ## Changes - `workflows/review-merge-pr.md` — self-contained PR review/merge workflow - `schemas/review-merge-final-report.md` — reviewer controller handoff + mutation ledger - `SKILL.md` — task-mode router; §F/§G replaced with links to extracted workflow - `templates/review-pr.md`, `templates/merge-pr.md` — reference extracted workflow - `tests/test_llm_workflow_split.py` — doc-contract tests ## Validation ``` pytest tests/test_llm_workflow_split.py tests/test_review_proofs.py::TestControllerHandoff::test_skill_doc_declares_handoff_requirement tests/test_shell_spawn_hard_stop_docs.py::test_skill_doc_declares_shell_spawn_hard_stop_rule -q → 8 passed ``` ## Out of scope (follow-up) - `workflows/create-issue.md` and `workflows/work-issue.md` (#333 siblings) - `gates/*.md` shared rule files
jcwalker3 added 1 commit 2026-07-07 02:33:16 -05:00
Closes #334

- Add workflows/review-merge-pr.md with reviewer-only gates and steps
- Add schemas/review-merge-final-report.md with mutation ledger fields
- Turn SKILL.md into task-mode router; replace inlined §F/§G with links
- Point review/merge templates at extracted workflow
- Add doc-contract tests for split structure

Part of #333.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
jcwalker3 added 1 commit 2026-07-07 02:37:46 -05:00
Replace summary workflow with full §0–§38 canonical PR review/merge rules.
Align review-merge-final-report schema with §37 controller handoff fields.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
jcwalker3 added 1 commit 2026-07-07 03:31:53 -05:00
Keep master router-style SKILL.md (full #333 split) and merge #334
review-merge test coverage into test_llm_workflow_split.py.

Conflicts resolved in:
- skills/llm-project-workflow/SKILL.md
- tests/test_llm_workflow_split.py
jcwalker3 added 1 commit 2026-07-07 03:38:16 -05:00
Author
Owner

Ready for review

Pushed head 72c20ee on feat/issue-334-review-merge-workflow-extract.

What changed since last update

  1. Conflict resolution (25c9d20): merged master @ fd396df and resolved conflicts in:

    • skills/llm-project-workflow/SKILL.md — kept full router design from #333/#336
    • tests/test_llm_workflow_split.py — merged #333 suite + #334 review-merge assertions
  2. Fresh with master (72c20ee): merged latest master @ eb6f006 (includes #286) — clean merge, no conflicts.

Validation

pytest tests/test_llm_workflow_split.py \
  tests/test_review_proofs.py::TestControllerHandoff::test_skill_doc_declares_handoff_requirement \
  tests/test_shell_spawn_hard_stop_docs.py::test_skill_doc_declares_shell_spawn_hard_stop_rule -q

17 passed

PR status: mergeable: true at prior check. No prior review verdicts on this PR.

## Ready for review Pushed head `72c20ee` on `feat/issue-334-review-merge-workflow-extract`. ### What changed since last update 1. **Conflict resolution** (`25c9d20`): merged `master` @ `fd396df` and resolved conflicts in: - `skills/llm-project-workflow/SKILL.md` — kept full router design from #333/#336 - `tests/test_llm_workflow_split.py` — merged #333 suite + #334 review-merge assertions 2. **Fresh with master** (`72c20ee`): merged latest `master` @ `eb6f006` (includes #286) — clean merge, no conflicts. ### Validation ``` pytest tests/test_llm_workflow_split.py \ tests/test_review_proofs.py::TestControllerHandoff::test_skill_doc_declares_handoff_requirement \ tests/test_shell_spawn_hard_stop_docs.py::test_skill_doc_declares_shell_spawn_hard_stop_rule -q ``` **17 passed** PR status: `mergeable: true` at prior check. No prior review verdicts on this PR.
sysadmin approved these changes 2026-07-07 03:57:08 -05:00
sysadmin left a comment
Owner

All tests pass successfully. Reviewed the test updates in tests/test_llm_workflow_split.py, verifying they correctly enforce the doc-contract and schemas for the extracted review-merge-pr workflow. Tested inside the review worktree, and the single failing test is pre-existing on master.

All tests pass successfully. Reviewed the test updates in tests/test_llm_workflow_split.py, verifying they correctly enforce the doc-contract and schemas for the extracted review-merge-pr workflow. Tested inside the review worktree, and the single failing test is pre-existing on master.
sysadmin merged commit 5e145957a5 into master 2026-07-07 03:57:19 -05:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#335