From f66946f1267bd4361a3248e3ae5a0315310d8699 Mon Sep 17 00:00:00 2001 From: Sergio Alexander Florez Galeano Date: Sun, 15 Nov 2026 21:06:24 -0500 Subject: [PATCH 1/3] chore: adopt DeepWorkPlan 7.12.0 (herdr-peers 1.3.1, ak 1.3.0 pins) - DeepWorkPlan 7.10.1 -> 7.12.0, byte-identical to the v7.12.0 tag (SHA256SUMS verified; asset sha256 388cf53a16d913f4523af1444a74965f6bc248f35f17f10e5f7014df7b3dd782, 182/182 entries OK; ships #88 v7 hardening + #91 plan registration with the herdr-peers loop) - Pack pins: herdr-peers v1.3.1 (SHA256SUMS sha256 c90bce908dc6d690c0273e8b664d84297aa16e3277bfd00fcf5003bfb6a30152, independently verified), coding-agents-kit v1.3.0, devcontainer-kit v1.1.2, deepworkplan-vim v1.0.1 - Addon registry: herdr v1.3.1, agentkit v1.3.0, devcontainer v1.1.2, vim v1.0.1, dependency-upgrade/design-system v7.12.0 (via the pack's shared/config.py) - dev.sh host install hint -> herdr-peers tree/v1.3.1 - AGENTS.md + skills catalog provenance updated; DWP standard stays 7.0.0 - Container embed untouched (dck v1.0.1 still ships herdr-peers v1.0.0 until a devcontainer-kit re-render) Co-Authored-By: Claude Code --- .agents/docs/skills_agents_catalog.md | 6 +- .agents/skills/deepworkplan/SKILL.md | 2 +- .agents/skills/deepworkplan/TRUST.md | 9 +- .agents/skills/deepworkplan/addons/README.md | 8 +- .../deepworkplan/addons/agentkit/SKILL.md | 12 +- .../deepworkplan/addons/agentkit/SPEC.md | 6 +- .../deepworkplan/addons/agentkit/addon.json | 2 +- .../addons/ai-diff-reviewer/SKILL.md | 2 +- .../deepworkplan/addons/dailybot/SKILL.md | 2 +- .../addons/dependency-upgrade/SKILL.md | 2 +- .../addons/design-system/SKILL.md | 2 +- .../deepworkplan/addons/devcontainer/SKILL.md | 16 +- .../deepworkplan/addons/devcontainer/SPEC.md | 15 +- .../addons/devcontainer/addon.json | 2 +- .../skills/deepworkplan/addons/herdr/SKILL.md | 56 +++- .../skills/deepworkplan/addons/herdr/SPEC.md | 47 +++- .../deepworkplan/addons/herdr/addon.json | 2 +- .../deepworkplan/addons/herdr/install.md | 23 +- .../addons/herdr/scripts/notify-dailybot.py | 143 ++++++++++ .../deepworkplan/addons/machine-installs.md | 16 +- .../skills/deepworkplan/addons/vim/SKILL.md | 10 +- .../skills/deepworkplan/addons/vim/SPEC.md | 16 +- .../skills/deepworkplan/addons/vim/addon.json | 2 +- .../addons/vim/templates/INTEGRATION.md | 10 +- .agents/skills/deepworkplan/author/SKILL.md | 2 +- .agents/skills/deepworkplan/create/SKILL.md | 31 ++- .agents/skills/deepworkplan/create/v6.md | 10 +- .agents/skills/deepworkplan/execute/SKILL.md | 6 +- .agents/skills/deepworkplan/execute/v6.md | 5 +- .../skills/deepworkplan/guide/execution.md | 2 +- .agents/skills/deepworkplan/onboard/SKILL.md | 2 +- .agents/skills/deepworkplan/onboard/addons.md | 14 +- .agents/skills/deepworkplan/refine/SKILL.md | 2 +- .agents/skills/deepworkplan/resume/SKILL.md | 7 +- .../skills/deepworkplan/shared/contract_v6.py | 80 ++++++ .agents/skills/deepworkplan/shared/ledger.py | 67 ++++- .agents/skills/deepworkplan/spec/ADDONS.md | 20 +- .agents/skills/deepworkplan/spec/CONFIG.md | 2 +- .../deepworkplan/spec/DWP_SPECIFICATION.md | 24 ++ .../skills/deepworkplan/spec/V6_CONTRACT.md | 9 +- .../skills/deepworkplan/spec/V7_CONTRACT.md | 7 + .../skills/deepworkplan/spec/V7_ROADMAP.md | 2 +- .agents/skills/deepworkplan/status/SKILL.md | 2 +- .agents/skills/deepworkplan/upgrade/SKILL.md | 2 +- .agents/skills/deepworkplan/verify/SKILL.md | 19 +- .../deepworkplan/verify/compliance_audit.py | 249 ++++++++++++++++++ .dwp/config.json | 12 +- AGENTS.md | 4 +- dev.sh | 2 +- skills-lock.json | 4 +- 50 files changed, 858 insertions(+), 139 deletions(-) create mode 100755 .agents/skills/deepworkplan/addons/herdr/scripts/notify-dailybot.py create mode 100644 .agents/skills/deepworkplan/verify/compliance_audit.py diff --git a/.agents/docs/skills_agents_catalog.md b/.agents/docs/skills_agents_catalog.md index 1d65623..f6dd8bb 100644 --- a/.agents/docs/skills_agents_catalog.md +++ b/.agents/docs/skills_agents_catalog.md @@ -42,7 +42,7 @@ The full pack lives under [`.agents/skills/dailybot/`](../skills/dailybot/) (rou ### Deep Work Plan skill pack (vendored from [`DailybotHQ/deepworkplan-skill`](https://github.com/DailybotHQ/deepworkplan-skill)) -The full pack lives under [`.agents/skills/deepworkplan/`](../skills/deepworkplan/) (router + 9 sub-skills + addons). Vendored at **v7.10.1** (DWP standard **7.0.0**). The router auto-routes by intent — read [`skills/deepworkplan/SKILL.md`](../skills/deepworkplan/SKILL.md) and let it pick the right sub-skill. Each sub-skill is independently invocable, and each has a short `dwp-*` alias in [`.agents/commands/`](../commands/) for ergonomic typing. +The full pack lives under [`.agents/skills/deepworkplan/`](../skills/deepworkplan/) (router + 9 sub-skills + addons). Vendored at **v7.12.0** (DWP standard **7.0.0**). The router auto-routes by intent — read [`skills/deepworkplan/SKILL.md`](../skills/deepworkplan/SKILL.md) and let it pick the right sub-skill. Each sub-skill is independently invocable, and each has a short `dwp-*` alias in [`.agents/commands/`](../commands/) for ergonomic typing. | Slug | Procedure | Use when | |------|-----------|----------| @@ -121,6 +121,6 @@ Persona definitions. Use these as the system prompt / role when spawning a sub-a - Don't see a skill that matches? Don't invent one. Do the work directly and tell the user what you did. - Don't see a persona that matches? Default to `cli-developer`. -## Dogfood reconciliation — 2026-11-15 +## Dogfood reconciliation — 2026-11-16 -DeepWorkPlan v7.10.1, AI Diff Reviewer v3.3.16 and Dailybot skill v3.23.20 are pinned in `skills-lock.json` (dailybot sits one patch ahead of the pack's v3.23.17 floor). The pack's herdr addon now pins herdr-peers v1.2.1 — 1.2.x adds `herdr-peers autopilot`, an optional daemon only a human starts (no message, peer or plan can start it) — and the addon registry and the `dev.sh` host install hint follow it. The container is **not** re-rendered: devcontainer-kit stays v1.0.1 and still embeds herdr-peers v1.0.0 (with coding-agents-kit v1.0.1; DeepWorkPlan Vim v1.0.0 remains a container editor layer), so host tools and the container embeds disagree on herdr-peers until dck ships a newer release. The addon registry records agentkit v1.1.0, devcontainer v1.0.1, herdr v1.2.1 and vim v1.0.0, with the pack addons (dependency-upgrade, design-system) at v7.10.1. Repository hooks, review rules, design documentation and historical plans are preserved. +DeepWorkPlan v7.12.0, AI Diff Reviewer v3.3.16 and Dailybot skill v3.23.20 are pinned in `skills-lock.json` (dailybot sits one patch ahead of the pack's v3.23.17 floor). The pack's herdr addon pins herdr-peers v1.3.1 — 1.2.x added `herdr-peers autopilot` and 1.3.x adds `--loop`, `--notify`, the read-only `plans`/`fleet` verbs and the fleet UI; autopilot stays an optional daemon only a human starts — and the addon registry and the `dev.sh` host install hint follow it (coding-agents-kit is pinned at v1.3.0). The container is **not** re-rendered: devcontainer-kit stays v1.0.1 and still embeds herdr-peers v1.0.0 (with coding-agents-kit v1.0.1; DeepWorkPlan Vim v1.0.0 remains a container editor layer), so host tools and the container embeds disagree on herdr-peers until dck ships a newer release. The addon registry records agentkit v1.3.0, devcontainer v1.1.2, herdr v1.3.1 and vim v1.0.1, with the pack addons (dependency-upgrade, design-system) at v7.12.0. Repository hooks, review rules, design documentation and historical plans are preserved. diff --git a/.agents/skills/deepworkplan/SKILL.md b/.agents/skills/deepworkplan/SKILL.md index 9b99ef0..ee733bc 100644 --- a/.agents/skills/deepworkplan/SKILL.md +++ b/.agents/skills/deepworkplan/SKILL.md @@ -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.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/TRUST.md b/.agents/skills/deepworkplan/TRUST.md index f29eb86..112597d 100644 --- a/.agents/skills/deepworkplan/TRUST.md +++ b/.agents/skills/deepworkplan/TRUST.md @@ -13,9 +13,12 @@ Source of truth: · 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. Eighteen Python (stdlib +`shared/context.sh` for repo/branch/`.dwp/` detection. Twenty 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 +v6/v7 plans (it reads their records through the ledger's read side and never +writes), `shared/plan_paths.py` for monotonic plan IDs and plan selection, `shared/update-state.py`, `shared/state_contract.py` and `shared/finalize_plan.py` for the guarded state, evidence and completion @@ -69,6 +72,10 @@ for every addon (or an upgrade), it runs the same declared detect commands for **every** shipped addon — the read-only posture of `config.py backfill` — reads the vendored skills, `skills-lock.json` and `.dwp/config.json`, and prints one action per addon; it writes nothing and installs nothing; and +`addons/herdr/scripts/notify-dailybot.py`, the herdr addon's plan-loop +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/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` diff --git a/.agents/skills/deepworkplan/addons/README.md b/.agents/skills/deepworkplan/addons/README.md index 0139fbe..210ee67 100644 --- a/.agents/skills/deepworkplan/addons/README.md +++ b/.agents/skills/deepworkplan/addons/README.md @@ -78,14 +78,14 @@ 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.0.1`, 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//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.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//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@v1.2.1` (protocol/interface 1, detected with `herdr-peers --version`; Herdr's official skill pinned `herdrdev/herdr@v0.9.3`): 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.0.1` (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 `deepworkplan-vim@v1.0.0` (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. | +| Herdr | [`addons/herdr/SKILL.md`](herdr/SKILL.md) | **Authored** — thin integrator, explicit opt-in offered in `onboard` Phase 7b, pinned to `herdr-peers@v1.3.1` (protocol/interface 1, detected with `herdr-peers --version`; Herdr's official skill pinned `herdrdev/herdr@v0.9.3`): 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.3.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 `deepworkplan-vim@v1.0.1` (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 > the methodology's proof that the mechanism works; the second, diff --git a/.agents/skills/deepworkplan/addons/agentkit/SKILL.md b/.agents/skills/deepworkplan/addons/agentkit/SKILL.md index a3300be..568df48 100644 --- a/.agents/skills/deepworkplan/addons/agentkit/SKILL.md +++ b/.agents/skills/deepworkplan/addons/agentkit/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-agentkit -description: Optional DeepWorkPlan addon that integrates coding-agents-kit (the `ak` command, DailybotHQ/coding-agents-kit pinned at v1.0.1, interface 1) as the headless delegation transport - a thin integrator that detects the kit through `ak doctor --json`, offers it (never imposes it) from onboard Phase 7b, documents the install from a clone of the pinned tag plus the kit's install.sh, records the acceptance in the .dwp/config.json addon registry, and maps a v7 plan's delegation operations (launch, observe, collect, cancel) onto one `ak run` per delegate in a dedicated git worktree. Never required, never a conformance gate. The kit launches agents in autonomy by default and its opt-out (--ask or AGENTKIT_PERMISSIONS=ask) always wins; the pack spells no CLI autonomy flag, never passes --auto, and passes --ask always for a read-only delegate and for writing delegates when a plan records the opt-out. -version: "7.10.1" +description: Optional DeepWorkPlan addon that integrates coding-agents-kit (the `ak` command, DailybotHQ/coding-agents-kit pinned at v1.3.0, interface 1) as the headless delegation transport - a thin integrator that detects the kit through `ak doctor --json`, offers it (never imposes it) from onboard Phase 7b, documents the install from a clone of the pinned tag plus the kit's install.sh, records the acceptance in the .dwp/config.json addon registry, and maps a v7 plan's delegation operations (launch, observe, collect, cancel) onto one `ak run` per delegate in a dedicated git worktree. Never required, never a conformance gate. The kit launches agents in autonomy by default and its opt-out (--ask or AGENTKIT_PERMISSIONS=ask) always wins; the pack spells no CLI autonomy flag, never passes --auto, and passes --ask always for a read-only delegate and for writing delegates when a plan records the opt-out. +version: "7.12.0" documentation_url: https://deepworkplan.com/kit/agentkit user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write @@ -26,7 +26,7 @@ DWP); everything this addon relies on is the kit's frozen **interface 1** | Pin | Value | |-----|-------| | Product | `DailybotHQ/coding-agents-kit` | -| Tag | `v1.0.1` (autonomy by default since `v0.2.0`; accounts, `ak usage`, `ak pick`, `ak profiles --json`, `--trust-cwd` and the `agentkit-orchestrate` skill since `v0.5.0`; Cursor's Linux login and Claude's `keychain` login kind since `v0.5.1`; a default account per CLI, `AGENTKIT_DEFAULT_PROFILE_`, since `v0.5.2`; Codex started with `--no-daemon` when a shared home records a daemon from another machine, since `v0.5.3`; `ak capacity` with its usage cache, `ak lease` and `ak pick --owner` since `v0.6.0`; `ak capacity --self` inside Codex lanes, `ak pick --owner` counting the owner's own leases with `--reuse @profile` for a successor, one account per kind and profile, and Grok folder trust since `v0.6.1`; Antigravity quota and every account listed in `ak usage` since `v0.7.0`; a profile's suffixed credential variable counted as its login since `v0.7.1`; the first stable release, its interface committed to semantic versioning, `v1.0.0`; every profile, `@default` included, its own account inside a devcontainer-kit container, since `v1.0.1`) | +| Tag | `v1.3.0` (autonomy by default since `v0.2.0`; accounts, `ak usage`, `ak pick`, `ak profiles --json`, `--trust-cwd` and the `agentkit-orchestrate` skill since `v0.5.0`; Cursor's Linux login and Claude's `keychain` login kind since `v0.5.1`; a default account per CLI, `AGENTKIT_DEFAULT_PROFILE_`, since `v0.5.2`; Codex started with `--no-daemon` when a shared home records a daemon from another machine, since `v0.5.3`; `ak capacity` with its usage cache, `ak lease` and `ak pick --owner` since `v0.6.0`; `ak capacity --self` inside Codex lanes, `ak pick --owner` counting the owner's own leases with `--reuse @profile` for a successor, one account per kind and profile, and Grok folder trust since `v0.6.1`; Antigravity quota and every account listed in `ak usage` since `v0.7.0`; a profile's suffixed credential variable counted as its login since `v0.7.1`; the first stable release, its interface committed to semantic versioning, `v1.0.0`; every profile, `@default` included, its own account inside a devcontainer-kit container, since `v1.0.1`; `ak usage` listing the measurable blocks first since `v1.1.0`; Herdr restoring a pane through `ak` — same account, key and permission posture after a reboot or Herdr restart, `AGENTKIT_HERDR_RESUME=0` turns it off — and `ak last` relaunching the newest session of that directory in any terminal since `v1.2.0`; the daemon-facing surface — `ak pick --kinds KIND,... --json` (pick-v2: the first kind in priority order with a qualifying account, the exact `launch.argv` and `launch.permissions` auto|ask) and the provider-neutral `--model` head flag mapped to each CLI's own (codex `-m`) — since `v1.3.0`) | | Interface | `1` (`ak doctor --json` → `"interface": 1`) | | Registry key | `agentkit` (`.dwp/config.json` → `addons.agentkit`) | | Transport | `headless` — provides `subagents`, `cancel_children`, `model_routing`; requires the `agent_delegation` grant | @@ -116,7 +116,7 @@ Declining is a complete answer. ### Step 2 — Install (pinned; point-don't-run by default) ``` -git clone --branch v1.0.1 https://github.com/DailybotHQ/coding-agents-kit +git clone --branch v1.3.0 https://github.com/DailybotHQ/coding-agents-kit ./coding-agents-kit/install.sh ``` @@ -131,7 +131,7 @@ re-detect afterwards. ### Step 3 — Record -`python3 ../../shared/config.py enable agentkit --version v1.0.1 --repo `. +`python3 ../../shared/config.py enable agentkit --version v1.3.0 --repo `. Delegation still needs each plan's contract to grant `agent_delegation` — enabling the addon grants nothing. @@ -253,7 +253,7 @@ room once per task boundary with `ak usage @ --json`. ## Validation checklist (component 4 — mirrored from SPEC §8) 1. `SKILL.md`, `SPEC.md`, `addon.json`, `templates/INTEGRATION.md` exist; - the descriptor pins `DailybotHQ/coding-agents-kit` `v1.0.1`, interface 1, + the descriptor pins `DailybotHQ/coding-agents-kit` `v1.3.0`, interface 1, transport `headless`. 2. Detection is read-only and reports `interface` 1, or one warning. 3. Install used the pinned tagged clone + `install.sh`; nothing piped. diff --git a/.agents/skills/deepworkplan/addons/agentkit/SPEC.md b/.agents/skills/deepworkplan/addons/agentkit/SPEC.md index af908f4..4a120a7 100644 --- a/.agents/skills/deepworkplan/addons/agentkit/SPEC.md +++ b/.agents/skills/deepworkplan/addons/agentkit/SPEC.md @@ -17,7 +17,7 @@ registry record and the mapping of the four delegation operations onto |-------|-------| | **Version** | 0.2.0 | | **Status** | Stable — autonomy by default (coding-agents-kit `v0.2.0` and later) | -| **Product pin** | `DailybotHQ/coding-agents-kit` `v1.0.1`, interface `1` | +| **Product pin** | `DailybotHQ/coding-agents-kit` `v1.3.0`, interface `1` | | **Companions** | `SKILL.md`, `addon.json`, `templates/INTEGRATION.md`, `../README.md`, `../../spec/ADDONS.md`, `../../spec/V7_ABILITIES.md`, `../../execute/delegation.md` | ## 1. Conventions @@ -53,7 +53,7 @@ kit** is coding-agents-kit; **the addon** is this folder. complete and writes nothing. - The documented install is the pinned tagged clone plus the kit's installer: - `git clone --branch v1.0.1 https://github.com/DailybotHQ/coding-agents-kit` then + `git clone --branch v1.3.0 https://github.com/DailybotHQ/coding-agents-kit` then `./coding-agents-kit/install.sh` (Windows: `install.ps1`). A fetch-and-execute pipeline **MUST NOT** appear anywhere in this pack's text. The addon **MUST NOT** install coding-agent CLIs on its own. @@ -165,7 +165,7 @@ minor version (`v0.2.0`), and SPEC 0.2.0 describes it. 1. `SKILL.md`, `SPEC.md`, `addon.json`, `templates/INTEGRATION.md` exist; `addon.json` validates with key `agentkit`, product - `DailybotHQ/coding-agents-kit` `v1.0.1`, interface 1, transport + `DailybotHQ/coding-agents-kit` `v1.3.0`, interface 1, transport `headless`. 2. Detection is read-only; interface 1 or one warning. 3. Install used the pinned tagged clone; no pipeline anywhere in the text. diff --git a/.agents/skills/deepworkplan/addons/agentkit/addon.json b/.agents/skills/deepworkplan/addons/agentkit/addon.json index 1055f90..64c9e26 100644 --- a/.agents/skills/deepworkplan/addons/agentkit/addon.json +++ b/.agents/skills/deepworkplan/addons/agentkit/addon.json @@ -1,7 +1,7 @@ { "schema": "https://deepworkplan.com/schema/addon-descriptor/v1.json", "key": "agentkit", - "product": { "repo": "DailybotHQ/coding-agents-kit", "tag": "v1.0.1", "interface": 1 }, + "product": { "repo": "DailybotHQ/coding-agents-kit", "tag": "v1.3.0", "interface": 1 }, "detect": { "command": "ak doctor --json", "interface_from": "json:interface" }, "provides_abilities": ["subagents", "cancel_children", "model_routing"], "requires_grants": ["agent_delegation"], diff --git a/.agents/skills/deepworkplan/addons/ai-diff-reviewer/SKILL.md b/.agents/skills/deepworkplan/addons/ai-diff-reviewer/SKILL.md index 777e288..9035c0f 100644 --- a/.agents/skills/deepworkplan/addons/ai-diff-reviewer/SKILL.md +++ b/.agents/skills/deepworkplan/addons/ai-diff-reviewer/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-ai-diff-reviewer description: "DeepWorkPlan addon — required local review (baseline since standard 2.3.0), optional CI surface — connects an AI-first repo to the AI Diff Reviewer. Onboarding installs the vendored coding-agent skill and extension with consent; the Final Review runs the local pass when present or records a missing-reviewer finding without bootstrapping. Flow B CI setup remains an explicit opt-in delegated to upstream. Invocation errors never block, completed-review critical findings still follow the Final Review contract, and all install/auth/wizard details defer to upstream consent flows." -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/addons/dailybot/SKILL.md b/.agents/skills/deepworkplan/addons/dailybot/SKILL.md index e749121..63514d6 100644 --- a/.agents/skills/deepworkplan/addons/dailybot/SKILL.md +++ b/.agents/skills/deepworkplan/addons/dailybot/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-dailybot description: Optional DeepWorkPlan addon that connects an AI-first repo to the developer's Dailybot team — installing (with consent) the Dailybot agent skill (DailybotHQ/agent-skill, currently 3.23.20) and/or the Dailybot CLI (DailybotHQ/cli, >= 3.9.0), wiring the plan lifecycle into best-effort agent updates - kickoff when a plan starts, significant task completions, a blocked report when an unattended run halts, and a milestone on plan completion - with payloads derived from the plan's state layer, and optionally committing the Dailybot skill's deterministic hook enforcement (dailybot hook lifecycle hooks) so the agent harness itself reminds agents about unreported work. Opt-in, never required, never blocks the work, reconciles existing setups instead of clobbering them, and defers all auth to the Dailybot skill's own consent flow. Use when the developer or team already uses Dailybot and wants DWP progress visible to humans. -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/addons/dependency-upgrade/SKILL.md b/.agents/skills/deepworkplan/addons/dependency-upgrade/SKILL.md index e4ad30f..e65c661 100644 --- a/.agents/skills/deepworkplan/addons/dependency-upgrade/SKILL.md +++ b/.agents/skills/deepworkplan/addons/dependency-upgrade/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-dependency-upgrade description: DeepWorkPlan addon that safely upgrades a repo's dependencies — reasoning about the repo's ACTUAL package manager (npm/pnpm/yarn + ncu, pip/poetry/uv, cargo, go mod, bundler, composer, and more) rather than assuming npm — with a batched, validated, revertible workflow that detects the manager and manifests/lockfiles, classifies upgrades (patch/minor/major), upgrades in safe batches, runs the repo's real validation gate after each batch, reverts a failing batch, and summarizes. Near-default — offered for every repo with declared dependencies, and its delegator installs under the onboarding consent unless declined; upgrades themselves never run automatically, only as explicit, gated work. Never required for baseline conformance; reconciles with the repo's existing tooling. Use when the developer wants to bring dependencies up to date without breaking the build. -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/addons/design-system/SKILL.md b/.agents/skills/deepworkplan/addons/design-system/SKILL.md index 94a903c..7e51bc9 100644 --- a/.agents/skills/deepworkplan/addons/design-system/SKILL.md +++ b/.agents/skills/deepworkplan/addons/design-system/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-design-system description: Optional DeepWorkPlan addon that gives a repo with a user-facing interface surface a DESIGN.md (under docs/, indexed from AGENTS.md) — a Markdown design-system file any coding agent reads to generate interface output consistent with the repo's OWN conventions. Covers three profiles detected independently from real files — visual-ui (rendered web/mobile/desktop UI), cli-output (styled terminal output — semantic colors, panels, spinners, prompts, TTY/NO_COLOR degradation), and conversational (chat/email messaging — voice and register, message anatomy, per-platform rendering). Reasons about the repo's ACTUAL design source (CSS custom properties, Tailwind config, token files, component styles, a CLI display/theme module, or message-composition helpers) rather than copying a brand file; checks contrast (WCAG AA), color-is-not-the-only-carrier, plain-text fallbacks, and token integrity. A detected interface surface makes the evaluation and offer mandatory (with a clear recommendation), while installation always requires explicit acceptance — no profile is auto-applied, even in trust mode. Never offered for a repo with no interface surface (pure library, headless service, infra-only); never required for baseline conformance; reconciles an existing DESIGN.md instead of clobbering it. Use when the developer wants agents to produce on-brand, consistent interface output — visual UI, terminal output, or outbound messages. -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/addons/devcontainer/SKILL.md b/.agents/skills/deepworkplan/addons/devcontainer/SKILL.md index 3c876ff..a7735fa 100644 --- a/.agents/skills/deepworkplan/addons/devcontainer/SKILL.md +++ b/.agents/skills/deepworkplan/addons/devcontainer/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-devcontainer -description: Optional DeepWorkPlan addon that gives a repository a reproducible dev container through devcontainer-kit (the `dck` command, DailybotHQ/devcontainer-kit pinned at v1.0.1, interface 2) - a vendor-neutral thin integrator that detects the kit with `dck doctor --json`, offers the kit and its tag-pinned `dck-dockerfile` skill, and lets them render the repository's own layout (.devcontainer/devcontainer.json, docker/local//Dockerfile, docker/local/docker-compose.yaml, dev.sh) from the official runtime image pinned by digest - no shared base image required. Reconciles an existing layout and never clobbers it, keeps loopback ports and agent forwarding, and validates the result with a real build. Opt-in, never required, never a conformance gate. -version: "7.10.1" +description: Optional DeepWorkPlan addon that gives a repository a reproducible dev container through devcontainer-kit (the `dck` command, DailybotHQ/devcontainer-kit pinned at v1.1.2, interface 2) - a vendor-neutral thin integrator that detects the kit with `dck doctor --json`, offers the kit and its tag-pinned `dck-dockerfile` skill, and lets them render the repository's own layout (.devcontainer/devcontainer.json, docker/local//Dockerfile, docker/local/docker-compose.yaml, dev.sh) from the official runtime image pinned by digest - no shared base image required. Reconciles an existing layout and never clobbers it, keeps loopback ports and agent forwarding, and validates the result with a real build. Opt-in, never required, never a conformance gate. +version: "7.12.0" documentation_url: https://deepworkplan.com/kit/devcontainer user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write @@ -28,7 +28,7 @@ file name. | Pin | Value | |-----|-------| | Product | `DailybotHQ/devcontainer-kit` | -| Tag | `v1.0.1` (per-repository Dockerfile, no shared base image; host accounts through `[agents] host_profiles` since `v0.3.0`; the antigravity kind, per-developer CLI choice (`[agents] supported`) and non-shared profiles on the agents volume since `v0.3.6`; coding-agents-kit `v0.7.1` and herdr-peers `v0.3.2` baked in since `v0.3.7`; the first stable release, its interface committed to semantic versioning, baking coding-agents-kit, herdr-peers and deepworkplan-vim `v1.0.0`, `v1.0.0`; coding-agents-kit `v1.0.1` baked in, so `@default` stays the container's own account, and a `dck doctor` warning when a shared `codex@default` mixes host and container Codex versions, since `v1.0.1`) | +| Tag | `v1.1.2` (per-repository Dockerfile, no shared base image; host accounts through `[agents] host_profiles` since `v0.3.0`; the antigravity kind, per-developer CLI choice (`[agents] supported`) and non-shared profiles on the agents volume since `v0.3.6`; coding-agents-kit `v0.7.1` and herdr-peers `v0.3.2` baked in since `v0.3.7`; the first stable release, its interface committed to semantic versioning, baking coding-agents-kit, herdr-peers and deepworkplan-vim `v1.0.0`, `v1.0.0`; coding-agents-kit `v1.0.1` baked in, so `@default` stays the container's own account, and a `dck doctor` warning when a shared `codex@default` mixes host and container Codex versions, since `v1.0.1`; coding-agents-kit `v1.1.0` and DeepWorkPlan Vim `v1.0.1` baked in since `v1.1.1`; herdr-peers `v1.2.1` (autopilot included) baked in since `v1.1.2`) | | Interface | `2` (`dck doctor --json` → `"interface": 2`) | | Skill | `dck-dockerfile`, installed from the same tag | | Registry key | `devcontainer` (`.dwp/config.json` → `addons.devcontainer`) | @@ -184,7 +184,7 @@ and its app-server daemon auto-start in the container's own Codex configs (the kit pins every CLI version), never in the host's Codex home or a host-shared profile, keeping any value the developer set; Codex's hook trust stays the developer's consent. -The image also carries herdr-peers `v1.0.0` (notices and lead records included), whose state is kept per Herdr +The image also carries herdr-peers `v1.2.1` (notices, lead records and autopilot included), whose state is kept per Herdr server, so a checkout bind-mounted into the container no longer shares the host's state. @@ -307,9 +307,9 @@ are copied in. Declining is complete. ### Step 2 — Install the kit and its skill (pinned; point-don't-run by default) ``` -git clone --branch v1.0.1 https://github.com/DailybotHQ/devcontainer-kit +git clone --branch v1.1.2 https://github.com/DailybotHQ/devcontainer-kit ./devcontainer-kit/install.sh -npx --yes skills add https://github.com/DailybotHQ/devcontainer-kit/tree/v1.0.1 --skill dck-dockerfile -y +npx --yes skills add https://github.com/DailybotHQ/devcontainer-kit/tree/v1.1.2 --skill dck-dockerfile -y ``` Before running the installer, check the tag and the release's `SHA256SUMS` @@ -333,7 +333,7 @@ then `dck init …` after acceptance. ### Step 4 — Record and validate -`python3 ../../shared/config.py enable devcontainer --version v1.0.1 --repo `, +`python3 ../../shared/config.py enable devcontainer --version v1.1.2 --repo `, then validate what was rendered: - `dck doctor --json` — interface 2, repo config valid, no drift; @@ -376,7 +376,7 @@ plan simply declares the host command instead. ## Validation checklist (component 4 — mirrored from SPEC §8) 1. `SKILL.md`, `SPEC.md`, `addon.json`, `templates/INTEGRATION.md` exist; the - descriptor pins `DailybotHQ/devcontainer-kit` `v1.0.1`, interface 2; no + descriptor pins `DailybotHQ/devcontainer-kit` `v1.1.2`, interface 2; no template, Dockerfile, compose file, entrypoint or `dev.sh` copy ships here. 2. `dck doctor --json` reports interface 2, a valid repo config and no drift. 3. Existing files were changed only through accepted render diffs, each diff --git a/.agents/skills/deepworkplan/addons/devcontainer/SPEC.md b/.agents/skills/deepworkplan/addons/devcontainer/SPEC.md index 8d0aa67..0d491ba 100644 --- a/.agents/skills/deepworkplan/addons/devcontainer/SPEC.md +++ b/.agents/skills/deepworkplan/addons/devcontainer/SPEC.md @@ -16,8 +16,8 @@ the kit's options, the registry record and the validation. | Field | Value | |-------|-------| | **Version** | 3.0.0 | -| **Status** | Stable — per-repository Dockerfile, no shared base image (devcontainer-kit `v1.0.1`, interface 2); supersedes 2.x (base-image flavours, interface 1) | -| **Product pin** | `DailybotHQ/devcontainer-kit` `v1.0.1`, interface `2`; skill `dck-dockerfile` at the same tag | +| **Status** | Stable — per-repository Dockerfile, no shared base image (devcontainer-kit `v1.1.2`, interface 2); supersedes 2.x (base-image flavours, interface 1) | +| **Product pin** | `DailybotHQ/devcontainer-kit` `v1.1.2`, interface `2`; skill `dck-dockerfile` at the same tag | | **Companions** | `SKILL.md`, `addon.json`, `templates/INTEGRATION.md`, `../README.md`, `../../spec/ADDONS.md` | ## 1. Conventions @@ -59,11 +59,11 @@ volume, CLI or profile file. - Explicit opt-in (`onboard` Phase 7b); a decline writes nothing. - Install the kit: - `git clone --branch v1.0.1 https://github.com/DailybotHQ/devcontainer-kit` then + `git clone --branch v1.1.2 https://github.com/DailybotHQ/devcontainer-kit` then `./devcontainer-kit/install.sh`. A fetch-and-execute pipeline **MUST NOT** appear in this pack's text. - The addon **SHOULD** offer the skill with - `npx --yes skills add https://github.com/DailybotHQ/devcontainer-kit/tree/v1.0.1 --skill dck-dockerfile -y` + `npx --yes skills add https://github.com/DailybotHQ/devcontainer-kit/tree/v1.1.2 --skill dck-dockerfile -y` (repo-local, recorded in `skills-lock.json`); the install **MUST** name the exact tag in that tree-URL form. - **The layout.** The render produces exactly @@ -93,7 +93,7 @@ volume, CLI or profile file. same verified release tarball, linked into every agent's skills directory at each start, so a recreate keeps them; the addon installs no second copy. - On acceptance: `addons.devcontainer` = `{"enabled": true, "version": - "v1.0.1"}` via `shared/config.py enable`. + "v1.1.2"}` via `shared/config.py enable`. ## 6. Security Defaults (inherited, never weakened) @@ -225,7 +225,8 @@ addon's container profile): enable the kit's Herdr machine option; `dck up` `~/.ssh/config` include and **MUST** be run only with its own explicit approval. Peers then run the pinned herdr-peers skill inside the container (`../herdr/install.md` §3); every image since `v0.3.5` carries herdr-peers -(`v1.0.1` still bakes `v1.0.0`; the herdr addon itself pins `v1.2.1`). The +(`v1.1.2` bakes `v1.2.1`, autopilot included; the herdr addon itself pins +`v1.3.1`). The kit's `[herdr] layout` key (`"standard"`: App · Editor · Development · Agents, created by `dck up`; `"none"` skips it) is the kit's choice, and the addon passes the person's preference without adding its own. The optional @@ -256,7 +257,7 @@ kit older than `v0.3.3`, the lead's brief names the value and a Codex pane 1. `SKILL.md`, `SPEC.md`, `addon.json`, `templates/INTEGRATION.md` exist; no layout, Dockerfile, compose, entrypoint, `dev.sh` or image copy ships in - this folder; `addon.json` pins `DailybotHQ/devcontainer-kit` `v1.0.1`, + this folder; `addon.json` pins `DailybotHQ/devcontainer-kit` `v1.1.2`, interface 2. 2. `dck doctor --json`: interface 2; repo config valid; drift reported. 3. Existing files changed only through accepted render diffs with diff --git a/.agents/skills/deepworkplan/addons/devcontainer/addon.json b/.agents/skills/deepworkplan/addons/devcontainer/addon.json index 2d79d0a..4bb4d78 100644 --- a/.agents/skills/deepworkplan/addons/devcontainer/addon.json +++ b/.agents/skills/deepworkplan/addons/devcontainer/addon.json @@ -1,7 +1,7 @@ { "schema": "https://deepworkplan.com/schema/addon-descriptor/v1.json", "key": "devcontainer", - "product": { "repo": "DailybotHQ/devcontainer-kit", "tag": "v1.0.1", "interface": 2 }, + "product": { "repo": "DailybotHQ/devcontainer-kit", "tag": "v1.1.2", "interface": 2 }, "detect": { "command": "dck doctor --json", "interface_from": "json:interface" }, "provides_abilities": [], "requires_grants": [] diff --git a/.agents/skills/deepworkplan/addons/herdr/SKILL.md b/.agents/skills/deepworkplan/addons/herdr/SKILL.md index 49dfa61..67a4f3f 100644 --- a/.agents/skills/deepworkplan/addons/herdr/SKILL.md +++ b/.agents/skills/deepworkplan/addons/herdr/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-herdr -description: Optional DeepWorkPlan addon that integrates herdr-peers (DailybotHQ/herdr-peers pinned at v1.2.1, protocol 1) as the interactive delegation transport - a thin integrator that detects the herdr-peers helper, offers it (never imposes it) from onboard Phase 7b, documents the pinned skill installs (herdr-peers and Herdr's official skill), records the acceptance in the .dwp/config.json addon registry, and maps a v7 plan's delegation operations onto one herdr-peers ask to a peer pane on any machine, with every delegation recorded in the plan journal. The message protocol lives in herdr-peers, never here. Never required, never a conformance gate. -version: "7.10.1" +description: Optional DeepWorkPlan addon that integrates herdr-peers (DailybotHQ/herdr-peers pinned at v1.3.1, protocol 1) as the interactive delegation transport - a thin integrator that detects the herdr-peers helper, offers it (never imposes it) from onboard Phase 7b, documents the pinned skill installs (herdr-peers and Herdr's official skill), records the acceptance in the .dwp/config.json addon registry, and maps a v7 plan's delegation operations onto one herdr-peers ask to a peer pane on any machine, with every delegation recorded in the plan journal. The message protocol lives in herdr-peers, never here. Never required, never a conformance gate. +version: "7.12.0" documentation_url: https://deepworkplan.com/kit/herdr user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write @@ -26,7 +26,7 @@ the install lines, the transport mapping and the journaling rule. | Pin | Value | |-----|-------| | Product | `DailybotHQ/herdr-peers` | -| Tag | `v1.2.1` (protocol 1 unchanged; native debates since `v1.1.0`, the optional autopilot since `v1.2.0`; the first stable release, `v1.0.0`, committed the interface to semantic versioning) | +| Tag | `v1.3.1` (protocol 1 unchanged; native debates since `v1.1.0`, the optional autopilot since `v1.2.0`; the first stable release, `v1.0.0`, committed the interface to semantic versioning) | | Interface | `1` (`herdr-peers --version` → `(protocol 1)`; `metadata.protocol: 1` in its `SKILL.md`) | | Depends on | Herdr's official skill, pinned `herdrdev/herdr@v0.9.3` | | Registry key | `herdr` (`.dwp/config.json` → `addons.herdr`) | @@ -97,7 +97,7 @@ its own documented paths, never a piped installer. ### Step 3 — Record -`python3 ../../shared/config.py enable herdr --version v1.2.1 --repo `. +`python3 ../../shared/config.py enable herdr --version v1.3.1 --repo `. Enabling grants nothing: delegation still needs the plan's grant. ### Step 4 — Transport (during execute) @@ -207,8 +207,52 @@ enabled Herdr machine, accepts the recommended option on a waiting question or approval screen, and tells an agent that stopped to ask to continue; it never touches a login, and no message, peer or plan can start it. DWP never requires it, and an agent executing a plan **MUST NOT** start it on its own. +As of v1.3.1 it also answers a question shown with a preview beside its +options, and recognises the recommended mark in Spanish, French, German and +Italian. Reference: -`https://github.com/DailybotHQ/herdr-peers/blob/v1.2.1/skills/herdr-peers/autopilot.md`. +`https://github.com/DailybotHQ/herdr-peers/blob/v1.3.1/skills/herdr-peers/autopilot.md`. + +## Plan loop (herdr-peers `v1.3.1` and later) + +`autopilot --loop` extends the same human-started daemon so open Deep Work +Plans run to their end without the developer polling each lead: + +- **Registration is the pack's half.** With this addon enabled and + `HERDR_ENV=1`, `deepworkplan-execute` claims the plan's lead record at + start and `deepworkplan-resume` re-claims on resume + (`herdr-peers lead claim --plan ` — adding `--succession <…>` when + the plan names successors, since failover works only for a recorded + succession — best-effort, never a gate). The daemon only watches plans + that have a lead record; it reads each machine's plans through its own + report module over SSH, so no remote herdr-peers install or version is + required. +- **Behavior.** Per pass: a completed plan is dropped; a plan blocked on a + human-only item (C1–C7) is left alone; a lead idle 5+ minutes with no lane + working and no open ask gets **one fixed prompt** — continue the plan to + its end, respecting its gates; a gone lead names the first reachable + successor for `lead takeover` (successors only in 1.3.0 — appointing + outside the succession is a later protocol revision); repeated nudges + without progress mark the plan `stalled`. Every action is recorded. A + nudge adds **no authority**: gates, stop conditions and C1–C7 escalations + bind exactly as before. +- **Notifications (`--notify`).** The daemon runs a human-chosen command + with a `plan-event-v1` JSON document on stdin when a plan is stalled, + blocked, without a lead, or completed (fields: `schema`, `event`, `plan`, + `machine`, `lead`, `repo_root`, `blocker_class`, `at`; the command is run + without a shell under a 20 s timeout and must exit `0` quietly when it + cannot report). herdr-peers names + no product, so **this addon ships the Dailybot notifier**: + `scripts/notify-dailybot.py` — it sends one Dailybot report when the + Dailybot CLI is installed and logged in, and exits `0` silently otherwise. + Start it as (adjust the path to the installed pack): + + ``` + herdr-peers autopilot --loop --notify .agents/skills/deepworkplan/addons/herdr/scripts/notify-dailybot.py + ``` + + The daemon is still started by a human only; an agent executing a plan + never starts it. ## Decision debates (the default decision mode) @@ -244,7 +288,7 @@ cross-cutting, settled by nothing in the repository — through a herdr-peers 1. `SKILL.md`, `SPEC.md`, `install.md`, `addon.json`, `templates/INTEGRATION.md` exist; no protocol copy ships here. -2. The descriptor pins `DailybotHQ/herdr-peers` `v1.2.1`, interface 1, +2. The descriptor pins `DailybotHQ/herdr-peers` `v1.3.1`, interface 1, transport `interactive`. 3. Every install line names an exact tag. 4. The registry entry exists only after acceptance. diff --git a/.agents/skills/deepworkplan/addons/herdr/SPEC.md b/.agents/skills/deepworkplan/addons/herdr/SPEC.md index afe3e1e..9937be7 100644 --- a/.agents/skills/deepworkplan/addons/herdr/SPEC.md +++ b/.agents/skills/deepworkplan/addons/herdr/SPEC.md @@ -18,7 +18,7 @@ rule. |-------|-------| | **Version** | 0.3.0 | | **Status** | Stable (DeepWorkPlan 7.0.0) | -| **Product pin** | `DailybotHQ/herdr-peers` `v1.2.1`, protocol/interface `1`; depends on `herdrdev/herdr@v0.9.3` (skill `herdr`) | +| **Product pin** | `DailybotHQ/herdr-peers` `v1.3.1`, protocol/interface `1`; depends on `herdrdev/herdr@v0.9.3` (skill `herdr`) | | **Companions** | `SKILL.md`, `addon.json`, `install.md`, `templates/INTEGRATION.md`, `../README.md`, `../../spec/ADDONS.md`, `../../execute/delegation.md` | ## 1. Conventions @@ -46,7 +46,7 @@ recipes — those drift; the pinned skill is the single source. ## 4. Detection - Read-only: `command -v herdr`, `command -v herdr-peers`, - `herdr-peers --version` (expect `herdr-peers 1.2.1 (protocol 1)`). + `herdr-peers --version` (expect `herdr-peers 1.3.1 (protocol 1)`). - A protocol other than `1` **MUST** be one warning and "not available". - The transport is usable only inside Herdr (`HERDR_ENV=1`); outside it the addon is installed but not usable in that session — recorded, not an @@ -56,11 +56,11 @@ recipes — those drift; the pinned skill is the single source. - Explicit opt-in (`onboard` Phase 7b); a decline writes nothing. - Installs (`install.md`) **MUST** name exact tags: - `npx --yes skills add https://github.com/DailybotHQ/herdr-peers/tree/v1.2.1 --skill herdr-peers -g -y` + `npx --yes skills add https://github.com/DailybotHQ/herdr-peers/tree/v1.3.1 --skill herdr-peers -g -y` and `npx --yes skills add https://github.com/herdrdev/herdr/tree/v0.9.3 --skill herdr -g -y`. Herdr itself is installed through its own documented paths; a fetch-and-execute pipeline **MUST NOT** appear in this pack's text. -- On acceptance: `addons.herdr` = `{"enabled": true, "version": "v1.2.1"}` +- On acceptance: `addons.herdr` = `{"enabled": true, "version": "v1.3.1"}` via `shared/config.py enable`. Enabling grants no plan any authority. ## 6. The Transport (v7 delegation) @@ -210,6 +210,43 @@ it and how the plan records it. changes the plan's outcome is escalated as C3 (irreducible ambiguity) with the debate attached as the investigation. +## 6.5. Plan Loop (herdr-peers `v1.3.1` and later) + +The `autopilot --loop` daemon (human-started, one per server, on the +developer's machine) keeps open Deep Work Plans running to their end. The +addon's contribution is **registration + notification**, nothing more: + +1. **Registration.** `deepworkplan-execute` runs `herdr-peers lead claim + --plan ` at plan start and `deepworkplan-resume` re-claims on resume + — adding `--succession <…>` when the plan names successors (failover + works only for a recorded succession) — when `HERDR_ENV=1` and the addon + is enabled. Best-effort and never a gate: a failed claim warns once and + execution continues. The daemon watches only plans that have a lead + record and reads each machine's plans through its own stdlib report + module over SSH (no remote herdr-peers install or version required). +2. **Loop semantics (owned by herdr-peers).** Completed plans are dropped; + C1–C7-blocked plans are left; an idle lead (5+ minutes, no lane working, + no open ask) receives one fixed continue prompt; a gone lead names the + first reachable successor (`lead takeover`; successors only in 1.3.0); + no-progress-after-N-nudges marks `stalled`. Every action is recorded + (`plan_open`, `plan_blocked`, `plan_no_lead`, `plan_stalled`). +3. **Notifications.** `autopilot --loop --notify ` runs a + human-chosen command with a `plan-event-v1` document on stdin for the + four terminal/attention events (`plan_stalled`, `plan_blocked`, + `plan_no_lead`, `plan_completed`; fields `schema`, `event`, `plan`, + `machine`, `lead`, `repo_root`, `blocker_class`, `at`; the command runs + without a shell under a 20 s timeout and must exit 0 quietly when it + cannot report). This addon ships + `scripts/notify-dailybot.py`: one Dailybot report via the installed CLI + (`dailybot agent update`, agent name `deepworkplan-loop`), exit `0` + silently when the CLI is absent, not logged in, or the send fails — the + daemon's notify path never breaks. herdr-peers itself names no product. + +**Invariants.** The daemon is started by a human only; no agent executing a +plan starts it. A nudge adds no authority — gates, stop conditions and +C1–C7 escalations bind as before. Without Herdr or with the addon disabled, +the pack behaves exactly as without this section. + ## 7. Never-Block Rule No Herdr, no helper, an unknown protocol, not inside Herdr, a ledger @@ -221,7 +258,7 @@ Nothing blocks `onboard`, `create`, `execute` or `verify`. 1. `SKILL.md`, `SPEC.md`, `install.md`, `addon.json`, `templates/INTEGRATION.md` exist; no protocol file ships in this folder. -2. `addon.json`: key `herdr`, product `DailybotHQ/herdr-peers` `v1.2.1`, +2. `addon.json`: key `herdr`, product `DailybotHQ/herdr-peers` `v1.3.1`, interface 1, transport `interactive`. 3. Every install line pins a tag; no pipeline text. 4. The registry entry exists only after acceptance. diff --git a/.agents/skills/deepworkplan/addons/herdr/addon.json b/.agents/skills/deepworkplan/addons/herdr/addon.json index 6222a37..84ddd2c 100644 --- a/.agents/skills/deepworkplan/addons/herdr/addon.json +++ b/.agents/skills/deepworkplan/addons/herdr/addon.json @@ -1,7 +1,7 @@ { "schema": "https://deepworkplan.com/schema/addon-descriptor/v1.json", "key": "herdr", - "product": { "repo": "DailybotHQ/herdr-peers", "tag": "v1.2.1", "interface": 1 }, + "product": { "repo": "DailybotHQ/herdr-peers", "tag": "v1.3.1", "interface": 1 }, "detect": { "command": "herdr-peers --version", "interface_from": "regex:\\(protocol (\\d+)\\)" }, "provides_abilities": ["subagents", "cancel_children"], "requires_grants": ["agent_delegation"], diff --git a/.agents/skills/deepworkplan/addons/herdr/install.md b/.agents/skills/deepworkplan/addons/herdr/install.md index ba736ac..1da22e6 100644 --- a/.agents/skills/deepworkplan/addons/herdr/install.md +++ b/.agents/skills/deepworkplan/addons/herdr/install.md @@ -17,7 +17,7 @@ the pinned official skill). ``` npx --yes skills add https://github.com/herdrdev/herdr/tree/v0.9.3 --skill herdr -g -y -npx --yes skills add https://github.com/DailybotHQ/herdr-peers/tree/v1.2.1 --skill herdr-peers -g -y +npx --yes skills add https://github.com/DailybotHQ/herdr-peers/tree/v1.3.1 --skill herdr-peers -g -y ``` Both `-y` flags are required in an agent's non-interactive shell (`npx @@ -25,13 +25,28 @@ Both `-y` flags are required in an agent's non-interactive shell (`npx The first is Herdr's official skill (the authority for every `herdr` command; `herdr --skill` prints the copy matching the installed binary). The second installs the herdr-peers skill and its helper script. Verify: -`herdr-peers --version` → `herdr-peers 1.2.1 (protocol 1)`. +`herdr-peers --version` → `herdr-peers 1.3.1 (protocol 1)`. + +**Plan loop (herdr-peers v1.3.1 and later).** To have open Deep Work Plans +run to their end without polling each lead, a human starts the loop daemon +with the pack's Dailybot notifier (agents never start it): + +``` +herdr-peers autopilot --loop --notify .agents/skills/deepworkplan/addons/herdr/scripts/notify-dailybot.py +``` + +The notifier sends one Dailybot report when a plan stalls, blocks on a +human-only item, loses its lead, or completes — and stays silent when the +Dailybot CLI is absent or not logged in. Plans become watchable the moment +`deepworkplan-execute` / `deepworkplan-resume` claim their lead record +(automatic with this addon enabled and `HERDR_ENV=1`; see `SKILL.md` — +"Plan loop"). For a scoped trial in one repository without touching `$HOME` (F-10), install the helper skill repo-locally — drop `-g`: ``` -npx --yes skills add https://github.com/DailybotHQ/herdr-peers/tree/v1.2.1 --skill herdr-peers -y +npx --yes skills add https://github.com/DailybotHQ/herdr-peers/tree/v1.3.1 --skill herdr-peers -y ``` It lands under the repository's agent skills directory (e.g. @@ -69,5 +84,5 @@ host profile — this addon describes them, never sets them. ## 4. Record the acceptance ``` -python3 /shared/config.py enable herdr --version v1.2.1 --repo +python3 /shared/config.py enable herdr --version v1.3.1 --repo ``` diff --git a/.agents/skills/deepworkplan/addons/herdr/scripts/notify-dailybot.py b/.agents/skills/deepworkplan/addons/herdr/scripts/notify-dailybot.py new file mode 100755 index 0000000..8a7ef02 --- /dev/null +++ b/.agents/skills/deepworkplan/addons/herdr/scripts/notify-dailybot.py @@ -0,0 +1,143 @@ +#!/usr/bin/env python3 +"""Plan-loop event notifier for the Dailybot CLI (herdr addon, DWP pack). + +Companion to `herdr-peers autopilot --loop --notify ` (herdr-peers +1.3.0): the daemon runs this script with a `plan-event-v1` JSON document on +stdin whenever a watched plan is stalled, blocked, left without a lead, or +completed. The script turns that event into one human-readable Dailybot +report when the Dailybot CLI is installed and logged in. + +Design contract (see ../SPEC.md, "Plan loop"): + +- **Never breaks the daemon.** Every exit path is `0` and silent unless a + report was actually sent: missing CLI, not logged in, invalid JSON, an + unknown event, or a failed send are all quiet no-ops. +- **Stdlib only** (python3 >= 3.9), no network of its own — the Dailybot + CLI owns auth and transport. +- **Human-first messages**: repository *basename*, plan *basename*, machine + and lead — never raw filesystem paths. + +Event fields (`plan-event-v1`): schema, event +(plan_stalled | plan_blocked | plan_no_lead | plan_completed), plan, machine, +lead, repo_root, blocker_class, at. +""" + +import json +import os +import shutil +import subprocess +import sys + +SCHEMA = "plan-event-v1" +AGENT_NAME = "deepworkplan-loop" +# The daemon runs this command without a shell under a 20 s timeout; stay +# below it so the script exits 0 by itself instead of being killed. +SEND_TIMEOUT_SECONDS = 15 + +# Human-readable summary per event class. Placeholders: plan, repo, machine, +# lead, blocker. Kept short on purpose — this is a notification, not a report. +MESSAGES = { + "plan_completed": ( + "Loop finished a plan: '{plan}' in {repo} ran to completion " + "(lead {lead}, machine {machine})." + ), + "plan_stalled": ( + "Loop stopped nudging a plan: '{plan}' in {repo} made no progress " + "after repeated prompts (lead {lead}, machine {machine}). " + "It needs a human look." + ), + "plan_blocked": ( + "A plan is waiting on its human: '{plan}' in {repo} is blocked " + "(class {blocker}; lead {lead}, machine {machine})." + ), + "plan_no_lead": ( + "A plan has nobody leading it: '{plan}' in {repo} lost its lead and " + "no successor is reachable (machine {machine})." + ), +} + + +def _basename(value): + """Last path segment of a plan id or repo root, '' when unusable. + + The daemon may pass an id ('PLAN_x') or a path; either way the basename + is the piece a human recognizes, and it never leaks a machine's + filesystem layout into a report. + """ + if not isinstance(value, str) or not value.strip(): + return "" + return value.rstrip("/").rsplit("/", 1)[-1].strip() + + +def _looks_like_event(document): + """Shape check only — tolerate extra fields, never trust them.""" + return ( + isinstance(document, dict) + and isinstance(document.get("event"), str) + ) + + +def build_message(event): + """Map one plan-event-v1 document to a notification string, or None.""" + if not _looks_like_event(event): + return None + kind = event.get("event") + template = MESSAGES.get(kind) + if template is None: + return None + blocker = event.get("blocker_class") + return template.format( + plan=_basename(event.get("plan")) or "(unnamed plan)", + repo=_basename(event.get("repo_root")) or "(unknown repo)", + machine=event.get("machine") or "unknown machine", + lead=event.get("lead") or "none", + blocker=blocker if isinstance(blocker, str) and blocker else "unspecified", + ) + + +def send(message, event): + """One best-effort `dailybot agent update`; the outcome never exits non-zero.""" + cli = shutil.which("dailybot") + if cli is None: + return + metadata = { + "repo": _basename(event.get("repo_root")), + "machine": event.get("machine"), + "event": event.get("event"), + "agent_tool": "herdr-peers-autopilot", + } + command = [ + cli, "agent", "update", message, + "--name", AGENT_NAME, + "--metadata", json.dumps({k: v for k, v in metadata.items() if v}), + ] + try: + subprocess.run( + command, + stdin=subprocess.DEVNULL, + stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, + timeout=SEND_TIMEOUT_SECONDS, + check=False, + ) + except (OSError, subprocess.SubprocessError): + pass + + +def main(): + try: + raw = sys.stdin.read() + event = json.loads(raw) + except (ValueError, OSError): + return 0 + if not isinstance(event, dict) or event.get("schema") not in (None, SCHEMA): + return 0 + message = build_message(event) + if message is None: + return 0 + send(message, event) + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/.agents/skills/deepworkplan/addons/machine-installs.md b/.agents/skills/deepworkplan/addons/machine-installs.md index 9e7bdc8..cbfbbf8 100644 --- a/.agents/skills/deepworkplan/addons/machine-installs.md +++ b/.agents/skills/deepworkplan/addons/machine-installs.md @@ -15,10 +15,10 @@ actually verified (`--ignore-missing` alone would pass with none). coding-agents-kit (`agentkit`): ```bash -git clone --branch v1.0.1 --depth 1 https://github.com/DailybotHQ/coding-agents-kit cak -git -C cak describe --tags --exact-match # must print v1.0.1 -curl -fsSL https://github.com/DailybotHQ/coding-agents-kit/releases/download/v1.0.1/SHA256SUMS -o cak.SHA256SUMS -echo "de17573e57de9eeb44914189cbc1fd0b1322797cc398c710dadfecc08758db6f cak.SHA256SUMS" | shasum -a 256 -c # the pinned digest +git clone --branch v1.3.0 --depth 1 https://github.com/DailybotHQ/coding-agents-kit cak +git -C cak describe --tags --exact-match # must print v1.3.0 +curl -fsSL https://github.com/DailybotHQ/coding-agents-kit/releases/download/v1.3.0/SHA256SUMS -o cak.SHA256SUMS +echo "5d9b215ff81c5662c4504f083c302d1ad5b02556d2a8714e8b65da1f7f9ef7e1 cak.SHA256SUMS" | shasum -a 256 -c # the pinned digest (cd cak && shasum -a 256 -c --ignore-missing ../cak.SHA256SUMS) # must exit 0 (cd cak && shasum -a 256 -c --ignore-missing ../cak.SHA256SUMS | grep -c ': OK$') # must print a number above 0 ./cak/install.sh @@ -27,10 +27,10 @@ echo "de17573e57de9eeb44914189cbc1fd0b1322797cc398c710dadfecc08758db6f cak.SHA2 devcontainer-kit (`devcontainer`): ```bash -git clone --branch v1.0.1 --depth 1 https://github.com/DailybotHQ/devcontainer-kit dck -git -C dck describe --tags --exact-match # must print v1.0.1 -curl -fsSL https://github.com/DailybotHQ/devcontainer-kit/releases/download/v1.0.1/SHA256SUMS -o dck.SHA256SUMS -echo "90d8ff62281c3671b1f800dd8de06ac14404069e032876648500b066419393a2 dck.SHA256SUMS" | shasum -a 256 -c # the pinned digest +git clone --branch v1.1.2 --depth 1 https://github.com/DailybotHQ/devcontainer-kit dck +git -C dck describe --tags --exact-match # must print v1.1.2 +curl -fsSL https://github.com/DailybotHQ/devcontainer-kit/releases/download/v1.1.2/SHA256SUMS -o dck.SHA256SUMS +echo "c7a5ffb737777473f08932f9a2de153518d923f5d7edeb4ab97fdd7537bf2374 dck.SHA256SUMS" | shasum -a 256 -c # the pinned digest (cd dck && shasum -a 256 -c --ignore-missing ../dck.SHA256SUMS) # must exit 0 (cd dck && shasum -a 256 -c --ignore-missing ../dck.SHA256SUMS | grep -c ': OK$') # must print a number above 0 ./dck/install.sh diff --git a/.agents/skills/deepworkplan/addons/vim/SKILL.md b/.agents/skills/deepworkplan/addons/vim/SKILL.md index 3c09c2f..2c503c3 100644 --- a/.agents/skills/deepworkplan/addons/vim/SKILL.md +++ b/.agents/skills/deepworkplan/addons/vim/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-vim -description: Optional DeepWorkPlan addon that offers DeepWorkPlan Vim, the terminal editor for Deep Work Plan (Neovim 0.12+, its own repository DailybotHQ/deepworkplan-vim pinned at v1.0.0), as a machine-level install for the person behind a repository - a thin integrator that reads the product's own addon/surface.json (interface 1) to detect the editor, offers it (never imposes it) from onboard Phase 7b, guides the product's documented, checksum-verified install under an absolute consent gate, and validates the installed surface. Two routes - the full editor today, the Neovim plugin in v7.1. Never required, never a conformance gate, and an existing Neovim config is never overwritten without explicit consent. -version: "7.10.1" +description: Optional DeepWorkPlan addon that offers DeepWorkPlan Vim, the terminal editor for Deep Work Plan (Neovim 0.12+, its own repository DailybotHQ/deepworkplan-vim pinned at v1.0.1), as a machine-level install for the person behind a repository - a thin integrator that reads the product's own addon/surface.json (interface 1) to detect the editor, offers it (never imposes it) from onboard Phase 7b, guides the product's documented, checksum-verified install under an absolute consent gate, and validates the installed surface. Two routes - the full editor today, the Neovim plugin in v7.1. Never required, never a conformance gate, and an existing Neovim config is never overwritten without explicit consent. +version: "7.12.0" documentation_url: https://deepworkplan.com/kit/vim user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write @@ -26,7 +26,7 @@ product's machine-readable surface, `addon/surface.json`, at the pinned tag | Pin | Value | |-----|-------| | Product | `DailybotHQ/deepworkplan-vim` | -| Tag | `v1.0.0` | +| Tag | `v1.0.1` | | Interface | `1` (read from `addon/surface.json` → `"interface"`) | | Registry key | `vim` (`.dwp/config.json` → `addons.vim`) | @@ -52,7 +52,7 @@ product's machine-readable surface, `addon/surface.json`, at the pinned tag ## Two routes -1. **The full editor (available now, v1.0.0).** The whole DeepWorkPlan Vim +1. **The full editor (available now, v1.0.1).** The whole DeepWorkPlan Vim config: command index, VS Code gestures, the read-only plan browser, the markdown viewer, the consent-first installer. This is what the offer installs. @@ -124,7 +124,7 @@ backstop is the installer's, never the agent's judgment. Show the person the product's documented install at the pinned tag (surface `install.steps`): download `install.sh` from the tag to a local file, verify its SHA-256 equals the pinned `install.script.sha256` (stop on -a mismatch), then run it with the ref pinned (`DWP_VIM_REF=v1.0.0 bash +a mismatch), then run it with the ref pinned (`DWP_VIM_REF=v1.0.1 bash install.sh`) — three separate steps, never a remote-installer pipe spelled in this pack's text. Windows and manual paths are a tagged `git clone` then `lua install.lua` (Windows first `winget install Neovim.Neovim`), never diff --git a/.agents/skills/deepworkplan/addons/vim/SPEC.md b/.agents/skills/deepworkplan/addons/vim/SPEC.md index df3f88f..c32f3d1 100644 --- a/.agents/skills/deepworkplan/addons/vim/SPEC.md +++ b/.agents/skills/deepworkplan/addons/vim/SPEC.md @@ -19,7 +19,7 @@ baseline AI-first conformance. Since 7.0.0 it is a **wired, thin integrator**: `onboard` Phase 7b offers it as an explicit opt-in, and every claim it makes about the editor is read from the product's machine-readable surface (`addon/surface.json`, interface `1`) at the pinned tag -`deepworkplan-vim@v1.0.0`. +`deepworkplan-vim@v1.0.1`. ## Status of This Document @@ -115,7 +115,7 @@ the consent gate, and validation. read as "editor absent". - The addon MUST present the editor **only as an offer**, stating what it is — **only** the features the pinned surface lists in `features[]` (at - `v1.0.0`: the command index, VS Code gestures, the read-only plan browser, + `v1.0.1`: the command index, VS Code gestures, the read-only plan browser, the markdown viewer, the consent-first installer, the read-only orchestrator lanes view) — and what it costs (a machine-level Neovim config, not a repo file). Declining MUST leave the @@ -151,14 +151,14 @@ The addon points at the editor's **versioned, documented** paths at the pinned tag. It MUST NOT vendor, mirror, re-implement, or "improve" the installer; the source of truth is `install.sh` at the editor repository root at the tag, with the website serving a byte-identical mirror. The -pinned surface (`install` block of `addon/surface.json` at `v1.0.0`) names +pinned surface (`install` block of `addon/surface.json` at `v1.0.1`) names the script location, its SHA-256 and the steps. - **macOS / Linux (canonical documented path):** the product's install page (`https://deepworkplan.com/vim`) — download the tag's `install.sh` to a local file, verify its SHA-256 against the pinned surface (stop on a mismatch — a mismatch MUST NOT be run), then run it with the ref pinned - (`DWP_VIM_REF=v1.0.0 bash install.sh`): **three separate steps**. A one-line + (`DWP_VIM_REF=v1.0.1 bash install.sh`): **three separate steps**. A one-line fetch-and-execute pipeline MUST NOT appear anywhere in this pack's text, even as an illustration of what not to do: lexical security scanners (Snyk E005 / Socket W012) flag the pipe shape wherever it @@ -166,9 +166,9 @@ the script location, its SHA-256 and the steps. `6a05ed9`). The product's own documentation owns its one-liner; pack copy describes the flow, it never spells the pipeline. - **Windows (documented path — never piped PowerShell):** - `winget install Neovim.Neovim`, then a `git clone --branch v1.0.0` of the + `winget install Neovim.Neovim`, then a `git clone --branch v1.0.1` of the repository into `%LOCALAPPDATA%\nvim`, then `lua install.lua`. -- **Manual (any OS):** `git clone --branch v1.0.0` into the config dir, then +- **Manual (any OS):** `git clone --branch v1.0.1` into the config dir, then `lua install.lua`. - **Who runs it.** The addon's default posture is to **point at the @@ -187,7 +187,7 @@ the script location, its SHA-256 and the steps. On acceptance (installed now, or deferred with the person's agreement), the addon records itself in the repository's addon registry — `.dwp/config.json` → `addons.vim` = `{"enabled": true, "version": -"v1.0.0"}` (`../../spec/CONFIG.md`). The write reconciles an existing file +"v1.0.1"}` (`../../spec/CONFIG.md`). The write reconciles an existing file (other keys untouched) and never happens on a decline. The registry entry is informative: the methodology reads nothing from it that could gate a plan. @@ -283,7 +283,7 @@ This SPEC versions independently of the DeepWorkPlan pack (`0.2.0` here). The editor product versions independently of both, through its own repository's release flow; compatibility is decided by the product's integer interface (`1`), the installed release by the tag the pack pins -(`v1.0.0`, bumped only with a parity-tested pack change). The pack records +(`v1.0.1`, bumped only with a parity-tested pack change). The pack records the editor's observed version from the installed surface and `nvim --version` at detection/validation time. diff --git a/.agents/skills/deepworkplan/addons/vim/addon.json b/.agents/skills/deepworkplan/addons/vim/addon.json index cf91cfb..1933446 100644 --- a/.agents/skills/deepworkplan/addons/vim/addon.json +++ b/.agents/skills/deepworkplan/addons/vim/addon.json @@ -1,7 +1,7 @@ { "schema": "https://deepworkplan.com/schema/addon-descriptor/v1.json", "key": "vim", - "product": { "repo": "DailybotHQ/deepworkplan-vim", "tag": "v1.0.0", "interface": 1 }, + "product": { "repo": "DailybotHQ/deepworkplan-vim", "tag": "v1.0.1", "interface": 1 }, "detect": { "paths": ["~/.config/nvim/addon/surface.json"], "legacy_paths": ["~/.config/nvim/install.lua", "~/.config/nvim/lua/plugins.lua"], "interface_from": "file-json:~/.config/nvim/addon/surface.json#interface" }, "provides_abilities": [], "requires_grants": [] diff --git a/.agents/skills/deepworkplan/addons/vim/templates/INTEGRATION.md b/.agents/skills/deepworkplan/addons/vim/templates/INTEGRATION.md index 9c0dcac..4a66bdf 100644 --- a/.agents/skills/deepworkplan/addons/vim/templates/INTEGRATION.md +++ b/.agents/skills/deepworkplan/addons/vim/templates/INTEGRATION.md @@ -57,7 +57,7 @@ checks) and what each implies: Present the editor as what it is — the terminal editor for Deep Work Plan — with its actual surface, and what it costs: a **machine-level Neovim config**, not a repo file. The only claims allowed are the pinned surface's -`features[]` (at `v1.0.0`): +`features[]` (at `v1.0.1`): - `command_index` — `hh` (generated live from the actual keymaps) - `vscode_gestures` — `` select-all in normal mode, `y` system @@ -108,9 +108,9 @@ accepted (§3), using the documented command **verbatim**. | OS | Path (verbatim from the editor's docs) | |----|----------------------------------------| -| macOS / Linux | The documented installer at the pinned tag (`https://deepworkplan.com/vim`): download `install.sh` to a local file, verify its SHA-256 against the pinned surface (`install.script.sha256`; stop on a mismatch), then `DWP_VIM_REF=v1.0.0 bash install.sh` — three separate steps. Never spell a remote-installer pipe in reasoning, output, or recorded notes. | -| Windows | `winget install Neovim.Neovim`, then `git clone --branch v1.0.0` into `%LOCALAPPDATA%\nvim`, then `lua install.lua`. **Never piped PowerShell.** | -| Manual (any OS) | `git clone --branch v1.0.0` into ``, then `lua install.lua`. | +| macOS / Linux | The documented installer at the pinned tag (`https://deepworkplan.com/vim`): download `install.sh` to a local file, verify its SHA-256 against the pinned surface (`install.script.sha256`; stop on a mismatch), then `DWP_VIM_REF=v1.0.1 bash install.sh` — three separate steps. Never spell a remote-installer pipe in reasoning, output, or recorded notes. | +| Windows | `winget install Neovim.Neovim`, then `git clone --branch v1.0.1` into `%LOCALAPPDATA%\nvim`, then `lua install.lua`. **Never piped PowerShell.** | +| Manual (any OS) | `git clone --branch v1.0.1` into ``, then `lua install.lua`. | Decision notes: @@ -119,7 +119,7 @@ Decision notes: (`DailybotHQ/deepworkplan-vim`); the website serves a byte-identical copy. - After any install, **re-detect** (§1) and record the observed version. - On acceptance, record `addons.vim` = `{"enabled": true, "version": - "v1.0.0"}` in the repository's `.dwp/config.json`, reconciling an existing + "v1.0.1"}` in the repository's `.dwp/config.json`, reconciling an existing file (other keys untouched). A decline writes nothing. - On Windows, reason which of the two documented paths fits the person's setup (winget availability vs git clone); do not mix them into a hybrid. diff --git a/.agents/skills/deepworkplan/author/SKILL.md b/.agents/skills/deepworkplan/author/SKILL.md index c9e41e3..98a5abf 100644 --- a/.agents/skills/deepworkplan/author/SKILL.md +++ b/.agents/skills/deepworkplan/author/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-author description: Author or update reusable skills, agents, and commands in the current repo — reason about the repo's .agents/ layout, follow the Open Agent Skills frontmatter contract, and keep the .agents/docs/ catalog in sync. Use when a developer wants to create or evolve the repo's agent kit (skills, agents, commands), or runs /skill-create or /agent-create. -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/create/SKILL.md b/.agents/skills/deepworkplan/create/SKILL.md index a44b9f6..3ccd8f7 100644 --- a/.agents/skills/deepworkplan/create/SKILL.md +++ b/.agents/skills/deepworkplan/create/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-create description: Create a Deep Work Plan for short or long work. Detect planning intent, materialize a compact Lite proposal first, then retain Lite or expand to Full task files when needed. Supports guided and trust handoff without executing product work. -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write @@ -55,8 +55,9 @@ Trust records the same rationale, chooses Lite or Full, marks it ready and pre-approved, and returns the execute command. An explicit Full preference wins; an explicit Lite preference is retained only if compact records can express every requirement and gate. Unknown scope triggers discovery, not an automatic Full -classification. Small planning work is a valid Lite plan; never route it to an -inline non-DWP alternative merely because it is small. +classification. Small but real planning work is a valid Lite plan; never route it to an +inline non-DWP alternative merely because it is small. Micro work is the §11 +exception (Step 3.1). ## Philosophy @@ -184,11 +185,9 @@ materializes a **Lite plan folder** — no draft file is written. > **Name format:** users type names in any format; you auto-convert to > `snake_case` internally. -> **Removed in 2.4.0:** `refined-draft`, `from-refined-draft` and its `from` -> alias. There is no draft artifact and no `.dwp/drafts/` directory — the Lite -> plan replaces them. If a repo still has a `.dwp/drafts/` folder from an earlier -> version, DWP neither reads nor writes it; the developer may delete it. To build -> a plan from an old draft's content, paste that content as the create context. +> **Removed in 2.4.0:** `refined-draft`, `from-refined-draft` and `from`. A +> leftover `.dwp/drafts/` is inert (spec §2); paste an old draft's content as +> the create context. ## Modes @@ -330,14 +329,16 @@ This step runs in **every** mode and is the substance of the plan; the mode only decides whether it is first reviewed before execution (guided) or handed off directly (trust). -- **3.1 Proportional rigor (`../spec/DWP_SPECIFICATION.md` §11).** Confirm the - work warrants a plan. A trivial single-concern change is **micro** tier and is - a first-class Lite plan: record a concise goal, gate and Final Review rather - than routing the developer out of DWP. Otherwise choose `standard` or - `deep` and record why in the plan README. A borderline call is recorded, never asked. +- **3.1 Proportional rigor (§11, normative).** A trivial single-concern change + is **micro**: guided, say a plan is disproportionate and offer the inline + form (a folder only if the developer, told, still asks); trust, record the + micro judgment and inline alternative in the README and materialize. + Otherwise choose `standard` or `deep` and record why; borderline calls are + recorded, never asked. - **3.2 Requirement inventory.** List every user requirement and constraint (from Steps 2–2.5 or the full-context input). Each one will need an **owning - task** and an **observable acceptance criterion**. + task** and an **observable acceptance criterion**. Keep the request + verbatim in `analysis_results/HUMAN_NOTE.md`; the approved plan binds. - **3.3 Task decomposition (`../spec/DWP_SPECIFICATION.md` §6.4).** One task, one objective: a task may perform several steps that serve its single granular objective, and must never bundle several objectives — prefer N @@ -775,6 +776,8 @@ real artifacts, and the receipt. Never let that final check depend on a fabricated success record of its own invocation. +**How-smuggling:** drop unrequested implementation moves no gate needs. + **For a Lite plan**, verify and fix before continuing: - **Requirements → tasks → gates** (Step 3.7) hold for the task records. - Task IDs are contiguous `1..N`; each `{#task-N}` anchor occurs exactly once; diff --git a/.agents/skills/deepworkplan/create/v6.md b/.agents/skills/deepworkplan/create/v6.md index 794ca2e..69a16bc 100644 --- a/.agents/skills/deepworkplan/create/v6.md +++ b/.agents/skills/deepworkplan/create/v6.md @@ -85,13 +85,21 @@ is the recorded authority, never the checks. `--authority` names the human; an honest name beats a precise one. Authority an agent relays from the developer says so (`relayed by `), and the developer's own words are kept verbatim in a note inside the plan folder — never in scratch space. +The same holds for the **request itself**, relayed or not: every plan keeps +the human's request verbatim in `analysis_results/HUMAN_NOTE.md`. Which text +governs is fixed: **the approved contract binds**; the verbatim request is +the reference it was derived from. A later disagreement between the two is +resolved by an amendment through refine, never by re-reading the request +over the contract. Delegates receive pointers to the note, not paraphrases. **v7: marking `parallel_safe` and granting delegation.** Mark a task `"parallel_safe": true` only when **all** hold: the repository enables a delegation addon (`python3 ../shared/config.py enabled --repo ` lists `agentkit` or `herdr`); the task's touched surface does not overlap a sibling that could be in progress at the same time; it declares a bounded -output; and its gates run in this plan. Otherwise omit the field — absent +output; its gates run in this plan; and it shares no interface (schema, +migration, generated artifact, lockfile) with a concurrent sibling — +`validate-contract` warns on overlaps. Otherwise omit the field — absent is false, and with no delegation addon the marker is noise. Grant `agent_delegation` only when the developer accepts delegation for this plan (trust mode records it as part of the pre-authorization); a marker diff --git a/.agents/skills/deepworkplan/execute/SKILL.md b/.agents/skills/deepworkplan/execute/SKILL.md index 9aa6a37..4ba63be 100644 --- a/.agents/skills/deepworkplan/execute/SKILL.md +++ b/.agents/skills/deepworkplan/execute/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-execute description: Execute Lite or Full Deep Work Plans task-by-task — select validation from the actual surface, preserve state and evidence, recover safely, and finish with the Final Review. -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write @@ -37,6 +37,10 @@ when their moment arrives. - [`../guide/swarm.md`](../guide/swarm.md) §17 — read only when the agentkit addon is enabled (capacity check at each task boundary: `../shared/swarm.py capacity`) or a handoff or succession is in play. + - [`../addons/herdr/SKILL.md`](../addons/herdr/SKILL.md) — read only when + `HERDR_ENV=1` and the herdr addon is enabled: at plan start, claim the + plan's lead record, `--succession` when successors are known + ("Plan loop"). - [`../spec/LITE_PLANS.md`](../spec/LITE_PLANS.md) — read only when the plan README declares `Plan Format: Lite` or a v2 state line (anchored task records, approval axis, promotion recovery). diff --git a/.agents/skills/deepworkplan/execute/v6.md b/.agents/skills/deepworkplan/execute/v6.md index f07a1f4..9839b40 100644 --- a/.agents/skills/deepworkplan/execute/v6.md +++ b/.agents/skills/deepworkplan/execute/v6.md @@ -118,7 +118,10 @@ For the task the scheduler selects (strict order, one at a time): evaluation, never `observed`; an agent never records a pass it did not check). Completion is **derived** (every criterion satisfied), never declared, so the snapshot shows `completed` exactly - when the records support it. + when the records support it. A gate-closed criterion that declares no `control` completes with a + non-blocking `§5.1.4 control missing` warning and observation: declare + `regression`/`discrimination` (a control pair) or `exempt` with a rationale + in the contract to make the decision explicit. 8. **Project and render** — `python3 ../shared/ledger.py --plan project && python3 ../shared/views.py --plan render --all`. Both are deterministic over the records. A generated view that a human diff --git a/.agents/skills/deepworkplan/guide/execution.md b/.agents/skills/deepworkplan/guide/execution.md index 2310726..c2e6cd1 100644 --- a/.agents/skills/deepworkplan/guide/execution.md +++ b/.agents/skills/deepworkplan/guide/execution.md @@ -96,7 +96,7 @@ Security is not a separate workstream bolted on at the end of a project — ever **(c) Skills reconciliation** — checks that every task's log carries a skills disposition and that every entry in `analysis_results/SKILLS_CANDIDATES.md` has one; finishes any warranted authoring still open (and validates it before (b) is final). **Promote load-bearing helpers on second use:** a script a gate or the lead depends on that still lives in scratch space or `analysis_results/` moves into the repository or a skill now; a plan that wrote such helpers and leaves the skills ledger empty fails this step. It does **not** re-read the whole plan to rediscover patterns and writes **no** second discovery report — the ledger is the record. -**(d) Documentation reconciliation** — sweeps every behavior-changing task's reconciled surface against the docs that register it: the gate registry (`docs/TESTING_GUIDE.md`) first, then architecture, module and feature docs, then the `AGENTS.md` index for new top-level surface. Misses are fixed **inside the review** and affected validations rerun; the result lands in `analysis_results/SECURITY_REVIEW.md` as a "Documentation reconciliation" subsection (checked → current, or the fixed list). Bounded to the plan's touched surface — a whole-repo documentation audit belongs to `/dwp-verify`. The plan does not close with an undocumented behavior-changing surface unless the user explicitly accepted the miss. +**(d) Documentation reconciliation** — sweeps every behavior-changing task's reconciled surface against the docs that register it: the gate registry (`docs/TESTING_GUIDE.md`) first, then architecture, module and feature docs, then the `AGENTS.md` index for new top-level surface. Misses are fixed **inside the review** and affected validations rerun; the result lands in `analysis_results/SECURITY_REVIEW.md` as a "Documentation reconciliation" subsection (checked → current, or the fixed list). Bounded to the plan's touched surface — a whole-repo documentation audit belongs to `/dwp-verify`. The plan does not close with an undocumented behavior-changing surface unless the user explicitly accepted the miss. Stable behavior the plan established is **promoted into existing tests or docs** (a regression test, the module doc, the gate registry) — never into a second living spec beside the code; the plan itself stays working state. Documentation is not a follow-up project — the plan closes with every surface it touched still legible in the docs that register it. The step exists because its absence has shipped real misses: a released feature whose new validation gate was never registered in the gate registry. diff --git a/.agents/skills/deepworkplan/onboard/SKILL.md b/.agents/skills/deepworkplan/onboard/SKILL.md index 9fa088e..a2db59e 100644 --- a/.agents/skills/deepworkplan/onboard/SKILL.md +++ b/.agents/skills/deepworkplan/onboard/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-onboard description: Make any repository AI-first — reason (never template) an adapted AGENTS.md, docs/, per-module docs and .agents/ kit from the real repo, discover and verify its full and scoped validation commands and source-to-test mapping, install the DeepWorkPlan skill, and, for a repository onboarded under an earlier version, perform a targeted, non-destructive, idempotent harness upgrade. Use when the developer wants to onboard or upgrade a repository for AI agents. -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/onboard/addons.md b/.agents/skills/deepworkplan/onboard/addons.md index 402a9cb..69d3430 100644 --- a/.agents/skills/deepworkplan/onboard/addons.md +++ b/.agents/skills/deepworkplan/onboard/addons.md @@ -78,22 +78,22 @@ records its Phase 7a status). Offer the seven optional ones independently: | Addon | Folder | Recommend in trust mode when… | |-------|--------|-------------------------------| -| **Devcontainer support** | [`../addons/devcontainer/`](../addons/devcontainer/SKILL.md) | the repo benefits from a reproducible isolated dev container (most repos with Docker/services). Pinned devcontainer-kit `v1.0.1` plus its `dck-dockerfile` skill; the repository owns its Dockerfile, no shared base image. | +| **Devcontainer support** | [`../addons/devcontainer/`](../addons/devcontainer/SKILL.md) | the repo benefits from a reproducible isolated dev container (most repos with Docker/services). Pinned devcontainer-kit `v1.1.2` plus its `dck-dockerfile` skill; the repository owns its Dockerfile, no shared base image. | | **Dailybot integration** | [`../addons/dailybot/`](../addons/dailybot/SKILL.md) | the developer/team **already uses Dailybot** or asks for team progress reporting — **do NOT auto-install for everyone**. | | **Dependency upgrade** | [`../addons/dependency-upgrade/`](../addons/dependency-upgrade/SKILL.md) | **near-default** — the repo has **declared dependencies** (any manifest or lockfile): offer **always**, and install the **inert** `/lib-upgrade` delegator under the onboarding consent **unless explicitly declined**. Installing the delegator runs **no** upgrade — upgrades are always explicit, gated work. | | **Design system** | [`../addons/design-system/`](../addons/design-system/SKILL.md) | the repo has a **user-facing interface surface**, detected per profile: when any surface is detected — even an ambiguous one — the evaluation and offer are **mandatory, not skippable**, with the detection rationale recorded. **visual-ui** (stylesheet with CSS custom properties, Tailwind config or `@theme` block, UI components, brand/style guide) is **strongly recommended**; **cli-output** (a CLI rendering library + a deliberate display layer) and **conversational** (a chat SDK or message-composition layer) are **recommended**. Every profile **requires explicit acceptance even in trust mode — none is auto-applied**. **Never offer for a repo with no interface surface** (pure library, headless service, infra-only). | -| **agentkit** | [`../addons/agentkit/`](../addons/agentkit/SKILL.md) | the developer wants plans to hand bounded `parallel_safe` tasks to other coding agents (claude, codex, cursor, …) — a machine-level install (`git clone --branch v1.0.1` + `install.sh`), never a repo requirement; delegation additionally needs each plan's `agent_delegation` grant. The kit runs agents in autonomy by default; the `--ask` / `AGENTKIT_PERMISSIONS=ask` opt-out always wins. | -| **Herdr** | [`../addons/herdr/`](../addons/herdr/SKILL.md) | the developer runs coding agents in [Herdr](https://herdr.dev) panes (one machine or several) and wants plans to ask a peer agent to take a task or run a native debate panel (by default, consequential plan decisions are debated; `decisions.debate off` turns it off) — a machine-level install of `herdr-peers@v1.2.1` (+ Herdr's official skill, pinned), never a repo requirement; delegation additionally needs each plan's `agent_delegation` grant. | -| **DeepWorkPlan Vim** | [`../addons/vim/`](../addons/vim/SKILL.md) | a person on this machine uses Neovim ≥ 0.12 or asks for a terminal editor for plans — a **machine-level** install, never a repo requirement; the editor is never imposed and an existing Neovim config is **never** overwritten without explicit consent (non-interactive runs onto an existing config stop at instructions). Pinned `deepworkplan-vim@v1.0.0`, detected through the product's `addon/surface.json`. | +| **agentkit** | [`../addons/agentkit/`](../addons/agentkit/SKILL.md) | the developer wants plans to hand bounded `parallel_safe` tasks to other coding agents (claude, codex, cursor, …) — a machine-level install (`git clone --branch v1.3.0` + `install.sh`), never a repo requirement; delegation additionally needs each plan's `agent_delegation` grant. The kit runs agents in autonomy by default; the `--ask` / `AGENTKIT_PERMISSIONS=ask` opt-out always wins. | +| **Herdr** | [`../addons/herdr/`](../addons/herdr/SKILL.md) | the developer runs coding agents in [Herdr](https://herdr.dev) panes (one machine or several) and wants plans to ask a peer agent to take a task or run a native debate panel (by default, consequential plan decisions are debated; `decisions.debate off` turns it off) — a machine-level install of `herdr-peers@v1.3.1` (+ Herdr's official skill, pinned), never a repo requirement; delegation additionally needs each plan's `agent_delegation` grant. | +| **DeepWorkPlan Vim** | [`../addons/vim/`](../addons/vim/SKILL.md) | a person on this machine uses Neovim ≥ 0.12 or asks for a terminal editor for plans — a **machine-level** install, never a repo requirement; the editor is never imposed and an existing Neovim config is **never** overwritten without explicit consent (non-interactive runs onto an existing config stop at instructions). Pinned `deepworkplan-vim@v1.0.1`, detected through the product's `addon/surface.json`. | | **AI Diff Reviewer** | [`../addons/ai-diff-reviewer/`](../addons/ai-diff-reviewer/SKILL.md) | **not offered here — installed in Phase 7a** (required local review, baseline since 2.3.0). In Phase 7b only confirm the Flow B (CI Action) opt-in decision if it was left open; never install the CI surface unrequested. | The first addon is **devcontainer support** ([`../addons/devcontainer/SKILL.md`](../addons/devcontainer/SKILL.md) + [`SPEC.md`](../addons/devcontainer/SPEC.md)), a thin integrator of -devcontainer-kit (`dck`, pinned `v1.0.1`). If the developer accepts: read +devcontainer-kit (`dck`, pinned `v1.1.2`). If the developer accepts: read that addon's `SKILL.md` and run its flow — detect the kit (`dck doctor --json`, interface `2`), install it and offer its `dck-dockerfile` skill -(`npx --yes skills add https://github.com/DailybotHQ/devcontainer-kit/tree/v1.0.1 --skill dck-dockerfile -y`), +(`npx --yes skills add https://github.com/DailybotHQ/devcontainer-kit/tree/v1.1.2 --skill dck-dockerfile -y`), then let the skill (or you, from the stack you detected in Phase 1) reason the service, runtime, ports and agents and render the repository's own layout — `.devcontainer/devcontainer.json`, @@ -194,7 +194,7 @@ The **DeepWorkPlan Vim** addon ([`../addons/vim/SKILL.md`](../addons/vim/SKILL.md) + [`SPEC.md`](../addons/vim/SPEC.md)) is a machine-level offer, not a repo change: detect Neovim and the editor read-only through the product's -`addon/surface.json` (pinned `deepworkplan-vim@v1.0.0`, interface `1`; an +`addon/surface.json` (pinned `deepworkplan-vim@v1.0.1`, interface `1`; an unknown interface is one warning and "not available"), then offer — never impose — the editor. On acceptance run that addon's flow: the product's documented, checksum-verified install under its absolute consent gate (an diff --git a/.agents/skills/deepworkplan/refine/SKILL.md b/.agents/skills/deepworkplan/refine/SKILL.md index 15d6b73..8936f3a 100644 --- a/.agents/skills/deepworkplan/refine/SKILL.md +++ b/.agents/skills/deepworkplan/refine/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-refine description: Refine a Deep Work Plan — safely edit scope, add, split or reorder tasks, promote a Lite plan to Full task files, recover a partial promotion, or explicitly migrate a legacy plan, always preserving completed evidence. -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/resume/SKILL.md b/.agents/skills/deepworkplan/resume/SKILL.md index 37538d0..1515738 100644 --- a/.agents/skills/deepworkplan/resume/SKILL.md +++ b/.agents/skills/deepworkplan/resume/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-resume description: Resume interrupted Lite or Full Deep Work Plans from durable Markdown and state, including safe recovery of promotions without duplicating completed work or gates. -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write @@ -216,6 +216,11 @@ pointer**, never by replaying everything. 7. **Smoke-test before building:** run the repo's cheapest standing check (from `AGENTS.md` Quick Commands) to confirm the world still works before adding to it. A failing smoke test is investigated first. +8. **Re-register as the plan's lead (Herdr plan loop).** With + `HERDR_ENV=1` and the herdr addon enabled, refresh + `herdr-peers lead claim --plan ` — adding + `--succession <…>` when the plan names successors — (never a gate; + `../../addons/herdr/SKILL.md` — "Plan loop"). ### Step 3 — Report Resumption Status Report, compactly: the plan's standard and pre-approval; completed `[x]` / diff --git a/.agents/skills/deepworkplan/shared/contract_v6.py b/.agents/skills/deepworkplan/shared/contract_v6.py index bddd704..492eacb 100644 --- a/.agents/skills/deepworkplan/shared/contract_v6.py +++ b/.agents/skills/deepworkplan/shared/contract_v6.py @@ -306,6 +306,85 @@ def contract_errors(doc, parents=None): return errors +# Path words and file names that mark a shared interface: two writers +# touching any of them can collide semantically even when their files differ +# (R8, ADR 0006). Words match whole path tokens (split on / . _ -), so +# "protocol/" is not "proto"; prose files (.md, .txt, .rst) never match. +SHARED_INTERFACE_WORDS = ('schema', 'schemas', 'migration', 'migrations', + 'generated', 'openapi', 'proto', 'protos') +SHARED_INTERFACE_FILES = ('package.json', 'pyproject.toml', 'go.mod', + 'cargo.toml') + + +def _is_shared_interface(path): + lowered = path.lower().rstrip('/') + name = lowered.rsplit('/', 1)[-1] + if name in SHARED_INTERFACE_FILES or name.endswith('.lock') or \ + name.endswith('lock.json') or name.endswith('.proto'): + return True + if name.endswith(('.md', '.txt', '.rst')): + return False # prose about a schema is not the schema + tokens = set(t for t in re.split(r'[/._-]+', lowered) if t) + return bool(tokens & set(SHARED_INTERFACE_WORDS)) + + +def _prerequisite_closure(tasks): + """task id -> every task id it transitively depends on.""" + direct = {t.get('id'): set(t.get('prerequisites') or []) for t in tasks} + closure = {} + for tid in direct: + seen, stack = set(), list(direct[tid]) + while stack: + dep = stack.pop() + if dep not in seen: + seen.add(dep) + stack.extend(direct.get(dep, ())) + closure[tid] = seen + return closure + + +def _surfaces_overlap(a, b): + a, b = a.rstrip('/'), b.rstrip('/') + return a == b or a.startswith(b + '/') or b.startswith(a + '/') + + +def parallel_overlap_warnings(doc): + """Warn (never refuse) when two tasks that may run concurrently are both + marked parallel_safe yet share a touched surface or a shared interface. + + File non-overlap is not semantic safety: schemas, migrations, generated + artifacts and lockfiles couple writers whose paths differ. Tasks ordered + by a prerequisite chain never run concurrently and are skipped. + """ + tasks = [t for t in doc.get('tasks', []) if t.get('parallel_safe') is True] + deps = _prerequisite_closure(doc.get('tasks', [])) + warnings = [] + for i, first in enumerate(tasks): + for second in tasks[i + 1:]: + a, b = first.get('id'), second.get('id') + if a in deps.get(b, ()) or b in deps.get(a, ()): + continue + sa = first.get('touched_surface') or [] + sb = second.get('touched_surface') or [] + shared = sorted({x for x in sa for y in sb + if _surfaces_overlap(x, y)}) + if shared: + warnings.append( + 'parallel_safe tasks %s and %s share touched surface %s - ' + 'they can collide when run concurrently; order them or ' + 'split the surface' % (a, b, ', '.join(shared))) + continue + ia = [x for x in sa if _is_shared_interface(x)] + ib = [y for y in sb if _is_shared_interface(y)] + if ia and ib: + warnings.append( + 'parallel_safe tasks %s and %s both touch shared ' + 'interfaces (%s / %s) - file non-overlap is not semantic ' + 'safety; declare one owner or order them' + % (a, b, ', '.join(ia), ', '.join(ib))) + return warnings + + def closure_errors(doc, warnings=None): """Criteria that no evidence can ever close (field report F-11). @@ -1746,6 +1825,7 @@ def main(argv): warnings = [] if not errors: draft = closure_errors(doc, warnings) + gate_command_errors(doc) + warnings += parallel_overlap_warnings(doc) if recorded: # an already-materialized contract (e.g. a migration's # records-only synthesis): draft checks are advisories diff --git a/.agents/skills/deepworkplan/shared/ledger.py b/.agents/skills/deepworkplan/shared/ledger.py index 7425440..4fdd8f5 100644 --- a/.agents/skills/deepworkplan/shared/ledger.py +++ b/.agents/skills/deepworkplan/shared/ledger.py @@ -1281,6 +1281,15 @@ def start_task(self, task_id, actor=None): root = self.repo_root() revision, rev_ok = self._git(['rev-parse', 'HEAD'], root) dirty, _dirty_ok = self._git(['status', '--porcelain'], root) + if dirty and rev_ok and self._controlled_criteria(task): + # D3-3 makes every control on a dirty-start attempt unavailable. + # Say so now, while committing first still fixes it (ADR 0006). + sys.stderr.write( + 'WARNING: %s starts on a dirty working tree and owns a ' + 'controlled criterion (%s): every control pair on this ' + 'attempt will be control_unavailable (D3-3). Commit the ' + 'work in progress before starting.\n' + % (task_id, ', '.join(self._controlled_criteria(task)))) payload = {'task': task_id, 'fingerprint': {'revision': revision if rev_ok and revision else 'none', @@ -1290,6 +1299,16 @@ def start_task(self, task_id, actor=None): 'identity': 'caller'}, idempotent=True) + def _controlled_criteria(self, task): + """Criteria in the task's gate intent that declare a control pair.""" + owned = {i.get('criterion') for i in task.get('gate_intent', [])} + return sorted( + c.get('id') for c in + self.r.contract.get('acceptance', {}).get('criteria', []) + if c.get('id') in owned and + (c.get('control') or {}).get('kind') in ('regression', + 'discrimination')) + def run_control(self, task_id, criterion, command, artifacts, timeout=600): """Execute BOTH legs of a declared control and record the pair. @@ -1369,7 +1388,13 @@ def run_control(self, task_id, criterion, command, artifacts, 'cannot be materialized from a fingerprint alone') elif dirty: why = ('starting fingerprint carries a dirty component - the ' - 'old leg cannot be faithfully materialized (D3-3)') + 'old leg cannot be faithfully materialized (D3-3); ' + 'recovery works only before the fix is written: commit ' + 'or set aside the unrelated work in progress, then ' + 'restarting the task (ledger.py start) opens a new ' + 'attempt with a clean starting fingerprint - once the ' + 'fix is in the tree, a restart puts it in the old leg ' + 'and the pair records non_discriminating') else: worktree = os.path.join(tempfile.mkdtemp( prefix='dwp-control-'), 'old-leg') @@ -1800,8 +1825,48 @@ def complete_task(self, task_id, actor=None): 'completion of %s refused: %d criterion(s) lack in-window ' 'accepted evidence (zero-test control)' % (task_id, len(missing))) + self._warn_undecided_controls(task_id, states) return states + def _warn_undecided_controls(self, task_id, states): + """Spec §5.1.4, made visible without blocking (ADR 0006). + + A criterion that declares no control closed on ordinary evidence: + nothing shows its gate failing on a seeded defect. Warn once per + criterion and attempt, and record the finding as an observation so + the compliance audit can count it. Controlled criteria already need + a control pair; 'exempt' is a decision with a rationale. Never + refuses: enforcement is a deferred v8 candidate. + """ + declared = {c.get('id'): c for c in + self.r.contract.get('acceptance', {}).get('criteria', [])} + start = self.task_start_seq(task_id) or 0 + already = {e.get('statement') for e in self.events + if e.get('type') == 'observation' and + e.get('seq', 0) >= start} + for state in states: + crit = declared.get(state.get('criterion')) or {} + # only gate-closed criteria can show a seeded-defect failure; + # a decided control (incl. exempt) is not this finding + if crit.get('control') or \ + 'observed' not in crit.get('accepted_evidence', []): + continue + statement = ('§5.1.4 control missing: %s closed on ordinary ' + 'evidence with no declared control (declare ' + 'regression/discrimination, or exempt with a ' + 'rationale)' % crit.get('id')) + if statement in already: + continue + sys.stderr.write('WARNING: %s\n' % statement) + self._append_raw('observation', {'statement': statement}, + actor={'kind': 'helper', + 'identity': LEDGER_IDENTITY}, + ts=_utc_now(), trust='asserted', + evidence_path='contract.json', + note='mediated by the ledger reading the ' + 'contract at completion of %s ' + '(non-blocking)' % task_id) + # -- delegation (v7, spec/V7_CONTRACT.md section 3) ---------------------- def delegations(self, task_id=None): diff --git a/.agents/skills/deepworkplan/spec/ADDONS.md b/.agents/skills/deepworkplan/spec/ADDONS.md index baa41e9..8e65381 100644 --- a/.agents/skills/deepworkplan/spec/ADDONS.md +++ b/.agents/skills/deepworkplan/spec/ADDONS.md @@ -133,19 +133,19 @@ form**; only its CI surface is optional. - An optional addon at `skills/deepworkplan/addons/devcontainer/` that gives a repository a reproducible dev container through **devcontainer-kit** (`dck`; `https://github.com/DailybotHQ/devcontainer-kit`, MIT, its own - release cycle) pinned at `v1.0.1` (interface `2`). The kit owns the + release cycle) pinned at `v1.1.2` (interface `2`). The kit owns the Dockerfile template and its render (`dck init`, which reconciles and never clobbers), the pinned images and tools, the entrypoint, the launcher, SSH agent forwarding, Herdr registration and the `dck-dockerfile` skill; the addon owns detection, the offer, the stack → options reasoning, the registry record and validation. - **Per-repository layout, no shared base image (devcontainer-kit - `v1.0.1`):** the render produces `.devcontainer/devcontainer.json`, + `v1.1.2`):** the render produces `.devcontainer/devcontainer.json`, `docker/local//Dockerfile` (plus its entrypoint), `docker/local/docker-compose.yaml` and `dev.sh`. The Dockerfile starts from the official runtime image pinned by digest; the kit's GHCR base image is not required. The addon offers the skill through - `npx --yes skills add https://github.com/DailybotHQ/devcontainer-kit/tree/v1.0.1 --skill dck-dockerfile -y` + `npx --yes skills add https://github.com/DailybotHQ/devcontainer-kit/tree/v1.1.2 --skill dck-dockerfile -y` (repo-local), and the pack keeps no copy of the template. - **Vendor-neutral (7.0.0):** the 1.x in-pack templates and their company-specific requirements are retired; no network, volume, CLI or @@ -348,14 +348,14 @@ form**; only its CI surface is optional. ### 6.6 Herdr (sixth addon — interactive delegation transport, thin integrator) An optional addon integrating **herdr-peers** (`DailybotHQ/herdr-peers`, -MIT, its own release cycle) pinned at `v1.2.1` (protocol/interface `1`), as +MIT, its own release cycle) pinned at `v1.3.1` (protocol/interface `1`), as the **interactive** transport of v7 delegation ([`V7_CONTRACT.md`](V7_CONTRACT.md)): one `herdr-peers ask` to a peer agent in a [Herdr](https://herdr.dev) pane on any reachable machine, recorded in the plan journal before the reply is relied on, the reply asserted until the plan's own gates observe the work. `onboard` Phase 7b offers it as an **explicit opt-in**; installs are the pinned skills -(`herdr-peers@v1.2.1`, Herdr's official `herdr@v0.9.3`). +(`herdr-peers@v1.3.1`, Herdr's official `herdr@v0.9.3`). Placement decision (revised for 7.0.0): the peer protocol — stamp, grant, reply, loop guard, depth limit 1, fan-out cap, scope — moved out of the @@ -391,7 +391,7 @@ lives in its own public repository (`https://github.com/DailybotHQ/deepworkplan-vim`, GPL-3.0, versioned independently of the pack); this folder is the DWP-side integration contract only, a **thin integrator** pinned to the product tag -`deepworkplan-vim@v1.0.0`: detection, feature claims and the install steps +`deepworkplan-vim@v1.0.1`: detection, feature claims and the install steps are read from the product's machine-readable surface (`addon/surface.json`, interface `1`); an unknown interface major is one warning and "not available", never an error. `onboard` Phase 7b offers it as an **explicit @@ -449,14 +449,14 @@ The shipped set: | key | product (pinned) | provides_abilities | requires_grants | transport | |---|---|---|---|---| -| `agentkit` | `DailybotHQ/coding-agents-kit` `v1.0.1`, interface 1 | `subagents`, `cancel_children`, `model_routing` | `agent_delegation` | `headless` | +| `agentkit` | `DailybotHQ/coding-agents-kit` `v1.3.0`, interface 1 | `subagents`, `cancel_children`, `model_routing` | `agent_delegation` | `headless` | | `ai-diff-reviewer` | `DailybotHQ/ai-diff-reviewer` `v3.3.16` | — | — | — | | `dailybot` | `DailybotHQ/agent-skill` `v3.23.20` | `telemetry` (reporting only, consent-gated) | — | — | | `dependency-upgrade` | in-pack only | — | — | — | | `design-system` | in-pack only | — | — | — | -| `devcontainer` | `DailybotHQ/devcontainer-kit` `v1.0.1`, interface 2 | — | — | — | -| `herdr` | `DailybotHQ/herdr-peers` `v1.2.1`, interface 1 | `subagents`, `cancel_children` | `agent_delegation` | `interactive` | -| `vim` | `DailybotHQ/deepworkplan-vim` `v1.0.0`, interface 1 | — | — | — | +| `devcontainer` | `DailybotHQ/devcontainer-kit` `v1.1.2`, interface 2 | — | — | — | +| `herdr` | `DailybotHQ/herdr-peers` `v1.3.1`, interface 1 | `subagents`, `cancel_children` | `agent_delegation` | `interactive` | +| `vim` | `DailybotHQ/deepworkplan-vim` `v1.0.1`, interface 1 | — | — | — | A descriptor is **data**: the pack executes nothing it names except its `detect.command`, and only for an addon the registry enables — or, when diff --git a/.agents/skills/deepworkplan/spec/CONFIG.md b/.agents/skills/deepworkplan/spec/CONFIG.md index fb88fc7..bc4ee2a 100644 --- a/.agents/skills/deepworkplan/spec/CONFIG.md +++ b/.agents/skills/deepworkplan/spec/CONFIG.md @@ -34,7 +34,7 @@ Both files share one shape: "benchmark": { "enabled": true, "learnings": true }, "addons": { "ai-diff-reviewer": { "enabled": true, "version": "v3.3.16" }, - "herdr": { "enabled": true, "version": "v1.2.1" }, + "herdr": { "enabled": true, "version": "v1.3.1" }, "agentkit": { "enabled": false }, "devcontainer": { "enabled": true, "version": "v1.0.1" }, "vim": { "enabled": true, "version": "v1.0.0" }, diff --git a/.agents/skills/deepworkplan/spec/DWP_SPECIFICATION.md b/.agents/skills/deepworkplan/spec/DWP_SPECIFICATION.md index f9ac248..eefa98f 100644 --- a/.agents/skills/deepworkplan/spec/DWP_SPECIFICATION.md +++ b/.agents/skills/deepworkplan/spec/DWP_SPECIFICATION.md @@ -128,6 +128,11 @@ interpreted as described in [RFC 2119](https://www.rfc-editor.org/rfc/rfc2119). | **Executive Report** | An optional, on-request stakeholder artifact generated after completion (§6.3). | | **Orchestrator plan** | A plan in an orchestrator hub that creates and coordinates **child DWPs** in sub-repos. | | **`.dwp/`** | The gitignored repo-root output directory: `.dwp/plans/`. | +| **Harness** | The agent scaffolding a DWP repository carries: `AGENTS.md`, `docs/`, `.agents/` and the installed skill. **The repository is the harness**: these files are versioned and travel with the code. | +| **Session-durable** | A plan survives sessions, context resets and agent changes in the repository's working copy. Any agent working there can resume it, including several agents on one plan. Every plan is session-durable by rule (§2). | +| **Host-portable** | A plan can move to another machine or a fresh clone only through an explicit export (`ledger.py export`). Plans are host-portable by export, never implicitly. | +| **Repo-durable** | Committed to version control and present in every clone. DWP plans are **not** repo-durable: `.dwp/` is git-ignored working state. A fresh clone starts without plans unless one is exported. | +| **Spec-first** | The planning step's level in Böckeler's taxonomy of spec-driven development: the plan is written before the code, with acceptance criteria, and serves one work episode. A DWP plan is spec-first; it is not spec-anchored (kept and maintained alongside the code) and not spec-as-source (the only human-edited artifact). | --- @@ -147,6 +152,13 @@ interpreted as described in [RFC 2119](https://www.rfc-editor.org/rfc/rfc2119). - `.dwp/` **MUST** be git-ignored (added to the repo's `.gitignore`). Plan execution artifacts are working state, not tracked deliverables. +- Durability is stated with the terms of §1.2 and never stronger: a plan is + **session-durable** (any agent in the working copy resumes it), + **host-portable** only by explicit export, and **not repo-durable**. + Documentation and public copy describing DWP **MUST NOT** call plans + version-controlled or imply that a fresh clone carries them; they **MAY** + say that the repository is the harness, because the harness files are + tracked. - The legacy `.agent_commands/agent_deep_work_plans/results/` tree **MUST NOT** be used by v2 plans. On migration, existing plans **MUST** be relocated or archived, and **MUST NOT** be blind-deleted (`ORCHESTRATOR_MANIFEST.md` key decision). @@ -607,6 +619,11 @@ apply to every plan and every agent that continues one: does not prove the rule. A test of exact output checks it with a sentinel (`[ "$(f x; printf s)" = $'y\ns' ]`): `$(…)` strips trailing newlines, so output that drops or doubles its final newline would otherwise pass. + In a v6/v7 plan the ledger makes this rule visible without blocking: when a + gate-closed criterion that declares no `control` completes, `ledger.py + complete` warns and records a `§5.1.4 control missing` observation; a + declared control, including `exempt` with a rationale, is a decision and + draws no warning (ADR 0006). 2. **Compare to the base.** Performance, coverage and size are compared against the base branch (or the plan's starting revision), not only against a threshold; a regression against the base is reported even when the @@ -690,6 +707,13 @@ decisions move **into the task that produced the pattern** (§6.2), and the Executive Report becomes an **optional artifact generated on request** (§6.3). Nothing in the security pass is relaxed. +A plan **SHOULD** keep the human's request verbatim in a note inside the plan +folder (`analysis_results/HUMAN_NOTE.md`), and delegates **SHOULD** receive a +pointer to it rather than a paraphrase. The approved plan (in v6/v7, the +contract) **binds**; the verbatim request is its reference. A disagreement +between them is resolved by an amendment, never by re-reading the request +over the approved plan. + ### 6.1. Task N — Final Review The Final Review **MUST**, in this order: diff --git a/.agents/skills/deepworkplan/spec/V6_CONTRACT.md b/.agents/skills/deepworkplan/spec/V6_CONTRACT.md index 56227c8..3be0d55 100644 --- a/.agents/skills/deepworkplan/spec/V6_CONTRACT.md +++ b/.agents/skills/deepworkplan/spec/V6_CONTRACT.md @@ -174,7 +174,14 @@ semantics — that limit is stated here and MUST NOT be papered over. records `control_unavailable` — an unavailable old leg carries no outcome, never a synthesized old-tree result. The old leg carries exactly the declared `check_artifacts` paths back to the starting-fingerprint -worktree; the declaration is the whitelist. +worktree; the declaration is the whitelist. Because a dirty start voids every +control on the attempt, `ledger.py start` warns when a task that owns a +controlled criterion starts on a dirty tree. The recovery works only +before the fix is written: commit or set aside the unrelated work in +progress and restart the task, which opens a new attempt with a clean +starting fingerprint. Once the fix is in the tree, a restart puts it in the +old leg and the pair records `non_discriminating`. D3-3 itself is unchanged +(ADR 0006). ## 4. Validation (two halves, one contract) diff --git a/.agents/skills/deepworkplan/spec/V7_CONTRACT.md b/.agents/skills/deepworkplan/spec/V7_CONTRACT.md index c99e30e..530e06e 100644 --- a/.agents/skills/deepworkplan/spec/V7_CONTRACT.md +++ b/.agents/skills/deepworkplan/spec/V7_CONTRACT.md @@ -44,6 +44,13 @@ - Marking a task changes no authority: delegation additionally needs the `agent_delegation` grant (§4). A contract without the grant may still carry markers; they authorize nothing. +- File non-overlap is not semantic safety. `contract_v6.py + validate-contract` **warns** (never refuses) when two `parallel_safe` + tasks that no prerequisite chain orders share a touched surface (a + directory covers the files inside it) or both touch shared interfaces — + schemas, migrations, generated artifacts, lockfiles, package manifests. + Resolve the warning by ordering the tasks, splitting the surface, or + declaring one owner (ADR 0006). ## 3. The journal: the `delegation` event diff --git a/.agents/skills/deepworkplan/spec/V7_ROADMAP.md b/.agents/skills/deepworkplan/spec/V7_ROADMAP.md index 2db9efe..6543ba8 100644 --- a/.agents/skills/deepworkplan/spec/V7_ROADMAP.md +++ b/.agents/skills/deepworkplan/spec/V7_ROADMAP.md @@ -27,7 +27,7 @@ number), and the pack carries a **thin integrator** for it — never a copy. | **Addon-provided abilities** | effective abilities = host ∪ abilities of enabled, valid, detected, interface-compatible addons; computed per call, never persisted; an ability is never authority or consent ([`V7_ABILITIES.md`](V7_ABILITIES.md)). | | **v7 contract generation** | `plan-contract/v7` (v6 + `parallel_safe`), `journal-event/v7` (v6 + `delegation`), `plan-manifest/v7`; default for new plans; v6 plans unchanged ([`V7_CONTRACT.md`](V7_CONTRACT.md)). | | **Delegation** | `ledger.py delegate launch|observe|collect|cancel` behind a recorded gate (grant, marker, ability); `execute/delegation.md`; a delegate's result stays `asserted` until the plan's own gates observe it. | -| **Thin integrators** | `agentkit` → `coding-agents-kit@v1.0.1` (headless transport, `ak run`; autonomy by default with an always-winning opt-out since `v0.2.0`); `herdr` → `herdr-peers@v1.2.1` (interactive transport and native debate panels; stamp `[herdr-peers]`, protocol owned by herdr-peers); `devcontainer` → `devcontainer-kit@v1.0.1` (`dck init` and the `dck-dockerfile` skill, interface 2, per-repository Dockerfile, vendor-neutral); `vim` → `deepworkplan-vim@v1.0.0` (surface-driven editor offer). | +| **Thin integrators** | `agentkit` → `coding-agents-kit@v1.3.0` (headless transport, `ak run`; autonomy by default with an always-winning opt-out since `v0.2.0`); `herdr` → `herdr-peers@v1.3.1` (interactive transport and native debate panels; stamp `[herdr-peers]`, protocol owned by herdr-peers); `devcontainer` → `devcontainer-kit@v1.1.2` (`dck init` and the `dck-dockerfile` skill, interface 2, per-repository Dockerfile, vendor-neutral); `vim` → `deepworkplan-vim@v1.0.1` (surface-driven editor offer). | | **Pre-release channel** | `prerelease.yml` cuts `X.Y.Z-beta.N` on dispatch (never `latest`, with `SHA256SUMS`); stable releases ignore pre-release tags and graduate only on `[graduate]`. | | **Standard** | DWP standard **7.0.0** (normative additions above); `6.0.0` declarations stay valid. | diff --git a/.agents/skills/deepworkplan/status/SKILL.md b/.agents/skills/deepworkplan/status/SKILL.md index c1640a4..e73f4d5 100644 --- a/.agents/skills/deepworkplan/status/SKILL.md +++ b/.agents/skills/deepworkplan/status/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-status description: Report Lite or Full Deep Work Plan status — format, approval, readiness, progress, checkpoint, blockers and Markdown/state consistency — without modifying anything. -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob diff --git a/.agents/skills/deepworkplan/upgrade/SKILL.md b/.agents/skills/deepworkplan/upgrade/SKILL.md index e3f564c..046b3e2 100644 --- a/.agents/skills/deepworkplan/upgrade/SKILL.md +++ b/.agents/skills/deepworkplan/upgrade/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-upgrade description: Check whether a newer DeepWorkPlan skill and DWP standard exists and — only after the developer explicitly accepts — install the latest published tag through the documented channel and re-run onboarding exactly as if https://deepworkplan.com/init.md were executed fresh, preserving every plan under .dwp/ and surfacing local adaptations instead of silently overwriting them. Use when the developer asks to upgrade, update, or refresh DWP in a repository that already has it installed. Do not use it to onboard a repo for the first time (that is the onboard sub-skill) or to migrate an old plan's shape (that is refine migrate, and plans are never migrated by an upgrade). -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/verify/SKILL.md b/.agents/skills/deepworkplan/verify/SKILL.md index 9bb0eb5..8a5e123 100644 --- a/.agents/skills/deepworkplan/verify/SKILL.md +++ b/.agents/skills/deepworkplan/verify/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-verify description: Verify that a repository is DeepWorkPlan-conformant (AI-first) and that its plans are well-formed, producing an objective pass/fail report. Use when the developer asks to verify, audit, or check conformance of a repo or a plan. -version: "7.10.1" +version: "7.12.0" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob @@ -54,6 +54,23 @@ flow. Repository-only checks still run without Python. The checker accepts both the judgment checks (real commands, real toolchain, catalog-matches-disk) on top — the script verifies *structure*; you verify *substance*. +## Compliance audit of finished plans (read-only) + +Conformance asks whether a plan is well-formed; the compliance audit asks +whether finished v6/v7 work followed the rules the pack already ships: +criteria closed on their declared evidence class, a completed Final Review, +declared controls and their verdicts (dirty-start voids counted), §5.1.4 +`control missing` observations, a verbatim request kept, and re-anchoring +(reported unmeasured — execution leaves no record of it). It never writes. + +```bash +python3 {skill_dir}/verify/compliance_audit.py --plans-dir .dwp/plans # every plan +python3 {skill_dir}/verify/compliance_audit.py --json # one plan, JSON +``` + +Findings are data for the next roadmap, not conformance failures: the audit +exits `0` when it ran and `2` on a usage error or an unreadable plan. + ## Parameter support - `/dwp-verify` — verify the repository (the default). diff --git a/.agents/skills/deepworkplan/verify/compliance_audit.py b/.agents/skills/deepworkplan/verify/compliance_audit.py new file mode 100644 index 0000000..6c4798d --- /dev/null +++ b/.agents/skills/deepworkplan/verify/compliance_audit.py @@ -0,0 +1,249 @@ +#!/usr/bin/env python3 +"""Compliance audit of finished v6/v7 plans; read-only, standard library only. + +Conformance (`conformance.sh`) asks whether a plan is well-formed. This audit +asks whether the work followed the rules the pack already ships, so the next +roadmap does not re-propose mechanisms that exist but are unused (ADR 0006, +R17/R11). It reads a plan's own records - `contract.json`, `journal.ndjson`, +`state.json`, `analysis_results/` - and never writes, repairs or runs +anything. + +Per plan it reports: + * criteria closed on a declared evidence class, and criteria closed outside it; + * whether a Final Review task completed; + * declared controls and their latest control-pair verdicts, including + dirty-start `control_unavailable` voids (D3-3); + * `§5.1.4 control missing` observations the ledger recorded at completion; + * whether the human request is kept verbatim (`analysis_results/HUMAN_NOTE.md`); + * re-anchoring: reported as unmeasured, because execution leaves no record + of it (the honest answer until a record exists). + +Usage: + compliance_audit.py PLAN_DIR [PLAN_DIR ...] [--json] + compliance_audit.py --plans-dir DWP_PLANS_DIR [--json] + +Exit 0 when the audit ran (findings are data, not failures); 2 on usage +errors, or when a plan was unreadable (reported as skipped; the other plans +are still audited). +""" +import json +import os +import re +import sys + +sys.dont_write_bytecode = True +sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), + os.pardir, 'shared')) +import ledger # noqa: E402 (read-side helpers only: PlanRecords, snapshot) + +RECORD_SCHEMAS = ('plan-manifest/v6.json', 'plan-manifest/v7.json') +_FINAL_REVIEW = re.compile(r'final[-_ ]?review', re.IGNORECASE) + + +def _read_json(path): + with open(path, encoding='utf-8') as handle: + return json.load(handle) + + +def _has_human_note(plan_dir): + """A verbatim request kept anywhere under analysis_results/.""" + root = os.path.join(plan_dir, 'analysis_results') + for _dir, _subdirs, files in os.walk(root): + if any(f.startswith(('HUMAN_NOTE', 'HUMAN_REQUEST')) and + f.endswith('.md') for f in files): + return True + return False + + +def generation(plan_dir): + """'v6' / 'v7' for a record-layer plan, else None (never judged here).""" + manifest = os.path.join(plan_dir, 'manifest.json') + if not os.path.isfile(manifest): + return None + try: + schema = _read_json(manifest).get('schema', '') + except (OSError, ValueError): + return None + for suffix in RECORD_SCHEMAS: + if schema.endswith(suffix): + return suffix.split('/')[-1][:2] + return None + + +def audit_plan(plan_dir): + """One plan's compliance record (a plain dict, JSON-serializable).""" + plan_dir = os.path.abspath(plan_dir) + name = os.path.basename(plan_dir.rstrip('/')) + gen = generation(plan_dir) + if gen is None: + return {'plan': name, 'generation': None, + 'skipped': 'not a v6/v7 record-layer plan'} + # The same read side the verifier uses: the live contract (highest + # revision under contracts/) and a snapshot derived from the journal, + # computed without the lock and without writing. + records = ledger.PlanRecords(plan_dir) + contract = records.contract + events, _torn, _framing = records.read_journal() + events = records.archived_events() + events + snapshot = ledger.read_only_snapshot(records) + statuses = {t.get('id'): t.get('status') + for t in snapshot.get('tasks', [])} + criteria = contract.get('acceptance', {}).get('criteria', []) + owner = {} + for task in contract.get('tasks', []): + for intent in task.get('gate_intent', []): + owner[intent.get('criterion')] = task.get('id') + + # "Closed" is decided exactly as the ledger decides it at completion + # (ledger.criterion_states: in-window gate runs, amendment-invalidated + # evidence excluded). A criterion with an in-window passing gate run + # whose trust label the criterion does not accept is "outside". + invalid_before = ledger.invalidated_before(events) + accepted_by = {c.get('id'): set(c.get('accepted_evidence') or []) + for c in criteria} + satisfied, outside = set(), set() + for task in contract.get('tasks', []): + tid = task.get('id') + try: + states = ledger.criterion_states(contract, events, tid) + except ledger.LedgerError: + continue + start = ledger.task_start_seq_of(events, tid) + for state in states: + cid = state.get('criterion') + if state.get('satisfied'): + satisfied.add(cid) + continue + if start is None: + continue + for e in events: + if e.get('type') == 'gate_run' and \ + e.get('criterion') == cid and \ + e.get('task') == tid and \ + e.get('exit_code') == 0 and \ + e.get('seq', 0) >= start and \ + e.get('seq', 0) >= invalid_before.get(cid, 0) and \ + e.get('trust') not in accepted_by.get(cid, set()): + outside.add(cid) + closed_ok = [c.get('id') for c in criteria if c.get('id') in satisfied] + closed_outside = [c.get('id') for c in criteria + if c.get('id') in outside and + c.get('id') not in satisfied] + unclosed = [c.get('id') for c in criteria + if c.get('id') not in satisfied and + c.get('id') not in outside] + + # The Final Review is named, not flagged, in a contract: match the + # task id or title ("T-final-review", "Final Review"), not any "final". + final_tasks = [t.get('id') for t in contract.get('tasks', []) + if _FINAL_REVIEW.search('%s %s' % (t.get('id') or '', + t.get('title') or ''))] + final_review = 'completed' if any( + statuses.get(t) == 'completed' for t in final_tasks) else ( + 'missing' if not final_tasks else 'not completed') + + controlled = [c.get('id') for c in criteria + if (c.get('control') or {}).get('kind') in + ('regression', 'discrimination')] + verdicts = {} + dirty_voids = 0 + for event in events: + if event.get('type') != 'control_pair': + continue + verdicts[event.get('criterion')] = event.get('verdict') + if event.get('verdict') == 'control_unavailable' and \ + (event.get('starting_fingerprint') or {}).get('dirty'): + dirty_voids += 1 + undecided = [c.get('id') for c in criteria + if not c.get('control') and + 'observed' in (c.get('accepted_evidence') or [])] + missing_obs = sum(1 for e in events if e.get('type') == 'observation' and + 'control missing' in (e.get('statement') or '')) + + return { + 'plan': name, + 'generation': gen, + 'tasks_completed': sum(1 for s in statuses.values() if s == 'completed'), + 'tasks_total': len(contract.get('tasks', [])), + 'criteria_closed_on_declared_class': closed_ok, + 'criteria_closed_outside_declared_class': closed_outside, + 'criteria_unclosed': unclosed, + 'final_review': final_review, + 'controls_declared': controlled, + 'control_verdicts': {c: verdicts.get(c, 'no pair recorded') + for c in controlled}, + 'dirty_start_control_voids': dirty_voids, + 'criteria_without_control_decision': undecided, + 'section_5_1_4_observations': missing_obs, + 'verbatim_request': _has_human_note(plan_dir), + 're_anchoring': 'unmeasured: execution leaves no record of it', + } + + +def _markdown(records): + lines = ['| Plan | Gen | Tasks | Criteria on class | Outside class | ' + 'Final Review | Controls (verdicts) | Dirty voids | ' + 'No control decision | §5.1.4 obs. | Verbatim request |', + '| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |'] + for r in records: + if r.get('skipped'): + lines.append('| %s | — | skipped: %s | | | | | | | | |' + % (r['plan'], r['skipped'])) + continue + controls = ', '.join('%s=%s' % kv for kv in + r['control_verdicts'].items()) or 'none' + lines.append('| %s | %s | %d/%d | %d | %d | %s | %s | %d | %d | %d | %s |' % ( + r['plan'], r['generation'], r['tasks_completed'], r['tasks_total'], + len(r['criteria_closed_on_declared_class']), + len(r['criteria_closed_outside_declared_class']), + r['final_review'], controls, r['dirty_start_control_voids'], + len(r['criteria_without_control_decision']), + r['section_5_1_4_observations'], + 'yes' if r['verbatim_request'] else 'no')) + lines.append('') + lines.append('Re-anchoring: unmeasured for every plan - execution leaves no ' + 'record of it.') + return '\n'.join(lines) + + +def main(argv): + as_json = '--json' in argv + args = [a for a in argv if a != '--json'] + plans = [] + if args[:1] == ['--plans-dir']: + if len(args) != 2 or not os.path.isdir(args[1]): + print(__doc__) + return 2 + root = args[1] + plans = [os.path.join(root, d) for d in sorted(os.listdir(root)) + if os.path.isdir(os.path.join(root, d))] + else: + plans = args + if not plans or any(a in ('-h', '--help') for a in plans): + print(__doc__) + return 0 if plans else 2 + records = [] + unreadable = 0 + for plan in plans: + if not os.path.isdir(plan): + sys.stderr.write('not a plan directory: %s\n' % plan) + return 2 + try: + records.append(audit_plan(plan)) + except (OSError, ValueError, ledger.LedgerError) as exc: + # one unreadable plan never hides the others' results + sys.stderr.write('cannot read %s: %s\n' % (plan, exc)) + records.append({'plan': os.path.basename(plan.rstrip('/')), + 'generation': None, + 'skipped': 'unreadable: %s' % exc}) + unreadable += 1 + if as_json: + print(json.dumps({'schema': 'dwp-compliance-audit/1', + 'plans': records}, indent=1, ensure_ascii=False)) + else: + print(_markdown(records)) + return 2 if unreadable else 0 + + +if __name__ == '__main__': + sys.exit(main(sys.argv[1:])) diff --git a/.dwp/config.json b/.dwp/config.json index d0663b7..5215418 100644 --- a/.dwp/config.json +++ b/.dwp/config.json @@ -2,7 +2,7 @@ "addons": { "agentkit": { "enabled": true, - "version": "v1.1.0" + "version": "v1.3.0" }, "ai-diff-reviewer": { "enabled": true, @@ -14,23 +14,23 @@ }, "dependency-upgrade": { "enabled": true, - "version": "v7.10.1" + "version": "v7.12.0" }, "design-system": { "enabled": true, - "version": "v7.10.1" + "version": "v7.12.0" }, "devcontainer": { "enabled": true, - "version": "v1.0.1" + "version": "v1.1.2" }, "herdr": { "enabled": true, - "version": "v1.2.1" + "version": "v1.3.1" }, "vim": { "enabled": true, - "version": "v1.0.0" + "version": "v1.0.1" } }, "host": { diff --git a/AGENTS.md b/AGENTS.md index 8aefae2..b9ca1f3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -713,7 +713,7 @@ When invoked: look up in `.agents/docs/skills_agents_catalog.md`, READ the proce ## Working with Deep Work Plans (DWP) -For any non-trivial change (more than ~3 files, more than one logical step, anything spanning auth + API client + commands + docs, anything you'd otherwise want a TodoList for), **drive the work through a Deep Work Plan** instead of free-form coding. The repo ships the [DWP skill pack](.agents/skills/deepworkplan/) (vendored at **v7.10.1**, standard **7.0.0**) and the matching `dwp-*` slash commands. New plans use the **v7** contract generation by default (the v6 identity manifest + versioned contract + append-only journal, plus `parallel_safe` tasks and delegation events; `state.json` is a snapshot). A plan is either **Lite** (task records inline in the plan's `README.md`, the default for most work) or **Full** (one file per task, for long-horizon work) — both carry the same contract: stable task ids, a Touched Surface, acceptance criteria, validation gates, completion evidence, and one Final Review. Existing v1/v2/v5 plans keep their recorded lifecycle and are never rewritten by an upgrade; v6 plans stay v6; moving a plan to a newer generation is an explicit `refine migrate` only. +For any non-trivial change (more than ~3 files, more than one logical step, anything spanning auth + API client + commands + docs, anything you'd otherwise want a TodoList for), **drive the work through a Deep Work Plan** instead of free-form coding. The repo ships the [DWP skill pack](.agents/skills/deepworkplan/) (vendored at **v7.12.0**, standard **7.0.0**) and the matching `dwp-*` slash commands. New plans use the **v7** contract generation by default (the v6 identity manifest + versioned contract + append-only journal, plus `parallel_safe` tasks and delegation events; `state.json` is a snapshot). A plan is either **Lite** (task records inline in the plan's `README.md`, the default for most work) or **Full** (one file per task, for long-horizon work) — both carry the same contract: stable task ids, a Touched Surface, acceptance criteria, validation gates, completion evidence, and one Final Review. Existing v1/v2/v5 plans keep their recorded lifecycle and are never rewritten by an upgrade; v6 plans stay v6; moving a plan to a newer generation is an explicit `refine migrate` only. ### The loop @@ -798,7 +798,7 @@ Host capability declaration (abilities not listed are `false` — never inferred **Authority boundaries (from this repo's Mandatory Rules):** plan authorship is by the working agent; approval is `pre_authorization` only when the developer explicitly requests unattended continuation (`trust`/`auto`) or approves a plan up front. Always stop and ask before: push to remote, merge to `main`, force-push, publishing a release, sending external messages (email/chat) with guessed recipients, reading or writing secrets, replacing existing hand-written harness content, or applying `[skip release]` outside its two allowed use cases. Outcome checks for plan gates come from [docs/TESTING_GUIDE.md](docs/TESTING_GUIDE.md) and the Quick Commands block (`pytest`, `ruff`, `mypy`) — never invent a gate command. -DWP standard: 7.0.0 (onboarded 2026-06-12; upgraded 2026-10-01, 2026-10-11, 2026-10-12, 2026-10-13, 2026-10-14, 2026-10-25 and 2026-11-01; skill 7.10.1, vendored 2026-11-15) +DWP standard: 7.0.0 (onboarded 2026-06-12; upgraded 2026-10-01, 2026-10-11, 2026-10-12, 2026-10-13, 2026-10-14, 2026-10-25 and 2026-11-01; skill 7.12.0, vendored 2026-11-16) ## Documentation Maintenance diff --git a/dev.sh b/dev.sh index dd9f0b8..c07d2f6 100755 --- a/dev.sh +++ b/dev.sh @@ -1300,7 +1300,7 @@ herdr_prepare_mesh() { mesh_require() { command -v herdr >/dev/null 2>&1 || die "herdr is not on PATH" command -v python3 >/dev/null 2>&1 || die "python3 is required" - command -v herdr-peers >/dev/null 2>&1 || die "herdr-peers is not on PATH — devcontainer-kit images (v1.0.0+) and the host kit ship it; otherwise: npx --yes skills add https://github.com/DailybotHQ/herdr-peers/tree/v1.2.1 --skill herdr-peers -g -y" + command -v herdr-peers >/dev/null 2>&1 || die "herdr-peers is not on PATH — devcontainer-kit images (v1.0.0+) and the host kit ship it; otherwise: npx --yes skills add https://github.com/DailybotHQ/herdr-peers/tree/v1.3.1 --skill herdr-peers -g -y" } # HERDR_PEERS_SELF names this machine as the Mac catalog knows it (dck pushes diff --git a/skills-lock.json b/skills-lock.json index 65866aa..fb10ff4 100644 --- a/skills-lock.json +++ b/skills-lock.json @@ -17,10 +17,10 @@ }, "deepworkplan": { "source": "DailybotHQ/deepworkplan-skill", - "ref": "v7.10.1", + "ref": "v7.12.0", "sourceType": "github", "skillPath": "skills/deepworkplan/SKILL.md", - "computedHash": "c2cd2c726e9c2531f8b43e043b7058e4a134b759229d5b48f4b9b303ccc13763" + "computedHash": "3fa7e2c8a363a693b5aaceb955ce65b07c092f731199943886a85cf9e5045264" } } } From 20be69be1bde11854f7ddad5649274ea279e8f7f Mon Sep 17 00:00:00 2001 From: Sergio Alexander Florez Galeano Date: Sun, 15 Nov 2026 22:36:22 -0500 Subject: [PATCH 2/3] chore: re-vendor DeepWorkPlan 7.12.1 (notifier schema fix, ak 1.4.0 pin) - DeepWorkPlan 7.12.0 -> 7.12.1, byte-identical to the v7.12.1 tag (SHA256SUMS verified; asset sha256 a8b737d97c57091807f598206d5ef98b2d65af3fee7b5af5dc87a806db92fc97, 182/182 entries OK), replacing the held 7.12.0 refresh in this same PR - Fixes the herdr addon's Dailybot notifier: accepts the daemon's 'herdr-peers/plan-event-v1' schema, stdin capped at 64 KiB, plan_lead_moved mapped - Pack pin: coding-agents-kit v1.4.0 ('ak update' documented human-invoked only); herdr-peers stays v1.3.1 - Addon registry: agentkit v1.4.0, dependency-upgrade/design-system v7.12.1 - AGENTS.md + skills catalog provenance updated Co-Authored-By: Claude Code --- .agents/docs/skills_agents_catalog.md | 4 ++-- .agents/skills/deepworkplan/SKILL.md | 2 +- .agents/skills/deepworkplan/addons/README.md | 2 +- .../skills/deepworkplan/addons/agentkit/SKILL.md | 12 ++++++------ .../skills/deepworkplan/addons/agentkit/SPEC.md | 6 +++--- .../deepworkplan/addons/agentkit/addon.json | 2 +- .../addons/ai-diff-reviewer/SKILL.md | 2 +- .../skills/deepworkplan/addons/dailybot/SKILL.md | 2 +- .../addons/dependency-upgrade/SKILL.md | 2 +- .../deepworkplan/addons/design-system/SKILL.md | 2 +- .../deepworkplan/addons/devcontainer/SKILL.md | 2 +- .../skills/deepworkplan/addons/herdr/SKILL.md | 2 +- .../addons/herdr/scripts/notify-dailybot.py | 16 +++++++++++++--- .../deepworkplan/addons/machine-installs.md | 8 ++++---- .agents/skills/deepworkplan/addons/vim/SKILL.md | 2 +- .agents/skills/deepworkplan/author/SKILL.md | 2 +- .agents/skills/deepworkplan/create/SKILL.md | 2 +- .agents/skills/deepworkplan/execute/SKILL.md | 2 +- .agents/skills/deepworkplan/onboard/SKILL.md | 2 +- .agents/skills/deepworkplan/onboard/addons.md | 2 +- .agents/skills/deepworkplan/refine/SKILL.md | 2 +- .agents/skills/deepworkplan/resume/SKILL.md | 2 +- .agents/skills/deepworkplan/spec/ADDONS.md | 2 +- .agents/skills/deepworkplan/spec/V7_ROADMAP.md | 2 +- .agents/skills/deepworkplan/status/SKILL.md | 2 +- .agents/skills/deepworkplan/upgrade/SKILL.md | 2 +- .agents/skills/deepworkplan/verify/SKILL.md | 2 +- .dwp/config.json | 6 +++--- AGENTS.md | 4 ++-- skills-lock.json | 4 ++-- 30 files changed, 57 insertions(+), 47 deletions(-) diff --git a/.agents/docs/skills_agents_catalog.md b/.agents/docs/skills_agents_catalog.md index f6dd8bb..7fa8c1e 100644 --- a/.agents/docs/skills_agents_catalog.md +++ b/.agents/docs/skills_agents_catalog.md @@ -42,7 +42,7 @@ The full pack lives under [`.agents/skills/dailybot/`](../skills/dailybot/) (rou ### Deep Work Plan skill pack (vendored from [`DailybotHQ/deepworkplan-skill`](https://github.com/DailybotHQ/deepworkplan-skill)) -The full pack lives under [`.agents/skills/deepworkplan/`](../skills/deepworkplan/) (router + 9 sub-skills + addons). Vendored at **v7.12.0** (DWP standard **7.0.0**). The router auto-routes by intent — read [`skills/deepworkplan/SKILL.md`](../skills/deepworkplan/SKILL.md) and let it pick the right sub-skill. Each sub-skill is independently invocable, and each has a short `dwp-*` alias in [`.agents/commands/`](../commands/) for ergonomic typing. +The full pack lives under [`.agents/skills/deepworkplan/`](../skills/deepworkplan/) (router + 9 sub-skills + addons). Vendored at **v7.12.1** (DWP standard **7.0.0**). The router auto-routes by intent — read [`skills/deepworkplan/SKILL.md`](../skills/deepworkplan/SKILL.md) and let it pick the right sub-skill. Each sub-skill is independently invocable, and each has a short `dwp-*` alias in [`.agents/commands/`](../commands/) for ergonomic typing. | Slug | Procedure | Use when | |------|-----------|----------| @@ -123,4 +123,4 @@ Persona definitions. Use these as the system prompt / role when spawning a sub-a ## Dogfood reconciliation — 2026-11-16 -DeepWorkPlan v7.12.0, AI Diff Reviewer v3.3.16 and Dailybot skill v3.23.20 are pinned in `skills-lock.json` (dailybot sits one patch ahead of the pack's v3.23.17 floor). The pack's herdr addon pins herdr-peers v1.3.1 — 1.2.x added `herdr-peers autopilot` and 1.3.x adds `--loop`, `--notify`, the read-only `plans`/`fleet` verbs and the fleet UI; autopilot stays an optional daemon only a human starts — and the addon registry and the `dev.sh` host install hint follow it (coding-agents-kit is pinned at v1.3.0). The container is **not** re-rendered: devcontainer-kit stays v1.0.1 and still embeds herdr-peers v1.0.0 (with coding-agents-kit v1.0.1; DeepWorkPlan Vim v1.0.0 remains a container editor layer), so host tools and the container embeds disagree on herdr-peers until dck ships a newer release. The addon registry records agentkit v1.3.0, devcontainer v1.1.2, herdr v1.3.1 and vim v1.0.1, with the pack addons (dependency-upgrade, design-system) at v7.12.0. Repository hooks, review rules, design documentation and historical plans are preserved. +DeepWorkPlan v7.12.1, AI Diff Reviewer v3.3.16 and Dailybot skill v3.23.20 are pinned in `skills-lock.json` (dailybot sits one patch ahead of the pack's v3.23.17 floor). The pack's herdr addon pins herdr-peers v1.3.1 — 1.2.x added `herdr-peers autopilot` and 1.3.x adds `--loop`, `--notify`, the read-only `plans`/`fleet` verbs and the fleet UI; autopilot stays an optional daemon only a human starts; the pack's Dailybot notifier accepts the daemon's `herdr-peers/plan-event-v1` schema (fixed in pack 7.12.1) — and the addon registry and the `dev.sh` host install hint follow it (coding-agents-kit is pinned at v1.4.0, where `ak update` is documented as human-invoked only). The container is **not** re-rendered: devcontainer-kit stays v1.0.1 and still embeds herdr-peers v1.0.0 (with coding-agents-kit v1.0.1; DeepWorkPlan Vim v1.0.0 remains a container editor layer), so host tools and the container embeds disagree on herdr-peers until dck ships a newer release. The addon registry records agentkit v1.3.0, devcontainer v1.1.2, herdr v1.3.1 and vim v1.0.1, with the pack addons (dependency-upgrade, design-system) at v7.12.0. Repository hooks, review rules, design documentation and historical plans are preserved. diff --git a/.agents/skills/deepworkplan/SKILL.md b/.agents/skills/deepworkplan/SKILL.md index ee733bc..4e1cbbf 100644 --- a/.agents/skills/deepworkplan/SKILL.md +++ b/.agents/skills/deepworkplan/SKILL.md @@ -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.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/addons/README.md b/.agents/skills/deepworkplan/addons/README.md index 210ee67..45279d2 100644 --- a/.agents/skills/deepworkplan/addons/README.md +++ b/.agents/skills/deepworkplan/addons/README.md @@ -84,7 +84,7 @@ An addon MAY additionally ship per-stack presets, examples, or migration notes. | 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@v1.3.1` (protocol/interface 1, detected with `herdr-peers --version`; Herdr's official skill pinned `herdrdev/herdr@v0.9.3`): 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.3.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. | +| 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. | | DeepWorkPlan Vim | [`addons/vim/SKILL.md`](vim/SKILL.md) | **Authored** — thin integrator, explicit opt-in offered in `onboard` Phase 7b, pinned to `deepworkplan-vim@v1.0.1` (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 diff --git a/.agents/skills/deepworkplan/addons/agentkit/SKILL.md b/.agents/skills/deepworkplan/addons/agentkit/SKILL.md index 568df48..38b15eb 100644 --- a/.agents/skills/deepworkplan/addons/agentkit/SKILL.md +++ b/.agents/skills/deepworkplan/addons/agentkit/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-agentkit -description: Optional DeepWorkPlan addon that integrates coding-agents-kit (the `ak` command, DailybotHQ/coding-agents-kit pinned at v1.3.0, interface 1) as the headless delegation transport - a thin integrator that detects the kit through `ak doctor --json`, offers it (never imposes it) from onboard Phase 7b, documents the install from a clone of the pinned tag plus the kit's install.sh, records the acceptance in the .dwp/config.json addon registry, and maps a v7 plan's delegation operations (launch, observe, collect, cancel) onto one `ak run` per delegate in a dedicated git worktree. Never required, never a conformance gate. The kit launches agents in autonomy by default and its opt-out (--ask or AGENTKIT_PERMISSIONS=ask) always wins; the pack spells no CLI autonomy flag, never passes --auto, and passes --ask always for a read-only delegate and for writing delegates when a plan records the opt-out. -version: "7.12.0" +description: Optional DeepWorkPlan addon that integrates coding-agents-kit (the `ak` command, DailybotHQ/coding-agents-kit pinned at v1.4.0, interface 1) as the headless delegation transport - a thin integrator that detects the kit through `ak doctor --json`, offers it (never imposes it) from onboard Phase 7b, documents the install from a clone of the pinned tag plus the kit's install.sh, records the acceptance in the .dwp/config.json addon registry, and maps a v7 plan's delegation operations (launch, observe, collect, cancel) onto one `ak run` per delegate in a dedicated git worktree. Never required, never a conformance gate. The kit launches agents in autonomy by default and its opt-out (--ask or AGENTKIT_PERMISSIONS=ask) always wins; the pack spells no CLI autonomy flag, never passes --auto, and passes --ask always for a read-only delegate and for writing delegates when a plan records the opt-out. +version: "7.12.1" documentation_url: https://deepworkplan.com/kit/agentkit user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write @@ -26,7 +26,7 @@ DWP); everything this addon relies on is the kit's frozen **interface 1** | Pin | Value | |-----|-------| | Product | `DailybotHQ/coding-agents-kit` | -| Tag | `v1.3.0` (autonomy by default since `v0.2.0`; accounts, `ak usage`, `ak pick`, `ak profiles --json`, `--trust-cwd` and the `agentkit-orchestrate` skill since `v0.5.0`; Cursor's Linux login and Claude's `keychain` login kind since `v0.5.1`; a default account per CLI, `AGENTKIT_DEFAULT_PROFILE_`, since `v0.5.2`; Codex started with `--no-daemon` when a shared home records a daemon from another machine, since `v0.5.3`; `ak capacity` with its usage cache, `ak lease` and `ak pick --owner` since `v0.6.0`; `ak capacity --self` inside Codex lanes, `ak pick --owner` counting the owner's own leases with `--reuse @profile` for a successor, one account per kind and profile, and Grok folder trust since `v0.6.1`; Antigravity quota and every account listed in `ak usage` since `v0.7.0`; a profile's suffixed credential variable counted as its login since `v0.7.1`; the first stable release, its interface committed to semantic versioning, `v1.0.0`; every profile, `@default` included, its own account inside a devcontainer-kit container, since `v1.0.1`; `ak usage` listing the measurable blocks first since `v1.1.0`; Herdr restoring a pane through `ak` — same account, key and permission posture after a reboot or Herdr restart, `AGENTKIT_HERDR_RESUME=0` turns it off — and `ak last` relaunching the newest session of that directory in any terminal since `v1.2.0`; the daemon-facing surface — `ak pick --kinds KIND,... --json` (pick-v2: the first kind in priority order with a qualifying account, the exact `launch.argv` and `launch.permissions` auto|ask) and the provider-neutral `--model` head flag mapped to each CLI's own (codex `-m`) — since `v1.3.0`) | +| Tag | `v1.4.0` (autonomy by default since `v0.2.0`; accounts, `ak usage`, `ak pick`, `ak profiles --json`, `--trust-cwd` and the `agentkit-orchestrate` skill since `v0.5.0`; Cursor's Linux login and Claude's `keychain` login kind since `v0.5.1`; a default account per CLI, `AGENTKIT_DEFAULT_PROFILE_`, since `v0.5.2`; Codex started with `--no-daemon` when a shared home records a daemon from another machine, since `v0.5.3`; `ak capacity` with its usage cache, `ak lease` and `ak pick --owner` since `v0.6.0`; `ak capacity --self` inside Codex lanes, `ak pick --owner` counting the owner's own leases with `--reuse @profile` for a successor, one account per kind and profile, and Grok folder trust since `v0.6.1`; Antigravity quota and every account listed in `ak usage` since `v0.7.0`; a profile's suffixed credential variable counted as its login since `v0.7.1`; the first stable release, its interface committed to semantic versioning, `v1.0.0`; every profile, `@default` included, its own account inside a devcontainer-kit container, since `v1.0.1`; `ak usage` listing the measurable blocks first since `v1.1.0`; Herdr restoring a pane through `ak` — same account, key and permission posture after a reboot or Herdr restart, `AGENTKIT_HERDR_RESUME=0` turns it off — and `ak last` relaunching the newest session of that directory in any terminal since `v1.2.0`; the daemon-facing surface — `ak pick --kinds KIND,... --json` (pick-v2: the first kind in priority order with a qualifying account, the exact `launch.argv` and `launch.permissions` auto|ask) and the provider-neutral `--model` head flag mapped to each CLI's own (codex `-m`) since `v1.3.0`; `ak update ` — the verified vendor update against the CLI's default home, whatever profile is active (the fix for updaters that resolve relative to a profile CODEX_HOME) — since `v1.4.0`. `ak update` is human-invoked only, never run by a daemon (the kit's SECURITY.md says so)) | | Interface | `1` (`ak doctor --json` → `"interface": 1`) | | Registry key | `agentkit` (`.dwp/config.json` → `addons.agentkit`) | | Transport | `headless` — provides `subagents`, `cancel_children`, `model_routing`; requires the `agent_delegation` grant | @@ -116,7 +116,7 @@ Declining is a complete answer. ### Step 2 — Install (pinned; point-don't-run by default) ``` -git clone --branch v1.3.0 https://github.com/DailybotHQ/coding-agents-kit +git clone --branch v1.4.0 https://github.com/DailybotHQ/coding-agents-kit ./coding-agents-kit/install.sh ``` @@ -131,7 +131,7 @@ re-detect afterwards. ### Step 3 — Record -`python3 ../../shared/config.py enable agentkit --version v1.3.0 --repo `. +`python3 ../../shared/config.py enable agentkit --version v1.4.0 --repo `. Delegation still needs each plan's contract to grant `agent_delegation` — enabling the addon grants nothing. @@ -253,7 +253,7 @@ room once per task boundary with `ak usage @ --json`. ## Validation checklist (component 4 — mirrored from SPEC §8) 1. `SKILL.md`, `SPEC.md`, `addon.json`, `templates/INTEGRATION.md` exist; - the descriptor pins `DailybotHQ/coding-agents-kit` `v1.3.0`, interface 1, + the descriptor pins `DailybotHQ/coding-agents-kit` `v1.4.0`, interface 1, transport `headless`. 2. Detection is read-only and reports `interface` 1, or one warning. 3. Install used the pinned tagged clone + `install.sh`; nothing piped. diff --git a/.agents/skills/deepworkplan/addons/agentkit/SPEC.md b/.agents/skills/deepworkplan/addons/agentkit/SPEC.md index 4a120a7..68b10b6 100644 --- a/.agents/skills/deepworkplan/addons/agentkit/SPEC.md +++ b/.agents/skills/deepworkplan/addons/agentkit/SPEC.md @@ -17,7 +17,7 @@ registry record and the mapping of the four delegation operations onto |-------|-------| | **Version** | 0.2.0 | | **Status** | Stable — autonomy by default (coding-agents-kit `v0.2.0` and later) | -| **Product pin** | `DailybotHQ/coding-agents-kit` `v1.3.0`, interface `1` | +| **Product pin** | `DailybotHQ/coding-agents-kit` `v1.4.0`, interface `1` | | **Companions** | `SKILL.md`, `addon.json`, `templates/INTEGRATION.md`, `../README.md`, `../../spec/ADDONS.md`, `../../spec/V7_ABILITIES.md`, `../../execute/delegation.md` | ## 1. Conventions @@ -53,7 +53,7 @@ kit** is coding-agents-kit; **the addon** is this folder. complete and writes nothing. - The documented install is the pinned tagged clone plus the kit's installer: - `git clone --branch v1.3.0 https://github.com/DailybotHQ/coding-agents-kit` then + `git clone --branch v1.4.0 https://github.com/DailybotHQ/coding-agents-kit` then `./coding-agents-kit/install.sh` (Windows: `install.ps1`). A fetch-and-execute pipeline **MUST NOT** appear anywhere in this pack's text. The addon **MUST NOT** install coding-agent CLIs on its own. @@ -165,7 +165,7 @@ minor version (`v0.2.0`), and SPEC 0.2.0 describes it. 1. `SKILL.md`, `SPEC.md`, `addon.json`, `templates/INTEGRATION.md` exist; `addon.json` validates with key `agentkit`, product - `DailybotHQ/coding-agents-kit` `v1.3.0`, interface 1, transport + `DailybotHQ/coding-agents-kit` `v1.4.0`, interface 1, transport `headless`. 2. Detection is read-only; interface 1 or one warning. 3. Install used the pinned tagged clone; no pipeline anywhere in the text. diff --git a/.agents/skills/deepworkplan/addons/agentkit/addon.json b/.agents/skills/deepworkplan/addons/agentkit/addon.json index 64c9e26..f7a74f6 100644 --- a/.agents/skills/deepworkplan/addons/agentkit/addon.json +++ b/.agents/skills/deepworkplan/addons/agentkit/addon.json @@ -1,7 +1,7 @@ { "schema": "https://deepworkplan.com/schema/addon-descriptor/v1.json", "key": "agentkit", - "product": { "repo": "DailybotHQ/coding-agents-kit", "tag": "v1.3.0", "interface": 1 }, + "product": { "repo": "DailybotHQ/coding-agents-kit", "tag": "v1.4.0", "interface": 1 }, "detect": { "command": "ak doctor --json", "interface_from": "json:interface" }, "provides_abilities": ["subagents", "cancel_children", "model_routing"], "requires_grants": ["agent_delegation"], diff --git a/.agents/skills/deepworkplan/addons/ai-diff-reviewer/SKILL.md b/.agents/skills/deepworkplan/addons/ai-diff-reviewer/SKILL.md index 9035c0f..0683ee4 100644 --- a/.agents/skills/deepworkplan/addons/ai-diff-reviewer/SKILL.md +++ b/.agents/skills/deepworkplan/addons/ai-diff-reviewer/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-ai-diff-reviewer description: "DeepWorkPlan addon — required local review (baseline since standard 2.3.0), optional CI surface — connects an AI-first repo to the AI Diff Reviewer. Onboarding installs the vendored coding-agent skill and extension with consent; the Final Review runs the local pass when present or records a missing-reviewer finding without bootstrapping. Flow B CI setup remains an explicit opt-in delegated to upstream. Invocation errors never block, completed-review critical findings still follow the Final Review contract, and all install/auth/wizard details defer to upstream consent flows." -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/addons/dailybot/SKILL.md b/.agents/skills/deepworkplan/addons/dailybot/SKILL.md index 63514d6..212c7e8 100644 --- a/.agents/skills/deepworkplan/addons/dailybot/SKILL.md +++ b/.agents/skills/deepworkplan/addons/dailybot/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-dailybot description: Optional DeepWorkPlan addon that connects an AI-first repo to the developer's Dailybot team — installing (with consent) the Dailybot agent skill (DailybotHQ/agent-skill, currently 3.23.20) and/or the Dailybot CLI (DailybotHQ/cli, >= 3.9.0), wiring the plan lifecycle into best-effort agent updates - kickoff when a plan starts, significant task completions, a blocked report when an unattended run halts, and a milestone on plan completion - with payloads derived from the plan's state layer, and optionally committing the Dailybot skill's deterministic hook enforcement (dailybot hook lifecycle hooks) so the agent harness itself reminds agents about unreported work. Opt-in, never required, never blocks the work, reconciles existing setups instead of clobbering them, and defers all auth to the Dailybot skill's own consent flow. Use when the developer or team already uses Dailybot and wants DWP progress visible to humans. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/addons/dependency-upgrade/SKILL.md b/.agents/skills/deepworkplan/addons/dependency-upgrade/SKILL.md index e65c661..68ff215 100644 --- a/.agents/skills/deepworkplan/addons/dependency-upgrade/SKILL.md +++ b/.agents/skills/deepworkplan/addons/dependency-upgrade/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-dependency-upgrade description: DeepWorkPlan addon that safely upgrades a repo's dependencies — reasoning about the repo's ACTUAL package manager (npm/pnpm/yarn + ncu, pip/poetry/uv, cargo, go mod, bundler, composer, and more) rather than assuming npm — with a batched, validated, revertible workflow that detects the manager and manifests/lockfiles, classifies upgrades (patch/minor/major), upgrades in safe batches, runs the repo's real validation gate after each batch, reverts a failing batch, and summarizes. Near-default — offered for every repo with declared dependencies, and its delegator installs under the onboarding consent unless declined; upgrades themselves never run automatically, only as explicit, gated work. Never required for baseline conformance; reconciles with the repo's existing tooling. Use when the developer wants to bring dependencies up to date without breaking the build. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/addons/design-system/SKILL.md b/.agents/skills/deepworkplan/addons/design-system/SKILL.md index 7e51bc9..4088744 100644 --- a/.agents/skills/deepworkplan/addons/design-system/SKILL.md +++ b/.agents/skills/deepworkplan/addons/design-system/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-design-system description: Optional DeepWorkPlan addon that gives a repo with a user-facing interface surface a DESIGN.md (under docs/, indexed from AGENTS.md) — a Markdown design-system file any coding agent reads to generate interface output consistent with the repo's OWN conventions. Covers three profiles detected independently from real files — visual-ui (rendered web/mobile/desktop UI), cli-output (styled terminal output — semantic colors, panels, spinners, prompts, TTY/NO_COLOR degradation), and conversational (chat/email messaging — voice and register, message anatomy, per-platform rendering). Reasons about the repo's ACTUAL design source (CSS custom properties, Tailwind config, token files, component styles, a CLI display/theme module, or message-composition helpers) rather than copying a brand file; checks contrast (WCAG AA), color-is-not-the-only-carrier, plain-text fallbacks, and token integrity. A detected interface surface makes the evaluation and offer mandatory (with a clear recommendation), while installation always requires explicit acceptance — no profile is auto-applied, even in trust mode. Never offered for a repo with no interface surface (pure library, headless service, infra-only); never required for baseline conformance; reconciles an existing DESIGN.md instead of clobbering it. Use when the developer wants agents to produce on-brand, consistent interface output — visual UI, terminal output, or outbound messages. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/addons/devcontainer/SKILL.md b/.agents/skills/deepworkplan/addons/devcontainer/SKILL.md index a7735fa..ec01248 100644 --- a/.agents/skills/deepworkplan/addons/devcontainer/SKILL.md +++ b/.agents/skills/deepworkplan/addons/devcontainer/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-devcontainer description: Optional DeepWorkPlan addon that gives a repository a reproducible dev container through devcontainer-kit (the `dck` command, DailybotHQ/devcontainer-kit pinned at v1.1.2, interface 2) - a vendor-neutral thin integrator that detects the kit with `dck doctor --json`, offers the kit and its tag-pinned `dck-dockerfile` skill, and lets them render the repository's own layout (.devcontainer/devcontainer.json, docker/local//Dockerfile, docker/local/docker-compose.yaml, dev.sh) from the official runtime image pinned by digest - no shared base image required. Reconciles an existing layout and never clobbers it, keeps loopback ports and agent forwarding, and validates the result with a real build. Opt-in, never required, never a conformance gate. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com/kit/devcontainer user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/addons/herdr/SKILL.md b/.agents/skills/deepworkplan/addons/herdr/SKILL.md index 67a4f3f..3f9aa0e 100644 --- a/.agents/skills/deepworkplan/addons/herdr/SKILL.md +++ b/.agents/skills/deepworkplan/addons/herdr/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-herdr description: Optional DeepWorkPlan addon that integrates herdr-peers (DailybotHQ/herdr-peers pinned at v1.3.1, protocol 1) as the interactive delegation transport - a thin integrator that detects the herdr-peers helper, offers it (never imposes it) from onboard Phase 7b, documents the pinned skill installs (herdr-peers and Herdr's official skill), records the acceptance in the .dwp/config.json addon registry, and maps a v7 plan's delegation operations onto one herdr-peers ask to a peer pane on any machine, with every delegation recorded in the plan journal. The message protocol lives in herdr-peers, never here. Never required, never a conformance gate. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com/kit/herdr user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/addons/herdr/scripts/notify-dailybot.py b/.agents/skills/deepworkplan/addons/herdr/scripts/notify-dailybot.py index 8a7ef02..8cb8baa 100755 --- a/.agents/skills/deepworkplan/addons/herdr/scripts/notify-dailybot.py +++ b/.agents/skills/deepworkplan/addons/herdr/scripts/notify-dailybot.py @@ -23,16 +23,19 @@ """ import json -import os import shutil import subprocess import sys -SCHEMA = "plan-event-v1" +SCHEMA = "herdr-peers/plan-event-v1" AGENT_NAME = "deepworkplan-loop" # The daemon runs this command without a shell under a 20 s timeout; stay # below it so the script exits 0 by itself instead of being killed. SEND_TIMEOUT_SECONDS = 15 +# The daemon writes one small JSON object; anything larger is not ours. Reading +# is capped so a runaway writer can never wedge the notifier: overflow is a +# quiet no-op, exactly like every other unusable input. +MAX_INPUT_BYTES = 64 * 1024 # Human-readable summary per event class. Placeholders: plan, repo, machine, # lead, blocker. Kept short on purpose — this is a notification, not a report. @@ -54,6 +57,11 @@ "A plan has nobody leading it: '{plan}' in {repo} lost its lead and " "no successor is reachable (machine {machine})." ), + "plan_lead_moved": ( + "A plan's lead record is stale: the pane named as lead of '{plan}' in " + "{repo} now works outside the plan's repository (lead {lead}, machine " + "{machine})." + ), } @@ -126,7 +134,9 @@ def send(message, event): def main(): try: - raw = sys.stdin.read() + raw = sys.stdin.read(MAX_INPUT_BYTES + 1) + if len(raw) > MAX_INPUT_BYTES: + return 0 event = json.loads(raw) except (ValueError, OSError): return 0 diff --git a/.agents/skills/deepworkplan/addons/machine-installs.md b/.agents/skills/deepworkplan/addons/machine-installs.md index cbfbbf8..1cd1083 100644 --- a/.agents/skills/deepworkplan/addons/machine-installs.md +++ b/.agents/skills/deepworkplan/addons/machine-installs.md @@ -15,10 +15,10 @@ actually verified (`--ignore-missing` alone would pass with none). coding-agents-kit (`agentkit`): ```bash -git clone --branch v1.3.0 --depth 1 https://github.com/DailybotHQ/coding-agents-kit cak -git -C cak describe --tags --exact-match # must print v1.3.0 -curl -fsSL https://github.com/DailybotHQ/coding-agents-kit/releases/download/v1.3.0/SHA256SUMS -o cak.SHA256SUMS -echo "5d9b215ff81c5662c4504f083c302d1ad5b02556d2a8714e8b65da1f7f9ef7e1 cak.SHA256SUMS" | shasum -a 256 -c # the pinned digest +git clone --branch v1.4.0 --depth 1 https://github.com/DailybotHQ/coding-agents-kit cak +git -C cak describe --tags --exact-match # must print v1.4.0 +curl -fsSL https://github.com/DailybotHQ/coding-agents-kit/releases/download/v1.4.0/SHA256SUMS -o cak.SHA256SUMS +echo "1ae33b64622a91a624c3fc1d483ae8b200896de6eb9f7a3f04cd7f23ce2fb2c6 cak.SHA256SUMS" | shasum -a 256 -c # the pinned digest (cd cak && shasum -a 256 -c --ignore-missing ../cak.SHA256SUMS) # must exit 0 (cd cak && shasum -a 256 -c --ignore-missing ../cak.SHA256SUMS | grep -c ': OK$') # must print a number above 0 ./cak/install.sh diff --git a/.agents/skills/deepworkplan/addons/vim/SKILL.md b/.agents/skills/deepworkplan/addons/vim/SKILL.md index 2c503c3..dc34e1d 100644 --- a/.agents/skills/deepworkplan/addons/vim/SKILL.md +++ b/.agents/skills/deepworkplan/addons/vim/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-addon-vim description: Optional DeepWorkPlan addon that offers DeepWorkPlan Vim, the terminal editor for Deep Work Plan (Neovim 0.12+, its own repository DailybotHQ/deepworkplan-vim pinned at v1.0.1), as a machine-level install for the person behind a repository - a thin integrator that reads the product's own addon/surface.json (interface 1) to detect the editor, offers it (never imposes it) from onboard Phase 7b, guides the product's documented, checksum-verified install under an absolute consent gate, and validates the installed surface. Two routes - the full editor today, the Neovim plugin in v7.1. Never required, never a conformance gate, and an existing Neovim config is never overwritten without explicit consent. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com/kit/vim user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/author/SKILL.md b/.agents/skills/deepworkplan/author/SKILL.md index 98a5abf..fcde73c 100644 --- a/.agents/skills/deepworkplan/author/SKILL.md +++ b/.agents/skills/deepworkplan/author/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-author description: Author or update reusable skills, agents, and commands in the current repo — reason about the repo's .agents/ layout, follow the Open Agent Skills frontmatter contract, and keep the .agents/docs/ catalog in sync. Use when a developer wants to create or evolve the repo's agent kit (skills, agents, commands), or runs /skill-create or /agent-create. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/create/SKILL.md b/.agents/skills/deepworkplan/create/SKILL.md index 3ccd8f7..7473133 100644 --- a/.agents/skills/deepworkplan/create/SKILL.md +++ b/.agents/skills/deepworkplan/create/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-create description: Create a Deep Work Plan for short or long work. Detect planning intent, materialize a compact Lite proposal first, then retain Lite or expand to Full task files when needed. Supports guided and trust handoff without executing product work. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/execute/SKILL.md b/.agents/skills/deepworkplan/execute/SKILL.md index 4ba63be..b70d8e1 100644 --- a/.agents/skills/deepworkplan/execute/SKILL.md +++ b/.agents/skills/deepworkplan/execute/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-execute description: Execute Lite or Full Deep Work Plans task-by-task — select validation from the actual surface, preserve state and evidence, recover safely, and finish with the Final Review. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/onboard/SKILL.md b/.agents/skills/deepworkplan/onboard/SKILL.md index a2db59e..d65f8ef 100644 --- a/.agents/skills/deepworkplan/onboard/SKILL.md +++ b/.agents/skills/deepworkplan/onboard/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-onboard description: Make any repository AI-first — reason (never template) an adapted AGENTS.md, docs/, per-module docs and .agents/ kit from the real repo, discover and verify its full and scoped validation commands and source-to-test mapping, install the DeepWorkPlan skill, and, for a repository onboarded under an earlier version, perform a targeted, non-destructive, idempotent harness upgrade. Use when the developer wants to onboard or upgrade a repository for AI agents. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/onboard/addons.md b/.agents/skills/deepworkplan/onboard/addons.md index 69d3430..182acd1 100644 --- a/.agents/skills/deepworkplan/onboard/addons.md +++ b/.agents/skills/deepworkplan/onboard/addons.md @@ -82,7 +82,7 @@ records its Phase 7a status). Offer the seven optional ones independently: | **Dailybot integration** | [`../addons/dailybot/`](../addons/dailybot/SKILL.md) | the developer/team **already uses Dailybot** or asks for team progress reporting — **do NOT auto-install for everyone**. | | **Dependency upgrade** | [`../addons/dependency-upgrade/`](../addons/dependency-upgrade/SKILL.md) | **near-default** — the repo has **declared dependencies** (any manifest or lockfile): offer **always**, and install the **inert** `/lib-upgrade` delegator under the onboarding consent **unless explicitly declined**. Installing the delegator runs **no** upgrade — upgrades are always explicit, gated work. | | **Design system** | [`../addons/design-system/`](../addons/design-system/SKILL.md) | the repo has a **user-facing interface surface**, detected per profile: when any surface is detected — even an ambiguous one — the evaluation and offer are **mandatory, not skippable**, with the detection rationale recorded. **visual-ui** (stylesheet with CSS custom properties, Tailwind config or `@theme` block, UI components, brand/style guide) is **strongly recommended**; **cli-output** (a CLI rendering library + a deliberate display layer) and **conversational** (a chat SDK or message-composition layer) are **recommended**. Every profile **requires explicit acceptance even in trust mode — none is auto-applied**. **Never offer for a repo with no interface surface** (pure library, headless service, infra-only). | -| **agentkit** | [`../addons/agentkit/`](../addons/agentkit/SKILL.md) | the developer wants plans to hand bounded `parallel_safe` tasks to other coding agents (claude, codex, cursor, …) — a machine-level install (`git clone --branch v1.3.0` + `install.sh`), never a repo requirement; delegation additionally needs each plan's `agent_delegation` grant. The kit runs agents in autonomy by default; the `--ask` / `AGENTKIT_PERMISSIONS=ask` opt-out always wins. | +| **agentkit** | [`../addons/agentkit/`](../addons/agentkit/SKILL.md) | the developer wants plans to hand bounded `parallel_safe` tasks to other coding agents (claude, codex, cursor, …) — a machine-level install (`git clone --branch v1.4.0` + `install.sh`), never a repo requirement; delegation additionally needs each plan's `agent_delegation` grant. The kit runs agents in autonomy by default; the `--ask` / `AGENTKIT_PERMISSIONS=ask` opt-out always wins. | | **Herdr** | [`../addons/herdr/`](../addons/herdr/SKILL.md) | the developer runs coding agents in [Herdr](https://herdr.dev) panes (one machine or several) and wants plans to ask a peer agent to take a task or run a native debate panel (by default, consequential plan decisions are debated; `decisions.debate off` turns it off) — a machine-level install of `herdr-peers@v1.3.1` (+ Herdr's official skill, pinned), never a repo requirement; delegation additionally needs each plan's `agent_delegation` grant. | | **DeepWorkPlan Vim** | [`../addons/vim/`](../addons/vim/SKILL.md) | a person on this machine uses Neovim ≥ 0.12 or asks for a terminal editor for plans — a **machine-level** install, never a repo requirement; the editor is never imposed and an existing Neovim config is **never** overwritten without explicit consent (non-interactive runs onto an existing config stop at instructions). Pinned `deepworkplan-vim@v1.0.1`, detected through the product's `addon/surface.json`. | | **AI Diff Reviewer** | [`../addons/ai-diff-reviewer/`](../addons/ai-diff-reviewer/SKILL.md) | **not offered here — installed in Phase 7a** (required local review, baseline since 2.3.0). In Phase 7b only confirm the Flow B (CI Action) opt-in decision if it was left open; never install the CI surface unrequested. | diff --git a/.agents/skills/deepworkplan/refine/SKILL.md b/.agents/skills/deepworkplan/refine/SKILL.md index 8936f3a..eaf80b2 100644 --- a/.agents/skills/deepworkplan/refine/SKILL.md +++ b/.agents/skills/deepworkplan/refine/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-refine description: Refine a Deep Work Plan — safely edit scope, add, split or reorder tasks, promote a Lite plan to Full task files, recover a partial promotion, or explicitly migrate a legacy plan, always preserving completed evidence. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/resume/SKILL.md b/.agents/skills/deepworkplan/resume/SKILL.md index 1515738..7a27ab4 100644 --- a/.agents/skills/deepworkplan/resume/SKILL.md +++ b/.agents/skills/deepworkplan/resume/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-resume description: Resume interrupted Lite or Full Deep Work Plans from durable Markdown and state, including safe recovery of promotions without duplicating completed work or gates. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/spec/ADDONS.md b/.agents/skills/deepworkplan/spec/ADDONS.md index 8e65381..66a8c7c 100644 --- a/.agents/skills/deepworkplan/spec/ADDONS.md +++ b/.agents/skills/deepworkplan/spec/ADDONS.md @@ -449,7 +449,7 @@ The shipped set: | key | product (pinned) | provides_abilities | requires_grants | transport | |---|---|---|---|---| -| `agentkit` | `DailybotHQ/coding-agents-kit` `v1.3.0`, interface 1 | `subagents`, `cancel_children`, `model_routing` | `agent_delegation` | `headless` | +| `agentkit` | `DailybotHQ/coding-agents-kit` `v1.4.0`, interface 1 | `subagents`, `cancel_children`, `model_routing` | `agent_delegation` | `headless` | | `ai-diff-reviewer` | `DailybotHQ/ai-diff-reviewer` `v3.3.16` | — | — | — | | `dailybot` | `DailybotHQ/agent-skill` `v3.23.20` | `telemetry` (reporting only, consent-gated) | — | — | | `dependency-upgrade` | in-pack only | — | — | — | diff --git a/.agents/skills/deepworkplan/spec/V7_ROADMAP.md b/.agents/skills/deepworkplan/spec/V7_ROADMAP.md index 6543ba8..8f0f31d 100644 --- a/.agents/skills/deepworkplan/spec/V7_ROADMAP.md +++ b/.agents/skills/deepworkplan/spec/V7_ROADMAP.md @@ -27,7 +27,7 @@ number), and the pack carries a **thin integrator** for it — never a copy. | **Addon-provided abilities** | effective abilities = host ∪ abilities of enabled, valid, detected, interface-compatible addons; computed per call, never persisted; an ability is never authority or consent ([`V7_ABILITIES.md`](V7_ABILITIES.md)). | | **v7 contract generation** | `plan-contract/v7` (v6 + `parallel_safe`), `journal-event/v7` (v6 + `delegation`), `plan-manifest/v7`; default for new plans; v6 plans unchanged ([`V7_CONTRACT.md`](V7_CONTRACT.md)). | | **Delegation** | `ledger.py delegate launch|observe|collect|cancel` behind a recorded gate (grant, marker, ability); `execute/delegation.md`; a delegate's result stays `asserted` until the plan's own gates observe it. | -| **Thin integrators** | `agentkit` → `coding-agents-kit@v1.3.0` (headless transport, `ak run`; autonomy by default with an always-winning opt-out since `v0.2.0`); `herdr` → `herdr-peers@v1.3.1` (interactive transport and native debate panels; stamp `[herdr-peers]`, protocol owned by herdr-peers); `devcontainer` → `devcontainer-kit@v1.1.2` (`dck init` and the `dck-dockerfile` skill, interface 2, per-repository Dockerfile, vendor-neutral); `vim` → `deepworkplan-vim@v1.0.1` (surface-driven editor offer). | +| **Thin integrators** | `agentkit` → `coding-agents-kit@v1.4.0` (headless transport, `ak run`; autonomy by default with an always-winning opt-out since `v0.2.0`); `herdr` → `herdr-peers@v1.3.1` (interactive transport and native debate panels; stamp `[herdr-peers]`, protocol owned by herdr-peers); `devcontainer` → `devcontainer-kit@v1.1.2` (`dck init` and the `dck-dockerfile` skill, interface 2, per-repository Dockerfile, vendor-neutral); `vim` → `deepworkplan-vim@v1.0.1` (surface-driven editor offer). | | **Pre-release channel** | `prerelease.yml` cuts `X.Y.Z-beta.N` on dispatch (never `latest`, with `SHA256SUMS`); stable releases ignore pre-release tags and graduate only on `[graduate]`. | | **Standard** | DWP standard **7.0.0** (normative additions above); `6.0.0` declarations stay valid. | diff --git a/.agents/skills/deepworkplan/status/SKILL.md b/.agents/skills/deepworkplan/status/SKILL.md index e73f4d5..3316c6b 100644 --- a/.agents/skills/deepworkplan/status/SKILL.md +++ b/.agents/skills/deepworkplan/status/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-status description: Report Lite or Full Deep Work Plan status — format, approval, readiness, progress, checkpoint, blockers and Markdown/state consistency — without modifying anything. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob diff --git a/.agents/skills/deepworkplan/upgrade/SKILL.md b/.agents/skills/deepworkplan/upgrade/SKILL.md index 046b3e2..3a07886 100644 --- a/.agents/skills/deepworkplan/upgrade/SKILL.md +++ b/.agents/skills/deepworkplan/upgrade/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-upgrade description: Check whether a newer DeepWorkPlan skill and DWP standard exists and — only after the developer explicitly accepts — install the latest published tag through the documented channel and re-run onboarding exactly as if https://deepworkplan.com/init.md were executed fresh, preserving every plan under .dwp/ and surfacing local adaptations instead of silently overwriting them. Use when the developer asks to upgrade, update, or refresh DWP in a repository that already has it installed. Do not use it to onboard a repo for the first time (that is the onboard sub-skill) or to migrate an old plan's shape (that is refine migrate, and plans are never migrated by an upgrade). -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob, Edit, Write diff --git a/.agents/skills/deepworkplan/verify/SKILL.md b/.agents/skills/deepworkplan/verify/SKILL.md index 8a5e123..cdbf173 100644 --- a/.agents/skills/deepworkplan/verify/SKILL.md +++ b/.agents/skills/deepworkplan/verify/SKILL.md @@ -1,7 +1,7 @@ --- name: deepworkplan-verify description: Verify that a repository is DeepWorkPlan-conformant (AI-first) and that its plans are well-formed, producing an objective pass/fail report. Use when the developer asks to verify, audit, or check conformance of a repo or a plan. -version: "7.12.0" +version: "7.12.1" documentation_url: https://deepworkplan.com user-invocable: true allowed-tools: Bash, Read, Grep, Glob diff --git a/.dwp/config.json b/.dwp/config.json index 5215418..1df0fbb 100644 --- a/.dwp/config.json +++ b/.dwp/config.json @@ -2,7 +2,7 @@ "addons": { "agentkit": { "enabled": true, - "version": "v1.3.0" + "version": "v1.4.0" }, "ai-diff-reviewer": { "enabled": true, @@ -14,11 +14,11 @@ }, "dependency-upgrade": { "enabled": true, - "version": "v7.12.0" + "version": "v7.12.1" }, "design-system": { "enabled": true, - "version": "v7.12.0" + "version": "v7.12.1" }, "devcontainer": { "enabled": true, diff --git a/AGENTS.md b/AGENTS.md index b9ca1f3..917bed8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -713,7 +713,7 @@ When invoked: look up in `.agents/docs/skills_agents_catalog.md`, READ the proce ## Working with Deep Work Plans (DWP) -For any non-trivial change (more than ~3 files, more than one logical step, anything spanning auth + API client + commands + docs, anything you'd otherwise want a TodoList for), **drive the work through a Deep Work Plan** instead of free-form coding. The repo ships the [DWP skill pack](.agents/skills/deepworkplan/) (vendored at **v7.12.0**, standard **7.0.0**) and the matching `dwp-*` slash commands. New plans use the **v7** contract generation by default (the v6 identity manifest + versioned contract + append-only journal, plus `parallel_safe` tasks and delegation events; `state.json` is a snapshot). A plan is either **Lite** (task records inline in the plan's `README.md`, the default for most work) or **Full** (one file per task, for long-horizon work) — both carry the same contract: stable task ids, a Touched Surface, acceptance criteria, validation gates, completion evidence, and one Final Review. Existing v1/v2/v5 plans keep their recorded lifecycle and are never rewritten by an upgrade; v6 plans stay v6; moving a plan to a newer generation is an explicit `refine migrate` only. +For any non-trivial change (more than ~3 files, more than one logical step, anything spanning auth + API client + commands + docs, anything you'd otherwise want a TodoList for), **drive the work through a Deep Work Plan** instead of free-form coding. The repo ships the [DWP skill pack](.agents/skills/deepworkplan/) (vendored at **v7.12.1**, standard **7.0.0**) and the matching `dwp-*` slash commands. New plans use the **v7** contract generation by default (the v6 identity manifest + versioned contract + append-only journal, plus `parallel_safe` tasks and delegation events; `state.json` is a snapshot). A plan is either **Lite** (task records inline in the plan's `README.md`, the default for most work) or **Full** (one file per task, for long-horizon work) — both carry the same contract: stable task ids, a Touched Surface, acceptance criteria, validation gates, completion evidence, and one Final Review. Existing v1/v2/v5 plans keep their recorded lifecycle and are never rewritten by an upgrade; v6 plans stay v6; moving a plan to a newer generation is an explicit `refine migrate` only. ### The loop @@ -798,7 +798,7 @@ Host capability declaration (abilities not listed are `false` — never inferred **Authority boundaries (from this repo's Mandatory Rules):** plan authorship is by the working agent; approval is `pre_authorization` only when the developer explicitly requests unattended continuation (`trust`/`auto`) or approves a plan up front. Always stop and ask before: push to remote, merge to `main`, force-push, publishing a release, sending external messages (email/chat) with guessed recipients, reading or writing secrets, replacing existing hand-written harness content, or applying `[skip release]` outside its two allowed use cases. Outcome checks for plan gates come from [docs/TESTING_GUIDE.md](docs/TESTING_GUIDE.md) and the Quick Commands block (`pytest`, `ruff`, `mypy`) — never invent a gate command. -DWP standard: 7.0.0 (onboarded 2026-06-12; upgraded 2026-10-01, 2026-10-11, 2026-10-12, 2026-10-13, 2026-10-14, 2026-10-25 and 2026-11-01; skill 7.12.0, vendored 2026-11-16) +DWP standard: 7.0.0 (onboarded 2026-06-12; upgraded 2026-10-01, 2026-10-11, 2026-10-12, 2026-10-13, 2026-10-14, 2026-10-25 and 2026-11-01; skill 7.12.1, vendored 2026-11-16) ## Documentation Maintenance diff --git a/skills-lock.json b/skills-lock.json index fb10ff4..9c505ad 100644 --- a/skills-lock.json +++ b/skills-lock.json @@ -17,10 +17,10 @@ }, "deepworkplan": { "source": "DailybotHQ/deepworkplan-skill", - "ref": "v7.12.0", + "ref": "v7.12.1", "sourceType": "github", "skillPath": "skills/deepworkplan/SKILL.md", - "computedHash": "3fa7e2c8a363a693b5aaceb955ce65b07c092f731199943886a85cf9e5045264" + "computedHash": "13569c6e1a123a5de9d4e1c354655a9eb70ecf6aae677db73e74cd328c320a1e" } } } From b568d7d80cb1084dd855cf17622df1cd1ad0fece Mon Sep 17 00:00:00 2001 From: Sergio Alexander Florez Galeano Date: Sun, 15 Nov 2026 22:41:44 -0500 Subject: [PATCH 3/3] docs: align catalog registry sentence with the 7.12.1 pins Applies the self-review finding on the trailing registry clause (agentkit v1.4.0, pack addons v7.12.1). The six findings in vendored pack files are upstream-owned and reported to the pack maintainer; the vendored copy stays byte-identical to the released tag. Co-Authored-By: Claude Code --- .agents/docs/skills_agents_catalog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.agents/docs/skills_agents_catalog.md b/.agents/docs/skills_agents_catalog.md index 7fa8c1e..9c780c8 100644 --- a/.agents/docs/skills_agents_catalog.md +++ b/.agents/docs/skills_agents_catalog.md @@ -123,4 +123,4 @@ Persona definitions. Use these as the system prompt / role when spawning a sub-a ## Dogfood reconciliation — 2026-11-16 -DeepWorkPlan v7.12.1, AI Diff Reviewer v3.3.16 and Dailybot skill v3.23.20 are pinned in `skills-lock.json` (dailybot sits one patch ahead of the pack's v3.23.17 floor). The pack's herdr addon pins herdr-peers v1.3.1 — 1.2.x added `herdr-peers autopilot` and 1.3.x adds `--loop`, `--notify`, the read-only `plans`/`fleet` verbs and the fleet UI; autopilot stays an optional daemon only a human starts; the pack's Dailybot notifier accepts the daemon's `herdr-peers/plan-event-v1` schema (fixed in pack 7.12.1) — and the addon registry and the `dev.sh` host install hint follow it (coding-agents-kit is pinned at v1.4.0, where `ak update` is documented as human-invoked only). The container is **not** re-rendered: devcontainer-kit stays v1.0.1 and still embeds herdr-peers v1.0.0 (with coding-agents-kit v1.0.1; DeepWorkPlan Vim v1.0.0 remains a container editor layer), so host tools and the container embeds disagree on herdr-peers until dck ships a newer release. The addon registry records agentkit v1.3.0, devcontainer v1.1.2, herdr v1.3.1 and vim v1.0.1, with the pack addons (dependency-upgrade, design-system) at v7.12.0. Repository hooks, review rules, design documentation and historical plans are preserved. +DeepWorkPlan v7.12.1, AI Diff Reviewer v3.3.16 and Dailybot skill v3.23.20 are pinned in `skills-lock.json` (dailybot sits one patch ahead of the pack's v3.23.17 floor). The pack's herdr addon pins herdr-peers v1.3.1 — 1.2.x added `herdr-peers autopilot` and 1.3.x adds `--loop`, `--notify`, the read-only `plans`/`fleet` verbs and the fleet UI; autopilot stays an optional daemon only a human starts; the pack's Dailybot notifier accepts the daemon's `herdr-peers/plan-event-v1` schema (fixed in pack 7.12.1) — and the addon registry and the `dev.sh` host install hint follow it (coding-agents-kit is pinned at v1.4.0, where `ak update` is documented as human-invoked only). The container is **not** re-rendered: devcontainer-kit stays v1.0.1 and still embeds herdr-peers v1.0.0 (with coding-agents-kit v1.0.1; DeepWorkPlan Vim v1.0.0 remains a container editor layer), so host tools and the container embeds disagree on herdr-peers until dck ships a newer release. The addon registry records agentkit v1.4.0, devcontainer v1.1.2, herdr v1.3.1 and vim v1.0.1, with the pack addons (dependency-upgrade, design-system) at v7.12.1. Repository hooks, review rules, design documentation and historical plans are preserved.