Skip to content

refactor(skills): stop reading bundle entries from the skill menu - #1568

Draft
edwinyjlim wants to merge 1 commit into
dag/8-traits-and-tags-onlyfrom
dag/9-drop-bundles
Draft

edwinyjlim wants to merge 1 commit into
dag/8-traits-and-tags-onlyfrom
dag/9-drop-bundles

Conversation

@edwinyjlim

@edwinyjlim edwinyjlim commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Behaviour

The wizard installs a skill from its own zip, and from nothing else.

  • A menu entry that is a bundle of variants is left out when the menu is fetched. It is never listed by load_skill_menu, resolved, or installed.
  • A menu that still lists a bundle entry does not break the fetch. Every other entry is read as before.

The bundle installer, the bundle and variants fields on a menu entry, and the expansion of a bundle's variants are gone.

Verified

  • pnpm typecheck and pnpm lint (0 errors).
  • pnpm test: 292 files, 4,443 tests pass, 1 skipped.
  • skill-menu.test.ts covers a menu with a bundle entry: the entry is left out and its neighbour is kept.
  • flow-graphs.test.ts still finds every skill the bundled prompts name on the recorded context-mill 1.66.0 menu, with its five bundle entries left out.
  • Two local runs of this branch against the published context-mill 1.66.0 release, whose menu lists five bundle entries: the posthog-integration flow and the error-tracking flow, each on a Next.js app. Every task finished or was correctly skipped, and no task failed. The error-tracking tasks listed the error-tracking menu category and installed the skill they chose from it.

Rollout

This is the last of four stacked PRs that remove the old code paths. They merge together and ship in one release.

  • They wait until wizard-agent-dag and wizard-agent-dag-skills have both held at 100% with no stop rule tripped, no run that fetched its prompts, and no run that fell back to an old skill.
  • Both flags stay on in PostHog after the release. Released versions still read them, and a deleted flag reads as off.
  • Cloud moves to the release afterwards, with its context-mill pin at 1.66.0 or later.

context-mill publishes bundle entries until it releases without the old step skills. Until then, a wizard with this change does not do three things:

  • install a skill named by its old family, such as integration-v2-install, through install_skill. On main that name is already not found
  • install a variant id from the integration-v2/* and replay-vision-enable-replay menu categories. No bundled prompt names one
  • hand over the old step skills in the spell book of a posthog-integration run with no detected framework

No orchestrator flow reaches a bundle: every skill its prompts name is published as its own zip.

🤖 Generated with Claude Code

A menu entry that is a bundle of variants is left out when the menu is
fetched, so it is never offered or installed. The bundle installer, the
bundle fields on a menu entry and the expansion of a bundle's variants
are removed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@edwinyjlim
edwinyjlim added this pull request to stack #1569 November 17, 2026 01:22
@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 ai-observability
  • /wizard-ci basic-integration
  • /wizard-ci feature-flags
  • /wizard-ci mcp-analytics
  • /wizard-ci replay-vision
  • /wizard-ci revenue
  • /wizard-ci self-driving
  • /wizard-ci warehouse
  • /wizard-ci warehouse-seeded

Test an individual app:

  • /wizard-ci ai-observability/anthropic
  • /wizard-ci ai-observability/google-adk
  • /wizard-ci ai-observability/groq
Show more apps
  • /wizard-ci ai-observability/manual-capture
  • /wizard-ci ai-observability/openai
  • /wizard-ci ai-observability/openai-agents
  • /wizard-ci ai-observability/opentelemetry
  • /wizard-ci ai-observability/vercel-ai
  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/flutter
  • /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 feature-flags/django
  • /wizard-ci feature-flags/next-js
  • /wizard-ci mcp-analytics/custom-dispatcher
  • /wizard-ci mcp-analytics/go-sdk
  • /wizard-ci mcp-analytics/python-sdk
  • /wizard-ci mcp-analytics/ruby-sdk
  • /wizard-ci mcp-analytics/rust-sdk
  • /wizard-ci mcp-analytics/typescript-sdk
  • /wizard-ci replay-vision/javascript-node
  • /wizard-ci replay-vision/next-js
  • /wizard-ci replay-vision/react-vite
  • /wizard-ci revenue/stripe
  • /wizard-ci self-driving/astro
  • /wizard-ci self-driving/fastapi
  • /wizard-ci self-driving/nuxt
  • /wizard-ci self-driving/react-router
  • /wizard-ci self-driving/sveltekit
  • /wizard-ci warehouse/monorepo-env
  • /wizard-ci warehouse/multi-source-next
  • /wizard-ci warehouse/stripe-node
  • /wizard-ci warehouse/zero-source
  • /wizard-ci warehouse-seeded/next-stripe
  • /wizard-ci warehouse-seeded/next-stripe-declined

Test against a Context Mill branch:

  • /wizard-ci all context-mill:my-branch

Add context-mill:<branch> to any command above to pin the Context Mill branch. It defaults to main.

Results will be posted here when complete.

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.

1 participant