feat(workflow): publish gates, post-execute review, and product-facing PR skill (v2.6) - #22
Merged
Conversation
Add nine-rule workflow: explicit git publish approval, harness-review after VERIFY before staging, and product-facing create-pull-request skill. Sprint contracts stay local; PR bodies no longer carry contract paste or ledger IDs. Setup installs .github/pull_request_template.md when missing. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
Kit v2.6 locks in workflow lessons from consumer adoption: agents must not commit/push/open PRs without explicit human approval, must run harness-review after VERIFY before staging, and must open GitHub PRs using a detailed product-facing template with no contract paste or feature-ledger IDs.
Problem
Consumer repos were seeing harness leakage on GitHub (contract IDs in titles, harness-review sections in PR bodies, auto-commit on "approve"), sparse PR descriptions, and sprint-contract docs still requiring contract paste in PR bodies despite contracts being local gitignored state.
Solution
no-git-publish-without-approval,post-execute-review,pr-creation(nine rules total).no-stage-harness-files,contract-before-changes,new-work-new-branch.create-pull-requestwith detailed PR template (Summary, Problem, Solution, behaviour table, files, risk, test plan).create-pull-requestskill instead of contract HTML markers in GitHub..github/pull_request_template.mdfrom the skill when missing.Behaviour changes
create-pull-requestskill + GitHub templateFiles changed
rules/no-git-publish-without-approval.mdc— explicit publish approval gaterules/post-execute-review.mdc— review before staging; output in chat onlyrules/pr-creation.mdc— always use create-pull-request skillrules/contract-before-changes.mdc,no-stage-harness-files.mdc,new-work-new-branch.mdc— aligned publish/review wordingskills/create-pull-request/— skill +templates/pull_request_template.mdskills/sprint-contract/— local contracts; no PR paste requirementskills/harness-review/templates/REVIEW.md— contract read from diskscripts/setup-harness-kit.sh— optional PR template installREADME.md,rules/README.md,FEATURES.json,.github/workflows/harness.yml— v2.6 docs and CI notesRisk and rollout
setup-harness-kit.shafter submodule bump to link new rules and skill.git submodule update --remote harness-kit && ./harness-kit/scripts/setup-harness-kit.shafter merge.Test plan
[ "$(ls rules/*.mdc | wc -l)" = 9 ]— nine rules present./scripts/verify-harness.sh— passes on feature branch (expected FAIL on master until merge)python3 -m json.tool FEATURES.json— validMade with Cursor