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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .agents/skills/verify/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ Expected load output (`<checkout>` is the source checkout selected by the script

```text
docks-kit-omp -> <checkout>/SoT/.omp/plugin
skills: 34
skill names: accessibility,agent-first-setup,ci-speed,claude-md-migration,code-clarity,code-guardrails,code-review,code-reviewer,commit-discipline,context-tree,dep-vuln-workflow,design-tokenization,effect-ts,fix-workflow,lint-no-suppressions,make-interfaces-feel-better,plan-manager,plan-reviewer,plan-workspace,react-component-patterns,refactor,report-skill-issue,security,skill-agent-pipeline,skill-maintenance,solid,talk,tdd-workflow,test-coverage,type-safety-discipline,workspace-hygiene,write-skill,yolo,zoom-out
skills: 35
skill names: accessibility,agent-first-setup,ci-speed,claude-md-migration,code-clarity,code-guardrails,code-review,code-reviewer,commit-discipline,context-tree,dep-vuln-workflow,design-tokenization,effect-ts,fix-workflow,lint-no-suppressions,make-interfaces-feel-better,plan-manager,plan-reviewer,plan-workspace,react-component-patterns,refactor,report-skill-issue,security,skill-agent-pipeline,skill-maintenance,solid,talk,tdd-workflow,test-coverage,type-safety-discipline,ultra-yolo,workspace-hygiene,write-skill,yolo,zoom-out
agents: code-reviewer,plan-reviewer
extensions: ./extensions/hygiene.ts,./extensions/verify-gate.ts,./extensions/context-tree-nudge.ts,./extensions/talk.js
talk tool: offered
Expand Down Expand Up @@ -264,7 +264,7 @@ The other lines are as above. talk is off on this omp and registers no session,
| `=== GOLDEN MISMATCH` in V3 | The CLI output changed | Read the diff; when the change is intended, run `bun cli/test/golden-dryrun.ts --update-goldens`, then `bun run format` |
| omp row status `below-floor` or `above-verified` in V2 | The installed omp differs from `SoT/toolchain.json` | Check the omp release against the kit before you move the pin |
| V5 prints `No rules triggered.` for `big-reset`, or takes seconds | A condition scans the buffer in more than linear time, or hits the JavaScriptCore match limit | Run `bunx vitest run cli/test/unit/ompTriggerRules.test.ts cli/test/unit/ompTriggerBackstop.test.ts` and fix the condition that the shape guard or the Bun backstop names (`cli/docs/command-guards.md`, omp trigger rules) |
| V6 prints `skills:` other than 34, a `FAIL skills:` line, or misses an agent | omp did not load a skill or agent file of `SoT/.omp/plugin`, a folder moved, or a skill folder was added, removed, or renamed | Check the folders under `SoT/.omp/plugin/skills/` and `SoT/.omp/plugin/agents/`, and the `name` frontmatter of each `SKILL.md` and agent file. When the change adds, removes, or renames a skill on purpose, update `REQUIRED_SKILLS` in `omp-smoke.ts` and the count in this skill |
| V6 prints `skills:` other than 35, a `FAIL skills:` line, or misses an agent | omp did not load a skill or agent file of `SoT/.omp/plugin`, a folder moved, or a skill folder was added, removed, or renamed | Check the folders under `SoT/.omp/plugin/skills/` and `SoT/.omp/plugin/agents/`, and the `name` frontmatter of each `SKILL.md` and agent file. When the change adds, removes, or renames a skill on purpose, update `REQUIRED_SKILLS` in `omp-smoke.ts` and the count in this skill |
| V6 prints `FAIL extensions-loaded` or `warnings:` above `0` with `Failed to load extension` | A kit extension throws when omp loads it | Fix the file that the `FAIL` line names in `SoT/.omp/plugin/extensions/` |
| V6 prints a `FAIL gate-` or `FAIL nudge-` line | The gate or the nudge acted on the wrong command, path, or node | Check `checkCommand` in `SoT/.omp/plugin/extensions/verify-gate-core.ts` or `nudgeText` in `SoT/.omp/plugin/extensions/context-tree-core.ts`, and their adapters `verify-gate.ts` and `context-tree-nudge.ts` |
| V6 reports `no request from the omp session` or `no opening fixture request` | No request arrived, or none matched the fixture prompt and model | Check the private provider and the exact prompt `Reply with ok.`. These messages say nothing about the installed agents. |
Expand Down
1 change: 1 addition & 0 deletions .agents/skills/verify/scripts/omp-smoke.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ const REQUIRED_SKILLS = [
"tdd-workflow",
"test-coverage",
"type-safety-discipline",
"ultra-yolo",
"workspace-hygiene",
"write-skill",
"yolo",
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Project-skill authoring rules (scope, canonical layout, vendored `unslop`, citat

## Kit plugin content

`SoT/.omp/plugin/` holds skills at `skills/<name>/SKILL.md`, task agents at `agents/<name>.md`, and the extensions that `package.json` `omp.extensions` names. It ships 34 skills (the 32 docks and plan-lifecycle skills, `workspace-hygiene`, and `talk`), the `code-reviewer` and `plan-reviewer` agents, the `hygiene`, `verify-gate`, `context-tree-nudge`, and `talk` extensions, the trigger rules in `rules/`, and the `/cleanup` command. The `talk` extension is the generated bundle `extensions/talk.js`: `bun cli/scripts/build-talk.ts` writes it from `cli/talk/`, `bun cli/scripts/build-talk.ts --check` (part of `check:generated`) fails when it differs from a fresh build, and oxlint ignores it. After a rebuild, regenerate the payload, which embeds it. The `talk` skill tells the agent how to use the `talk` tool, `/talk`, `alt+t`, and `/talk handover`; `talk` needs omp 19.2.0 or later. A skill reports a problem in DocksDocks/docks-kit. `bun run check` checks this content with four tests in `cli/test/unit/plugin/`: `skills.test.ts` (layout and name, frontmatter, report section, shared copies, references, durable anchors, transform guard, trigger collisions, score floor), `contentHash.test.ts`, `agents.test.ts` (agent rules, score floor), and `extensions.test.ts` (each entry imports and has a default function export).
`SoT/.omp/plugin/` holds skills at `skills/<name>/SKILL.md`, task agents at `agents/<name>.md`, and the extensions that `package.json` `omp.extensions` names. It ships 35 skills (the 33 docks and plan-lifecycle skills, `workspace-hygiene`, and `talk`), the `code-reviewer` and `plan-reviewer` agents, the `hygiene`, `verify-gate`, `context-tree-nudge`, and `talk` extensions, the trigger rules in `rules/`, and the `/cleanup` command. The `talk` extension is the generated bundle `extensions/talk.js`: `bun cli/scripts/build-talk.ts` writes it from `cli/talk/`, `bun cli/scripts/build-talk.ts --check` (part of `check:generated`) fails when it differs from a fresh build, and oxlint ignores it. After a rebuild, regenerate the payload, which embeds it. The `talk` skill tells the agent how to use the `talk` tool, `/talk`, `alt+t`, and `/talk handover`; `talk` needs omp 19.2.0 or later. A skill reports a problem in DocksDocks/docks-kit. `bun run check` checks this content with four tests in `cli/test/unit/plugin/`: `skills.test.ts` (layout and name, frontmatter, report section, shared copies, references, durable anchors, transform guard, trigger collisions, score floor), `contentHash.test.ts`, `agents.test.ts` (agent rules, score floor), and `extensions.test.ts` (each entry imports and has a default function export).
After a skill edit, run `bun cli/scripts/skill-content-hash.ts --write` to refresh its `metadata.content_hash` and `metadata.updated`; `--check` names each stale skill. The skill checks, the 16-point rubric, and the check data in `config.json` (floors, report section, shared-copy groups, transform list) are in `cli/src/skills/`, which `docks-kit skill guard` and `docks-kit skill score` also use; the agent, reference, trigger, extension, and content-hash checks are in `cli/scripts/pluginContent/`.

## Plans
Expand Down
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,50 @@
# Changelog

## 2026-12-02 - docks-kit 0.33.0: the ultra-yolo skill merges without the merge question

The kit plugin has a new `ultra-yolo` skill (DocksDocks/docks-kit#308). You
invoke it as you invoke `yolo`, with `/skill:ultra-yolo` and a request. The
run reviews each phase until it passes and asks no stall question: when no
untried approach has evidence, it leaves the plan blocked and reports. It
merges the pull request without the merge question only when the pull request
shows the reviewed head and the tested base, the required checks passed for
them, every Checklist item is ticked, the default branch has an active strict
status-check rule that the merging account cannot bypass, and a last grant
check right before the merge still finds the grant in force. When a gate
fails, the run acts on it:

- A lost grant stops the run.
- A changed head or base, or a failed or missing check, sends the run back to
landing: it updates the branch, reviews again, and requests the checks.
- An unticked Checklist item, a missing strict status-check rule, a ruleset
that the merging account can bypass, or a merge that GitHub refuses with
status 405 leads to the yolo merge question.

The merge removes only the local resources and the linked branch; each remote
cleanup still gets its own question.

`docks-kit plan show` now reads a grant comment whose first line is
`Ultra-yolo grant: <quote>`, with `Prior event:` and `Run start:` lines, and
prints `grant: in force (ultra-yolo) by comment <id>` when the Goal holds the
line `Ultra-yolo: the user delegated every decision to the agent, the merge included.`
It refuses the grant, with the reason, when the prior event is not the latest
authority comment before the grant, when the run start does not lie strictly
between them, or when the comment has a line other than its three lines and
one optional `Parent event: <comment id>` line. `show` also prints an
`authority:` line after the `grant:` line: `authority: latest comment <id>`
for the latest trusted authority comment, or `authority: none`. A child plan
gets an ultra-yolo grant from its parent only when the parent's grant passes
the same check and the parent has no parent of its own.

`docks-kit plan edit` now asks for a new plan-review round when an edit
replaces a yolo line with the ultra-yolo line, or the other way round, or adds
a second delegation line beside the first; adding one line to a Goal without
one still needs no round. It advises keeping one line when the Goal has more
than one. An edit that only removes the delegation line of a child after a
parent comment ended the child's grant needs no new round. A
`Delegation grant: ultra-yolo: <quote>` comment keeps its old meaning, a
delegated grant.

## 2026-12-02 - docks-kit 0.32.3: tidy keeps a scratch directory that changes during its check

`docks-kit tidy` and `docks-kit tidy --apply` now look at an idle scratch
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Full reference: `docks-kit docs flags`.
Sync writes the kit plugin `docks-kit-omp` to `~/.docks-kit/omp-plugin` and
links it into omp. The kit plugin content comes from `SoT/.omp/plugin/`:

- **Skills** — 34 skills: 32 docks and plan-lifecycle skills, for example
- **Skills** — 35 skills: 33 docks and plan-lifecycle skills, for example
`plan-manager`, `plan-workspace`, `code-review`, `security`, and
`refactor`, plus the `workspace-hygiene` and `talk` skills.
- **Agents** — the `code-reviewer` and `plan-reviewer` task agents.
Expand Down
6 changes: 3 additions & 3 deletions SoT/.omp/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ Ask me only through `ask`, never in prose. Use `ask` before these steps:

A settled plan Mode covers the routine plan-lifecycle writes in the resolved repository: the plan issue, plan edits, review comments, and each other issue or comment that the plan-lifecycle contract requires. A `plan-and-implement` Mode also covers the landing work: the push of the linked branch and the pull request. Every other issue, comment, release, or upstream pull request still needs an ask.

A `yolo` invocation answers the routine asks of its plan run until its merge question, or until the grant check of the plan-lifecycle contract finds that its grant has ended. It does not cover destructive work, secrets, production systems, or a repository hook that fails; for a failed hook, follow the hook rule of the plan-lifecycle contract.
A `yolo` invocation answers the routine asks of its plan run until its merge question, or until the grant check of the plan-lifecycle contract finds that its grant has ended. It does not cover destructive work, secrets, production systems, or a repository hook that fails; for a failed hook, follow the hook rule of the plan-lifecycle contract. An `ultra-yolo` invocation answers the same asks through its trusted `Ultra-yolo grant:` comment, and it also answers the merge, but only while every merge gate of the Ultra-yolo runs section of the plan-lifecycle contract holds.

A plan grant answers the asks that the Delegated decisions section of the plan-lifecycle contract lists as answered. Only trusted `Delegation grant:` and `Delegation revoked` comments give or end a grant. On the plan issue, the latest such comment decides, and a comment on a parent plan can end the grant of its child. The `Delegated:` line of the plan only mirrors that comment.
A plan grant answers the asks that the Delegated decisions section of the plan-lifecycle contract lists as answered. Only trusted authority comments, as the Authority events section of the contract reads them, give or end a grant. A grant comment needs an exact first line: `Delegation grant: <quote>`, `Delegation grant: yolo: <quote>`, or `Ultra-yolo grant: <quote>`. A revocation is read leniently: its first non-blank line counts as `Delegation revoked` in any letter case and through emphasis and code marks. On the plan issue, the latest such comment decides, and a comment on a parent plan can end the grant of its child. The `authority:` line of `show` names that comment, and the delegation line in the Goal of the plan only mirrors it.

A grant never answers a question that the contract keeps for me. Examples are the Mode, a non-local effect, the merge, a destructive action, secrets, production, a temporary workaround, and a fact that only I hold. Right before each delegated decision and each write that relies on the grant, run the grant check of the contract: read the latest authority comments of the plan and of its parent.
A grant never answers a question that the contract keeps for me. Examples are the Mode, a non-local effect, the merge, a destructive action, secrets, production, a temporary workaround, and a fact that only I hold. The one exception is the merge of an ultra-yolo run: only an `Ultra-yolo grant:` in force answers it, and only while every merge gate of the Ultra-yolo runs section of the contract holds; otherwise the merge question stays. Right before each delegated decision and each write that relies on the grant, run the grant check of the contract: read the latest authority comments of the plan and of its parent.

When `ask` is not available, take the conservative reversible option. Put the question and your assumption in the final report.

Expand Down
2 changes: 1 addition & 1 deletion SoT/.omp/plugin/extensions/talk.js

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions SoT/.omp/plugin/skills/commit-discipline/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: "Use when splitting work into small reviewable/atomic commits, deci
user-invocable: false
metadata:
pattern: tool-wrapper
updated: "2026-11-20"
content_hash: "d61df9a29c2b2c66a33bc8c6541e5a0d8d5e76d724ada21de61771901d01554a"
updated: "2026-12-02"
content_hash: "41bcc086939987e9ceb284ae868dd00b1e52098c615a0674d35a366f5850c5b1"
---

# Commit & PR Discipline
Expand Down Expand Up @@ -194,8 +194,9 @@ git push --force-with-lease # own PR branch; explicit confirmation requi
## PR hygiene
Plan-lifecycle branches are excluded from the generic landing guidance below.
Defer landing them to `plan-manager`, which must obtain fresh explicit user
approval to "Merge now"; do not apply generic merge, squash, or rebase advice to
those branches.
approval to "Merge now", or to an `ultra-yolo` run, which merges without that
approval only when every gate of the plan contract's Ultra-yolo runs holds; do
not apply generic merge, squash, or rebase advice to those branches.

GitHub's guidance (re-verify:
<https://docs.github.com/en/pull-requests/concepts/helping-others-review-your-changes>):
Expand Down
11 changes: 7 additions & 4 deletions SoT/.omp/plugin/skills/plan-manager/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: "Use when a goal may need the six-phase plan flow: decide, draft, r
user-invocable: true
metadata:
pattern: tool-wrapper
updated: "2026-11-24"
content_hash: "29c91d7b337d4330332939b12bfccaa89e32076258d4fb3e2ff69579ce2b56f6"
updated: "2026-12-02"
content_hash: "8e25cd6983e5052e0bc042e1ddba42b95b8c5a052b506f8c319b9d1d90446fad"
---

# Plan Manager
Expand Down Expand Up @@ -33,11 +33,14 @@ Deliver the durable solution that the contract defines.
Ask in-session immediately before running a non-local Effect step. Persisted
intent is not permission. If confirmation is unavailable, block the step and
plan with a reason. The settled mode covers routine issue publication and
linked-branch landing work. Every merge needs a fresh `Merge now` answer. A
linked-branch landing work. Every merge needs a fresh `Merge now` answer,
except the merge that the contract's Ultra-yolo runs section allows. A
production cleanup in the contract's Teardown needs its own in-session question.
A grant in the contract's Delegated decisions answers none of these questions.
In a yolo run, the contract's Yolo runs section replaces every question in this
skill except the merge and production cleanup questions.
skill except the merge and production cleanup questions. In an ultra-yolo run,
its Ultra-yolo runs section also replaces the merge question while every gate
of that section holds.
</constraint>

## Resolve the helper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ The manager posts the whole blocks of one review round unchanged in one issue
comment, in the order that the contract gives for a panel round.
Use fresh review inputs and the review loop in the contract (Phases and review comments). Review comments
are evidence, not authorization to merge. Follow the canonical contract for
trusted verdict selection and the separate fresh merge ask.
trusted verdict selection and the separate fresh merge ask. Only an
ultra-yolo run merges without that ask, when every gate of the contract's
Ultra-yolo runs holds.

## BAD / GOOD

Expand Down
Loading
Loading