feat(pm): add validated close-milestone primitive#415
Merged
Conversation
Add pkit project-management close-milestone <n>, mirroring create-milestone and close-issue: closes a GitHub milestone through the validated path (holding the grant the raw gh api path lacks), reads the close-trigger from time-containers (content-based refuses on open children unless --force; date-based warns + lists), supports --dry-run, and records an audit note in the milestone description (milestones have no comment thread). Bumps the capability to 0.43.0. Closes #229. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ne verb Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
Author
|
Reviewer agent (local, reviewer): APPROVED Applied the pm-conventions checklist to PR #415 against issue #229. All gate-blocking criteria pass; the verdict follows mechanically from the severity model in Findings
Warnings / notes (non-blocking)
Scope reminder: this verdict covers pm conventions only — code correctness, the close-trigger policy logic, and test adequacy are |
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.
What
Add
pkit project-management close-milestone <n>— a validated milestone-close primitive mirroringcreate-milestone/close-issue. Closes a GitHub milestone through the validated path (holding the grant the rawgh apipath lacks), reads the close-trigger fromtime-containers.yaml(content-based refuses on open children unless--force; date-based warns + lists), supports--dry-run, and records an audit note in the milestone description (milestones have no comment thread). New executable entrypoint; wired inpackage.yaml; documented in the capability README.Scope / deferrals (see #229 acceptance criteria)
gh apiclose) — is fully implemented + tested.close-issue.pycascade path, outside this task.Doc impact
Adds a "Milestone lifecycle — create-milestone / close-milestone" subsection to the capability README (close-trigger behaviour, membership resolution, audit-note substrate, the deferrals).
Surface / version
New CLI command = surface change (PRJ-002):
.pkit/VERSION1.131.1 -> 1.132.0 (minor), project-managementcomponent.version0.42.0 -> 0.43.0 (minor).Verification
Closes #229.