Repository navigation
feat(pi): add artifact inspection tools - #1604
Merged
Teingi merged 1 commit intoSep 15, 2026
Merged
Conversation
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.
Which issue or RFC does this PR close?
Refs #1338.
Rationale for this change
The Pi integration already supports Memory and Handoff workflows, but it cannot inspect approved Experience or Skill artifacts or the Artifact candidate queue. The Server operations and shared Pi HTTP routing already exist, so exposing the read-only subset closes this host capability gap without adding decision authority or a new transport path.
What changes are included in this PR?
The implementation follows the original plan and keeps the final design within the same boundary:
pc_experience_getandpc_skill_getfor exact Artifact references;pc_review_listandpc_review_getfor read-only candidate inspection;registerOperationTool/invokeScopedOperationpath;The final design remains intentionally read-only.
candidate_reviewmeans list and get only, and does not grant approval, rejection, revision, installation, publication, or execution authority. Pi continues to report theminimalprofile because the repository profile contract also requires the Recommended and External Skill capability sets before Full can be claimed.Are there any user-facing changes?
Yes. Pi users can now inspect exact Experience and Skill artifacts and browse or read Artifact candidates through native
pc_*tools. Existing Memory, Handoff, prompt capture, and confirmation behavior is unchanged.How was this change tested?
pnpm testin the Pi package: 13 files, 87 tests passed, including real Pi CLI package loadingpnpm run typecheckuv run --frozen python -m pytest tests/test_integration_manifest.py -q: 26 passeduv run --frozen python scripts/generate_integration_manifest_docs.py --checkuv run --frozen ty checkuv run --frozen ty check integrations/pydantic-ai/srcgit diff --checkThe non-frozen
make integration-manifest-docsand prekty-checkentrypoint could not resolve the current workspace for the Python 3.14 dependency split. The equivalent frozen-lockfile generation, manifest tests, and type checks listed above passed.AI usage statement
OpenAI Codex with GPT-5.6 Sol was used for planning, implementation, and verification. A separate OpenAI Codex task with GPT-5.6 Luna performed an independent read-only code review.