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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ plugin. The Claude Code and Codex SoT files do not change.
reminds the agent of each resource that a bash command created, checks at
session stop that those resources are gone, and starts
`docks-kit tidy --apply` in the background at most once per 12 hours. It
also ships the `workspace-hygiene` skill and the `/cleanup` command.
also ships the `workspace-hygiene` skill and the `/cleanup` command. For a
plan run, the skill points to the Teardown rule of the `plan-lifecycle`
plan contract.
- omp denies bulk removal that can empty the home directory: `find -delete`,
`find -exec rm` (also `-execdir`, `-ok`, `-okdir`), and `xargs rm`, in
every position and by path.
Expand Down
3 changes: 1 addition & 2 deletions SoT/.omp/plugin/skills/workspace-hygiene/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ Report the other items to the user.

## Plan runs

- After the pull request of a plan merges and the plan is archived, remove the linked worktree. Then stop the stacks and processes that the plan started.
- If the plan run stops without a merge, stop its processes and stacks. Keep the worktree, and name it.
- For a plan run, follow the Teardown rule in the `plan-lifecycle` plan contract (`plan-manager/references/plan-contract.md`). That rule decides when the run stops stacks and processes, removes the linked worktree, deletes the branch, and keeps a resource.

## Automatic sweep

Expand Down
4 changes: 2 additions & 2 deletions cli/src/generated/sotPayload.ts

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions cli/test/goldens/mutation.json
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@
".docks-kit/omp-plugin/package.json": "sha256:01a44b1d909bd8b0698cafbc1e088a66d44b367641edf848227074cdf8cd925d",
".docks-kit/omp-plugin/skills/": "dir",
".docks-kit/omp-plugin/skills/workspace-hygiene/": "dir",
".docks-kit/omp-plugin/skills/workspace-hygiene/SKILL.md": "sha256:8f2ea6cd88b518ef93c03d51308112d7475a6f144b717871d4d3e635ae3b3d0e",
".docks-kit/omp-plugin/skills/workspace-hygiene/SKILL.md": "sha256:18d7275d686cbecb030a70f054f589697d66369e29a996a8209b53bf27ba8c87",
".omp/": "dir",
".omp/agent/": "dir",
".omp/agent/AGENTS.md": "sha256:138cb1e928d4a667061392dacf5b5f986ebdd89134573c67a15892c935191a27",
Expand Down Expand Up @@ -995,7 +995,7 @@
".docks-kit/omp-plugin/package.json": "sha256:01a44b1d909bd8b0698cafbc1e088a66d44b367641edf848227074cdf8cd925d",
".docks-kit/omp-plugin/skills/": "dir",
".docks-kit/omp-plugin/skills/workspace-hygiene/": "dir",
".docks-kit/omp-plugin/skills/workspace-hygiene/SKILL.md": "sha256:8f2ea6cd88b518ef93c03d51308112d7475a6f144b717871d4d3e635ae3b3d0e",
".docks-kit/omp-plugin/skills/workspace-hygiene/SKILL.md": "sha256:18d7275d686cbecb030a70f054f589697d66369e29a996a8209b53bf27ba8c87",
".omp/": "dir",
".omp/agent/": "dir",
".omp/agent/AGENTS.md": "sha256:138cb1e928d4a667061392dacf5b5f986ebdd89134573c67a15892c935191a27",
Expand Down Expand Up @@ -1024,7 +1024,7 @@
".docks-kit/omp-plugin/package.json": "sha256:01a44b1d909bd8b0698cafbc1e088a66d44b367641edf848227074cdf8cd925d",
".docks-kit/omp-plugin/skills/": "dir",
".docks-kit/omp-plugin/skills/workspace-hygiene/": "dir",
".docks-kit/omp-plugin/skills/workspace-hygiene/SKILL.md": "sha256:8f2ea6cd88b518ef93c03d51308112d7475a6f144b717871d4d3e635ae3b3d0e",
".docks-kit/omp-plugin/skills/workspace-hygiene/SKILL.md": "sha256:18d7275d686cbecb030a70f054f589697d66369e29a996a8209b53bf27ba8c87",
".omp/": "dir",
".omp/agent/": "dir",
".omp/agent/AGENTS.md": "sha256:138cb1e928d4a667061392dacf5b5f986ebdd89134573c67a15892c935191a27",
Expand Down Expand Up @@ -1053,7 +1053,7 @@
".docks-kit/omp-plugin/package.json": "sha256:01a44b1d909bd8b0698cafbc1e088a66d44b367641edf848227074cdf8cd925d",
".docks-kit/omp-plugin/skills/": "dir",
".docks-kit/omp-plugin/skills/workspace-hygiene/": "dir",
".docks-kit/omp-plugin/skills/workspace-hygiene/SKILL.md": "sha256:8f2ea6cd88b518ef93c03d51308112d7475a6f144b717871d4d3e635ae3b3d0e",
".docks-kit/omp-plugin/skills/workspace-hygiene/SKILL.md": "sha256:18d7275d686cbecb030a70f054f589697d66369e29a996a8209b53bf27ba8c87",
".omp/": "dir",
".omp/agent/": "dir",
".omp/agent/AGENTS.md": "sha256:138cb1e928d4a667061392dacf5b5f986ebdd89134573c67a15892c935191a27",
Expand Down
Loading