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
6 changes: 3 additions & 3 deletions .agents/docs/skills_agents_catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ entries: if it is listed here, the file exists; if it exists, it is listed.

| Skill | Version | Source | Purpose |
|---|---|---|---|
| [`deepworkplan`](../skills/deepworkplan/SKILL.md) | 7.12.2 | `DailybotHQ/deepworkplan-skill` (vendored, tag-pinned) | The DWP engine: create/execute/refine/resume/status/verify/upgrade/onboard/author sub-skills. Standard 7.0.0 — Lite and Full plans |
| [`deepworkplan`](../skills/deepworkplan/SKILL.md) | 8.0.0 | `DailybotHQ/deepworkplan-skill` (vendored, tag-pinned) | The DWP engine: create/execute/refine/resume/status/verify/upgrade/onboard/author sub-skills. Standard 8.0.0 — Lite and Full plans |
| [`ai-diff-reviewer`](../skills/ai-diff-reviewer/SKILL.md) | 3.3.16 | `DailybotHQ/ai-diff-reviewer` (vendored, tag-pinned) | Local + CI diff review (six sub-skills: review, generate-extension, setup, open-pr, apply-review, address-review). Local review is the required Final Review pass; config at [`.review/extension.md`](../../.review/extension.md) |
| [`dailybot`](../skills/dailybot/SKILL.md) | 3.23.17 | `DailybotHQ/agent-skill` (vendored, tag-pinned) | 17-capability Dailybot pack; wired into DWP only for lifecycle **reporting** (never blocks). |
| [`herdr-peers`](../skills/herdr-peers/SKILL.md) | 2.0.0 | `DailybotHQ/herdr-peers` (vendored, tag-pinned, repo-local) | Herdr addon transport (protocol 2): one authorized reply from an agent in another pane or machine, notices, lead epochs and appointment, native debates, plus `autopilot` — an optional daemon **only a human starts** (never a message, peer or plan) with `--loop`, `--appoint` and the opt-in, fail-closed `--brain` — and read-only `plans`/`fleet` verbs with a fleet UI. Call the helper at `.agents/skills/herdr-peers/scripts/herdr-peers` when it is not on `PATH` |
| [`herdr-peers`](../skills/herdr-peers/SKILL.md) | 2.1.0 | `DailybotHQ/herdr-peers` (vendored, tag-pinned, repo-local) | Herdr addon transport (protocol 2): one authorized reply from an agent in another pane or machine, notices, lead epochs and appointment, native debates, plus `autopilot` — an optional daemon **only a human starts** (never a message, peer or plan) with `--loop`, `--appoint` and the opt-in, fail-closed `--brain` — and read-only `plans`/`fleet` verbs with a fleet UI. Call the helper at `.agents/skills/herdr-peers/scripts/herdr-peers` when it is not on `PATH` |
| [`fix-frontmatter`](../skills/fix-frontmatter/SKILL.md) | 1.0.0 | `DailybotHQ/deepworkplan-skill` (vendored utility) | Validates/fixes `SKILL.md` frontmatter against the contract |
| [`shellcheck-fix`](../skills/shellcheck-fix/SKILL.md) | 1.0.0 | `DailybotHQ/deepworkplan-skill` (vendored utility) | shellcheck over the shipped shell scripts (applies to `dev.sh`, `docker/`, `tests/run.sh`) |
| [`write-bats-test`](../skills/write-bats-test/SKILL.md) | 1.0.0 | `DailybotHQ/deepworkplan-skill` (vendored utility) | bats-core test authoring, following the upstream skill repo's `tests/` convention (this repo's own suite is Go — the skill applies if a bats layer is ever added) |
Expand Down Expand Up @@ -54,4 +54,4 @@ The [dependency-upgrade flow](../skills/deepworkplan/addons/dependency-upgrade/S
is exposed by the inert [`/lib-upgrade`](../commands/lib-upgrade.md) command.
The [design-system flow](../skills/deepworkplan/addons/design-system/SKILL.md)
is recorded in [docs/DESIGN.md](../../docs/DESIGN.md), profile `cli-output`.
Neither is a separate vendored skill; both use the pinned 7.12.2 pack.
Neither is a separate vendored skill; both use the pinned 8.0.0 pack.
21 changes: 8 additions & 13 deletions .agents/skills/deepworkplan/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: deepworkplan
description: DeepWorkPlan — turn any repo AI-first and run Deep Work Plans. Routes to create, execute, refine, resume, status, verify, upgrade, and repo-onboarding sub-skills based on intent. Use when the developer wants to plan, execute, manage, or verify structured multi-task work, or make a repository AI-agent-ready.
version: "7.12.2"
version: "8.0.0"
documentation_url: https://deepworkplan.com
user-invocable: true
allowed-tools: Bash, Read, Grep, Glob, Edit, Write
Expand All @@ -10,17 +10,12 @@ metadata: {"openclaw":{"emoji":"🧠","homepage":"https://deepworkplan.com","req

# DeepWorkPlan — Methodology Skill (Router)

Models matter; context matters more. The **DeepWorkPlan** skill turns any
repository into a structured environment — context, guardrails, and a durable
plan — where any coding agent executes reliably on short or long work. It makes
the repository "AI-first" — `AGENTS.md` + `docs/` + per-module docs + `.agents/`
(with the `.claude → .agents` and `.cursor → .agents` symlinks) — and runs structured **Deep Work
Plans**: Lite plans for bounded work and Full task-file plans for longer work;
an AI agent creates, refines, executes task-by-task,
and resumes. All plan output lands in a gitignored `.dwp/` directory
at the repo root (`.dwp/plans/`).
The repository is the harness.
**Spec-first, loop-closed: the repository is the harness and the plan runs itself to done.** Plans are Lite (bounded work) or Full (task files, longer work). Planning is spec-first per episode: the plan precedes the code, with acceptance criteria, as git-ignored, exportable `.dwp/plans/` state any agent can resume, not a maintained specification. Loop engineering registers a lead and its succession; an optional daemon a human starts nudges without adding authority. Plans run within their recorded authority and gates; the method works alone.

Source of truth: <https://deepworkplan.com>. License: MIT.
DWP measures the instruction bytes each flow loads. It has not shown a general saving in provider tokens.

Source: <https://deepworkplan.com>.

## Start here (first run)

Expand Down Expand Up @@ -160,8 +155,8 @@ developer which they mean before routing.
or mutate files — regardless of how they are invoked.
- **Plan generation is detected, never assumed.** A plan folder carrying a
`manifest.json` contract pointer, a `contract.json`, or a `contracts/`
revision chain is **v6** (contract generation v6 or v7,
`spec/V7_CONTRACT.md`) — create and execute route it through their
revision chain is **v6** (contract generation v6–v8,
`spec/V6_LIFECYCLE.md`) — create and execute route it through their
`v6.md` loops (contract, journal, scheduler, verified closure). Anything
else keeps the recorded v5 lifecycle, is never migrated silently, and a
v5-only runner that meets a v6 plan reports it as unsupported rather
Expand Down
19 changes: 15 additions & 4 deletions .agents/skills/deepworkplan/TRUST.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Source of truth: <https://deepworkplan.com> · License: MIT.
A **Markdown-first** agent skill: the "code" is the `SKILL.md` prompt files an
agent reads at runtime, plus a small set of local helpers. Two Bash: `setup.sh`
(symlinking, at the repository root, not inside the pack) and, inside the pack,
`shared/context.sh` for repo/branch/`.dwp/` detection. Twenty Python (stdlib
`shared/context.sh` for repo/branch/`.dwp/` detection. Twenty-two Python (stdlib
only, Python 3.9+), all inside the pack: `verify/conformance.sh` and its
`verify/plan_contract.py` for the read-only conformance check,
`verify/compliance_audit.py` for the read-only compliance audit of finished
Expand All @@ -36,12 +36,14 @@ each step atomic and resumable, never rewriting a different contract or
another generation's manifest; it also captures
each task's starting fingerprint at `task_start` and executes both legs of
a declared control pair, materializing the old leg as a detached worktree
at that recorded revision; for v7 plans its `delegate` command records
delegation launches and results behind a gate — v7 contract,
at that recorded revision; for v7 and v8 plans its `delegate` command records
delegation launches and results behind a gate — a v7-or-later contract,
`agent_delegation` grant, `parallel_safe` task or read-only delegate, an
enabled and detected transport addon — and **never runs a delegate
itself**: the transport addon does, and a delegate's result stays
`asserted` until this ledger's own gate observes it), `shared/views.py`
`asserted` until this ledger's own gate observes it; for v8 plans its
`block` and `unblock` commands are the only writers of structured blocker
records and re-project `state.json` — they run nothing), `shared/views.py`
rendering the deterministic generated views under the human-edit rule,
`shared/scheduler.py` — the read-only authorization core that turns journal
records into dispatch/refusal decisions (it never writes and never executes
Expand Down Expand Up @@ -76,6 +78,15 @@ prints one action per addon; it writes nothing and installs nothing; and
notifier: it reads one `plan-event-v1` JSON document on stdin and, only when
the Dailybot CLI is installed, sends one report through it — every other
case (no CLI, invalid input, failed send) exits 0 silently; and
`shared/queue.py`, the plan queue (dwp-queue-v1): the only writer of
`.dwp/queue.json` — create appends on approval, execute marks a plan
started on a task start while it is still queued and done after its closure, create/refine may
skip with a note — an atomic 0600 write, and a read of anything that is not
a valid bounded document is a quiet none; and
`shared/progress_header.py`, the v8 `PROGRESS.md` header writer: it reads
the plan's records read-only and rewrites only the four header lines under
the title of that plan's `PROGRESS.md` (atomic; the body below is never
touched; `--check` writes nothing); and
`shared/migrate_v6.py`, the explicit v5 → v6 migration helper — preview,
guarded resumable migrate, verified rollback. It never executes anything:
a v5 gate record is imported through the ledger writer as `imported`
Expand Down
6 changes: 3 additions & 3 deletions .agents/skills/deepworkplan/addons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ An addon MAY additionally ship per-stack presets, examples, or migration notes.

| Addon | Folder | Status |
|-------|--------|--------|
| Devcontainer support | [`addons/devcontainer/`](devcontainer/SKILL.md) | **Authored** — vendor-neutral thin integrator of devcontainer-kit (`dck`, pinned `v1.1.2`, interface 2): detect with `dck doctor --json`, offer the kit and its tag-pinned `dck-dockerfile` skill, reason service/runtime/ports/agents from the real stack, render the repository's own layout (`.devcontainer/devcontainer.json`, `docker/local/<service>/Dockerfile`, `docker/local/docker-compose.yaml`, `dev.sh`) from the official runtime image pinned by digest — no shared base image required; `dck init` reconciles an existing layout (consented diffs, backups — never clobbered), optional Herdr container profile, validation with a real build. Loopback ports, agent forwarding, no host `~/.ssh` mounts (the developer's own `[ssh] copy_keys` opt-in in their host profile aside), no privileged options. Never required. |
| Devcontainer support | [`addons/devcontainer/`](devcontainer/SKILL.md) | **Authored** — vendor-neutral thin integrator of devcontainer-kit (`dck`, pinned `v1.3.0`, interface 2): detect with `dck doctor --json`, offer the kit and its tag-pinned `dck-dockerfile` skill, reason service/runtime/ports/agents from the real stack, render the repository's own layout (`.devcontainer/devcontainer.json`, `docker/local/<service>/Dockerfile`, `docker/local/docker-compose.yaml`, `dev.sh`) from the official runtime image pinned by digest — no shared base image required; `dck init` reconciles an existing layout (consented diffs, backups — never clobbered), optional Herdr container profile, validation with a real build. Loopback ports, agent forwarding, no host `~/.ssh` mounts (the developer's own `[ssh] copy_keys` opt-in in their host profile aside), no privileged options. Never required. |
| Dailybot integration | [`addons/dailybot/`](dailybot/SKILL.md) | **Authored** — opt-in install of the Dailybot agent skill (**3.23.20**) / CLI (**>= 3.9.0**), auth **deferred** to the Dailybot skill's own consent flow, **four lifecycle events** (kickoff, significant task, blocked, completion) wired as optional best-effort reports via the `report` sub-skill, optional deterministic hook enforcement, and access to the full 17-capability Dailybot skill when invoked directly. The core methodology has **zero** Dailybot dependency. |
| Dependency upgrade | [`addons/dependency-upgrade/`](dependency-upgrade/SKILL.md) | **Authored** — **near-default**, **package-manager-agnostic** dependency upgrades: offered for every repo with declared dependencies, with the inert `/lib-upgrade` delegator installed under the onboarding consent unless explicitly declined (an install runs no upgrade). When invoked: detect the repo's real manager (npm/pnpm/yarn + ncu, pip/poetry/uv, cargo, go mod, bundler, composer…), classify by semver, upgrade in safe batches, run the repo's **real** validation gate after each batch, revert a failing batch, summarize. |
| Design system | [`addons/design-system/`](design-system/SKILL.md) | **Authored** — opt-in, **interface-surface-scoped** `DESIGN.md` at `docs/DESIGN.md` (indexed from `AGENTS.md`; root only if no `docs/` tree), covering three profiles in one file: **visual-ui** (design tokens from CSS vars / Tailwind config / token files / component styles; WCAG AA contrast), **cli-output** (semantic terminal styles, output components, TTY/`NO_COLOR` degradation), and **conversational** (voice & register, message anatomy, per-platform rendering with plain-text fallbacks). Reason about the repo's **real** design source — never a brand file — and reconcile an existing `DESIGN.md` instead of clobbering it. Offered by `onboard` **only when an interface surface is detected** — the offer is mandatory, not skippable, with the detection rationale recorded — and every profile (**visual-ui** strongly recommended) installs only after explicit acceptance, never auto-applied. |
| AI Diff Reviewer | [`addons/ai-diff-reviewer/`](ai-diff-reviewer/SKILL.md) | **Authored** — **required local review** (baseline since 2.3.0): tag-pinned install of the vendored `DailybotHQ/ai-diff-reviewer` skill (currently **v3.3.16**; workflows pin the moving `@v3`; marketplace listing "AI Diff Reviewer") plus a repo-tailored `.review/extension.md`, wired into the Final Review's security pass; the CI Action (Flow B — same prompt bytes as the local pass, methodology and severity parity) and the `apply-review` / `address-review` companions stay an explicit opt-in. |
| Herdr | [`addons/herdr/SKILL.md`](herdr/SKILL.md) | **Authored** — thin integrator, explicit opt-in offered in `onboard` Phase 7b, pinned to `herdr-peers@v2.0.0` (protocol/interface 1 or 2, detected with `herdr-peers --version`; Herdr's official skill pinned `herdrdev/[email protected]`): the **interactive** delegation transport of v7 plans — one `herdr-peers ask` to a peer pane on any machine, recorded in the plan journal before it is relied on, the reply asserted until the plan's own gates observe the work. The peer protocol and native debate sub-skill live in herdr-peers; this folder carries no copy. Its default decision mode: a plan settles each consequential decision through a herdr-peers decide debate, planned as an approved decision task, falling back to the agent's own record without blocking (`SPEC.md` §6.4; off with `config.py decisions debate off`). Never required. |
| agentkit | [`addons/agentkit/SKILL.md`](agentkit/SKILL.md) | **Authored** — thin integrator, explicit opt-in offered in `onboard` Phase 7b, pinned to `coding-agents-kit@v1.4.0` (interface 1, detected with `ak doctor --json`): the **headless** delegation transport of v7 plans — one `ak run` per delegate in a dedicated git worktree, recorded through `ledger.py delegate`, result asserted until the plan's own gates observe it. Install by a clone of the exact tag + `install.sh`. The kit launches agents in autonomy by default and its `--ask` / `AGENTKIT_PERMISSIONS=ask` opt-out always wins; the pack spells no autonomy flag and passes only `--ask` — always for a read-only delegate, and for writing delegates when a plan records the opt-out. Never required. |
| Herdr | [`addons/herdr/SKILL.md`](herdr/SKILL.md) | **Authored** — thin integrator, explicit opt-in offered in `onboard` Phase 7b, pinned to `herdr-peers@v2.1.0` (protocol/interface 1 or 2, detected with `herdr-peers --version`; Herdr's official skill pinned `herdrdev/[email protected]`): the **interactive** delegation transport of v7 plans — one `herdr-peers ask` to a peer pane on any machine, recorded in the plan journal before it is relied on, the reply asserted until the plan's own gates observe the work. The peer protocol and native debate sub-skill live in herdr-peers; this folder carries no copy. Its default decision mode: a plan settles each consequential decision through a herdr-peers decide debate, planned as an approved decision task, falling back to the agent's own record without blocking (`SPEC.md` §6.4; off with `config.py decisions debate off`). Never required. |
| agentkit | [`addons/agentkit/SKILL.md`](agentkit/SKILL.md) | **Authored** — thin integrator, explicit opt-in offered in `onboard` Phase 7b, pinned to `coding-agents-kit@v1.5.0` (interface 1, detected with `ak doctor --json`): the **headless** delegation transport of v7 plans — one `ak run` per delegate in a dedicated git worktree, recorded through `ledger.py delegate`, result asserted until the plan's own gates observe it. Install by a clone of the exact tag + `install.sh`. The kit launches agents in autonomy by default and its `--ask` / `AGENTKIT_PERMISSIONS=ask` opt-out always wins; the pack spells no autonomy flag and passes only `--ask` — always for a read-only delegate, and for writing delegates when a plan records the opt-out. Never required. |
| DeepWorkPlan Vim | [`addons/vim/SKILL.md`](vim/SKILL.md) | **Authored** — thin integrator, explicit opt-in offered in `onboard` Phase 7b, pinned to `[email protected]` (interface 1, read from the product's `addon/surface.json`). Optional machine-level install of DeepWorkPlan Vim, the terminal editor for Deep Work Plan (Neovim 0.12+, GPL-3.0, its own repo `DailybotHQ/deepworkplan-vim`): detect it through the product's surface, offer — never impose — the editor, guide the documented install (macOS/Linux via the product's install page `https://deepworkplan.com/vim` — download, verify the pinned checksum, run, never a remote-installer pipe spelled in this pack's text; Windows `winget install Neovim.Neovim` + a tagged clone, never piped PowerShell), and validate the installed surface (command index, VS Code gestures, plan browser, markdown viewer). Two routes: the full editor now, the Neovim plugin in v7.1. An existing Neovim config is **never** overwritten without explicit consent — non-interactive installs onto an existing config abort with instructions; backups go to `~/.config/previous-deepworkplan-vim`. Never a conformance gate. |

> This README is the mechanism doc. The first addon, `addons/devcontainer/`, is
Expand Down
Loading