Repository navigation
feat(pi): add artifact candidate review tools - #1625
Merged
Teingi merged 5 commits intoSep 16, 2026
Merged
Conversation
This was referenced Sep 16, 2026
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
Add the missing Pi tools for reviewing generated Artifact candidates:
pc_review_approve→approve_artifact_candidatepc_review_reject→reject_artifact_candidatepc_review_revise→revise_artifact_candidateRefs #1338.
Dependency
Depends on #1621 and should be reviewed/merged after #1621. This PR builds on the Pi candidate generation and inspection surface so the flow is generation → inspection → explicit review decision.
Plan and final design
The original plan was to complete the candidate governance seam identified during the Pi profile audit, while keeping approval separate from installation, publication, activation, and execution.
The final design matches that plan:
pc_review_list/pc_review_gettools.pc_review_approveapproves the exact pending candidate/version only.pc_review_rejectrejects the exact candidate/version and requires a non-empty reason.pc_review_revisesubmits an explicitly requested content/provenance revision using the exact expected version; the result remains a new reviewable candidate.project-contextand the Pi guidance. Returned candidate references, versions, and Handoff values must be passed unchanged; assessment or generation never counts as approval.This PR intentionally does not add installation, publication, activation, execution, profile promotion, or candidate generation. It only completes explicit candidate review decisions.
Verification
ty check) passedgit diff --checkpassedReview disclosure
Implemented and verified with Codex using GPT-5.6 Sol. A separate GPT-5.6 Luna review (medium reasoning) found three schema mismatches during review; all were fixed and the final review was clean. Luna did not modify files or run formatters.