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
8 changes: 3 additions & 5 deletions .claude/skills/adding-skill-program/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,11 @@ changing execution behavior.
2. Write the flow's task prompts in the program's `agent/` folder, one
`<type>.md` per task with its `dependsOn` and applicable skills, import them
in `agent-prompts.ts`, and set the config's `agentPrompts`; see
[agent prompts](../../../src/programs/README.md#agent-prompts). With
`wizard-agent-dag` on, the
[agent prompts](../../../src/programs/README.md#agent-prompts). The
[orchestrator](../../../src/agent/runner/sequence/orchestrator/orchestrator-runner.ts)
reads them, queues a folder with no seed prompt from its frontmatter, and
checks task-skill variants before running. With the flag off it loads
`agentFlow ?? id` from context-mill, which must supply the same prompts and
a seed prompt. `run.skillId` alone does not define this flow.
checks task-skill variants before running. A program without `agentPrompts`
cannot run the orchestrator. `run.skillId` alone does not define this flow.
3. Register the config: import it as
`import { config as <name> } from '@programs/<id>'` in
[program-registry.ts](../../../src/programs/program-runner/program-registry.ts) and add it
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/wizard-development/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ infrastructure should consume those boundaries.
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 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) |
| Orchestrator task graphs and task prompts | Each program's `agent/` folder when `wizard-agent-dag` is on, context-mill's copy of the flow otherwise; see [agent prompts](../../../src/programs/README.md#agent-prompts) |
| 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/) |
| Program screens, flows and decks | [TUI programs](../../../src/tui/programs/) |
Expand Down
8 changes: 4 additions & 4 deletions docs/local-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ PostHog as well.

## Pinning a context-mill release

`--context-mill-version` fetches the skills, the agent prompts and their menus
from one context-mill release instead of the latest. It is a hidden global
`--context-mill-version` fetches the skills and their menu from one
context-mill release instead of the latest. It is a hidden global
option: every command accepts it in every build, including published builds and
headless runs.

Expand All @@ -180,9 +180,9 @@ over to `https://context-mill.posthog.com/v1.59.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 takes none of the `wizard-agent-dag` paths and reads no
repackaged skill; see the
A pinned run reads no repackaged skill; 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
251 changes: 0 additions & 251 deletions fixtures/context-mill/agent-menu.json

This file was deleted.

Loading
Loading