Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/skills/wizard-development/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ infrastructure should consume those boundaries.
| Concern | Owner |
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Framework detection, context, env conventions | [FrameworkConfig](../../../src/programs/program-contract/framework-config.ts) and [framework configs](../../../src/services/frameworks/) |
| Integration instructions (skills) | [context-mill](https://github.com/PostHog/context-mill). With `wizard-agent-dag-skills` on, a task reads the skill that replaces the one its prompt names; see the [orchestrator sequence](../../../src/agent/runner/sequence/README.md#orchestrator) |
| Integration instructions (skills) | [context-mill](https://github.com/PostHog/context-mill). A step skill written once for every framework is completed from the framework's pack; see the [orchestrator sequence](../../../src/agent/runner/sequence/README.md#orchestrator) |
| Orchestrator task graphs and task prompts | Each program's `agent/` folder; see [agent prompts](../../../src/programs/README.md#agent-prompts) |
| Programs: detection, runs, prerequisites and outcomes | One folder per program in [programs](../../../src/programs/), entered through its `index.ts` |
| Tools: commands that run no agent | [tools](../../../src/tools/), entered through `@tools`, with their screens in [TUI tools](../../../src/tui/tools/) |
Expand Down
15 changes: 9 additions & 6 deletions docs/local-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,23 +166,26 @@ headless runs.
| `--context-mill-version <version>` | `POSTHOG_WIZARD_CONTEXT_MILL_VERSION` | skills → that release |

```bash
npx @posthog/wizard --context-mill-version 1.59.0
POSTHOG_WIZARD_CONTEXT_MILL_VERSION=v1.59.0 npx @posthog/wizard
npx @posthog/wizard --context-mill-version 1.66.0
POSTHOG_WIZARD_CONTEXT_MILL_VERSION=v1.66.0 npx @posthog/wizard
```

The value is a release version, with or without the `v` prefix. An empty value
or `latest` follows the latest release. Any other value stops the run with
`PHW_CLI_BAD_ARGS`.

A pinned run reads
`https://github.com/PostHog/context-mill/releases/download/v1.59.0/` and fails
over to `https://context-mill.posthog.com/v1.59.0/`. A version with no release
`https://github.com/PostHog/context-mill/releases/download/v1.66.0/` and fails
over to `https://context-mill.posthog.com/v1.66.0/`. A version with no release
fails when the run first fetches a menu. The `[agent-runner] targets` line in
the debug log shows the release a run used.

A pinned run reads no repackaged skill; see the
The oldest release a pin may name is 1.66.0, the first that publishes the
skills the bundled agent prompts name. An older version, or a prerelease of
1.66.0 itself, stops the run with `PHW_CLI_BAD_ARGS` and a message that names
that release. A pinned run's agent
prompts are the ones the wizard bundles, as in any run; see the
[orchestrator sequence](../src/agent/runner/sequence/README.md#orchestrator).
Its agent prompts are the ones the wizard bundles, as in any run.

The pin cannot be combined with `--local-context-mill` or `--local-dev`. Pass
`--no-local-context-mill` to keep the other local targets.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: integration-v2-init-flask
description: Initialize PostHog and set its environment variables
metadata:
author: PostHog
version: dev
version: 1.66.0
---

# Initialize PostHog
Expand Down
8 changes: 5 additions & 3 deletions fixtures/context-mill/repackaged/pair.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"replaces": "integration-v2-init",
"framework": "flask",
"product": "integration",
"original": "integration-v2-init-flask",
"step": "integration-init",
"pack": "integration-flask",
"contextMill": "dev"
"contextMill": "1.66.0",
"completed": {
"skill": "integration-v2-init-flask",
"contextMill": "1.66.0"
}
}
2 changes: 1 addition & 1 deletion fixtures/context-mill/repackaged/step/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: integration-init
description: Initialize PostHog and set its environment variables
metadata:
author: PostHog
version: dev
version: 1.66.0
---

# Initialize PostHog
Expand Down
Loading
Loading