Skip to content

feat(runner): wizard tools as pi custom tools — real integration on pi (#524)#694

Closed
gewenyu99 wants to merge 1 commit into
pi/02-pi-backendfrom
pi/03-wizard-tools-on-pi
Closed

feat(runner): wizard tools as pi custom tools — real integration on pi (#524)#694
gewenyu99 wants to merge 1 commit into
pi/02-pi-backendfrom
pi/03-wizard-tools-on-pi

Conversation

@gewenyu99

@gewenyu99 gewenyu99 commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Epic #520 · part of #524 (pi has no MCP — wizard capabilities become custom tools).

Problem

  • pi can't use the wizard's skills/env capabilities without them exposed as pi-native tools.

Changes

  • load_skill_menu / install_skill + fenced .env ops (check_env_keys / set_env_values) as pi defineTool custom tools, reusing the shared env-file logic.
  • Framework skill installed into a pi-scanned skill dir so pi discovers it (progressive disclosure).

Test plan

  • pi writes .env via the env tool (not raw file writes) and loads/exercises the same framework skill as anthropic.
  • Real integration run completes on pi.

@github-actions

Copy link
Copy Markdown

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci basic-integration
  • /wizard-ci error-tracking-upload-source-maps
  • /wizard-ci misc
  • /wizard-ci revenue

Test an individual app:

  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
Show more apps
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci error-tracking-upload-source-maps/android
  • /wizard-ci error-tracking-upload-source-maps/cicd-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-nested-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-gitlab-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-ssh-vps-node-raw
  • /wizard-ci error-tracking-upload-source-maps/flutter
  • /wizard-ci error-tracking-upload-source-maps/ios
  • /wizard-ci error-tracking-upload-source-maps/next
  • /wizard-ci error-tracking-upload-source-maps/next-no-posthog
  • /wizard-ci error-tracking-upload-source-maps/node-raw
  • /wizard-ci error-tracking-upload-source-maps/node-rollup
  • /wizard-ci error-tracking-upload-source-maps/node-rollup-typescript-plugin
  • /wizard-ci error-tracking-upload-source-maps/node-webpack
  • /wizard-ci error-tracking-upload-source-maps/nuxt-3-6
  • /wizard-ci error-tracking-upload-source-maps/nuxt-4-3
  • /wizard-ci error-tracking-upload-source-maps/react-native
  • /wizard-ci error-tracking-upload-source-maps/react-vite
  • /wizard-ci error-tracking-upload-source-maps/rust
  • /wizard-ci misc/quack-quack
  • /wizard-ci revenue/stripe

Results will be posted here when complete.

gewenyu99 commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

daniloc commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

I defer to your superior insight on the current state of things, but if you'd prefer NOT to own MCP, you might find a project like this interestiing:

https://github.com/nicobailon/pi-mcp-adapter

Built in tool search and all the other stuff we want. but also I DO remember the MCP shenanigans we once encountered, so building the tools bespoke for the agent makes a lot of sense.

@gewenyu99

Copy link
Copy Markdown
Collaborator Author

Noted! @daniloc

@gewenyu99 gewenyu99 force-pushed the pi/02-pi-backend branch 2 times, most recently from d020534 to 6283374 Compare June 27, 2026 01:16
@gewenyu99 gewenyu99 force-pushed the pi/03-wizard-tools-on-pi branch from 4ca7292 to d859fb8 Compare June 27, 2026 01:16
@gewenyu99 gewenyu99 force-pushed the pi/03-wizard-tools-on-pi branch 2 times, most recently from 809cce2 to bbb2215 Compare June 30, 2026 19:03
pi registers the wizard env-file tools (createWizardPiTools) as pi custom tools,
so a pi run can manage .env keys the same way the anthropic path does.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gewenyu99 gewenyu99 force-pushed the pi/03-wizard-tools-on-pi branch from bbb2215 to 9fc690c Compare June 30, 2026 19:13
@gewenyu99

Copy link
Copy Markdown
Collaborator Author

Superseded — this landed on main in the harness/switchboard shape via #780 and #701.

@gewenyu99 gewenyu99 closed this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants