docks-kit 0.22.5 → 0.22.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +6 -6
- package/README.md +11 -8
- package/cli/docs/install.md +12 -13
- package/cli/docs/overview.md +1 -1
- package/cli/src/argv.ts +1 -1
- package/cli/src/argvSurface.ts +22 -6
- package/cli/src/checklistPrompt.ts +1 -1
- package/cli/src/commands/docs.ts +1 -1
- package/cli/src/commands/harnesses.ts +1 -1
- package/cli/src/commands/model.ts +1 -1
- package/cli/src/commands/models.ts +1 -1
- package/cli/src/commands/omp.ts +2 -2
- package/cli/src/commands/plugins.ts +1 -1
- package/cli/src/commands/scratch.ts +1 -1
- package/cli/src/commands/skills.ts +1 -1
- package/cli/src/commands/status.ts +1 -1
- package/cli/src/commands/sync.ts +1 -1
- package/cli/src/commands/tidy.ts +1 -1
- package/cli/src/commands/toolchain.ts +1 -1
- package/cli/src/commands/update.ts +1 -1
- package/cli/src/engine-native/ompRemovals.ts +6 -3
- package/cli/src/engine.ts +4 -4
- package/cli/src/generated/sotPayload.ts +3 -3
- package/cli/src/main.ts +2 -2
- package/cli/tsconfig.json +14 -1
- package/package.json +13 -13
package/AGENTS.md
CHANGED
|
@@ -42,9 +42,9 @@ launcher can fall back to Bun source.
|
|
|
42
42
|
| `cli/src/engine-native/sharedTypes.d.ts` | Single definition per shared shape (manifest records, settings edits, omp session model, scalar modifier flags, resolved model catalog) |
|
|
43
43
|
| `cli/src/engine-native/kitDb.ts` | Only opener of the SQLite store `~/.docks-kit/kit.db`: append-only migrations, one-time `state.json` import, TTL cache |
|
|
44
44
|
| `cli/src/engine-native/liveModels.ts` | Live model list per enabled harness (Anthropic API via Claude Code login, Codex model cache, `omp models --json`) merged over `SoT/models.json` |
|
|
45
|
-
| `.oxlintrc.json` /
|
|
45
|
+
| `.oxlintrc.json` / `bunfig.toml` | Mechanical lint (correctness, suspicious, eqeqeq, no-var, prefer-const, no-unused) and the `bun fmt` code format settings (`[fmt]`) |
|
|
46
46
|
| `cli/test/fixtures/` | Golden fixtures: `home-fresh`, `home-drift`, `home-invalid-json`, `codex-toml`, `statusline` |
|
|
47
|
-
| `cli/` | Effect 4
|
|
47
|
+
| `cli/` | Effect 4 CLI + bundled docs topics |
|
|
48
48
|
| `SoT/models.json` | Curated Claude and Codex model overlay: aliases and notes always apply; id rows are the fallback when a harness live list is unavailable |
|
|
49
49
|
| `SoT/toolchain.json` | Toolchain floors manifest (verified pins consumed by EngineNative; optional `upstream` source read by `docks-kit toolchain outdated`) |
|
|
50
50
|
| `SoT/.claude/bin/` | Dependency-free Bun runtime programs for Claude's statusline, SessionStart, and Notification |
|
|
@@ -106,8 +106,8 @@ For per-tool SoT layouts (`SoT/.claude/`, `SoT/.codex/`, `SoT/.omp/`), see the m
|
|
|
106
106
|
- **Idempotent operations.** Every EngineNative sync step must be safe to re-run. Settings merges, plugin installs, and marketplace adds are all idempotent — re-running with no SoT changes is a no-op.
|
|
107
107
|
- **Failed harness-CLI operations fail the sync.** A kit-managed marketplace or plugin command that exits non-zero is recorded through `failures.ts recordFailure` — it still warns in place, and `syncDispatch.ts engineSync, failure ledger` lists every entry under `--- Failures ---` after the summary, then returns exit 1. A skip is not a failure: a missing harness CLI, missing git, and a missing `SoT/toolchain.json` pin stay warn-only with exit 0; an unavailable plugin inventory warns without a ledger row and falls back to the full refresh, whose failed commands are recorded. `ompMarketplace.ts syncMarketplace, probe guard` returns before spawning so a host without omp never records one. Aggregate roll-up warnings (`N plugin operation(s) failed`) stay warns, because each counted site already records itself.
|
|
108
108
|
- **Removed bash engine.** The bash engine was removed after the `bash-engine-final` tag. `DOCKS_KIT_ENGINE=bash` must fail with the removed-engine message; engine bugs are fixed forward in EngineNative.
|
|
109
|
-
- **Effect 4 CLI stack.** The CLI pins `effect@4.
|
|
110
|
-
- **Effect skill routing.** Effect work in this checkout must verify migration and API call shapes against the installed declarations under `node_modules/effect/dist/
|
|
109
|
+
- **Effect 4 CLI stack.** The CLI pins `effect@4.1.2` (including `effect/cli`), `@effect/platform-bun@4.1.2` (`BunServices.layer`, `BunRuntime.runMain`), and `@effect/platform-node-shared@4.1.2`. `effect/cli`, `effect/Terminal`, `BunRuntime`, and `BunServices` carry `@stability unstable`, so a minor Effect release can break them; 4.1.0 added a required `Terminal.size`. Tests run on `vitest@5.1.0`, a plain devDependency. No GitHub advisory affects vitest 5.1.0: 5.0.3 fixed GHSA-qxg6-89mg-rqv8 and GHSA-xp26-3454-mjgp, and 5.0.0-rc.2 fixed GHSA-82fw-gwwq-j7x9. The lockfile resolves the `vite` peer to 7.3.7, which fixes the launch-editor and `server.fs.allow` advisories up to 7.3.6 and has no open advisory. `@effect/cli` and `@effect/platform` are removed and must not be reintroduced.
|
|
110
|
+
- **Effect skill routing.** Effect work in this checkout must verify migration and API call shapes against the installed declarations under `node_modules/effect/dist/cli/`, never from memory or a mutable dist-tag. The `effect-ts-setup`, `effect-ts-port`, and `effect-ts-specialist` skills target Effect 3.x and do not apply.
|
|
111
111
|
- **Targeted syncs.** `./docks-kit sync` accepts positional targets: `claude`, `codex`, `agents`, and `omp`. Use the narrowest target that matches the SoT change (for example, `./docks-kit sync omp` for omp-only config edits); targets can be combined with `--dry-run`, `--skip-bubblewrap` (skip optional bubblewrap bootstrap for the Codex Linux sandbox), `--skip-plugin-refresh` (install missing plugins without refreshing existing caches), `--reconcile`, `--prune`, and the deploy-time modifiers `--claude-compact-window=<tokens>` / `--claude-permissive` / `--claude-model=<m>` / `--claude-effort=<level>` / `--claude-advisor=<on|off|default>` / `--codex-model=<m>` / `--codex-effort=<level>` (see `CLAUDE.md` § Deploy-time modifiers).
|
|
112
112
|
- **Per-machine harness selection.** The SQLite store `~/.docks-kit/kit.db` drives a flag-less sync. A missing selection selects `claude`, `codex`, and `agents`; it never selects `omp` implicitly. `sync` never prompts and never writes the selection. `docks-kit harnesses` is the only command that writes the `harness_selection` table. With no stored selection, its picker pre-ticks all four harnesses, `omp` included, so a new machine opts out of omp instead of opting in; nothing changes until the picker saves. The same store holds the independent `omp_session` table, which only `docks-kit omp` writes, and a TTL cache (`cache_entry`) for the live Anthropic model list and `toolchain outdated` lookups. `kitDb.ts withKitDb` is the only opener: it runs the append-only `MIGRATIONS`, imports a legacy `state.json` once and renames it to `state.json.migrated`, and refuses a store from a newer schema. Cache rows carry the kit version as fingerprint, so a new release refetches them.
|
|
113
113
|
- **Additive by default.** Keys present in deployed config but absent from SoT are preserved on default sync. This protects user-only additions, but means drift accumulates — neither flag-less reset can clean it up. The one exception is the Claude `removed` manifest (`claudeRemovals.ts REMOVED_MANIFEST, baseline removal inventory`), a curated list of unambiguous kit-owned artifacts that `claudeRemovals.ts syncRemovals, baseline artifact prune` force-prunes on every sync, including the home-relative `~/.local/bin/session-relay` artifact installed outside `~/.claude`; see `CLAUDE.md` § Pruning stale artifacts. Codex `config.toml` merges at table granularity: a table the SoT declares (`[features]`, `[sandbox_workspace_write]`, `[tui]`, ...) is replaced wholesale, so user keys inside it are dropped. The prior file stays in `config.toml.bak`, and user-only top-level keys and tables survive.
|
|
@@ -129,11 +129,11 @@ For per-tool SoT layouts (`SoT/.claude/`, `SoT/.codex/`, `SoT/.omp/`), see the m
|
|
|
129
129
|
|
|
130
130
|
- No secrets in SoT. The kit's SoT directories are committed; treat them as declarative config only.
|
|
131
131
|
- Treat external plugin marketplaces and installer downloads as untrusted input. Prefer download-then-run over `curl … | bash` so a truncated stream cannot execute a partial script.
|
|
132
|
-
- **Pin, never float.** Every kit-driven install of third-party software is pinned to a `SoT/toolchain.json` `verified` version — no `@latest` npm/bun installs (Shai-Hulud-class worm surface), no mutable action tags in workflows (commit SHAs only), installer scripts fetched from version tags where upstream supports it. New third-party install surface ⇒ manifest pin first. The rule also covers a transitive dependency whose declared range is a caret or tilde over a prerelease: `^4.0.0-rc.109` admits every later prerelease of the same version tuple, and a published install resolves that range fresh because `bun.lock` is not packaged, so a runtime pinned in `package.json` meets a newer sibling and the process fails at startup. The fix is an exact root pin plus both guards: the offline `cli/test/unit/dependencyPins.test.ts` and the clean-room `bun run smoke:package`. Moving the Effect release is therefore one lockstep commit: set `effect`, `@effect/platform-bun`, `@effect/platform-node-shared
|
|
132
|
+
- **Pin, never float.** Every kit-driven install of third-party software is pinned to a `SoT/toolchain.json` `verified` version — no `@latest` npm/bun installs (Shai-Hulud-class worm surface), no mutable action tags in workflows (commit SHAs only), installer scripts fetched from version tags where upstream supports it. New third-party install surface ⇒ manifest pin first. The rule also covers a transitive dependency whose declared range is a caret or tilde over a prerelease: `^4.0.0-rc.109` admits every later prerelease of the same version tuple, and a published install resolves that range fresh because `bun.lock` is not packaged, so a runtime pinned in `package.json` meets a newer sibling and the process fails at startup. The fix is an exact root pin plus both guards: the offline `cli/test/unit/dependencyPins.test.ts` and the clean-room `bun run smoke:package`. Moving the Effect release is therefore one lockstep commit: set `effect`, `@effect/platform-bun`, and `@effect/platform-node-shared` to the same version together, then run `bun run smoke:package`. The offline guard fails when a lag breaks a declared range. Its peer-range check fails when the installed `effect` is outside a non-optional peer range of the runtime closure. Its nested-copy check fails when `@effect/platform-node-shared` lags. A lagging `@effect/platform-bun` can keep every declared range satisfied (4.1.1 accepts `@effect/platform-node-shared` `^4.1.1`), so only the lockstep commit keeps it in step. Details: the `toolchain-context` skill and `cli/docs/toolchain.md`.
|
|
133
133
|
- **One exemption: the kit's own package.** `install.sh` and `install.ps1` end with `bun add -g docks-kit@latest`, because a global installer that pinned itself would install a fixed old kit forever, and pinning it to `package.json` would request an unpublished version between the release-prep commit and the npm publish. The exemption covers `docks-kit` alone. Both installers still pin the Bun installer they download to the manifest's verified version. `cli/test/unit/hostTargets.test.ts` asserts that pin in all four launcher and installer scripts, and `cli/test/unit/install.test.ts` proves `install.sh` passes it to the Bun installer.
|
|
134
134
|
## Testing
|
|
135
135
|
|
|
136
|
-
Run `bun run check` before and after each change: oxlint, `
|
|
136
|
+
Run `bun run check` before and after each change: oxlint, `lint:effect` (Effect rules through `effect-tsgo diagnostics --strict`), `bun fmt --check`, `bun check`, unit tests, and both golden suites. Scripts: `lint`, `lint:effect`, `format:check`, `typecheck`, `test:unit`, `test:integration` (goldens), `test`, `format`; CI runs `check` on push and pull request with Bun 1.4.4. Prove-red modes must exit non-zero after detecting planted mismatches. The golden writer emits two-space JSON that `bun fmt` re-serializes, so run `bun run format` after `--update-goldens` or `format:check` fails. For Effect diagnostics in the editor, set the TypeScript language server command to `node_modules/.bin/effect-tsgo tsc --lsp --stdio`. Keep the `@effect/language-service` plugin entry in `cli/tsconfig.json`: without it, `lint:effect` checks no file and passes. Also verify user-facing changes via `./docks-kit sync --dry-run`, per-tool sanity (`/doctor`, `/plugin`, etc.), `bun run test:runtime:posix`, and `diff <(jq -S . <SoT>) <(jq -S . <deployed>)` recipes from the per-tool file.
|
|
137
137
|
|
|
138
138
|
Use direct acceptance and focused regressions while iterating, then run the full unit/golden gate once at the pre-commit or release boundary. Reuse still-matching evidence; a later relevant edit invalidates only the affected rung and final gate, not every prior check.
|
|
139
139
|
|
package/README.md
CHANGED
|
@@ -59,15 +59,18 @@ docks-kit docs [topic] self-documentation (12 topics)
|
|
|
59
59
|
--help --version --wizard --completions built-in
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
The CLI is a typed Effect 4
|
|
62
|
+
The CLI is a typed Effect 4 front-end on Bun; all mutation runs through
|
|
63
63
|
EngineNative in `cli/src/engine-native/`, with golden-regression coverage for
|
|
64
64
|
dry-run output, mutation snapshots, and argv logs. Its dependency graph is
|
|
65
|
-
`effect@4.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
65
|
+
`effect@4.1.2` (including `effect/cli`), `@effect/platform-bun@4.1.2`
|
|
66
|
+
(`BunServices.layer` and `BunRuntime.runMain`), and
|
|
67
|
+
`@effect/platform-node-shared@4.1.2`. Tests run on `vitest@5.1.0`.
|
|
68
|
+
`bun run lint:effect` checks the Effect rules through `@effect/tsgo`. The
|
|
69
|
+
same package can run as the editor's TypeScript language server
|
|
70
|
+
(`node_modules/.bin/effect-tsgo tsc --lsp --stdio`).
|
|
71
|
+
`@effect/cli` and `@effect/platform` are removed: neither has a 4.x release,
|
|
72
|
+
the CLI API moved into core, and the standalone platform package was unused
|
|
73
|
+
here.
|
|
71
74
|
|
|
72
75
|
### Key flags (`docks-kit sync`)
|
|
73
76
|
|
|
@@ -144,7 +147,7 @@ and a later flag-less sync reverts them. Full reference: `docks-kit docs flags`
|
|
|
144
147
|
| `SoT/toolchain.json` | Verified-version floors |
|
|
145
148
|
| `cli/src/engine-native/` | EngineNative sync/model/toolchain implementation |
|
|
146
149
|
| `cli/src/generated/sotPayload.ts` | Generated in-memory payload used by standalone and npm installs |
|
|
147
|
-
| `cli/` | docks-kit CLI (Effect 4
|
|
150
|
+
| `cli/` | docks-kit CLI (Effect 4 on Bun) + bundled docs topics |
|
|
148
151
|
| `docks-kit` / `docks-kit.ps1` | POSIX and Windows launchers (binary → Bun-from-source) |
|
|
149
152
|
| `install.sh` / `install.ps1` | POSIX and Windows global installers |
|
|
150
153
|
| `docs/PLAN.md` | Plan record standard; plans are GitHub issues |
|
package/cli/docs/install.md
CHANGED
|
@@ -31,21 +31,20 @@ are versioned config snapshots without publishing the authoring `SoT/` tree.
|
|
|
31
31
|
Kit-home resolution remains available for checkout/package update behavior and
|
|
32
32
|
display paths, but sync reads do not depend on it.
|
|
33
33
|
|
|
34
|
-
### Bun 1.4.
|
|
34
|
+
### Bun 1.4.4 install output
|
|
35
35
|
|
|
36
|
-
A supported global install completes with no blocked postinstall
|
|
36
|
+
A supported global install completes with no blocked postinstall. The graph
|
|
37
|
+
holds nine packages, and no package in it has an install script. `bun pm -g
|
|
37
38
|
untrusted` reports zero untrusted dependencies with scripts. Neither
|
|
38
|
-
`@parcel/watcher` nor `esbuild` is in the consumer graph.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
caret range over a prerelease and a fresh install can pair a newer shared
|
|
48
|
-
package with the pinned `effect`.
|
|
39
|
+
`@parcel/watcher` nor `esbuild` is in the consumer graph.
|
|
40
|
+
|
|
41
|
+
The install prints no peer dependency warning. The root pins `effect`,
|
|
42
|
+
`@effect/platform-bun`, and `@effect/platform-node-shared` at exactly `4.1.2`.
|
|
43
|
+
`@effect/platform-bun@4.1.2` also pins `@effect/platform-node-shared` at
|
|
44
|
+
exactly `4.1.2`, and both packages accept `effect@^4.1.2` as a peer. So a
|
|
45
|
+
fresh registry resolution installs exactly one copy of each package. The root
|
|
46
|
+
pin of `@effect/platform-node-shared` lets the offline nested-copy guard catch
|
|
47
|
+
a copy that lags behind the pinned release.
|
|
49
48
|
|
|
50
49
|
## 3. curl installer (POSIX)
|
|
51
50
|
|
package/cli/docs/overview.md
CHANGED
|
@@ -17,7 +17,7 @@ AI-assisted dev environment on every machine.
|
|
|
17
17
|
| `SoT/toolchain.json` | Verified-version floors for external tools (see `docks-kit docs toolchain`) |
|
|
18
18
|
| `cli/src/generated/sotPayload.ts` | Deterministic generated payload embedded in standalone/npm execution |
|
|
19
19
|
| `cli/src/engine-native/` | EngineNative mutation logic for sync/model/toolchain and the `docks-kit omp` session overlay |
|
|
20
|
-
| `cli/` | This CLI (Effect 4
|
|
20
|
+
| `cli/` | This CLI (Effect 4 on Bun) plus bundled docs |
|
|
21
21
|
| `docks-kit` / `docks-kit.ps1` | POSIX and Windows launchers: version-matching compiled binary → Bun-from-source, with Bun auto-install |
|
|
22
22
|
|
|
23
23
|
## Design rules
|
package/cli/src/argv.ts
CHANGED
package/cli/src/argvSurface.ts
CHANGED
|
@@ -130,8 +130,8 @@ const globalSurface = (builtIns: unknown): GlobalFlagSurface => {
|
|
|
130
130
|
}
|
|
131
131
|
if (builtIn._tag === "Action") {
|
|
132
132
|
// Only a presence-based action is idempotent. `--completions` is an action
|
|
133
|
-
// that takes a value
|
|
134
|
-
//
|
|
133
|
+
// that takes a value. Effect 4.0.7 and later reject a repeat with help output
|
|
134
|
+
// and its own message; the duplicate rule refuses it first, with exit 2.
|
|
135
135
|
const metadata = flagMetadata(builtIn.flag);
|
|
136
136
|
if (!metadata.takesValue) actionFlags.add(`--${metadata.name}`);
|
|
137
137
|
}
|
|
@@ -227,7 +227,8 @@ export interface ScannedFlag {
|
|
|
227
227
|
export interface ArgvNormalization {
|
|
228
228
|
readonly flagIndex: number;
|
|
229
229
|
readonly valueIndex: number;
|
|
230
|
-
|
|
230
|
+
/** The replacement token, or `undefined` to drop the tokens from the argument list. */
|
|
231
|
+
readonly token: string | undefined;
|
|
231
232
|
}
|
|
232
233
|
|
|
233
234
|
export interface ScannedArgv {
|
|
@@ -257,6 +258,7 @@ export const scanArgv = (
|
|
|
257
258
|
): ScannedArgv => {
|
|
258
259
|
const flags: Array<ScannedFlag> = [];
|
|
259
260
|
const normalizations: Array<ArgvNormalization> = [];
|
|
261
|
+
const seenActions = new Set<string>();
|
|
260
262
|
|
|
261
263
|
for (let index = 0; index < args.length; index++) {
|
|
262
264
|
const token = args[index];
|
|
@@ -281,8 +283,9 @@ export const scanArgv = (
|
|
|
281
283
|
if (next !== undefined && next !== "--" && !nextIsRecognizedFlag) {
|
|
282
284
|
hasValue = true;
|
|
283
285
|
if (next.startsWith("-")) {
|
|
284
|
-
// Effect 4's lexer treats
|
|
285
|
-
// dash-leading value only
|
|
286
|
+
// Effect 4's lexer treats every `-`-leading token except a lone `-` or a
|
|
287
|
+
// negative number as an option, so a legitimate dash-leading value only
|
|
288
|
+
// survives in the inline form.
|
|
286
289
|
normalizations.push({
|
|
287
290
|
flagIndex: index,
|
|
288
291
|
valueIndex: index + 1,
|
|
@@ -301,6 +304,19 @@ export const scanArgv = (
|
|
|
301
304
|
}
|
|
302
305
|
}
|
|
303
306
|
|
|
307
|
+
if (
|
|
308
|
+
canonicalName !== undefined &&
|
|
309
|
+
!hasValue &&
|
|
310
|
+
surfaces.globalSurface.actionFlags.has(canonicalName)
|
|
311
|
+
) {
|
|
312
|
+
// Effect 4.0.7 and later reject any flag given twice, but a repeated
|
|
313
|
+
// presence-only action asks for the same thing, so Effect sees it once.
|
|
314
|
+
if (seenActions.has(canonicalName)) {
|
|
315
|
+
normalizations.push({ flagIndex: index, valueIndex: index, token: undefined });
|
|
316
|
+
}
|
|
317
|
+
seenActions.add(canonicalName);
|
|
318
|
+
}
|
|
319
|
+
|
|
304
320
|
flags.push({ token, name, canonicalName, hasValue, takesValue });
|
|
305
321
|
}
|
|
306
322
|
|
|
@@ -318,7 +334,7 @@ export const normalizeArgv = (
|
|
|
318
334
|
for (let index = 0; index < args.length; index++) {
|
|
319
335
|
const normalization = normalizations[normalizationIndex];
|
|
320
336
|
if (normalization !== undefined && normalization.flagIndex === index) {
|
|
321
|
-
normalized.push(normalization.token);
|
|
337
|
+
if (normalization.token !== undefined) normalized.push(normalization.token);
|
|
322
338
|
index = normalization.valueIndex;
|
|
323
339
|
normalizationIndex++;
|
|
324
340
|
continue;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Effect, Terminal } from "effect";
|
|
2
|
-
import { Prompt } from "effect/
|
|
2
|
+
import { Prompt } from "effect/cli";
|
|
3
3
|
import { terminalCells, terminalRows } from "./terminalCells";
|
|
4
4
|
|
|
5
5
|
/** One row of a checklist. The label and the description are each one line of text. */
|
package/cli/src/commands/docs.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Argument, Command, Flag } from "effect/
|
|
1
|
+
import { Argument, Command, Flag } from "effect/cli";
|
|
2
2
|
import { Console, Effect, Option } from "effect";
|
|
3
3
|
import { bail } from "../engine";
|
|
4
4
|
import overview from "../../docs/overview.md" with { type: "text" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Argument, Command, Flag, Prompt } from "effect/
|
|
1
|
+
import { Argument, Command, Flag, Prompt } from "effect/cli";
|
|
2
2
|
import { Effect, Option } from "effect";
|
|
3
3
|
import { bail, engine } from "../engine";
|
|
4
4
|
import { engineHome } from "../engine-native/harnesses";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Argument, Command, Flag } from "effect/
|
|
1
|
+
import { Argument, Command, Flag } from "effect/cli";
|
|
2
2
|
import { Console, Effect, Option } from "effect";
|
|
3
3
|
import { bail } from "../engine";
|
|
4
4
|
import { engineHome, LEGACY_SELECTION, readHarnessSelection } from "../engine-native/harnesses";
|
package/cli/src/commands/omp.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Argument, Command, Flag, Prompt } from "effect/
|
|
1
|
+
import { Argument, Command, Flag, Prompt } from "effect/cli";
|
|
2
2
|
import { Console, Effect, Option } from "effect";
|
|
3
3
|
import { chmodSync, mkdirSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { bail } from "../engine";
|
|
@@ -424,7 +424,7 @@ export const ompCommand = Command.make("omp", { model, pick, fast, args }, (conf
|
|
|
424
424
|
);
|
|
425
425
|
}
|
|
426
426
|
// A signalled child reports a null status, which must not look successful.
|
|
427
|
-
yield* Effect.sync(() => process.exit(child.status ?? 1));
|
|
427
|
+
return yield* Effect.sync(() => process.exit(child.status ?? 1));
|
|
428
428
|
}),
|
|
429
429
|
).pipe(
|
|
430
430
|
Command.withDescription(
|
package/cli/src/commands/sync.ts
CHANGED
package/cli/src/commands/tidy.ts
CHANGED
|
@@ -20,9 +20,11 @@ type RetiredScalar = string | number | boolean;
|
|
|
20
20
|
/**
|
|
21
21
|
* Keys the kit used to deploy, each paired with the exact value it deployed. A
|
|
22
22
|
* key is pruned only while the deployed value still equals that value, so a
|
|
23
|
-
* user who changed the setting keeps it. Every recorded value
|
|
24
|
-
* current default, so pruning
|
|
25
|
-
* upstream default change take
|
|
23
|
+
* user who changed the setting keeps it. Every recorded value except
|
|
24
|
+
* `retry.usageAwareFallback` also equals omp's current default, so pruning those
|
|
25
|
+
* changes no behavior today and lets a later upstream default change take
|
|
26
|
+
* effect. Pruning `retry.usageAwareFallback: true` restores omp's default
|
|
27
|
+
* `false`, which removes the coding-plan reserve prompt.
|
|
26
28
|
*/
|
|
27
29
|
const OMP_RETIRED_VALUES: ReadonlyArray<readonly [string, RetiredScalar]> = [
|
|
28
30
|
["symbolPreset", "unicode"],
|
|
@@ -43,6 +45,7 @@ const OMP_RETIRED_VALUES: ReadonlyArray<readonly [string, RetiredScalar]> = [
|
|
|
43
45
|
["interruptMode", "immediate"],
|
|
44
46
|
["autoResume", false],
|
|
45
47
|
["startup.changelogMode", "summary"],
|
|
48
|
+
["retry.usageAwareFallback", true],
|
|
46
49
|
];
|
|
47
50
|
|
|
48
51
|
/**
|
package/cli/src/engine.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CliError } from "effect/
|
|
1
|
+
import { CliError } from "effect/cli";
|
|
2
2
|
import { Console, Effect } from "effect";
|
|
3
3
|
import { spawnSync } from "node:child_process";
|
|
4
4
|
import { runEngineNative } from "./engine-native";
|
|
@@ -11,7 +11,7 @@ import { DependencyManagerService, LoggerService, PlatformService } from "./serv
|
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* The single seam between the typed CLI and EngineNative. Engine execution
|
|
14
|
-
* stays in-process after effect/
|
|
14
|
+
* stays in-process after effect/cli has parsed pickers and flag spellings.
|
|
15
15
|
*/
|
|
16
16
|
const bashRemovedMessage = "bash engine removed — recover at tag bash-engine-final";
|
|
17
17
|
const bashEngineRequested = (): boolean => process.env["DOCKS_KIT_ENGINE"] === "bash";
|
|
@@ -52,7 +52,7 @@ export const engine = (args: ReadonlyArray<string>) =>
|
|
|
52
52
|
Effect.gen(function* () {
|
|
53
53
|
yield* requireSupportedHost();
|
|
54
54
|
if (bashEngineRequested()) {
|
|
55
|
-
yield* bail(bashRemovedMessage, 2);
|
|
55
|
+
return yield* bail(bashRemovedMessage, 2);
|
|
56
56
|
}
|
|
57
57
|
const logger = yield* LoggerService;
|
|
58
58
|
const deps = yield* DependencyManagerService;
|
|
@@ -66,7 +66,7 @@ export const engine = (args: ReadonlyArray<string>) =>
|
|
|
66
66
|
}),
|
|
67
67
|
});
|
|
68
68
|
if (code !== 0) {
|
|
69
|
-
yield* Effect.sync(() => process.exit(code));
|
|
69
|
+
return yield* Effect.sync(() => process.exit(code));
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
72
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by cli/scripts/generate-sot-payload.ts. DO NOT EDIT.
|
|
2
2
|
// Edit SoT/, notification.mp3, or package.json, then run: bun cli/scripts/generate-sot-payload.ts
|
|
3
3
|
|
|
4
|
-
export const GENERATED_PACKAGE_VERSION = "0.22.
|
|
4
|
+
export const GENERATED_PACKAGE_VERSION = "0.22.7"
|
|
5
5
|
|
|
6
6
|
export const GENERATED_PAYLOAD_TEXT = {
|
|
7
7
|
"SoT/.agents/skills.txt": "# Universal AI-agent skill manifest intentionally empty.\n# Global skill discovery is opt-in: add one slug per installed skill: <owner>/<repo>@<skill-name> (or a path to one skill directory).\n# EngineNative ignores comments and blank lines.\n",
|
|
@@ -18,7 +18,7 @@ export const GENERATED_PAYLOAD_TEXT = {
|
|
|
18
18
|
"SoT/.codex/plugins/marketplace.json": "{\n \"name\": \"docks\",\n \"interface\": {\n \"displayName\": \"DocksDocks\"\n },\n \"plugins\": [\n {\n \"name\": \"docks\",\n \"source\": {\n \"source\": \"git-subdir\",\n \"url\": \"https://github.com/DocksDocks/docks.git\",\n \"path\": \"./plugins/docks\",\n \"ref\": \"main\"\n },\n \"policy\": {\n \"installation\": \"AVAILABLE\",\n \"authentication\": \"ON_INSTALL\"\n },\n \"category\": \"Productivity\"\n },\n {\n \"name\": \"plan-lifecycle\",\n \"source\": {\n \"source\": \"git-subdir\",\n \"url\": \"https://github.com/DocksDocks/docks.git\",\n \"path\": \"./plugins/plan-lifecycle\",\n \"ref\": \"main\"\n },\n \"policy\": {\n \"installation\": \"AVAILABLE\",\n \"authentication\": \"ON_INSTALL\"\n },\n \"category\": \"Productivity\"\n }\n ]\n}\n",
|
|
19
19
|
"SoT/.codex/rules/docks.rules": "prefix_rule(pattern=[\"pwd\"], decision=\"allow\")\nprefix_rule(pattern=[\"ls\"], decision=\"allow\")\nprefix_rule(pattern=[\"cat\"], decision=\"allow\")\nprefix_rule(pattern=[\"head\"], decision=\"allow\")\nprefix_rule(pattern=[\"tail\"], decision=\"allow\")\nprefix_rule(pattern=[\"wc\"], decision=\"allow\")\nprefix_rule(pattern=[\"nl\"], decision=\"allow\")\nprefix_rule(pattern=[\"grep\"], decision=\"allow\")\nprefix_rule(pattern=[\"diff\"], decision=\"allow\")\nprefix_rule(pattern=[\"which\"], decision=\"allow\")\nprefix_rule(pattern=[\"date\"], decision=\"allow\")\nprefix_rule(pattern=[\"basename\"], decision=\"allow\")\nprefix_rule(pattern=[\"dirname\"], decision=\"allow\")\nprefix_rule(pattern=[\"realpath\"], decision=\"allow\")\nprefix_rule(pattern=[\"readlink\"], decision=\"allow\")\nprefix_rule(pattern=[\"jq\"], decision=\"allow\")\nprefix_rule(pattern=[\"cut\"], decision=\"allow\")\nprefix_rule(pattern=[\"tr\"], decision=\"allow\")\nprefix_rule(pattern=[\"echo\"], decision=\"allow\")\nprefix_rule(pattern=[\"printf\"], decision=\"allow\")\nprefix_rule(pattern=[\"printenv\"], decision=\"allow\")\nprefix_rule(pattern=[\"uname\"], decision=\"allow\")\nprefix_rule(pattern=[\"file\"], decision=\"allow\")\nprefix_rule(pattern=[\"stat\"], decision=\"allow\")\nprefix_rule(pattern=[\"du\"], decision=\"allow\")\nprefix_rule(pattern=[\"id\"], decision=\"allow\")\nprefix_rule(pattern=[\"whoami\"], decision=\"allow\")\n\nprefix_rule(pattern=[\"git\", \"status\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"blame\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"rev-parse\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"ls-files\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"ls-tree\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"branch\", \"--show-current\"], decision=\"allow\")\nprefix_rule(pattern=[\"git\", \"branch\", \"-vv\"], decision=\"allow\")\n\nprefix_rule(pattern=[\"gh\", \"pr\", \"view\"], decision=\"allow\")\nprefix_rule(pattern=[\"gh\", \"pr\", \"list\"], decision=\"allow\")\nprefix_rule(pattern=[\"gh\", \"pr\", \"diff\"], decision=\"allow\")\nprefix_rule(pattern=[\"gh\", \"pr\", \"status\"], decision=\"allow\")\nprefix_rule(pattern=[\"gh\", \"pr\", \"checks\"], decision=\"allow\")\n\nprefix_rule(pattern=[\"docker\", \"ps\"], decision=\"allow\")\n\nprefix_rule(pattern=[\"git\", \"push\"], decision=\"prompt\")\nprefix_rule(pattern=[\"git\", \"reset\"], decision=\"prompt\")\nprefix_rule(pattern=[\"git\", \"clean\"], decision=\"prompt\")\nprefix_rule(pattern=[\"git\", \"merge\"], decision=\"prompt\")\nprefix_rule(pattern=[\"git\", \"rebase\"], decision=\"prompt\")\nprefix_rule(pattern=[\"git\", \"checkout\"], decision=\"prompt\")\nprefix_rule(pattern=[\"git\", \"mv\"], decision=\"prompt\")\n\nprefix_rule(pattern=[\"rm\"], decision=\"prompt\")\nprefix_rule(pattern=[\"mv\"], decision=\"prompt\")\nprefix_rule(pattern=[\"chmod\"], decision=\"prompt\")\nprefix_rule(pattern=[\"chown\"], decision=\"prompt\")\nprefix_rule(pattern=[\"kill\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pkill\"], decision=\"prompt\")\n\nprefix_rule(pattern=[\"npm\", \"install\"], decision=\"prompt\")\nprefix_rule(pattern=[\"npm\", \"uninstall\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pnpm\", \"add\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pnpm\", \"remove\"], decision=\"prompt\")\nprefix_rule(pattern=[\"yarn\", \"add\"], decision=\"prompt\")\nprefix_rule(pattern=[\"yarn\", \"remove\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pip\", \"install\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pip\", \"uninstall\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pip3\", \"install\"], decision=\"prompt\")\nprefix_rule(pattern=[\"pip3\", \"uninstall\"], decision=\"prompt\")\n\nprefix_rule(pattern=[\"docker\", \"run\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"rm\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"stop\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"volume\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"system\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"compose\", \"up\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"compose\", \"down\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"compose\", \"rm\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker\", \"compose\", \"stop\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker-compose\", \"up\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker-compose\", \"down\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker-compose\", \"rm\"], decision=\"prompt\")\nprefix_rule(pattern=[\"docker-compose\", \"stop\"], decision=\"prompt\")\n\n# `tail -f`/`--follow` never returns and hangs the agent (bare `tail` stays allowed above).\nprefix_rule(pattern=[\"tail\", \"-f\"], decision=\"prompt\")\nprefix_rule(pattern=[\"tail\", \"--follow\"], decision=\"prompt\")\n# These commands are prompt or absent, NOT allow, because argv-prefix matching\n# cannot gate a later write or exec flag, and allow runs outside the sandbox:\n# rg --pre=CMD; sed -n 'e CMD' or -ni; sort -o FILE or --compress-program=CMD;\n# the uniq OUTPUT operand; tree -o FILE; git diff/log/show --output=FILE;\n# git grep --open-files-in-pager=CMD or -O; git mv into .git/hooks.\n# Without a rule, sort, uniq, tree, git diff/log/show, and git grep run in the\n# sandbox with no prompt.\nprefix_rule(pattern=[\"rg\"], decision=\"prompt\")\nprefix_rule(pattern=[\"sed\", \"-n\"], decision=\"prompt\")\nprefix_rule(pattern=[\"find\"], decision=\"prompt\")\nprefix_rule(pattern=[\"sed\", \"-i\"], decision=\"prompt\")\nprefix_rule(pattern=[\"sed\", \"--in-place\"], decision=\"prompt\")\nprefix_rule(pattern=[\"awk\"], decision=\"prompt\")\nprefix_rule(pattern=[\"xargs\"], decision=\"prompt\")\nprefix_rule(pattern=[\"tee\"], decision=\"prompt\")\nprefix_rule(pattern=[\"curl\"], decision=\"prompt\")\nprefix_rule(pattern=[\"env\"], decision=\"prompt\")\n\nprefix_rule(pattern=[\"sudo\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"eval\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"mkfs\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"dd\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"git\", \"push\", \"--force\", \"origin\", \"main\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"git\", \"push\", \"--force\", \"origin\", \"master\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"git\", \"push\", \"-f\", \"origin\", \"main\"], decision=\"forbidden\")\nprefix_rule(pattern=[\"git\", \"push\", \"-f\", \"origin\", \"master\"], decision=\"forbidden\")\n\n# Destructive-command guards. Codex applies the strictest matching rule\n# (forbidden > prompt > allow), so an allow rule in another .rules file cannot\n# loosen them, and a narrow allow cannot carve an exception out of a prompt.\n# The rm, find, git push, git reset, and git clean prompt rules above already\n# make every recursive or bulk deletion and every history-destroying git\n# command prompt. Codex prefix rules cannot see an option after an operand,\n# so every rm prompts, a single-file rm too. A prompt goes to the approvals\n# reviewer in config.toml (auto_review), not always to a person.\n#\n# rm of the filesystem root as Codex runs it: argv tokens, or a plain script\n# that Codex splits into argv tokens.\nprefix_rule(pattern=[\"rm\", \"/\"], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[\"rm\", [\"-r\", \"-R\", \"-f\", \"-rf\", \"-fr\", \"-Rf\", \"-fR\", \"-rfv\", \"-vrf\", \"-v\", \"--recursive\", \"--force\", \"--no-preserve-root\", \"--\"], \"/\"], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[\"rm\", [\"-r\", \"-R\", \"-f\", \"-rf\", \"-fr\", \"-Rf\", \"-fR\", \"-rfv\", \"-vrf\", \"-v\", \"--recursive\", \"--force\", \"--no-preserve-root\", \"--\"], [\"-r\", \"-R\", \"-f\", \"-rf\", \"-fr\", \"-Rf\", \"-fR\", \"-rfv\", \"-vrf\", \"-v\", \"--recursive\", \"--force\", \"--no-preserve-root\", \"--\"], \"/\"], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[\"rm\", [\"-r\", \"-R\", \"-f\", \"-rf\", \"-fr\", \"-Rf\", \"-fR\", \"-rfv\", \"-vrf\", \"-v\", \"--recursive\", \"--force\", \"--no-preserve-root\", \"--\"], [\"-r\", \"-R\", \"-f\", \"-rf\", \"-fr\", \"-Rf\", \"-fR\", \"-rfv\", \"-vrf\", \"-v\", \"--recursive\", \"--force\", \"--no-preserve-root\", \"--\"], [\"-r\", \"-R\", \"-f\", \"-rf\", \"-fr\", \"-Rf\", \"-fR\", \"-rfv\", \"-vrf\", \"-v\", \"--recursive\", \"--force\", \"--no-preserve-root\", \"--\"], \"/\"], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\n# Codex does not split a script that holds ~, $HOME, a glob, or a substitution.\n# It matches the whole [shell, -c, script] invocation, so these rules forbid\n# only the exact scripts listed.\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm ~\", \"rm -r ~\", \"rm -R ~\", \"rm -f ~\", \"rm -rf ~\", \"rm -fr ~\", \"rm -Rf ~\", \"rm -fR ~\", \"rm -r -f ~\", \"rm -f -r ~\", \"rm --recursive ~\", \"rm --recursive --force ~\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm ~/\", \"rm -r ~/\", \"rm -R ~/\", \"rm -f ~/\", \"rm -rf ~/\", \"rm -fr ~/\", \"rm -Rf ~/\", \"rm -fR ~/\", \"rm -r -f ~/\", \"rm -f -r ~/\", \"rm --recursive ~/\", \"rm --recursive --force ~/\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm $HOME\", \"rm -r $HOME\", \"rm -R $HOME\", \"rm -f $HOME\", \"rm -rf $HOME\", \"rm -fr $HOME\", \"rm -Rf $HOME\", \"rm -fR $HOME\", \"rm -r -f $HOME\", \"rm -f -r $HOME\", \"rm --recursive $HOME\", \"rm --recursive --force $HOME\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm $HOME/\", \"rm -r $HOME/\", \"rm -R $HOME/\", \"rm -f $HOME/\", \"rm -rf $HOME/\", \"rm -fr $HOME/\", \"rm -Rf $HOME/\", \"rm -fR $HOME/\", \"rm -r -f $HOME/\", \"rm -f -r $HOME/\", \"rm --recursive $HOME/\", \"rm --recursive --force $HOME/\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm \\\"$HOME\\\"\", \"rm -r \\\"$HOME\\\"\", \"rm -R \\\"$HOME\\\"\", \"rm -f \\\"$HOME\\\"\", \"rm -rf \\\"$HOME\\\"\", \"rm -fr \\\"$HOME\\\"\", \"rm -Rf \\\"$HOME\\\"\", \"rm -fR \\\"$HOME\\\"\", \"rm -r -f \\\"$HOME\\\"\", \"rm -f -r \\\"$HOME\\\"\", \"rm --recursive \\\"$HOME\\\"\", \"rm --recursive --force \\\"$HOME\\\"\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm \\\"$HOME/\\\"\", \"rm -r \\\"$HOME/\\\"\", \"rm -R \\\"$HOME/\\\"\", \"rm -f \\\"$HOME/\\\"\", \"rm -rf \\\"$HOME/\\\"\", \"rm -fr \\\"$HOME/\\\"\", \"rm -Rf \\\"$HOME/\\\"\", \"rm -fR \\\"$HOME/\\\"\", \"rm -r -f \\\"$HOME/\\\"\", \"rm -f -r \\\"$HOME/\\\"\", \"rm --recursive \\\"$HOME/\\\"\", \"rm --recursive --force \\\"$HOME/\\\"\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm \\\"$HOME\\\"/\", \"rm -r \\\"$HOME\\\"/\", \"rm -R \\\"$HOME\\\"/\", \"rm -f \\\"$HOME\\\"/\", \"rm -rf \\\"$HOME\\\"/\", \"rm -fr \\\"$HOME\\\"/\", \"rm -Rf \\\"$HOME\\\"/\", \"rm -fR \\\"$HOME\\\"/\", \"rm -r -f \\\"$HOME\\\"/\", \"rm -f -r \\\"$HOME\\\"/\", \"rm --recursive \\\"$HOME\\\"/\", \"rm --recursive --force \\\"$HOME\\\"/\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm ${HOME}\", \"rm -r ${HOME}\", \"rm -R ${HOME}\", \"rm -f ${HOME}\", \"rm -rf ${HOME}\", \"rm -fr ${HOME}\", \"rm -Rf ${HOME}\", \"rm -fR ${HOME}\", \"rm -r -f ${HOME}\", \"rm -f -r ${HOME}\", \"rm --recursive ${HOME}\", \"rm --recursive --force ${HOME}\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm ${HOME}/\", \"rm -r ${HOME}/\", \"rm -R ${HOME}/\", \"rm -f ${HOME}/\", \"rm -rf ${HOME}/\", \"rm -fr ${HOME}/\", \"rm -Rf ${HOME}/\", \"rm -fR ${HOME}/\", \"rm -r -f ${HOME}/\", \"rm -f -r ${HOME}/\", \"rm --recursive ${HOME}/\", \"rm --recursive --force ${HOME}/\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm \\\"${HOME}\\\"\", \"rm -r \\\"${HOME}\\\"\", \"rm -R \\\"${HOME}\\\"\", \"rm -f \\\"${HOME}\\\"\", \"rm -rf \\\"${HOME}\\\"\", \"rm -fr \\\"${HOME}\\\"\", \"rm -Rf \\\"${HOME}\\\"\", \"rm -fR \\\"${HOME}\\\"\", \"rm -r -f \\\"${HOME}\\\"\", \"rm -f -r \\\"${HOME}\\\"\", \"rm --recursive \\\"${HOME}\\\"\", \"rm --recursive --force \\\"${HOME}\\\"\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm \\\"${HOME}/\\\"\", \"rm -r \\\"${HOME}/\\\"\", \"rm -R \\\"${HOME}/\\\"\", \"rm -f \\\"${HOME}/\\\"\", \"rm -rf \\\"${HOME}/\\\"\", \"rm -fr \\\"${HOME}/\\\"\", \"rm -Rf \\\"${HOME}/\\\"\", \"rm -fR \\\"${HOME}/\\\"\", \"rm -r -f \\\"${HOME}/\\\"\", \"rm -f -r \\\"${HOME}/\\\"\", \"rm --recursive \\\"${HOME}/\\\"\", \"rm --recursive --force \\\"${HOME}/\\\"\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm \\\"${HOME}\\\"/\", \"rm -r \\\"${HOME}\\\"/\", \"rm -R \\\"${HOME}\\\"/\", \"rm -f \\\"${HOME}\\\"/\", \"rm -rf \\\"${HOME}\\\"/\", \"rm -fr \\\"${HOME}\\\"/\", \"rm -Rf \\\"${HOME}\\\"/\", \"rm -fR \\\"${HOME}\\\"/\", \"rm -r -f \\\"${HOME}\\\"/\", \"rm -f -r \\\"${HOME}\\\"/\", \"rm --recursive \\\"${HOME}\\\"/\", \"rm --recursive --force \\\"${HOME}\\\"/\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"rm /*\", \"rm -r /*\", \"rm -R /*\", \"rm -f /*\", \"rm -rf /*\", \"rm -fr /*\", \"rm -Rf /*\", \"rm -fR /*\", \"rm -r -f /*\", \"rm -f -r /*\", \"rm --recursive /*\", \"rm --recursive --force /*\"]], decision=\"forbidden\", justification=\"Never remove the home directory or the filesystem root. Move a path to the trash with gio trash -- <path> (Linux) or trash <path> (macOS 15+).\")\nprefix_rule(pattern=[[\"bash\", \"sh\", \"zsh\"], [\"-c\", \"-lc\"], [\"export HOME=$(mktemp -d)\", \"export HOME=\\\"$(mktemp -d)\\\"\", \"HOME=$(mktemp -d)\", \"HOME=\\\"$(mktemp -d)\\\"\"]], decision=\"forbidden\", justification=\"Never reassign HOME. Each command runs in a new shell, so use literal absolute paths.\")\n\n# Forced git removal discards uncommitted changes, and the prefix cannot see a\n# later --force, so both commands ask in every form.\nprefix_rule(pattern=[\"git\", \"rm\"], decision=\"prompt\", justification=\"git rm --force and git worktree remove --force discard uncommitted changes. A prefix rule cannot see a later --force, so every git rm and git worktree remove asks.\")\nprefix_rule(pattern=[\"git\", \"worktree\", \"remove\"], decision=\"prompt\", justification=\"git rm --force and git worktree remove --force discard uncommitted changes. A prefix rule cannot see a later --force, so every git rm and git worktree remove asks.\")\n\n# gio trash can empty the trash or overwrite a restored path, and the prefix\n# cannot tell those forms from gio trash -- <path>, so every gio trash asks.\n# The macOS trash command has no such option.\nprefix_rule(pattern=[\"gio\", \"trash\"], decision=\"prompt\", justification=\"gio trash -f --empty, -ff --empty, and --restore --force delete or overwrite data, and a prefix rule cannot tell them from gio trash -- <path>, so every gio trash asks.\")\nprefix_rule(pattern=[\"trash\"], decision=\"allow\")\n",
|
|
20
20
|
"SoT/.omp/AGENTS.md": "# Global OMP guidance\n\n- Verify unfamiliar or version-sensitive APIs and configuration against current official documentation before implementation.\n- When the user asks for an assessment rather than a change, report findings without editing.\n- For Docks plan reviews, cross-company review is standing-authorized; host security policy still applies.\n- Please remove all mannered prose.\n\n## Asking me things\n\nIf you need an answer from me, it MUST go through `ask`; do not ask in prose.\n\nMUST use `ask` before:\n- Anything irreversible or destructive: deleting/overwriting files or data you did not create,\n force-push, history rewrite, dropping tables, running migrations, mass rename, touching\n secrets/credentials, or publishing outward (release, upstream PR, issue, comment).\n- Two or more viable approaches whose tradeoffs are mine to own: schema/API/protocol shape,\n adding a dependency, or establishing a convention this repo does not already have.\n- A fact only I hold: intended semantics of an ambiguous requirement, which of several\n conflicting existing patterns is canonical, or which environment/account/target to use.\n- A request that contradicts the repo: surface the conflict and let me resolve it; never\n silently pick one side.\n\nWhen I invoke the `yolo` skill, that invocation answers every ask this section requires,\nuntil the run asks its merge question. It does not cover destructive work, secrets, or\nproduction systems.\n\nIf `ask` is not registered — subagent, headless, or `-p` print runs, where `hasUI` is false —\nthe MUST above cannot be satisfied: do not fabricate the call and do not stall on it. Take the\nconservative reversible option and put the question, plus the assumption you made, in your\nfinal report so whoever spawned you can decide.\n\nNEVER use `ask` for:\n- Permission to begin, or to confirm scope already stated in the request.\n- Anything a tool, grep, or doc can answer — go read it.\n- A cheap reversible choice — take the conservative option and say which you took.\n- Something already answered earlier in the conversation.\n\nBatch every open question into one `ask` call with multiple questions; do not serialize\nround trips. Being overruled ends the discussion — execute my call without relitigating.\n\n## Removing files\n\nTo remove, use the trash or a command that checks the path.\n\n- To remove a temporary file or directory, use the `scratch_remove` tool or run `docks-kit scratch remove <path>`. Both remove only a path inside the scratch root, the system temporary directory, or `/var/tmp`. `gio trash` does not work on a `tmpfs` `/tmp`.\n- To remove any other file or directory, run `gio trash -- <path>` on Linux or `trash <path>` on macOS.\n- To remove a path from the git index, run `git rm -- <path>`.\n- To remove a worktree, run `git worktree remove -- <path>`.\n- If git refuses because the worktree has changes, make sure that each of its commits is on the remote. Then make sure that `git status --porcelain` lists only generated files. Then run `git worktree remove --force -- <path>`.\n- Never pass `--force` two times to `git worktree remove`.\n- Write the `--` exactly as shown.\n- Do not use `rm`. omp denies a recursive `rm`, `find -delete`, `find -exec rm`, and `xargs rm`.\n- Do not delete files through `eval`, Python, or Node code.\n- A subagent cannot get my approval, so omp rejects every ask in a subagent.\n- Do not delete in bulk yourself (`git clean`, `git reset --hard`). In the main session, ask me first.\n- If a deletion needs `rm -r` or a bulk command, put the paths in your report. I run that deletion myself.\n- Do not use `--force`, `-f`, or an abbreviation of it with `git rm` or `git push`.\n- Write each ref of a `git push` command as literal text. Run `git push` as its own command. omp denies a command that holds a `$` or a backtick after `git push`.\n- To push the current branch, run `git push -u origin HEAD`. To delete several remote branches, list them in one command: `git push origin --delete <branch-a> <branch-b>`.\n- Write literal absolute paths. Do not use `~` or `$HOME` in a command.\n- Do not set or export `HOME`.\n\n## Repository hooks\n\n- Do not skip or turn off a repository hook. Do not use `--no-verify`, `git commit -n`, `git am -n`, or a `core.hooksPath` change.\n- When a hook fails on a problem that your change did not cause, report the failure. In the main session, ask me before you continue.\n\n## Cleaning up what you create\n\n- Follow the `workspace-hygiene` skill for each resource that you create: worktrees, temporary files and directories, processes, containers, clusters, tunnels, scheduled jobs, global installs, and remote test resources.\n- Create a temporary directory with the `scratch_new` tool or `docks-kit scratch new <label>`. Put each temporary file in that directory. Do not put a temporary file, a temporary directory, a package store, a cache, or a clone in `/tmp`.\n- Create a worktree only at `<data>/agent-worktrees/<repository>/<name>`. `<data>` is `$XDG_DATA_HOME`, or `.local/share` in the home directory when that variable is not set. Write the literal absolute path.\n- Run a test suite in single-run mode. Start a server, a watcher, a tunnel, or a database only as a named bash service or an async job. Do not detach a process with `nohup`, `setsid`, `disown`, `tmux`, or `screen`.\n- Do not install a package globally, add a scheduled job, or enable a service unless I ask for it.\n- Do not remove a Docker volume, image, or build cache that you did not create, and do not run `docker system prune`.\n- Before your final answer, remove each resource that you created and that the task no longer needs. Keep a resource only when I ask for it or a later step needs it, and name it in your final answer.\n- A scratch directory is deleted after 7 idle days. Put evidence that you cite in the issue, the pull request, or the repository.\n- Resources on this workstation are always development. A remote resource is one that you reach through SSH or a provider CLI, such as `wrangler`, `vercel`, `netlify`, `fly`, `supabase`, `kubectl`, or a remote Docker host.\n- Clean up a remote resource only when its target is named local, development, dev, test, homolog, homologation, staging, or preview. Every other target is production. For example, `wrangler delete` without `--env` acts on the top-level Worker, which is usually production.\n- Never stop, remove, undeploy, or delete a production resource without an `ask` immediately before it. A production cleanup must be rare. A `yolo` invocation does not answer this ask. In a subagent, do not do it; name the resource in your report.\n\n## Output Standard\n\nApply Simplified Technical English to all agent text. This includes responses, messages,\ndocumentation, comments, and interface text.\n\nReply in the language I use, and apply every rule below to that language.\n\nA rule that names English grammar applies only to English. The contraction ban is one\nsuch rule. In another language, follow the normal grammar of that language. Portuguese,\nSpanish, French, Italian, and German merge a preposition with an article, and that merge\nis required, not optional.\n\nTreat the word limits as approximate outside English.\n\n- Use the simplest precise technical term.\n- Use each term consistently.\n- Expand an abbreviation at its first occurrence.\n- Explain a technical term when I ask for an explanation.\n- Write complete and grammatically correct sentences.\n- Use active voice and identify the actor.\n- Use the imperative form for instructions.\n- Put only one action in each instruction sentence.\n- Put a necessary condition before its instruction.\n- Use simple verb tenses.\n- Do not use contractions, idioms, or slang. Avoid humor and rhetorical questions.\n- Keep procedural sentences to 20 words or fewer.\n- Keep descriptive sentences to 25 words or fewer.\n- Keep each paragraph to one topic and six sentences or fewer.\n- Do not use more than three nouns together.\n- Use vertical lists for complex information.\n- Put a warning or caution before a related hazardous instruction.\n\n### Naming\n\n- Say what the thing does before you name it. Put the technical term after the plain\n description, once, in parentheses.\n- Do not use a technical term as the only name for something you just introduced.\n- Prefer the short common word. Use \"use\", not \"utilize\". Use \"set up\", not \"provision\".\n- Do not explain by metaphor alone. A metaphor may follow a literal statement.\n",
|
|
21
|
-
"SoT/.omp/config.yml": "statusLine:\n compactThinkingLevel: false\n\ndefaultThinkingLevel: high\n\ncycleOrder:\n - smol\n - default\n - slow\n - fable\n - astra\n\ntier:\n anthropic: none\n\nadvisor:\n enabled: true\n syncBacklog: \"1\"\n\ngithub:\n enabled: true\n\nfind:\n enabled: true\n\nbrowser:\n idleCloseSec: 600\n\ntask:\n eager: always\n showResolvedModelBadge: true\n softRequestBudget: 200\n softRequestBudgetNotice: true\n batch: true\n enableLsp: true\n enableEffort: true\n maxEffort: xhigh\n maxConcurrency: 16\n maxRecursionDepth: 2\n maxRuntimeMs: 3600000\n agentIdleTtlMs: 120000\n agentModelOverrides:\n reviewer: \"@reviewer\"\n security-reviewer: \"@reviewer\"\n code-reviewer: \"@reviewer\"\n plan-reviewer: \"@reviewer\"\n\nmodelRoles:\n smol: openai-codex/gpt-6-luna:medium\n advisor: anthropic/claude-opus-5-5:medium\n designer: anthropic/claude-opus-5-5:high\n plan: anthropic/claude-opus-5-5:xhigh\n commit: openai-codex/gpt-6-luna:medium\n task: anthropic/claude-opus-5-5:high\n vision: anthropic/claude-opus-5-5:medium\n tiny: openai-codex/gpt-6-luna:low\n default: anthropic/claude-opus-5-5:high\n slow: anthropic/claude-opus-5-5:xhigh\n fable: anthropic/claude-fable-5-1:medium\n switch_fable: anthropic/claude-fable-5-1:medium\n astra: openai-codex/gpt-6-astra:xhigh\n reviewer: openai-codex/gpt-6.1-sol:xhigh\n web: web/firecrawl\n\nmodelTags:\n fable:\n name: Fable 5.1\n switch_fable:\n name: Fable switch default\n hidden: true\n astra:\n name: GPT-6 Astra\n reviewer:\n name: Reviewer\n hidden: true\n\ndisplay:\n showTokenUsage: true\n\nproviders:\n anthropic:\n serverSideFallback: false\n fetch: auto\n webSearchTimeoutSeconds: 30\n\nretry:\n usageAwareFallback: true\n fallbackChains:\n default:\n - openai-codex/gpt-6.1-sol:high\n advisor: []\n task:\n - openai-codex/gpt-6.1-sol:high\n vision:\n - openai-codex/gpt-6.1-sol:medium\n smol:\n - anthropic/claude-opus-5-5:low\n tiny:\n - anthropic/claude-opus-5-5:low\n commit:\n - anthropic/claude-opus-5-5:medium\n switch_fable: []\n fable:\n - openai-codex/gpt-6-astra:xhigh\n astra:\n - anthropic/claude-fable-5-1:medium\n reviewer:\n - anthropic/claude-opus-5-5:xhigh\n web:\n - web/exa\n - web/perplexity\n - openai-codex/gpt-6-luna\n - web/parallel\n - web/zai\n - web/tinyfish\n - web/jina\n - web/kagi\n - web/tavily\n - web/brave\n - web/kimi\n - web/synthetic\n - web/ollama\n - web/searxng\n - web/startpage\n - web/duckduckgo\n - web/ecosia\n - web/google\n - web/mojeek\n - web/public\n\nincludeWorkspaceTree: false\n\nbranchSummary:\n enabled: true\n\ncommands:\n enableOpencodeProject: false\n enableOpencodeUser: false\n\nskills:\n enableClaudeUser: false\n enableCodexUser: false\n enableAgentsUser: true\n\nsteeringMode: all\n\ndev:\n autoqa: false\n autoqaConsent: denied\n\ncompaction:\n thresholdTokens: -1\n idleEnabled: true\n handoffSaveToDisk: true\n\ndoubleEscapeAction: tree\ntextVerbosity: low\n\nfeatures:\n unexpectedStopDetection: smart\n\ncodexResets:\n autoRedeem: \"no\"\n\nstartup:\n quiet: true\n\ntools:\n approvalMode: yolo\n\nbash:\n # First match wins. omp checks deny and prompt rules against the whole line\n # and each quote-stripped segment, so `rm -rf \"$HOME\"` matches `rm * $HOME`.\n # `*` matches any text, spaces and slashes included; no escape spells a\n # literal `*`.\n # No rule matches a plain rm, git rm, git worktree remove, gio trash, or\n # docks-kit scratch remove, so yolo runs it.\n # omp's critical-command check turns a prompt into an allow under yolo, so\n # every rm shape it can flag is denied.\n patterns:\n # Deny: rm of the home directory or the filesystem root, sudo before rm,\n # rm with an r or f option before an absolute path, recursive rm (bare, by\n # path, or after any word such as env, xargs, find -exec, or git), bulk\n # removal through find -delete, find -exec rm, and xargs rm, HOME\n # reassignment, a force push to main or master, and a $ or a backtick\n # after git push.\n - { match: \"rm /\", approval: deny }\n - { match: \"rm / *\", approval: deny }\n - { match: \"rm * /\", approval: deny }\n - { match: \"rm * / *\", approval: deny }\n - { match: \"rm ~\", approval: deny }\n - { match: \"rm ~ *\", approval: deny }\n - { match: \"rm * ~\", approval: deny }\n - { match: \"rm * ~ *\", approval: deny }\n - { match: \"rm ~/\", approval: deny }\n - { match: \"rm ~/ *\", approval: deny }\n - { match: \"rm * ~/\", approval: deny }\n - { match: \"rm * ~/ *\", approval: deny }\n - { match: \"rm $HOME\", approval: deny }\n - { match: \"rm $HOME *\", approval: deny }\n - { match: \"rm * $HOME\", approval: deny }\n - { match: \"rm * $HOME *\", approval: deny }\n - { match: \"rm $HOME/\", approval: deny }\n - { match: \"rm $HOME/ *\", approval: deny }\n - { match: \"rm * $HOME/\", approval: deny }\n - { match: \"rm * $HOME/ *\", approval: deny }\n - { match: \"rm ${HOME}\", approval: deny }\n - { match: \"rm ${HOME} *\", approval: deny }\n - { match: \"rm * ${HOME}\", approval: deny }\n - { match: \"rm * ${HOME} *\", approval: deny }\n - { match: \"rm ${HOME}/\", approval: deny }\n - { match: \"rm ${HOME}/ *\", approval: deny }\n - { match: \"rm * ${HOME}/\", approval: deny }\n - { match: \"rm * ${HOME}/ *\", approval: deny }\n - { match: \"* rm /\", approval: deny }\n - { match: \"* rm / *\", approval: deny }\n - { match: \"* rm * /\", approval: deny }\n - { match: \"* rm * / *\", approval: deny }\n - { match: \"* rm ~\", approval: deny }\n - { match: \"* rm ~ *\", approval: deny }\n - { match: \"* rm * ~\", approval: deny }\n - { match: \"* rm * ~ *\", approval: deny }\n - { match: \"* rm ~/\", approval: deny }\n - { match: \"* rm ~/ *\", approval: deny }\n - { match: \"* rm * ~/\", approval: deny }\n - { match: \"* rm * ~/ *\", approval: deny }\n - { match: \"* rm $HOME\", approval: deny }\n - { match: \"* rm $HOME *\", approval: deny }\n - { match: \"* rm * $HOME\", approval: deny }\n - { match: \"* rm * $HOME *\", approval: deny }\n - { match: \"* rm $HOME/\", approval: deny }\n - { match: \"* rm $HOME/ *\", approval: deny }\n - { match: \"* rm * $HOME/\", approval: deny }\n - { match: \"* rm * $HOME/ *\", approval: deny }\n - { match: \"* rm ${HOME}\", approval: deny }\n - { match: \"* rm ${HOME} *\", approval: deny }\n - { match: \"* rm * ${HOME}\", approval: deny }\n - { match: \"* rm * ${HOME} *\", approval: deny }\n - { match: \"* rm ${HOME}/\", approval: deny }\n - { match: \"* rm ${HOME}/ *\", approval: deny }\n - { match: \"* rm * ${HOME}/\", approval: deny }\n - { match: \"* rm * ${HOME}/ *\", approval: deny }\n - { match: \"*/rm /\", approval: deny }\n - { match: \"*/rm / *\", approval: deny }\n - { match: \"*/rm * /\", approval: deny }\n - { match: \"*/rm * / *\", approval: deny }\n - { match: \"*/rm ~\", approval: deny }\n - { match: \"*/rm ~ *\", approval: deny }\n - { match: \"*/rm * ~\", approval: deny }\n - { match: \"*/rm * ~ *\", approval: deny }\n - { match: \"*/rm ~/\", approval: deny }\n - { match: \"*/rm ~/ *\", approval: deny }\n - { match: \"*/rm * ~/\", approval: deny }\n - { match: \"*/rm * ~/ *\", approval: deny }\n - { match: \"*/rm $HOME\", approval: deny }\n - { match: \"*/rm $HOME *\", approval: deny }\n - { match: \"*/rm * $HOME\", approval: deny }\n - { match: \"*/rm * $HOME *\", approval: deny }\n - { match: \"*/rm $HOME/\", approval: deny }\n - { match: \"*/rm $HOME/ *\", approval: deny }\n - { match: \"*/rm * $HOME/\", approval: deny }\n - { match: \"*/rm * $HOME/ *\", approval: deny }\n - { match: \"*/rm ${HOME}\", approval: deny }\n - { match: \"*/rm ${HOME} *\", approval: deny }\n - { match: \"*/rm * ${HOME}\", approval: deny }\n - { match: \"*/rm * ${HOME} *\", approval: deny }\n - { match: \"*/rm ${HOME}/\", approval: deny }\n - { match: \"*/rm ${HOME}/ *\", approval: deny }\n - { match: \"*/rm * ${HOME}/\", approval: deny }\n - { match: \"*/rm * ${HOME}/ *\", approval: deny }\n - { match: \"sudo rm\", approval: deny }\n - { match: \"sudo rm *\", approval: deny }\n - { match: \"sudo * rm\", approval: deny }\n - { match: \"sudo * rm *\", approval: deny }\n - { match: \"sudo */rm\", approval: deny }\n - { match: \"sudo */rm *\", approval: deny }\n - { match: \"* sudo rm\", approval: deny }\n - { match: \"* sudo rm *\", approval: deny }\n - { match: \"* sudo * rm\", approval: deny }\n - { match: \"* sudo * rm *\", approval: deny }\n - { match: \"* sudo */rm\", approval: deny }\n - { match: \"* sudo */rm *\", approval: deny }\n - { match: \"*/sudo rm\", approval: deny }\n - { match: \"*/sudo rm *\", approval: deny }\n - { match: \"*/sudo * rm\", approval: deny }\n - { match: \"*/sudo * rm *\", approval: deny }\n - { match: \"*/sudo */rm\", approval: deny }\n - { match: \"*/sudo */rm *\", approval: deny }\n - { match: \"rm *-*r* /*\", approval: deny }\n - { match: \"rm *-*R* /*\", approval: deny }\n - { match: \"rm *-*f* /*\", approval: deny }\n - { match: \"rm *-*F* /*\", approval: deny }\n - { match: \"rm *--no-preserve-root*\", approval: deny }\n - { match: \"* rm *-*r* /*\", approval: deny }\n - { match: \"* rm *-*R* /*\", approval: deny }\n - { match: \"* rm *-*f* /*\", approval: deny }\n - { match: \"* rm *-*F* /*\", approval: deny }\n - { match: \"* rm *--no-preserve-root*\", approval: deny }\n - { match: \"*/rm *-*r* /*\", approval: deny }\n - { match: \"*/rm *-*R* /*\", approval: deny }\n - { match: \"*/rm *-*f* /*\", approval: deny }\n - { match: \"*/rm *-*F* /*\", approval: deny }\n - { match: \"*/rm *--no-preserve-root*\", approval: deny }\n - { match: \"rm *-r *\", approval: deny }\n - { match: \"rm *-r\", approval: deny }\n - { match: \"rm *-rf *\", approval: deny }\n - { match: \"rm *-rf\", approval: deny }\n - { match: \"rm *-fr *\", approval: deny }\n - { match: \"rm *-fr\", approval: deny }\n - { match: \"rm *-rv *\", approval: deny }\n - { match: \"rm *-rv\", approval: deny }\n - { match: \"rm *-vr *\", approval: deny }\n - { match: \"rm *-vr\", approval: deny }\n - { match: \"rm *-rfv *\", approval: deny }\n - { match: \"rm *-rfv\", approval: deny }\n - { match: \"rm *-rvf *\", approval: deny }\n - { match: \"rm *-rvf\", approval: deny }\n - { match: \"rm *-frv *\", approval: deny }\n - { match: \"rm *-frv\", approval: deny }\n - { match: \"rm *-fvr *\", approval: deny }\n - { match: \"rm *-fvr\", approval: deny }\n - { match: \"rm *-vrf *\", approval: deny }\n - { match: \"rm *-vrf\", approval: deny }\n - { match: \"rm *-vfr *\", approval: deny }\n - { match: \"rm *-vfr\", approval: deny }\n - { match: \"rm *-ri *\", approval: deny }\n - { match: \"rm *-ri\", approval: deny }\n - { match: \"rm *-ir *\", approval: deny }\n - { match: \"rm *-ir\", approval: deny }\n - { match: \"rm *-Ri *\", approval: deny }\n - { match: \"rm *-Ri\", approval: deny }\n - { match: \"rm *-iR *\", approval: deny }\n - { match: \"rm *-iR\", approval: deny }\n - { match: \"rm *-R *\", approval: deny }\n - { match: \"rm *-R\", approval: deny }\n - { match: \"rm *-Rf *\", approval: deny }\n - { match: \"rm *-Rf\", approval: deny }\n - { match: \"rm *-fR *\", approval: deny }\n - { match: \"rm *-fR\", approval: deny }\n - { match: \"rm *-Rv *\", approval: deny }\n - { match: \"rm *-Rv\", approval: deny }\n - { match: \"rm *-vR *\", approval: deny }\n - { match: \"rm *-vR\", approval: deny }\n - { match: \"rm *-Rfv *\", approval: deny }\n - { match: \"rm *-Rfv\", approval: deny }\n - { match: \"rm *-Rvf *\", approval: deny }\n - { match: \"rm *-Rvf\", approval: deny }\n - { match: \"rm *-fRv *\", approval: deny }\n - { match: \"rm *-fRv\", approval: deny }\n - { match: \"rm *-fvR *\", approval: deny }\n - { match: \"rm *-fvR\", approval: deny }\n - { match: \"rm *-vRf *\", approval: deny }\n - { match: \"rm *-vRf\", approval: deny }\n - { match: \"rm *-vfR *\", approval: deny }\n - { match: \"rm *-vfR\", approval: deny }\n - { match: \"rm *--recursive *\", approval: deny }\n - { match: \"rm *--recursive\", approval: deny }\n - { match: \"*/rm *-r *\", approval: deny }\n - { match: \"*/rm *-r\", approval: deny }\n - { match: \"*/rm *-rf *\", approval: deny }\n - { match: \"*/rm *-rf\", approval: deny }\n - { match: \"*/rm *-fr *\", approval: deny }\n - { match: \"*/rm *-fr\", approval: deny }\n - { match: \"*/rm *-rv *\", approval: deny }\n - { match: \"*/rm *-rv\", approval: deny }\n - { match: \"*/rm *-vr *\", approval: deny }\n - { match: \"*/rm *-vr\", approval: deny }\n - { match: \"*/rm *-rfv *\", approval: deny }\n - { match: \"*/rm *-rfv\", approval: deny }\n - { match: \"*/rm *-rvf *\", approval: deny }\n - { match: \"*/rm *-rvf\", approval: deny }\n - { match: \"*/rm *-frv *\", approval: deny }\n - { match: \"*/rm *-frv\", approval: deny }\n - { match: \"*/rm *-fvr *\", approval: deny }\n - { match: \"*/rm *-fvr\", approval: deny }\n - { match: \"*/rm *-vrf *\", approval: deny }\n - { match: \"*/rm *-vrf\", approval: deny }\n - { match: \"*/rm *-vfr *\", approval: deny }\n - { match: \"*/rm *-vfr\", approval: deny }\n - { match: \"*/rm *-ri *\", approval: deny }\n - { match: \"*/rm *-ri\", approval: deny }\n - { match: \"*/rm *-ir *\", approval: deny }\n - { match: \"*/rm *-ir\", approval: deny }\n - { match: \"*/rm *-Ri *\", approval: deny }\n - { match: \"*/rm *-Ri\", approval: deny }\n - { match: \"*/rm *-iR *\", approval: deny }\n - { match: \"*/rm *-iR\", approval: deny }\n - { match: \"*/rm *-R *\", approval: deny }\n - { match: \"*/rm *-R\", approval: deny }\n - { match: \"*/rm *-Rf *\", approval: deny }\n - { match: \"*/rm *-Rf\", approval: deny }\n - { match: \"*/rm *-fR *\", approval: deny }\n - { match: \"*/rm *-fR\", approval: deny }\n - { match: \"*/rm *-Rv *\", approval: deny }\n - { match: \"*/rm *-Rv\", approval: deny }\n - { match: \"*/rm *-vR *\", approval: deny }\n - { match: \"*/rm *-vR\", approval: deny }\n - { match: \"*/rm *-Rfv *\", approval: deny }\n - { match: \"*/rm *-Rfv\", approval: deny }\n - { match: \"*/rm *-Rvf *\", approval: deny }\n - { match: \"*/rm *-Rvf\", approval: deny }\n - { match: \"*/rm *-fRv *\", approval: deny }\n - { match: \"*/rm *-fRv\", approval: deny }\n - { match: \"*/rm *-fvR *\", approval: deny }\n - { match: \"*/rm *-fvR\", approval: deny }\n - { match: \"*/rm *-vRf *\", approval: deny }\n - { match: \"*/rm *-vRf\", approval: deny }\n - { match: \"*/rm *-vfR *\", approval: deny }\n - { match: \"*/rm *-vfR\", approval: deny }\n - { match: \"*/rm *--recursive *\", approval: deny }\n - { match: \"*/rm *--recursive\", approval: deny }\n - { match: \"* rm *-r *\", approval: deny }\n - { match: \"* rm *-r\", approval: deny }\n - { match: \"* rm *-rf *\", approval: deny }\n - { match: \"* rm *-rf\", approval: deny }\n - { match: \"* rm *-fr *\", approval: deny }\n - { match: \"* rm *-fr\", approval: deny }\n - { match: \"* rm *-rv *\", approval: deny }\n - { match: \"* rm *-rv\", approval: deny }\n - { match: \"* rm *-vr *\", approval: deny }\n - { match: \"* rm *-vr\", approval: deny }\n - { match: \"* rm *-rfv *\", approval: deny }\n - { match: \"* rm *-rfv\", approval: deny }\n - { match: \"* rm *-rvf *\", approval: deny }\n - { match: \"* rm *-rvf\", approval: deny }\n - { match: \"* rm *-frv *\", approval: deny }\n - { match: \"* rm *-frv\", approval: deny }\n - { match: \"* rm *-fvr *\", approval: deny }\n - { match: \"* rm *-fvr\", approval: deny }\n - { match: \"* rm *-vrf *\", approval: deny }\n - { match: \"* rm *-vrf\", approval: deny }\n - { match: \"* rm *-vfr *\", approval: deny }\n - { match: \"* rm *-vfr\", approval: deny }\n - { match: \"* rm *-R *\", approval: deny }\n - { match: \"* rm *-R\", approval: deny }\n - { match: \"* rm *-ri *\", approval: deny }\n - { match: \"* rm *-ri\", approval: deny }\n - { match: \"* rm *-ir *\", approval: deny }\n - { match: \"* rm *-ir\", approval: deny }\n - { match: \"* rm *-Ri *\", approval: deny }\n - { match: \"* rm *-Ri\", approval: deny }\n - { match: \"* rm *-iR *\", approval: deny }\n - { match: \"* rm *-iR\", approval: deny }\n - { match: \"* rm *-Rf *\", approval: deny }\n - { match: \"* rm *-Rf\", approval: deny }\n - { match: \"* rm *-fR *\", approval: deny }\n - { match: \"* rm *-fR\", approval: deny }\n - { match: \"* rm *-Rv *\", approval: deny }\n - { match: \"* rm *-Rv\", approval: deny }\n - { match: \"* rm *-vR *\", approval: deny }\n - { match: \"* rm *-vR\", approval: deny }\n - { match: \"* rm *-Rfv *\", approval: deny }\n - { match: \"* rm *-Rfv\", approval: deny }\n - { match: \"* rm *-Rvf *\", approval: deny }\n - { match: \"* rm *-Rvf\", approval: deny }\n - { match: \"* rm *-fRv *\", approval: deny }\n - { match: \"* rm *-fRv\", approval: deny }\n - { match: \"* rm *-fvR *\", approval: deny }\n - { match: \"* rm *-fvR\", approval: deny }\n - { match: \"* rm *-vRf *\", approval: deny }\n - { match: \"* rm *-vRf\", approval: deny }\n - { match: \"* rm *-vfR *\", approval: deny }\n - { match: \"* rm *-vfR\", approval: deny }\n - { match: \"* rm *--recursive *\", approval: deny }\n - { match: \"* rm *--recursive\", approval: deny }\n # Bulk removal: find -delete, find -exec rm, and xargs rm, in every position.\n - { match: \"find *-delete*\", approval: deny }\n - { match: \"*/find *-delete*\", approval: deny }\n - { match: \"* find *-delete*\", approval: deny }\n - { match: \"*-exec rm *\", approval: deny }\n - { match: \"*-exec */rm *\", approval: deny }\n - { match: \"*-execdir rm *\", approval: deny }\n - { match: \"*-execdir */rm *\", approval: deny }\n - { match: \"*-ok rm *\", approval: deny }\n - { match: \"*-ok */rm *\", approval: deny }\n - { match: \"*-okdir rm *\", approval: deny }\n - { match: \"*-okdir */rm *\", approval: deny }\n - { match: \"*xargs rm\", approval: deny }\n - { match: \"*xargs rm *\", approval: deny }\n - { match: \"*xargs * rm\", approval: deny }\n - { match: \"*xargs * rm *\", approval: deny }\n - { match: \"*xargs */rm\", approval: deny }\n - { match: \"*xargs */rm *\", approval: deny }\n - { match: \"HOME=*\", approval: deny }\n - { match: \"export HOME=*\", approval: deny }\n - { match: \"env HOME=*\", approval: deny }\n - { match: \"env * HOME=*\", approval: deny }\n - { match: \"git push --force origin main\", approval: deny }\n - { match: \"git push --force origin main *\", approval: deny }\n - { match: \"git push --force origin master\", approval: deny }\n - { match: \"git push --force origin master *\", approval: deny }\n - { match: \"git push -f origin main\", approval: deny }\n - { match: \"git push -f origin main *\", approval: deny }\n - { match: \"git push -f origin master\", approval: deny }\n - { match: \"git push -f origin master *\", approval: deny }\n # A $ or a backtick anywhere after git push: the matcher reads the text\n # before the shell expands it, so it cannot tell a branch name from +main\n # or --force. An unquoted value inside a word also splits into more words.\n # A deny, not a prompt: the agent reads the refusal and writes the ref\n # literally (git push -u origin HEAD). No person is asked.\n # The leading * also reaches a git push after a shell keyword such as do,\n # after a wrapper such as env, and after a path such as /usr/bin/git.\n - { match: \"*git push *$*\", approval: deny }\n - { match: \"*git push *`*\", approval: deny }\n # Prompt: history-destroying git, and every git push spelling that could\n # force. A subagent cannot answer a prompt, so omp rejects it.\n - { match: \"git clean\", approval: prompt }\n - { match: \"git clean *\", approval: prompt }\n - { match: \"git reset *--hard*\", approval: prompt }\n - { match: \"git push -f*\", approval: prompt }\n - { match: \"git push * -f*\", approval: prompt }\n - { match: \"git push -vv*\", approval: prompt }\n - { match: \"git push * -vv*\", approval: prompt }\n - { match: \"git push -vq*\", approval: prompt }\n - { match: \"git push * -vq*\", approval: prompt }\n - { match: \"git push -vd*\", approval: prompt }\n - { match: \"git push * -vd*\", approval: prompt }\n - { match: \"git push -vn*\", approval: prompt }\n - { match: \"git push * -vn*\", approval: prompt }\n - { match: \"git push -vu*\", approval: prompt }\n - { match: \"git push * -vu*\", approval: prompt }\n - { match: \"git push -v4*\", approval: prompt }\n - { match: \"git push * -v4*\", approval: prompt }\n - { match: \"git push -v6*\", approval: prompt }\n - { match: \"git push * -v6*\", approval: prompt }\n - { match: \"git push -vf*\", approval: prompt }\n - { match: \"git push * -vf*\", approval: prompt }\n - { match: \"git push -qv*\", approval: prompt }\n - { match: \"git push * -qv*\", approval: prompt }\n - { match: \"git push -qq*\", approval: prompt }\n - { match: \"git push * -qq*\", approval: prompt }\n - { match: \"git push -qd*\", approval: prompt }\n - { match: \"git push * -qd*\", approval: prompt }\n - { match: \"git push -qn*\", approval: prompt }\n - { match: \"git push * -qn*\", approval: prompt }\n - { match: \"git push -qu*\", approval: prompt }\n - { match: \"git push * -qu*\", approval: prompt }\n - { match: \"git push -q4*\", approval: prompt }\n - { match: \"git push * -q4*\", approval: prompt }\n - { match: \"git push -q6*\", approval: prompt }\n - { match: \"git push * -q6*\", approval: prompt }\n - { match: \"git push -qf*\", approval: prompt }\n - { match: \"git push * -qf*\", approval: prompt }\n - { match: \"git push -dv*\", approval: prompt }\n - { match: \"git push * -dv*\", approval: prompt }\n - { match: \"git push -dq*\", approval: prompt }\n - { match: \"git push * -dq*\", approval: prompt }\n - { match: \"git push -dd*\", approval: prompt }\n - { match: \"git push * -dd*\", approval: prompt }\n - { match: \"git push -dn*\", approval: prompt }\n - { match: \"git push * -dn*\", approval: prompt }\n - { match: \"git push -du*\", approval: prompt }\n - { match: \"git push * -du*\", approval: prompt }\n - { match: \"git push -d4*\", approval: prompt }\n - { match: \"git push * -d4*\", approval: prompt }\n - { match: \"git push -d6*\", approval: prompt }\n - { match: \"git push * -d6*\", approval: prompt }\n - { match: \"git push -df*\", approval: prompt }\n - { match: \"git push * -df*\", approval: prompt }\n - { match: \"git push -nv*\", approval: prompt }\n - { match: \"git push * -nv*\", approval: prompt }\n - { match: \"git push -nq*\", approval: prompt }\n - { match: \"git push * -nq*\", approval: prompt }\n - { match: \"git push -nd*\", approval: prompt }\n - { match: \"git push * -nd*\", approval: prompt }\n - { match: \"git push -nn*\", approval: prompt }\n - { match: \"git push * -nn*\", approval: prompt }\n - { match: \"git push -nu*\", approval: prompt }\n - { match: \"git push * -nu*\", approval: prompt }\n - { match: \"git push -n4*\", approval: prompt }\n - { match: \"git push * -n4*\", approval: prompt }\n - { match: \"git push -n6*\", approval: prompt }\n - { match: \"git push * -n6*\", approval: prompt }\n - { match: \"git push -nf*\", approval: prompt }\n - { match: \"git push * -nf*\", approval: prompt }\n - { match: \"git push -uv*\", approval: prompt }\n - { match: \"git push * -uv*\", approval: prompt }\n - { match: \"git push -uq*\", approval: prompt }\n - { match: \"git push * -uq*\", approval: prompt }\n - { match: \"git push -ud*\", approval: prompt }\n - { match: \"git push * -ud*\", approval: prompt }\n - { match: \"git push -un*\", approval: prompt }\n - { match: \"git push * -un*\", approval: prompt }\n - { match: \"git push -uu*\", approval: prompt }\n - { match: \"git push * -uu*\", approval: prompt }\n - { match: \"git push -u4*\", approval: prompt }\n - { match: \"git push * -u4*\", approval: prompt }\n - { match: \"git push -u6*\", approval: prompt }\n - { match: \"git push * -u6*\", approval: prompt }\n - { match: \"git push -uf*\", approval: prompt }\n - { match: \"git push * -uf*\", approval: prompt }\n - { match: \"git push -4v*\", approval: prompt }\n - { match: \"git push * -4v*\", approval: prompt }\n - { match: \"git push -4q*\", approval: prompt }\n - { match: \"git push * -4q*\", approval: prompt }\n - { match: \"git push -4d*\", approval: prompt }\n - { match: \"git push * -4d*\", approval: prompt }\n - { match: \"git push -4n*\", approval: prompt }\n - { match: \"git push * -4n*\", approval: prompt }\n - { match: \"git push -4u*\", approval: prompt }\n - { match: \"git push * -4u*\", approval: prompt }\n - { match: \"git push -44*\", approval: prompt }\n - { match: \"git push * -44*\", approval: prompt }\n - { match: \"git push -46*\", approval: prompt }\n - { match: \"git push * -46*\", approval: prompt }\n - { match: \"git push -4f*\", approval: prompt }\n - { match: \"git push * -4f*\", approval: prompt }\n - { match: \"git push -6v*\", approval: prompt }\n - { match: \"git push * -6v*\", approval: prompt }\n - { match: \"git push -6q*\", approval: prompt }\n - { match: \"git push * -6q*\", approval: prompt }\n - { match: \"git push -6d*\", approval: prompt }\n - { match: \"git push * -6d*\", approval: prompt }\n - { match: \"git push -6n*\", approval: prompt }\n - { match: \"git push * -6n*\", approval: prompt }\n - { match: \"git push -6u*\", approval: prompt }\n - { match: \"git push * -6u*\", approval: prompt }\n - { match: \"git push -64*\", approval: prompt }\n - { match: \"git push * -64*\", approval: prompt }\n - { match: \"git push -66*\", approval: prompt }\n - { match: \"git push * -66*\", approval: prompt }\n - { match: \"git push -6f*\", approval: prompt }\n - { match: \"git push * -6f*\", approval: prompt }\n - { match: \"git push --f*\", approval: prompt }\n - { match: \"git push * --f*\", approval: prompt }\n - { match: \"git push --mi*\", approval: prompt }\n - { match: \"git push * --mi*\", approval: prompt }\n - { match: \"git push +*\", approval: prompt }\n - { match: \"git push * +*\", approval: prompt }\n # Prompt: every git command that skips the repository's hooks. Each rule\n # starts with * so that a prefix such as X=1, env, timeout, or /usr/bin/\n # before git still matches. git takes any unique prefix of --no-verify,\n # and git am takes the shortest, --no-v. git commit and git am read -n as\n # --no-verify, also inside a short-option cluster, so every cluster that\n # starts with -n or with two no-argument options asks. core.hooksPath\n # moves the hooks directory: the git rules match its two common\n # spellings, and the variable rules match each override through\n # GIT_CONFIG_COUNT or GIT_CONFIG_PARAMETERS.\n - { match: \"*git * --no-v*\", approval: prompt }\n - { match: \"*git commit -n*\", approval: prompt }\n - { match: \"*git commit * -n*\", approval: prompt }\n - { match: \"*git commit -qq*\", approval: prompt }\n - { match: \"*git commit * -qq*\", approval: prompt }\n - { match: \"*git commit -qv*\", approval: prompt }\n - { match: \"*git commit * -qv*\", approval: prompt }\n - { match: \"*git commit -qs*\", approval: prompt }\n - { match: \"*git commit * -qs*\", approval: prompt }\n - { match: \"*git commit -qe*\", approval: prompt }\n - { match: \"*git commit * -qe*\", approval: prompt }\n - { match: \"*git commit -qa*\", approval: prompt }\n - { match: \"*git commit * -qa*\", approval: prompt }\n - { match: \"*git commit -qi*\", approval: prompt }\n - { match: \"*git commit * -qi*\", approval: prompt }\n - { match: \"*git commit -qp*\", approval: prompt }\n - { match: \"*git commit * -qp*\", approval: prompt }\n - { match: \"*git commit -qn*\", approval: prompt }\n - { match: \"*git commit * -qn*\", approval: prompt }\n - { match: \"*git commit -qo*\", approval: prompt }\n - { match: \"*git commit * -qo*\", approval: prompt }\n - { match: \"*git commit -qz*\", approval: prompt }\n - { match: \"*git commit * -qz*\", approval: prompt }\n - { match: \"*git commit -vq*\", approval: prompt }\n - { match: \"*git commit * -vq*\", approval: prompt }\n - { match: \"*git commit -vv*\", approval: prompt }\n - { match: \"*git commit * -vv*\", approval: prompt }\n - { match: \"*git commit -vs*\", approval: prompt }\n - { match: \"*git commit * -vs*\", approval: prompt }\n - { match: \"*git commit -ve*\", approval: prompt }\n - { match: \"*git commit * -ve*\", approval: prompt }\n - { match: \"*git commit -va*\", approval: prompt }\n - { match: \"*git commit * -va*\", approval: prompt }\n - { match: \"*git commit -vi*\", approval: prompt }\n - { match: \"*git commit * -vi*\", approval: prompt }\n - { match: \"*git commit -vp*\", approval: prompt }\n - { match: \"*git commit * -vp*\", approval: prompt }\n - { match: \"*git commit -vn*\", approval: prompt }\n - { match: \"*git commit * -vn*\", approval: prompt }\n - { match: \"*git commit -vo*\", approval: prompt }\n - { match: \"*git commit * -vo*\", approval: prompt }\n - { match: \"*git commit -vz*\", approval: prompt }\n - { match: \"*git commit * -vz*\", approval: prompt }\n - { match: \"*git commit -sq*\", approval: prompt }\n - { match: \"*git commit * -sq*\", approval: prompt }\n - { match: \"*git commit -sv*\", approval: prompt }\n - { match: \"*git commit * -sv*\", approval: prompt }\n - { match: \"*git commit -ss*\", approval: prompt }\n - { match: \"*git commit * -ss*\", approval: prompt }\n - { match: \"*git commit -se*\", approval: prompt }\n - { match: \"*git commit * -se*\", approval: prompt }\n - { match: \"*git commit -sa*\", approval: prompt }\n - { match: \"*git commit * -sa*\", approval: prompt }\n - { match: \"*git commit -si*\", approval: prompt }\n - { match: \"*git commit * -si*\", approval: prompt }\n - { match: \"*git commit -sp*\", approval: prompt }\n - { match: \"*git commit * -sp*\", approval: prompt }\n - { match: \"*git commit -sn*\", approval: prompt }\n - { match: \"*git commit * -sn*\", approval: prompt }\n - { match: \"*git commit -so*\", approval: prompt }\n - { match: \"*git commit * -so*\", approval: prompt }\n - { match: \"*git commit -sz*\", approval: prompt }\n - { match: \"*git commit * -sz*\", approval: prompt }\n - { match: \"*git commit -eq*\", approval: prompt }\n - { match: \"*git commit * -eq*\", approval: prompt }\n - { match: \"*git commit -ev*\", approval: prompt }\n - { match: \"*git commit * -ev*\", approval: prompt }\n - { match: \"*git commit -es*\", approval: prompt }\n - { match: \"*git commit * -es*\", approval: prompt }\n - { match: \"*git commit -ee*\", approval: prompt }\n - { match: \"*git commit * -ee*\", approval: prompt }\n - { match: \"*git commit -ea*\", approval: prompt }\n - { match: \"*git commit * -ea*\", approval: prompt }\n - { match: \"*git commit -ei*\", approval: prompt }\n - { match: \"*git commit * -ei*\", approval: prompt }\n - { match: \"*git commit -ep*\", approval: prompt }\n - { match: \"*git commit * -ep*\", approval: prompt }\n - { match: \"*git commit -en*\", approval: prompt }\n - { match: \"*git commit * -en*\", approval: prompt }\n - { match: \"*git commit -eo*\", approval: prompt }\n - { match: \"*git commit * -eo*\", approval: prompt }\n - { match: \"*git commit -ez*\", approval: prompt }\n - { match: \"*git commit * -ez*\", approval: prompt }\n - { match: \"*git commit -aq*\", approval: prompt }\n - { match: \"*git commit * -aq*\", approval: prompt }\n - { match: \"*git commit -av*\", approval: prompt }\n - { match: \"*git commit * -av*\", approval: prompt }\n - { match: \"*git commit -as*\", approval: prompt }\n - { match: \"*git commit * -as*\", approval: prompt }\n - { match: \"*git commit -ae*\", approval: prompt }\n - { match: \"*git commit * -ae*\", approval: prompt }\n - { match: \"*git commit -aa*\", approval: prompt }\n - { match: \"*git commit * -aa*\", approval: prompt }\n - { match: \"*git commit -ai*\", approval: prompt }\n - { match: \"*git commit * -ai*\", approval: prompt }\n - { match: \"*git commit -ap*\", approval: prompt }\n - { match: \"*git commit * -ap*\", approval: prompt }\n - { match: \"*git commit -an*\", approval: prompt }\n - { match: \"*git commit * -an*\", approval: prompt }\n - { match: \"*git commit -ao*\", approval: prompt }\n - { match: \"*git commit * -ao*\", approval: prompt }\n - { match: \"*git commit -az*\", approval: prompt }\n - { match: \"*git commit * -az*\", approval: prompt }\n - { match: \"*git commit -iq*\", approval: prompt }\n - { match: \"*git commit * -iq*\", approval: prompt }\n - { match: \"*git commit -iv*\", approval: prompt }\n - { match: \"*git commit * -iv*\", approval: prompt }\n - { match: \"*git commit -is*\", approval: prompt }\n - { match: \"*git commit * -is*\", approval: prompt }\n - { match: \"*git commit -ie*\", approval: prompt }\n - { match: \"*git commit * -ie*\", approval: prompt }\n - { match: \"*git commit -ia*\", approval: prompt }\n - { match: \"*git commit * -ia*\", approval: prompt }\n - { match: \"*git commit -ii*\", approval: prompt }\n - { match: \"*git commit * -ii*\", approval: prompt }\n - { match: \"*git commit -ip*\", approval: prompt }\n - { match: \"*git commit * -ip*\", approval: prompt }\n - { match: \"*git commit -in*\", approval: prompt }\n - { match: \"*git commit * -in*\", approval: prompt }\n - { match: \"*git commit -io*\", approval: prompt }\n - { match: \"*git commit * -io*\", approval: prompt }\n - { match: \"*git commit -iz*\", approval: prompt }\n - { match: \"*git commit * -iz*\", approval: prompt }\n - { match: \"*git commit -pq*\", approval: prompt }\n - { match: \"*git commit * -pq*\", approval: prompt }\n - { match: \"*git commit -pv*\", approval: prompt }\n - { match: \"*git commit * -pv*\", approval: prompt }\n - { match: \"*git commit -ps*\", approval: prompt }\n - { match: \"*git commit * -ps*\", approval: prompt }\n - { match: \"*git commit -pe*\", approval: prompt }\n - { match: \"*git commit * -pe*\", approval: prompt }\n - { match: \"*git commit -pa*\", approval: prompt }\n - { match: \"*git commit * -pa*\", approval: prompt }\n - { match: \"*git commit -pi*\", approval: prompt }\n - { match: \"*git commit * -pi*\", approval: prompt }\n - { match: \"*git commit -pp*\", approval: prompt }\n - { match: \"*git commit * -pp*\", approval: prompt }\n - { match: \"*git commit -pn*\", approval: prompt }\n - { match: \"*git commit * -pn*\", approval: prompt }\n - { match: \"*git commit -po*\", approval: prompt }\n - { match: \"*git commit * -po*\", approval: prompt }\n - { match: \"*git commit -pz*\", approval: prompt }\n - { match: \"*git commit * -pz*\", approval: prompt }\n - { match: \"*git commit -oq*\", approval: prompt }\n - { match: \"*git commit * -oq*\", approval: prompt }\n - { match: \"*git commit -ov*\", approval: prompt }\n - { match: \"*git commit * -ov*\", approval: prompt }\n - { match: \"*git commit -os*\", approval: prompt }\n - { match: \"*git commit * -os*\", approval: prompt }\n - { match: \"*git commit -oe*\", approval: prompt }\n - { match: \"*git commit * -oe*\", approval: prompt }\n - { match: \"*git commit -oa*\", approval: prompt }\n - { match: \"*git commit * -oa*\", approval: prompt }\n - { match: \"*git commit -oi*\", approval: prompt }\n - { match: \"*git commit * -oi*\", approval: prompt }\n - { match: \"*git commit -op*\", approval: prompt }\n - { match: \"*git commit * -op*\", approval: prompt }\n - { match: \"*git commit -on*\", approval: prompt }\n - { match: \"*git commit * -on*\", approval: prompt }\n - { match: \"*git commit -oo*\", approval: prompt }\n - { match: \"*git commit * -oo*\", approval: prompt }\n - { match: \"*git commit -oz*\", approval: prompt }\n - { match: \"*git commit * -oz*\", approval: prompt }\n - { match: \"*git commit -zq*\", approval: prompt }\n - { match: \"*git commit * -zq*\", approval: prompt }\n - { match: \"*git commit -zv*\", approval: prompt }\n - { match: \"*git commit * -zv*\", approval: prompt }\n - { match: \"*git commit -zs*\", approval: prompt }\n - { match: \"*git commit * -zs*\", approval: prompt }\n - { match: \"*git commit -ze*\", approval: prompt }\n - { match: \"*git commit * -ze*\", approval: prompt }\n - { match: \"*git commit -za*\", approval: prompt }\n - { match: \"*git commit * -za*\", approval: prompt }\n - { match: \"*git commit -zi*\", approval: prompt }\n - { match: \"*git commit * -zi*\", approval: prompt }\n - { match: \"*git commit -zp*\", approval: prompt }\n - { match: \"*git commit * -zp*\", approval: prompt }\n - { match: \"*git commit -zn*\", approval: prompt }\n - { match: \"*git commit * -zn*\", approval: prompt }\n - { match: \"*git commit -zo*\", approval: prompt }\n - { match: \"*git commit * -zo*\", approval: prompt }\n - { match: \"*git commit -zz*\", approval: prompt }\n - { match: \"*git commit * -zz*\", approval: prompt }\n - { match: \"*git am -n*\", approval: prompt }\n - { match: \"*git am * -n*\", approval: prompt }\n - { match: \"*git am -ii*\", approval: prompt }\n - { match: \"*git am * -ii*\", approval: prompt }\n - { match: \"*git am -in*\", approval: prompt }\n - { match: \"*git am * -in*\", approval: prompt }\n - { match: \"*git am -i3*\", approval: prompt }\n - { match: \"*git am * -i3*\", approval: prompt }\n - { match: \"*git am -iq*\", approval: prompt }\n - { match: \"*git am * -iq*\", approval: prompt }\n - { match: \"*git am -is*\", approval: prompt }\n - { match: \"*git am * -is*\", approval: prompt }\n - { match: \"*git am -iu*\", approval: prompt }\n - { match: \"*git am * -iu*\", approval: prompt }\n - { match: \"*git am -ik*\", approval: prompt }\n - { match: \"*git am * -ik*\", approval: prompt }\n - { match: \"*git am -im*\", approval: prompt }\n - { match: \"*git am * -im*\", approval: prompt }\n - { match: \"*git am -ic*\", approval: prompt }\n - { match: \"*git am * -ic*\", approval: prompt }\n - { match: \"*git am -ir*\", approval: prompt }\n - { match: \"*git am * -ir*\", approval: prompt }\n - { match: \"*git am -3i*\", approval: prompt }\n - { match: \"*git am * -3i*\", approval: prompt }\n - { match: \"*git am -3n*\", approval: prompt }\n - { match: \"*git am * -3n*\", approval: prompt }\n - { match: \"*git am -33*\", approval: prompt }\n - { match: \"*git am * -33*\", approval: prompt }\n - { match: \"*git am -3q*\", approval: prompt }\n - { match: \"*git am * -3q*\", approval: prompt }\n - { match: \"*git am -3s*\", approval: prompt }\n - { match: \"*git am * -3s*\", approval: prompt }\n - { match: \"*git am -3u*\", approval: prompt }\n - { match: \"*git am * -3u*\", approval: prompt }\n - { match: \"*git am -3k*\", approval: prompt }\n - { match: \"*git am * -3k*\", approval: prompt }\n - { match: \"*git am -3m*\", approval: prompt }\n - { match: \"*git am * -3m*\", approval: prompt }\n - { match: \"*git am -3c*\", approval: prompt }\n - { match: \"*git am * -3c*\", approval: prompt }\n - { match: \"*git am -3r*\", approval: prompt }\n - { match: \"*git am * -3r*\", approval: prompt }\n - { match: \"*git am -qi*\", approval: prompt }\n - { match: \"*git am * -qi*\", approval: prompt }\n - { match: \"*git am -qn*\", approval: prompt }\n - { match: \"*git am * -qn*\", approval: prompt }\n - { match: \"*git am -q3*\", approval: prompt }\n - { match: \"*git am * -q3*\", approval: prompt }\n - { match: \"*git am -qq*\", approval: prompt }\n - { match: \"*git am * -qq*\", approval: prompt }\n - { match: \"*git am -qs*\", approval: prompt }\n - { match: \"*git am * -qs*\", approval: prompt }\n - { match: \"*git am -qu*\", approval: prompt }\n - { match: \"*git am * -qu*\", approval: prompt }\n - { match: \"*git am -qk*\", approval: prompt }\n - { match: \"*git am * -qk*\", approval: prompt }\n - { match: \"*git am -qm*\", approval: prompt }\n - { match: \"*git am * -qm*\", approval: prompt }\n - { match: \"*git am -qc*\", approval: prompt }\n - { match: \"*git am * -qc*\", approval: prompt }\n - { match: \"*git am -qr*\", approval: prompt }\n - { match: \"*git am * -qr*\", approval: prompt }\n - { match: \"*git am -si*\", approval: prompt }\n - { match: \"*git am * -si*\", approval: prompt }\n - { match: \"*git am -sn*\", approval: prompt }\n - { match: \"*git am * -sn*\", approval: prompt }\n - { match: \"*git am -s3*\", approval: prompt }\n - { match: \"*git am * -s3*\", approval: prompt }\n - { match: \"*git am -sq*\", approval: prompt }\n - { match: \"*git am * -sq*\", approval: prompt }\n - { match: \"*git am -ss*\", approval: prompt }\n - { match: \"*git am * -ss*\", approval: prompt }\n - { match: \"*git am -su*\", approval: prompt }\n - { match: \"*git am * -su*\", approval: prompt }\n - { match: \"*git am -sk*\", approval: prompt }\n - { match: \"*git am * -sk*\", approval: prompt }\n - { match: \"*git am -sm*\", approval: prompt }\n - { match: \"*git am * -sm*\", approval: prompt }\n - { match: \"*git am -sc*\", approval: prompt }\n - { match: \"*git am * -sc*\", approval: prompt }\n - { match: \"*git am -sr*\", approval: prompt }\n - { match: \"*git am * -sr*\", approval: prompt }\n - { match: \"*git am -ui*\", approval: prompt }\n - { match: \"*git am * -ui*\", approval: prompt }\n - { match: \"*git am -un*\", approval: prompt }\n - { match: \"*git am * -un*\", approval: prompt }\n - { match: \"*git am -u3*\", approval: prompt }\n - { match: \"*git am * -u3*\", approval: prompt }\n - { match: \"*git am -uq*\", approval: prompt }\n - { match: \"*git am * -uq*\", approval: prompt }\n - { match: \"*git am -us*\", approval: prompt }\n - { match: \"*git am * -us*\", approval: prompt }\n - { match: \"*git am -uu*\", approval: prompt }\n - { match: \"*git am * -uu*\", approval: prompt }\n - { match: \"*git am -uk*\", approval: prompt }\n - { match: \"*git am * -uk*\", approval: prompt }\n - { match: \"*git am -um*\", approval: prompt }\n - { match: \"*git am * -um*\", approval: prompt }\n - { match: \"*git am -uc*\", approval: prompt }\n - { match: \"*git am * -uc*\", approval: prompt }\n - { match: \"*git am -ur*\", approval: prompt }\n - { match: \"*git am * -ur*\", approval: prompt }\n - { match: \"*git am -ki*\", approval: prompt }\n - { match: \"*git am * -ki*\", approval: prompt }\n - { match: \"*git am -kn*\", approval: prompt }\n - { match: \"*git am * -kn*\", approval: prompt }\n - { match: \"*git am -k3*\", approval: prompt }\n - { match: \"*git am * -k3*\", approval: prompt }\n - { match: \"*git am -kq*\", approval: prompt }\n - { match: \"*git am * -kq*\", approval: prompt }\n - { match: \"*git am -ks*\", approval: prompt }\n - { match: \"*git am * -ks*\", approval: prompt }\n - { match: \"*git am -ku*\", approval: prompt }\n - { match: \"*git am * -ku*\", approval: prompt }\n - { match: \"*git am -kk*\", approval: prompt }\n - { match: \"*git am * -kk*\", approval: prompt }\n - { match: \"*git am -km*\", approval: prompt }\n - { match: \"*git am * -km*\", approval: prompt }\n - { match: \"*git am -kc*\", approval: prompt }\n - { match: \"*git am * -kc*\", approval: prompt }\n - { match: \"*git am -kr*\", approval: prompt }\n - { match: \"*git am * -kr*\", approval: prompt }\n - { match: \"*git am -mi*\", approval: prompt }\n - { match: \"*git am * -mi*\", approval: prompt }\n - { match: \"*git am -mn*\", approval: prompt }\n - { match: \"*git am * -mn*\", approval: prompt }\n - { match: \"*git am -m3*\", approval: prompt }\n - { match: \"*git am * -m3*\", approval: prompt }\n - { match: \"*git am -mq*\", approval: prompt }\n - { match: \"*git am * -mq*\", approval: prompt }\n - { match: \"*git am -ms*\", approval: prompt }\n - { match: \"*git am * -ms*\", approval: prompt }\n - { match: \"*git am -mu*\", approval: prompt }\n - { match: \"*git am * -mu*\", approval: prompt }\n - { match: \"*git am -mk*\", approval: prompt }\n - { match: \"*git am * -mk*\", approval: prompt }\n - { match: \"*git am -mm*\", approval: prompt }\n - { match: \"*git am * -mm*\", approval: prompt }\n - { match: \"*git am -mc*\", approval: prompt }\n - { match: \"*git am * -mc*\", approval: prompt }\n - { match: \"*git am -mr*\", approval: prompt }\n - { match: \"*git am * -mr*\", approval: prompt }\n - { match: \"*git am -ci*\", approval: prompt }\n - { match: \"*git am * -ci*\", approval: prompt }\n - { match: \"*git am -cn*\", approval: prompt }\n - { match: \"*git am * -cn*\", approval: prompt }\n - { match: \"*git am -c3*\", approval: prompt }\n - { match: \"*git am * -c3*\", approval: prompt }\n - { match: \"*git am -cq*\", approval: prompt }\n - { match: \"*git am * -cq*\", approval: prompt }\n - { match: \"*git am -cs*\", approval: prompt }\n - { match: \"*git am * -cs*\", approval: prompt }\n - { match: \"*git am -cu*\", approval: prompt }\n - { match: \"*git am * -cu*\", approval: prompt }\n - { match: \"*git am -ck*\", approval: prompt }\n - { match: \"*git am * -ck*\", approval: prompt }\n - { match: \"*git am -cm*\", approval: prompt }\n - { match: \"*git am * -cm*\", approval: prompt }\n - { match: \"*git am -cc*\", approval: prompt }\n - { match: \"*git am * -cc*\", approval: prompt }\n - { match: \"*git am -cr*\", approval: prompt }\n - { match: \"*git am * -cr*\", approval: prompt }\n - { match: \"*git am -ri*\", approval: prompt }\n - { match: \"*git am * -ri*\", approval: prompt }\n - { match: \"*git am -rn*\", approval: prompt }\n - { match: \"*git am * -rn*\", approval: prompt }\n - { match: \"*git am -r3*\", approval: prompt }\n - { match: \"*git am * -r3*\", approval: prompt }\n - { match: \"*git am -rq*\", approval: prompt }\n - { match: \"*git am * -rq*\", approval: prompt }\n - { match: \"*git am -rs*\", approval: prompt }\n - { match: \"*git am * -rs*\", approval: prompt }\n - { match: \"*git am -ru*\", approval: prompt }\n - { match: \"*git am * -ru*\", approval: prompt }\n - { match: \"*git am -rk*\", approval: prompt }\n - { match: \"*git am * -rk*\", approval: prompt }\n - { match: \"*git am -rm*\", approval: prompt }\n - { match: \"*git am * -rm*\", approval: prompt }\n - { match: \"*git am -rc*\", approval: prompt }\n - { match: \"*git am * -rc*\", approval: prompt }\n - { match: \"*git am -rr*\", approval: prompt }\n - { match: \"*git am * -rr*\", approval: prompt }\n - { match: \"*git *core.hooksPath*\", approval: prompt }\n - { match: \"*git *core.hookspath*\", approval: prompt }\n - { match: \"*GIT_CONFIG_PARAMETERS*\", approval: prompt }\n - { match: \"*GIT_CONFIG_COUNT*\", approval: prompt }\n # Allow: the macOS trash command.\n - { match: \"trash *\", approval: allow }\n",
|
|
21
|
+
"SoT/.omp/config.yml": "statusLine:\n compactThinkingLevel: false\n\ndefaultThinkingLevel: high\n\ncycleOrder:\n - smol\n - default\n - slow\n - fable\n - astra\n\ntier:\n anthropic: none\n\nadvisor:\n enabled: true\n syncBacklog: \"1\"\n\ngithub:\n enabled: true\n\nfind:\n enabled: true\n\nbrowser:\n idleCloseSec: 600\n\ntask:\n eager: always\n showResolvedModelBadge: true\n softRequestBudget: 200\n softRequestBudgetNotice: true\n batch: true\n enableLsp: true\n enableEffort: true\n maxEffort: xhigh\n maxConcurrency: 16\n maxRecursionDepth: 2\n maxRuntimeMs: 3600000\n agentIdleTtlMs: 120000\n agentModelOverrides:\n reviewer: \"@reviewer\"\n security-reviewer: \"@reviewer\"\n code-reviewer: \"@reviewer\"\n plan-reviewer: \"@reviewer\"\n\nmodelRoles:\n smol: openai-codex/gpt-6-luna:medium\n advisor: anthropic/claude-opus-5-5:medium\n designer: anthropic/claude-opus-5-5:high\n plan: anthropic/claude-opus-5-5:xhigh\n commit: openai-codex/gpt-6-luna:medium\n task: anthropic/claude-opus-5-5:high\n vision: anthropic/claude-opus-5-5:medium\n tiny: openai-codex/gpt-6-luna:low\n default: anthropic/claude-opus-5-5:high\n slow: anthropic/claude-opus-5-5:xhigh\n fable: anthropic/claude-fable-5-1:medium\n switch_fable: anthropic/claude-fable-5-1:medium\n astra: openai-codex/gpt-6-astra:xhigh\n reviewer: openai-codex/gpt-6.1-sol:xhigh\n web: web/firecrawl\n\nmodelTags:\n fable:\n name: Fable 5.1\n switch_fable:\n name: Fable switch default\n hidden: true\n astra:\n name: GPT-6 Astra\n reviewer:\n name: Reviewer\n hidden: true\n\ndisplay:\n showTokenUsage: true\n\nproviders:\n anthropic:\n serverSideFallback: false\n fetch: auto\n webSearchTimeoutSeconds: 30\n\nretry:\n fallbackChains:\n default:\n - openai-codex/gpt-6.1-sol:high\n advisor: []\n task:\n - openai-codex/gpt-6.1-sol:high\n vision:\n - openai-codex/gpt-6.1-sol:medium\n smol:\n - anthropic/claude-opus-5-5:low\n tiny:\n - anthropic/claude-opus-5-5:low\n commit:\n - anthropic/claude-opus-5-5:medium\n switch_fable: []\n fable:\n - openai-codex/gpt-6-astra:xhigh\n astra:\n - anthropic/claude-fable-5-1:medium\n reviewer:\n - anthropic/claude-opus-5-5:xhigh\n web:\n - web/exa\n - web/perplexity\n - openai-codex/gpt-6-luna\n - web/parallel\n - web/zai\n - web/tinyfish\n - web/jina\n - web/kagi\n - web/tavily\n - web/brave\n - web/kimi\n - web/synthetic\n - web/ollama\n - web/searxng\n - web/startpage\n - web/duckduckgo\n - web/ecosia\n - web/google\n - web/mojeek\n - web/public\n\nincludeWorkspaceTree: false\n\nbranchSummary:\n enabled: true\n\ncommands:\n enableOpencodeProject: false\n enableOpencodeUser: false\n\nskills:\n enableClaudeUser: false\n enableCodexUser: false\n enableAgentsUser: true\n\nsteeringMode: all\n\ndev:\n autoqa: false\n autoqaConsent: denied\n\ncompaction:\n thresholdTokens: -1\n idleEnabled: true\n handoffSaveToDisk: true\n\ndoubleEscapeAction: tree\ntextVerbosity: low\n\nfeatures:\n unexpectedStopDetection: smart\n\ncodexResets:\n autoRedeem: \"no\"\n\nstartup:\n quiet: true\n\ntools:\n approvalMode: yolo\n\nbash:\n # First match wins. omp checks deny and prompt rules against the whole line\n # and each quote-stripped segment, so `rm -rf \"$HOME\"` matches `rm * $HOME`.\n # `*` matches any text, spaces and slashes included; no escape spells a\n # literal `*`.\n # No rule matches a plain rm, git rm, git worktree remove, gio trash, or\n # docks-kit scratch remove, so yolo runs it.\n # omp's critical-command check turns a prompt into an allow under yolo, so\n # every rm shape it can flag is denied.\n patterns:\n # Deny: rm of the home directory or the filesystem root, sudo before rm,\n # rm with an r or f option before an absolute path, recursive rm (bare, by\n # path, or after any word such as env, xargs, find -exec, or git), bulk\n # removal through find -delete, find -exec rm, and xargs rm, HOME\n # reassignment, a force push to main or master, and a $ or a backtick\n # after git push.\n - { match: \"rm /\", approval: deny }\n - { match: \"rm / *\", approval: deny }\n - { match: \"rm * /\", approval: deny }\n - { match: \"rm * / *\", approval: deny }\n - { match: \"rm ~\", approval: deny }\n - { match: \"rm ~ *\", approval: deny }\n - { match: \"rm * ~\", approval: deny }\n - { match: \"rm * ~ *\", approval: deny }\n - { match: \"rm ~/\", approval: deny }\n - { match: \"rm ~/ *\", approval: deny }\n - { match: \"rm * ~/\", approval: deny }\n - { match: \"rm * ~/ *\", approval: deny }\n - { match: \"rm $HOME\", approval: deny }\n - { match: \"rm $HOME *\", approval: deny }\n - { match: \"rm * $HOME\", approval: deny }\n - { match: \"rm * $HOME *\", approval: deny }\n - { match: \"rm $HOME/\", approval: deny }\n - { match: \"rm $HOME/ *\", approval: deny }\n - { match: \"rm * $HOME/\", approval: deny }\n - { match: \"rm * $HOME/ *\", approval: deny }\n - { match: \"rm ${HOME}\", approval: deny }\n - { match: \"rm ${HOME} *\", approval: deny }\n - { match: \"rm * ${HOME}\", approval: deny }\n - { match: \"rm * ${HOME} *\", approval: deny }\n - { match: \"rm ${HOME}/\", approval: deny }\n - { match: \"rm ${HOME}/ *\", approval: deny }\n - { match: \"rm * ${HOME}/\", approval: deny }\n - { match: \"rm * ${HOME}/ *\", approval: deny }\n - { match: \"* rm /\", approval: deny }\n - { match: \"* rm / *\", approval: deny }\n - { match: \"* rm * /\", approval: deny }\n - { match: \"* rm * / *\", approval: deny }\n - { match: \"* rm ~\", approval: deny }\n - { match: \"* rm ~ *\", approval: deny }\n - { match: \"* rm * ~\", approval: deny }\n - { match: \"* rm * ~ *\", approval: deny }\n - { match: \"* rm ~/\", approval: deny }\n - { match: \"* rm ~/ *\", approval: deny }\n - { match: \"* rm * ~/\", approval: deny }\n - { match: \"* rm * ~/ *\", approval: deny }\n - { match: \"* rm $HOME\", approval: deny }\n - { match: \"* rm $HOME *\", approval: deny }\n - { match: \"* rm * $HOME\", approval: deny }\n - { match: \"* rm * $HOME *\", approval: deny }\n - { match: \"* rm $HOME/\", approval: deny }\n - { match: \"* rm $HOME/ *\", approval: deny }\n - { match: \"* rm * $HOME/\", approval: deny }\n - { match: \"* rm * $HOME/ *\", approval: deny }\n - { match: \"* rm ${HOME}\", approval: deny }\n - { match: \"* rm ${HOME} *\", approval: deny }\n - { match: \"* rm * ${HOME}\", approval: deny }\n - { match: \"* rm * ${HOME} *\", approval: deny }\n - { match: \"* rm ${HOME}/\", approval: deny }\n - { match: \"* rm ${HOME}/ *\", approval: deny }\n - { match: \"* rm * ${HOME}/\", approval: deny }\n - { match: \"* rm * ${HOME}/ *\", approval: deny }\n - { match: \"*/rm /\", approval: deny }\n - { match: \"*/rm / *\", approval: deny }\n - { match: \"*/rm * /\", approval: deny }\n - { match: \"*/rm * / *\", approval: deny }\n - { match: \"*/rm ~\", approval: deny }\n - { match: \"*/rm ~ *\", approval: deny }\n - { match: \"*/rm * ~\", approval: deny }\n - { match: \"*/rm * ~ *\", approval: deny }\n - { match: \"*/rm ~/\", approval: deny }\n - { match: \"*/rm ~/ *\", approval: deny }\n - { match: \"*/rm * ~/\", approval: deny }\n - { match: \"*/rm * ~/ *\", approval: deny }\n - { match: \"*/rm $HOME\", approval: deny }\n - { match: \"*/rm $HOME *\", approval: deny }\n - { match: \"*/rm * $HOME\", approval: deny }\n - { match: \"*/rm * $HOME *\", approval: deny }\n - { match: \"*/rm $HOME/\", approval: deny }\n - { match: \"*/rm $HOME/ *\", approval: deny }\n - { match: \"*/rm * $HOME/\", approval: deny }\n - { match: \"*/rm * $HOME/ *\", approval: deny }\n - { match: \"*/rm ${HOME}\", approval: deny }\n - { match: \"*/rm ${HOME} *\", approval: deny }\n - { match: \"*/rm * ${HOME}\", approval: deny }\n - { match: \"*/rm * ${HOME} *\", approval: deny }\n - { match: \"*/rm ${HOME}/\", approval: deny }\n - { match: \"*/rm ${HOME}/ *\", approval: deny }\n - { match: \"*/rm * ${HOME}/\", approval: deny }\n - { match: \"*/rm * ${HOME}/ *\", approval: deny }\n - { match: \"sudo rm\", approval: deny }\n - { match: \"sudo rm *\", approval: deny }\n - { match: \"sudo * rm\", approval: deny }\n - { match: \"sudo * rm *\", approval: deny }\n - { match: \"sudo */rm\", approval: deny }\n - { match: \"sudo */rm *\", approval: deny }\n - { match: \"* sudo rm\", approval: deny }\n - { match: \"* sudo rm *\", approval: deny }\n - { match: \"* sudo * rm\", approval: deny }\n - { match: \"* sudo * rm *\", approval: deny }\n - { match: \"* sudo */rm\", approval: deny }\n - { match: \"* sudo */rm *\", approval: deny }\n - { match: \"*/sudo rm\", approval: deny }\n - { match: \"*/sudo rm *\", approval: deny }\n - { match: \"*/sudo * rm\", approval: deny }\n - { match: \"*/sudo * rm *\", approval: deny }\n - { match: \"*/sudo */rm\", approval: deny }\n - { match: \"*/sudo */rm *\", approval: deny }\n - { match: \"rm *-*r* /*\", approval: deny }\n - { match: \"rm *-*R* /*\", approval: deny }\n - { match: \"rm *-*f* /*\", approval: deny }\n - { match: \"rm *-*F* /*\", approval: deny }\n - { match: \"rm *--no-preserve-root*\", approval: deny }\n - { match: \"* rm *-*r* /*\", approval: deny }\n - { match: \"* rm *-*R* /*\", approval: deny }\n - { match: \"* rm *-*f* /*\", approval: deny }\n - { match: \"* rm *-*F* /*\", approval: deny }\n - { match: \"* rm *--no-preserve-root*\", approval: deny }\n - { match: \"*/rm *-*r* /*\", approval: deny }\n - { match: \"*/rm *-*R* /*\", approval: deny }\n - { match: \"*/rm *-*f* /*\", approval: deny }\n - { match: \"*/rm *-*F* /*\", approval: deny }\n - { match: \"*/rm *--no-preserve-root*\", approval: deny }\n - { match: \"rm *-r *\", approval: deny }\n - { match: \"rm *-r\", approval: deny }\n - { match: \"rm *-rf *\", approval: deny }\n - { match: \"rm *-rf\", approval: deny }\n - { match: \"rm *-fr *\", approval: deny }\n - { match: \"rm *-fr\", approval: deny }\n - { match: \"rm *-rv *\", approval: deny }\n - { match: \"rm *-rv\", approval: deny }\n - { match: \"rm *-vr *\", approval: deny }\n - { match: \"rm *-vr\", approval: deny }\n - { match: \"rm *-rfv *\", approval: deny }\n - { match: \"rm *-rfv\", approval: deny }\n - { match: \"rm *-rvf *\", approval: deny }\n - { match: \"rm *-rvf\", approval: deny }\n - { match: \"rm *-frv *\", approval: deny }\n - { match: \"rm *-frv\", approval: deny }\n - { match: \"rm *-fvr *\", approval: deny }\n - { match: \"rm *-fvr\", approval: deny }\n - { match: \"rm *-vrf *\", approval: deny }\n - { match: \"rm *-vrf\", approval: deny }\n - { match: \"rm *-vfr *\", approval: deny }\n - { match: \"rm *-vfr\", approval: deny }\n - { match: \"rm *-ri *\", approval: deny }\n - { match: \"rm *-ri\", approval: deny }\n - { match: \"rm *-ir *\", approval: deny }\n - { match: \"rm *-ir\", approval: deny }\n - { match: \"rm *-Ri *\", approval: deny }\n - { match: \"rm *-Ri\", approval: deny }\n - { match: \"rm *-iR *\", approval: deny }\n - { match: \"rm *-iR\", approval: deny }\n - { match: \"rm *-R *\", approval: deny }\n - { match: \"rm *-R\", approval: deny }\n - { match: \"rm *-Rf *\", approval: deny }\n - { match: \"rm *-Rf\", approval: deny }\n - { match: \"rm *-fR *\", approval: deny }\n - { match: \"rm *-fR\", approval: deny }\n - { match: \"rm *-Rv *\", approval: deny }\n - { match: \"rm *-Rv\", approval: deny }\n - { match: \"rm *-vR *\", approval: deny }\n - { match: \"rm *-vR\", approval: deny }\n - { match: \"rm *-Rfv *\", approval: deny }\n - { match: \"rm *-Rfv\", approval: deny }\n - { match: \"rm *-Rvf *\", approval: deny }\n - { match: \"rm *-Rvf\", approval: deny }\n - { match: \"rm *-fRv *\", approval: deny }\n - { match: \"rm *-fRv\", approval: deny }\n - { match: \"rm *-fvR *\", approval: deny }\n - { match: \"rm *-fvR\", approval: deny }\n - { match: \"rm *-vRf *\", approval: deny }\n - { match: \"rm *-vRf\", approval: deny }\n - { match: \"rm *-vfR *\", approval: deny }\n - { match: \"rm *-vfR\", approval: deny }\n - { match: \"rm *--recursive *\", approval: deny }\n - { match: \"rm *--recursive\", approval: deny }\n - { match: \"*/rm *-r *\", approval: deny }\n - { match: \"*/rm *-r\", approval: deny }\n - { match: \"*/rm *-rf *\", approval: deny }\n - { match: \"*/rm *-rf\", approval: deny }\n - { match: \"*/rm *-fr *\", approval: deny }\n - { match: \"*/rm *-fr\", approval: deny }\n - { match: \"*/rm *-rv *\", approval: deny }\n - { match: \"*/rm *-rv\", approval: deny }\n - { match: \"*/rm *-vr *\", approval: deny }\n - { match: \"*/rm *-vr\", approval: deny }\n - { match: \"*/rm *-rfv *\", approval: deny }\n - { match: \"*/rm *-rfv\", approval: deny }\n - { match: \"*/rm *-rvf *\", approval: deny }\n - { match: \"*/rm *-rvf\", approval: deny }\n - { match: \"*/rm *-frv *\", approval: deny }\n - { match: \"*/rm *-frv\", approval: deny }\n - { match: \"*/rm *-fvr *\", approval: deny }\n - { match: \"*/rm *-fvr\", approval: deny }\n - { match: \"*/rm *-vrf *\", approval: deny }\n - { match: \"*/rm *-vrf\", approval: deny }\n - { match: \"*/rm *-vfr *\", approval: deny }\n - { match: \"*/rm *-vfr\", approval: deny }\n - { match: \"*/rm *-ri *\", approval: deny }\n - { match: \"*/rm *-ri\", approval: deny }\n - { match: \"*/rm *-ir *\", approval: deny }\n - { match: \"*/rm *-ir\", approval: deny }\n - { match: \"*/rm *-Ri *\", approval: deny }\n - { match: \"*/rm *-Ri\", approval: deny }\n - { match: \"*/rm *-iR *\", approval: deny }\n - { match: \"*/rm *-iR\", approval: deny }\n - { match: \"*/rm *-R *\", approval: deny }\n - { match: \"*/rm *-R\", approval: deny }\n - { match: \"*/rm *-Rf *\", approval: deny }\n - { match: \"*/rm *-Rf\", approval: deny }\n - { match: \"*/rm *-fR *\", approval: deny }\n - { match: \"*/rm *-fR\", approval: deny }\n - { match: \"*/rm *-Rv *\", approval: deny }\n - { match: \"*/rm *-Rv\", approval: deny }\n - { match: \"*/rm *-vR *\", approval: deny }\n - { match: \"*/rm *-vR\", approval: deny }\n - { match: \"*/rm *-Rfv *\", approval: deny }\n - { match: \"*/rm *-Rfv\", approval: deny }\n - { match: \"*/rm *-Rvf *\", approval: deny }\n - { match: \"*/rm *-Rvf\", approval: deny }\n - { match: \"*/rm *-fRv *\", approval: deny }\n - { match: \"*/rm *-fRv\", approval: deny }\n - { match: \"*/rm *-fvR *\", approval: deny }\n - { match: \"*/rm *-fvR\", approval: deny }\n - { match: \"*/rm *-vRf *\", approval: deny }\n - { match: \"*/rm *-vRf\", approval: deny }\n - { match: \"*/rm *-vfR *\", approval: deny }\n - { match: \"*/rm *-vfR\", approval: deny }\n - { match: \"*/rm *--recursive *\", approval: deny }\n - { match: \"*/rm *--recursive\", approval: deny }\n - { match: \"* rm *-r *\", approval: deny }\n - { match: \"* rm *-r\", approval: deny }\n - { match: \"* rm *-rf *\", approval: deny }\n - { match: \"* rm *-rf\", approval: deny }\n - { match: \"* rm *-fr *\", approval: deny }\n - { match: \"* rm *-fr\", approval: deny }\n - { match: \"* rm *-rv *\", approval: deny }\n - { match: \"* rm *-rv\", approval: deny }\n - { match: \"* rm *-vr *\", approval: deny }\n - { match: \"* rm *-vr\", approval: deny }\n - { match: \"* rm *-rfv *\", approval: deny }\n - { match: \"* rm *-rfv\", approval: deny }\n - { match: \"* rm *-rvf *\", approval: deny }\n - { match: \"* rm *-rvf\", approval: deny }\n - { match: \"* rm *-frv *\", approval: deny }\n - { match: \"* rm *-frv\", approval: deny }\n - { match: \"* rm *-fvr *\", approval: deny }\n - { match: \"* rm *-fvr\", approval: deny }\n - { match: \"* rm *-vrf *\", approval: deny }\n - { match: \"* rm *-vrf\", approval: deny }\n - { match: \"* rm *-vfr *\", approval: deny }\n - { match: \"* rm *-vfr\", approval: deny }\n - { match: \"* rm *-R *\", approval: deny }\n - { match: \"* rm *-R\", approval: deny }\n - { match: \"* rm *-ri *\", approval: deny }\n - { match: \"* rm *-ri\", approval: deny }\n - { match: \"* rm *-ir *\", approval: deny }\n - { match: \"* rm *-ir\", approval: deny }\n - { match: \"* rm *-Ri *\", approval: deny }\n - { match: \"* rm *-Ri\", approval: deny }\n - { match: \"* rm *-iR *\", approval: deny }\n - { match: \"* rm *-iR\", approval: deny }\n - { match: \"* rm *-Rf *\", approval: deny }\n - { match: \"* rm *-Rf\", approval: deny }\n - { match: \"* rm *-fR *\", approval: deny }\n - { match: \"* rm *-fR\", approval: deny }\n - { match: \"* rm *-Rv *\", approval: deny }\n - { match: \"* rm *-Rv\", approval: deny }\n - { match: \"* rm *-vR *\", approval: deny }\n - { match: \"* rm *-vR\", approval: deny }\n - { match: \"* rm *-Rfv *\", approval: deny }\n - { match: \"* rm *-Rfv\", approval: deny }\n - { match: \"* rm *-Rvf *\", approval: deny }\n - { match: \"* rm *-Rvf\", approval: deny }\n - { match: \"* rm *-fRv *\", approval: deny }\n - { match: \"* rm *-fRv\", approval: deny }\n - { match: \"* rm *-fvR *\", approval: deny }\n - { match: \"* rm *-fvR\", approval: deny }\n - { match: \"* rm *-vRf *\", approval: deny }\n - { match: \"* rm *-vRf\", approval: deny }\n - { match: \"* rm *-vfR *\", approval: deny }\n - { match: \"* rm *-vfR\", approval: deny }\n - { match: \"* rm *--recursive *\", approval: deny }\n - { match: \"* rm *--recursive\", approval: deny }\n # Bulk removal: find -delete, find -exec rm, and xargs rm, in every position.\n - { match: \"find *-delete*\", approval: deny }\n - { match: \"*/find *-delete*\", approval: deny }\n - { match: \"* find *-delete*\", approval: deny }\n - { match: \"*-exec rm *\", approval: deny }\n - { match: \"*-exec */rm *\", approval: deny }\n - { match: \"*-execdir rm *\", approval: deny }\n - { match: \"*-execdir */rm *\", approval: deny }\n - { match: \"*-ok rm *\", approval: deny }\n - { match: \"*-ok */rm *\", approval: deny }\n - { match: \"*-okdir rm *\", approval: deny }\n - { match: \"*-okdir */rm *\", approval: deny }\n - { match: \"*xargs rm\", approval: deny }\n - { match: \"*xargs rm *\", approval: deny }\n - { match: \"*xargs * rm\", approval: deny }\n - { match: \"*xargs * rm *\", approval: deny }\n - { match: \"*xargs */rm\", approval: deny }\n - { match: \"*xargs */rm *\", approval: deny }\n - { match: \"HOME=*\", approval: deny }\n - { match: \"export HOME=*\", approval: deny }\n - { match: \"env HOME=*\", approval: deny }\n - { match: \"env * HOME=*\", approval: deny }\n - { match: \"git push --force origin main\", approval: deny }\n - { match: \"git push --force origin main *\", approval: deny }\n - { match: \"git push --force origin master\", approval: deny }\n - { match: \"git push --force origin master *\", approval: deny }\n - { match: \"git push -f origin main\", approval: deny }\n - { match: \"git push -f origin main *\", approval: deny }\n - { match: \"git push -f origin master\", approval: deny }\n - { match: \"git push -f origin master *\", approval: deny }\n # A $ or a backtick anywhere after git push: the matcher reads the text\n # before the shell expands it, so it cannot tell a branch name from +main\n # or --force. An unquoted value inside a word also splits into more words.\n # A deny, not a prompt: the agent reads the refusal and writes the ref\n # literally (git push -u origin HEAD). No person is asked.\n # The leading * also reaches a git push after a shell keyword such as do,\n # after a wrapper such as env, and after a path such as /usr/bin/git.\n - { match: \"*git push *$*\", approval: deny }\n - { match: \"*git push *`*\", approval: deny }\n # Prompt: history-destroying git, and every git push spelling that could\n # force. A subagent cannot answer a prompt, so omp rejects it.\n - { match: \"git clean\", approval: prompt }\n - { match: \"git clean *\", approval: prompt }\n - { match: \"git reset *--hard*\", approval: prompt }\n - { match: \"git push -f*\", approval: prompt }\n - { match: \"git push * -f*\", approval: prompt }\n - { match: \"git push -vv*\", approval: prompt }\n - { match: \"git push * -vv*\", approval: prompt }\n - { match: \"git push -vq*\", approval: prompt }\n - { match: \"git push * -vq*\", approval: prompt }\n - { match: \"git push -vd*\", approval: prompt }\n - { match: \"git push * -vd*\", approval: prompt }\n - { match: \"git push -vn*\", approval: prompt }\n - { match: \"git push * -vn*\", approval: prompt }\n - { match: \"git push -vu*\", approval: prompt }\n - { match: \"git push * -vu*\", approval: prompt }\n - { match: \"git push -v4*\", approval: prompt }\n - { match: \"git push * -v4*\", approval: prompt }\n - { match: \"git push -v6*\", approval: prompt }\n - { match: \"git push * -v6*\", approval: prompt }\n - { match: \"git push -vf*\", approval: prompt }\n - { match: \"git push * -vf*\", approval: prompt }\n - { match: \"git push -qv*\", approval: prompt }\n - { match: \"git push * -qv*\", approval: prompt }\n - { match: \"git push -qq*\", approval: prompt }\n - { match: \"git push * -qq*\", approval: prompt }\n - { match: \"git push -qd*\", approval: prompt }\n - { match: \"git push * -qd*\", approval: prompt }\n - { match: \"git push -qn*\", approval: prompt }\n - { match: \"git push * -qn*\", approval: prompt }\n - { match: \"git push -qu*\", approval: prompt }\n - { match: \"git push * -qu*\", approval: prompt }\n - { match: \"git push -q4*\", approval: prompt }\n - { match: \"git push * -q4*\", approval: prompt }\n - { match: \"git push -q6*\", approval: prompt }\n - { match: \"git push * -q6*\", approval: prompt }\n - { match: \"git push -qf*\", approval: prompt }\n - { match: \"git push * -qf*\", approval: prompt }\n - { match: \"git push -dv*\", approval: prompt }\n - { match: \"git push * -dv*\", approval: prompt }\n - { match: \"git push -dq*\", approval: prompt }\n - { match: \"git push * -dq*\", approval: prompt }\n - { match: \"git push -dd*\", approval: prompt }\n - { match: \"git push * -dd*\", approval: prompt }\n - { match: \"git push -dn*\", approval: prompt }\n - { match: \"git push * -dn*\", approval: prompt }\n - { match: \"git push -du*\", approval: prompt }\n - { match: \"git push * -du*\", approval: prompt }\n - { match: \"git push -d4*\", approval: prompt }\n - { match: \"git push * -d4*\", approval: prompt }\n - { match: \"git push -d6*\", approval: prompt }\n - { match: \"git push * -d6*\", approval: prompt }\n - { match: \"git push -df*\", approval: prompt }\n - { match: \"git push * -df*\", approval: prompt }\n - { match: \"git push -nv*\", approval: prompt }\n - { match: \"git push * -nv*\", approval: prompt }\n - { match: \"git push -nq*\", approval: prompt }\n - { match: \"git push * -nq*\", approval: prompt }\n - { match: \"git push -nd*\", approval: prompt }\n - { match: \"git push * -nd*\", approval: prompt }\n - { match: \"git push -nn*\", approval: prompt }\n - { match: \"git push * -nn*\", approval: prompt }\n - { match: \"git push -nu*\", approval: prompt }\n - { match: \"git push * -nu*\", approval: prompt }\n - { match: \"git push -n4*\", approval: prompt }\n - { match: \"git push * -n4*\", approval: prompt }\n - { match: \"git push -n6*\", approval: prompt }\n - { match: \"git push * -n6*\", approval: prompt }\n - { match: \"git push -nf*\", approval: prompt }\n - { match: \"git push * -nf*\", approval: prompt }\n - { match: \"git push -uv*\", approval: prompt }\n - { match: \"git push * -uv*\", approval: prompt }\n - { match: \"git push -uq*\", approval: prompt }\n - { match: \"git push * -uq*\", approval: prompt }\n - { match: \"git push -ud*\", approval: prompt }\n - { match: \"git push * -ud*\", approval: prompt }\n - { match: \"git push -un*\", approval: prompt }\n - { match: \"git push * -un*\", approval: prompt }\n - { match: \"git push -uu*\", approval: prompt }\n - { match: \"git push * -uu*\", approval: prompt }\n - { match: \"git push -u4*\", approval: prompt }\n - { match: \"git push * -u4*\", approval: prompt }\n - { match: \"git push -u6*\", approval: prompt }\n - { match: \"git push * -u6*\", approval: prompt }\n - { match: \"git push -uf*\", approval: prompt }\n - { match: \"git push * -uf*\", approval: prompt }\n - { match: \"git push -4v*\", approval: prompt }\n - { match: \"git push * -4v*\", approval: prompt }\n - { match: \"git push -4q*\", approval: prompt }\n - { match: \"git push * -4q*\", approval: prompt }\n - { match: \"git push -4d*\", approval: prompt }\n - { match: \"git push * -4d*\", approval: prompt }\n - { match: \"git push -4n*\", approval: prompt }\n - { match: \"git push * -4n*\", approval: prompt }\n - { match: \"git push -4u*\", approval: prompt }\n - { match: \"git push * -4u*\", approval: prompt }\n - { match: \"git push -44*\", approval: prompt }\n - { match: \"git push * -44*\", approval: prompt }\n - { match: \"git push -46*\", approval: prompt }\n - { match: \"git push * -46*\", approval: prompt }\n - { match: \"git push -4f*\", approval: prompt }\n - { match: \"git push * -4f*\", approval: prompt }\n - { match: \"git push -6v*\", approval: prompt }\n - { match: \"git push * -6v*\", approval: prompt }\n - { match: \"git push -6q*\", approval: prompt }\n - { match: \"git push * -6q*\", approval: prompt }\n - { match: \"git push -6d*\", approval: prompt }\n - { match: \"git push * -6d*\", approval: prompt }\n - { match: \"git push -6n*\", approval: prompt }\n - { match: \"git push * -6n*\", approval: prompt }\n - { match: \"git push -6u*\", approval: prompt }\n - { match: \"git push * -6u*\", approval: prompt }\n - { match: \"git push -64*\", approval: prompt }\n - { match: \"git push * -64*\", approval: prompt }\n - { match: \"git push -66*\", approval: prompt }\n - { match: \"git push * -66*\", approval: prompt }\n - { match: \"git push -6f*\", approval: prompt }\n - { match: \"git push * -6f*\", approval: prompt }\n - { match: \"git push --f*\", approval: prompt }\n - { match: \"git push * --f*\", approval: prompt }\n - { match: \"git push --mi*\", approval: prompt }\n - { match: \"git push * --mi*\", approval: prompt }\n - { match: \"git push +*\", approval: prompt }\n - { match: \"git push * +*\", approval: prompt }\n # Prompt: every git command that skips the repository's hooks. Each rule\n # starts with * so that a prefix such as X=1, env, timeout, or /usr/bin/\n # before git still matches. git takes any unique prefix of --no-verify,\n # and git am takes the shortest, --no-v. git commit and git am read -n as\n # --no-verify, also inside a short-option cluster, so every cluster that\n # starts with -n or with two no-argument options asks. core.hooksPath\n # moves the hooks directory: the git rules match its two common\n # spellings, and the variable rules match each override through\n # GIT_CONFIG_COUNT or GIT_CONFIG_PARAMETERS.\n - { match: \"*git * --no-v*\", approval: prompt }\n - { match: \"*git commit -n*\", approval: prompt }\n - { match: \"*git commit * -n*\", approval: prompt }\n - { match: \"*git commit -qq*\", approval: prompt }\n - { match: \"*git commit * -qq*\", approval: prompt }\n - { match: \"*git commit -qv*\", approval: prompt }\n - { match: \"*git commit * -qv*\", approval: prompt }\n - { match: \"*git commit -qs*\", approval: prompt }\n - { match: \"*git commit * -qs*\", approval: prompt }\n - { match: \"*git commit -qe*\", approval: prompt }\n - { match: \"*git commit * -qe*\", approval: prompt }\n - { match: \"*git commit -qa*\", approval: prompt }\n - { match: \"*git commit * -qa*\", approval: prompt }\n - { match: \"*git commit -qi*\", approval: prompt }\n - { match: \"*git commit * -qi*\", approval: prompt }\n - { match: \"*git commit -qp*\", approval: prompt }\n - { match: \"*git commit * -qp*\", approval: prompt }\n - { match: \"*git commit -qn*\", approval: prompt }\n - { match: \"*git commit * -qn*\", approval: prompt }\n - { match: \"*git commit -qo*\", approval: prompt }\n - { match: \"*git commit * -qo*\", approval: prompt }\n - { match: \"*git commit -qz*\", approval: prompt }\n - { match: \"*git commit * -qz*\", approval: prompt }\n - { match: \"*git commit -vq*\", approval: prompt }\n - { match: \"*git commit * -vq*\", approval: prompt }\n - { match: \"*git commit -vv*\", approval: prompt }\n - { match: \"*git commit * -vv*\", approval: prompt }\n - { match: \"*git commit -vs*\", approval: prompt }\n - { match: \"*git commit * -vs*\", approval: prompt }\n - { match: \"*git commit -ve*\", approval: prompt }\n - { match: \"*git commit * -ve*\", approval: prompt }\n - { match: \"*git commit -va*\", approval: prompt }\n - { match: \"*git commit * -va*\", approval: prompt }\n - { match: \"*git commit -vi*\", approval: prompt }\n - { match: \"*git commit * -vi*\", approval: prompt }\n - { match: \"*git commit -vp*\", approval: prompt }\n - { match: \"*git commit * -vp*\", approval: prompt }\n - { match: \"*git commit -vn*\", approval: prompt }\n - { match: \"*git commit * -vn*\", approval: prompt }\n - { match: \"*git commit -vo*\", approval: prompt }\n - { match: \"*git commit * -vo*\", approval: prompt }\n - { match: \"*git commit -vz*\", approval: prompt }\n - { match: \"*git commit * -vz*\", approval: prompt }\n - { match: \"*git commit -sq*\", approval: prompt }\n - { match: \"*git commit * -sq*\", approval: prompt }\n - { match: \"*git commit -sv*\", approval: prompt }\n - { match: \"*git commit * -sv*\", approval: prompt }\n - { match: \"*git commit -ss*\", approval: prompt }\n - { match: \"*git commit * -ss*\", approval: prompt }\n - { match: \"*git commit -se*\", approval: prompt }\n - { match: \"*git commit * -se*\", approval: prompt }\n - { match: \"*git commit -sa*\", approval: prompt }\n - { match: \"*git commit * -sa*\", approval: prompt }\n - { match: \"*git commit -si*\", approval: prompt }\n - { match: \"*git commit * -si*\", approval: prompt }\n - { match: \"*git commit -sp*\", approval: prompt }\n - { match: \"*git commit * -sp*\", approval: prompt }\n - { match: \"*git commit -sn*\", approval: prompt }\n - { match: \"*git commit * -sn*\", approval: prompt }\n - { match: \"*git commit -so*\", approval: prompt }\n - { match: \"*git commit * -so*\", approval: prompt }\n - { match: \"*git commit -sz*\", approval: prompt }\n - { match: \"*git commit * -sz*\", approval: prompt }\n - { match: \"*git commit -eq*\", approval: prompt }\n - { match: \"*git commit * -eq*\", approval: prompt }\n - { match: \"*git commit -ev*\", approval: prompt }\n - { match: \"*git commit * -ev*\", approval: prompt }\n - { match: \"*git commit -es*\", approval: prompt }\n - { match: \"*git commit * -es*\", approval: prompt }\n - { match: \"*git commit -ee*\", approval: prompt }\n - { match: \"*git commit * -ee*\", approval: prompt }\n - { match: \"*git commit -ea*\", approval: prompt }\n - { match: \"*git commit * -ea*\", approval: prompt }\n - { match: \"*git commit -ei*\", approval: prompt }\n - { match: \"*git commit * -ei*\", approval: prompt }\n - { match: \"*git commit -ep*\", approval: prompt }\n - { match: \"*git commit * -ep*\", approval: prompt }\n - { match: \"*git commit -en*\", approval: prompt }\n - { match: \"*git commit * -en*\", approval: prompt }\n - { match: \"*git commit -eo*\", approval: prompt }\n - { match: \"*git commit * -eo*\", approval: prompt }\n - { match: \"*git commit -ez*\", approval: prompt }\n - { match: \"*git commit * -ez*\", approval: prompt }\n - { match: \"*git commit -aq*\", approval: prompt }\n - { match: \"*git commit * -aq*\", approval: prompt }\n - { match: \"*git commit -av*\", approval: prompt }\n - { match: \"*git commit * -av*\", approval: prompt }\n - { match: \"*git commit -as*\", approval: prompt }\n - { match: \"*git commit * -as*\", approval: prompt }\n - { match: \"*git commit -ae*\", approval: prompt }\n - { match: \"*git commit * -ae*\", approval: prompt }\n - { match: \"*git commit -aa*\", approval: prompt }\n - { match: \"*git commit * -aa*\", approval: prompt }\n - { match: \"*git commit -ai*\", approval: prompt }\n - { match: \"*git commit * -ai*\", approval: prompt }\n - { match: \"*git commit -ap*\", approval: prompt }\n - { match: \"*git commit * -ap*\", approval: prompt }\n - { match: \"*git commit -an*\", approval: prompt }\n - { match: \"*git commit * -an*\", approval: prompt }\n - { match: \"*git commit -ao*\", approval: prompt }\n - { match: \"*git commit * -ao*\", approval: prompt }\n - { match: \"*git commit -az*\", approval: prompt }\n - { match: \"*git commit * -az*\", approval: prompt }\n - { match: \"*git commit -iq*\", approval: prompt }\n - { match: \"*git commit * -iq*\", approval: prompt }\n - { match: \"*git commit -iv*\", approval: prompt }\n - { match: \"*git commit * -iv*\", approval: prompt }\n - { match: \"*git commit -is*\", approval: prompt }\n - { match: \"*git commit * -is*\", approval: prompt }\n - { match: \"*git commit -ie*\", approval: prompt }\n - { match: \"*git commit * -ie*\", approval: prompt }\n - { match: \"*git commit -ia*\", approval: prompt }\n - { match: \"*git commit * -ia*\", approval: prompt }\n - { match: \"*git commit -ii*\", approval: prompt }\n - { match: \"*git commit * -ii*\", approval: prompt }\n - { match: \"*git commit -ip*\", approval: prompt }\n - { match: \"*git commit * -ip*\", approval: prompt }\n - { match: \"*git commit -in*\", approval: prompt }\n - { match: \"*git commit * -in*\", approval: prompt }\n - { match: \"*git commit -io*\", approval: prompt }\n - { match: \"*git commit * -io*\", approval: prompt }\n - { match: \"*git commit -iz*\", approval: prompt }\n - { match: \"*git commit * -iz*\", approval: prompt }\n - { match: \"*git commit -pq*\", approval: prompt }\n - { match: \"*git commit * -pq*\", approval: prompt }\n - { match: \"*git commit -pv*\", approval: prompt }\n - { match: \"*git commit * -pv*\", approval: prompt }\n - { match: \"*git commit -ps*\", approval: prompt }\n - { match: \"*git commit * -ps*\", approval: prompt }\n - { match: \"*git commit -pe*\", approval: prompt }\n - { match: \"*git commit * -pe*\", approval: prompt }\n - { match: \"*git commit -pa*\", approval: prompt }\n - { match: \"*git commit * -pa*\", approval: prompt }\n - { match: \"*git commit -pi*\", approval: prompt }\n - { match: \"*git commit * -pi*\", approval: prompt }\n - { match: \"*git commit -pp*\", approval: prompt }\n - { match: \"*git commit * -pp*\", approval: prompt }\n - { match: \"*git commit -pn*\", approval: prompt }\n - { match: \"*git commit * -pn*\", approval: prompt }\n - { match: \"*git commit -po*\", approval: prompt }\n - { match: \"*git commit * -po*\", approval: prompt }\n - { match: \"*git commit -pz*\", approval: prompt }\n - { match: \"*git commit * -pz*\", approval: prompt }\n - { match: \"*git commit -oq*\", approval: prompt }\n - { match: \"*git commit * -oq*\", approval: prompt }\n - { match: \"*git commit -ov*\", approval: prompt }\n - { match: \"*git commit * -ov*\", approval: prompt }\n - { match: \"*git commit -os*\", approval: prompt }\n - { match: \"*git commit * -os*\", approval: prompt }\n - { match: \"*git commit -oe*\", approval: prompt }\n - { match: \"*git commit * -oe*\", approval: prompt }\n - { match: \"*git commit -oa*\", approval: prompt }\n - { match: \"*git commit * -oa*\", approval: prompt }\n - { match: \"*git commit -oi*\", approval: prompt }\n - { match: \"*git commit * -oi*\", approval: prompt }\n - { match: \"*git commit -op*\", approval: prompt }\n - { match: \"*git commit * -op*\", approval: prompt }\n - { match: \"*git commit -on*\", approval: prompt }\n - { match: \"*git commit * -on*\", approval: prompt }\n - { match: \"*git commit -oo*\", approval: prompt }\n - { match: \"*git commit * -oo*\", approval: prompt }\n - { match: \"*git commit -oz*\", approval: prompt }\n - { match: \"*git commit * -oz*\", approval: prompt }\n - { match: \"*git commit -zq*\", approval: prompt }\n - { match: \"*git commit * -zq*\", approval: prompt }\n - { match: \"*git commit -zv*\", approval: prompt }\n - { match: \"*git commit * -zv*\", approval: prompt }\n - { match: \"*git commit -zs*\", approval: prompt }\n - { match: \"*git commit * -zs*\", approval: prompt }\n - { match: \"*git commit -ze*\", approval: prompt }\n - { match: \"*git commit * -ze*\", approval: prompt }\n - { match: \"*git commit -za*\", approval: prompt }\n - { match: \"*git commit * -za*\", approval: prompt }\n - { match: \"*git commit -zi*\", approval: prompt }\n - { match: \"*git commit * -zi*\", approval: prompt }\n - { match: \"*git commit -zp*\", approval: prompt }\n - { match: \"*git commit * -zp*\", approval: prompt }\n - { match: \"*git commit -zn*\", approval: prompt }\n - { match: \"*git commit * -zn*\", approval: prompt }\n - { match: \"*git commit -zo*\", approval: prompt }\n - { match: \"*git commit * -zo*\", approval: prompt }\n - { match: \"*git commit -zz*\", approval: prompt }\n - { match: \"*git commit * -zz*\", approval: prompt }\n - { match: \"*git am -n*\", approval: prompt }\n - { match: \"*git am * -n*\", approval: prompt }\n - { match: \"*git am -ii*\", approval: prompt }\n - { match: \"*git am * -ii*\", approval: prompt }\n - { match: \"*git am -in*\", approval: prompt }\n - { match: \"*git am * -in*\", approval: prompt }\n - { match: \"*git am -i3*\", approval: prompt }\n - { match: \"*git am * -i3*\", approval: prompt }\n - { match: \"*git am -iq*\", approval: prompt }\n - { match: \"*git am * -iq*\", approval: prompt }\n - { match: \"*git am -is*\", approval: prompt }\n - { match: \"*git am * -is*\", approval: prompt }\n - { match: \"*git am -iu*\", approval: prompt }\n - { match: \"*git am * -iu*\", approval: prompt }\n - { match: \"*git am -ik*\", approval: prompt }\n - { match: \"*git am * -ik*\", approval: prompt }\n - { match: \"*git am -im*\", approval: prompt }\n - { match: \"*git am * -im*\", approval: prompt }\n - { match: \"*git am -ic*\", approval: prompt }\n - { match: \"*git am * -ic*\", approval: prompt }\n - { match: \"*git am -ir*\", approval: prompt }\n - { match: \"*git am * -ir*\", approval: prompt }\n - { match: \"*git am -3i*\", approval: prompt }\n - { match: \"*git am * -3i*\", approval: prompt }\n - { match: \"*git am -3n*\", approval: prompt }\n - { match: \"*git am * -3n*\", approval: prompt }\n - { match: \"*git am -33*\", approval: prompt }\n - { match: \"*git am * -33*\", approval: prompt }\n - { match: \"*git am -3q*\", approval: prompt }\n - { match: \"*git am * -3q*\", approval: prompt }\n - { match: \"*git am -3s*\", approval: prompt }\n - { match: \"*git am * -3s*\", approval: prompt }\n - { match: \"*git am -3u*\", approval: prompt }\n - { match: \"*git am * -3u*\", approval: prompt }\n - { match: \"*git am -3k*\", approval: prompt }\n - { match: \"*git am * -3k*\", approval: prompt }\n - { match: \"*git am -3m*\", approval: prompt }\n - { match: \"*git am * -3m*\", approval: prompt }\n - { match: \"*git am -3c*\", approval: prompt }\n - { match: \"*git am * -3c*\", approval: prompt }\n - { match: \"*git am -3r*\", approval: prompt }\n - { match: \"*git am * -3r*\", approval: prompt }\n - { match: \"*git am -qi*\", approval: prompt }\n - { match: \"*git am * -qi*\", approval: prompt }\n - { match: \"*git am -qn*\", approval: prompt }\n - { match: \"*git am * -qn*\", approval: prompt }\n - { match: \"*git am -q3*\", approval: prompt }\n - { match: \"*git am * -q3*\", approval: prompt }\n - { match: \"*git am -qq*\", approval: prompt }\n - { match: \"*git am * -qq*\", approval: prompt }\n - { match: \"*git am -qs*\", approval: prompt }\n - { match: \"*git am * -qs*\", approval: prompt }\n - { match: \"*git am -qu*\", approval: prompt }\n - { match: \"*git am * -qu*\", approval: prompt }\n - { match: \"*git am -qk*\", approval: prompt }\n - { match: \"*git am * -qk*\", approval: prompt }\n - { match: \"*git am -qm*\", approval: prompt }\n - { match: \"*git am * -qm*\", approval: prompt }\n - { match: \"*git am -qc*\", approval: prompt }\n - { match: \"*git am * -qc*\", approval: prompt }\n - { match: \"*git am -qr*\", approval: prompt }\n - { match: \"*git am * -qr*\", approval: prompt }\n - { match: \"*git am -si*\", approval: prompt }\n - { match: \"*git am * -si*\", approval: prompt }\n - { match: \"*git am -sn*\", approval: prompt }\n - { match: \"*git am * -sn*\", approval: prompt }\n - { match: \"*git am -s3*\", approval: prompt }\n - { match: \"*git am * -s3*\", approval: prompt }\n - { match: \"*git am -sq*\", approval: prompt }\n - { match: \"*git am * -sq*\", approval: prompt }\n - { match: \"*git am -ss*\", approval: prompt }\n - { match: \"*git am * -ss*\", approval: prompt }\n - { match: \"*git am -su*\", approval: prompt }\n - { match: \"*git am * -su*\", approval: prompt }\n - { match: \"*git am -sk*\", approval: prompt }\n - { match: \"*git am * -sk*\", approval: prompt }\n - { match: \"*git am -sm*\", approval: prompt }\n - { match: \"*git am * -sm*\", approval: prompt }\n - { match: \"*git am -sc*\", approval: prompt }\n - { match: \"*git am * -sc*\", approval: prompt }\n - { match: \"*git am -sr*\", approval: prompt }\n - { match: \"*git am * -sr*\", approval: prompt }\n - { match: \"*git am -ui*\", approval: prompt }\n - { match: \"*git am * -ui*\", approval: prompt }\n - { match: \"*git am -un*\", approval: prompt }\n - { match: \"*git am * -un*\", approval: prompt }\n - { match: \"*git am -u3*\", approval: prompt }\n - { match: \"*git am * -u3*\", approval: prompt }\n - { match: \"*git am -uq*\", approval: prompt }\n - { match: \"*git am * -uq*\", approval: prompt }\n - { match: \"*git am -us*\", approval: prompt }\n - { match: \"*git am * -us*\", approval: prompt }\n - { match: \"*git am -uu*\", approval: prompt }\n - { match: \"*git am * -uu*\", approval: prompt }\n - { match: \"*git am -uk*\", approval: prompt }\n - { match: \"*git am * -uk*\", approval: prompt }\n - { match: \"*git am -um*\", approval: prompt }\n - { match: \"*git am * -um*\", approval: prompt }\n - { match: \"*git am -uc*\", approval: prompt }\n - { match: \"*git am * -uc*\", approval: prompt }\n - { match: \"*git am -ur*\", approval: prompt }\n - { match: \"*git am * -ur*\", approval: prompt }\n - { match: \"*git am -ki*\", approval: prompt }\n - { match: \"*git am * -ki*\", approval: prompt }\n - { match: \"*git am -kn*\", approval: prompt }\n - { match: \"*git am * -kn*\", approval: prompt }\n - { match: \"*git am -k3*\", approval: prompt }\n - { match: \"*git am * -k3*\", approval: prompt }\n - { match: \"*git am -kq*\", approval: prompt }\n - { match: \"*git am * -kq*\", approval: prompt }\n - { match: \"*git am -ks*\", approval: prompt }\n - { match: \"*git am * -ks*\", approval: prompt }\n - { match: \"*git am -ku*\", approval: prompt }\n - { match: \"*git am * -ku*\", approval: prompt }\n - { match: \"*git am -kk*\", approval: prompt }\n - { match: \"*git am * -kk*\", approval: prompt }\n - { match: \"*git am -km*\", approval: prompt }\n - { match: \"*git am * -km*\", approval: prompt }\n - { match: \"*git am -kc*\", approval: prompt }\n - { match: \"*git am * -kc*\", approval: prompt }\n - { match: \"*git am -kr*\", approval: prompt }\n - { match: \"*git am * -kr*\", approval: prompt }\n - { match: \"*git am -mi*\", approval: prompt }\n - { match: \"*git am * -mi*\", approval: prompt }\n - { match: \"*git am -mn*\", approval: prompt }\n - { match: \"*git am * -mn*\", approval: prompt }\n - { match: \"*git am -m3*\", approval: prompt }\n - { match: \"*git am * -m3*\", approval: prompt }\n - { match: \"*git am -mq*\", approval: prompt }\n - { match: \"*git am * -mq*\", approval: prompt }\n - { match: \"*git am -ms*\", approval: prompt }\n - { match: \"*git am * -ms*\", approval: prompt }\n - { match: \"*git am -mu*\", approval: prompt }\n - { match: \"*git am * -mu*\", approval: prompt }\n - { match: \"*git am -mk*\", approval: prompt }\n - { match: \"*git am * -mk*\", approval: prompt }\n - { match: \"*git am -mm*\", approval: prompt }\n - { match: \"*git am * -mm*\", approval: prompt }\n - { match: \"*git am -mc*\", approval: prompt }\n - { match: \"*git am * -mc*\", approval: prompt }\n - { match: \"*git am -mr*\", approval: prompt }\n - { match: \"*git am * -mr*\", approval: prompt }\n - { match: \"*git am -ci*\", approval: prompt }\n - { match: \"*git am * -ci*\", approval: prompt }\n - { match: \"*git am -cn*\", approval: prompt }\n - { match: \"*git am * -cn*\", approval: prompt }\n - { match: \"*git am -c3*\", approval: prompt }\n - { match: \"*git am * -c3*\", approval: prompt }\n - { match: \"*git am -cq*\", approval: prompt }\n - { match: \"*git am * -cq*\", approval: prompt }\n - { match: \"*git am -cs*\", approval: prompt }\n - { match: \"*git am * -cs*\", approval: prompt }\n - { match: \"*git am -cu*\", approval: prompt }\n - { match: \"*git am * -cu*\", approval: prompt }\n - { match: \"*git am -ck*\", approval: prompt }\n - { match: \"*git am * -ck*\", approval: prompt }\n - { match: \"*git am -cm*\", approval: prompt }\n - { match: \"*git am * -cm*\", approval: prompt }\n - { match: \"*git am -cc*\", approval: prompt }\n - { match: \"*git am * -cc*\", approval: prompt }\n - { match: \"*git am -cr*\", approval: prompt }\n - { match: \"*git am * -cr*\", approval: prompt }\n - { match: \"*git am -ri*\", approval: prompt }\n - { match: \"*git am * -ri*\", approval: prompt }\n - { match: \"*git am -rn*\", approval: prompt }\n - { match: \"*git am * -rn*\", approval: prompt }\n - { match: \"*git am -r3*\", approval: prompt }\n - { match: \"*git am * -r3*\", approval: prompt }\n - { match: \"*git am -rq*\", approval: prompt }\n - { match: \"*git am * -rq*\", approval: prompt }\n - { match: \"*git am -rs*\", approval: prompt }\n - { match: \"*git am * -rs*\", approval: prompt }\n - { match: \"*git am -ru*\", approval: prompt }\n - { match: \"*git am * -ru*\", approval: prompt }\n - { match: \"*git am -rk*\", approval: prompt }\n - { match: \"*git am * -rk*\", approval: prompt }\n - { match: \"*git am -rm*\", approval: prompt }\n - { match: \"*git am * -rm*\", approval: prompt }\n - { match: \"*git am -rc*\", approval: prompt }\n - { match: \"*git am * -rc*\", approval: prompt }\n - { match: \"*git am -rr*\", approval: prompt }\n - { match: \"*git am * -rr*\", approval: prompt }\n - { match: \"*git *core.hooksPath*\", approval: prompt }\n - { match: \"*git *core.hookspath*\", approval: prompt }\n - { match: \"*GIT_CONFIG_PARAMETERS*\", approval: prompt }\n - { match: \"*GIT_CONFIG_COUNT*\", approval: prompt }\n # Allow: the macOS trash command.\n - { match: \"trash *\", approval: allow }\n",
|
|
22
22
|
"SoT/.omp/intercom.json": "{\n \"brokerCommand\": \"bun\",\n \"brokerArgs\": []\n}\n",
|
|
23
23
|
"SoT/.omp/mcp.json": "{\n \"$schema\": \"https://raw.githubusercontent.com/can1357/oh-my-pi/main/packages/coding-agent/src/config/mcp-schema.json\",\n \"disabledServers\": [\n \"chrome-devtools\",\n \"context7:context7\",\n \"openaiDeveloperDocs\"\n ]\n}\n",
|
|
24
24
|
"SoT/.omp/models.yml": "providers:\n openai-codex:\n modelOverrides:\n gpt-6-astra:\n thinking:\n mode: effort\n efforts:\n - low\n - medium\n - high\n - xhigh\n - max\n defaultLevel: xhigh\n",
|
|
@@ -58,4 +58,4 @@ export const GENERATED_PAYLOAD_PATHS = [
|
|
|
58
58
|
"notification.mp3"
|
|
59
59
|
] as const
|
|
60
60
|
|
|
61
|
-
export const GENERATED_PAYLOAD_HASH = "
|
|
61
|
+
export const GENERATED_PAYLOAD_HASH = "fade80f82661dd817af2b5496df3f854af3aae365dfdbbb12d38c645d27ad2c2"
|
package/cli/src/main.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import { Command, CliOutput } from "effect/
|
|
2
|
+
import { Command, CliOutput } from "effect/cli";
|
|
3
3
|
import { BunRuntime, BunServices } from "@effect/platform-bun";
|
|
4
4
|
import { Console, Effect, Layer } from "effect";
|
|
5
5
|
import { EngineServicesLive } from "./services";
|
|
@@ -83,7 +83,7 @@ const bareVersionFormatter: CliOutput.Formatter = {
|
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// Harness-private raw channels:
|
|
86
|
-
// `DOCKS_KIT_ENGINE=native-raw` bypasses effect/
|
|
86
|
+
// `DOCKS_KIT_ENGINE=native-raw` bypasses effect/cli and hands the raw engine
|
|
87
87
|
// argv to EngineNative so golden tests drive the internal vocabulary directly.
|
|
88
88
|
// Only this channel honors the unprefixed env globals (DRY_RUN, PRUNE, and so on).
|
|
89
89
|
// `DOCKS_KIT_ENGINE=native-capture` is the engine.ts engineCapture child. It takes
|
package/cli/tsconfig.json
CHANGED
|
@@ -11,7 +11,20 @@
|
|
|
11
11
|
"allowImportingTsExtensions": true,
|
|
12
12
|
"skipLibCheck": true,
|
|
13
13
|
"forceConsistentCasingInFileNames": true,
|
|
14
|
-
"verbatimModuleSyntax": true
|
|
14
|
+
"verbatimModuleSyntax": true,
|
|
15
|
+
"plugins": [
|
|
16
|
+
{
|
|
17
|
+
"name": "@effect/language-service",
|
|
18
|
+
"allowedUnstableApis": [
|
|
19
|
+
"effect/cli",
|
|
20
|
+
"effect/Terminal",
|
|
21
|
+
"effect/FileSystem#layerNoop",
|
|
22
|
+
"effect/Path#layer",
|
|
23
|
+
"@effect/platform-bun/BunRuntime#runMain",
|
|
24
|
+
"@effect/platform-bun/BunServices#layer"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
]
|
|
15
28
|
},
|
|
16
29
|
"include": ["src/**/*.ts", "src/**/*.d.ts", "test/**/*.ts", "scripts/**/*.ts", "test/statusline-runtime-smoke.mjs", "../SoT/.claude/bin/*.mjs", "../SoT/.omp/plugin/extensions/*.ts"]
|
|
17
30
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docks-kit",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.7",
|
|
4
4
|
"description": "Portable AI coding agent config kit — SoT sync engine + typed CLI for Claude Code, Codex, and universal agent skills",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,22 +41,22 @@
|
|
|
41
41
|
"test:integration": "bun run --parallel golden:dryrun golden:mutation",
|
|
42
42
|
"test": "bun run --parallel test:unit test:integration",
|
|
43
43
|
"lint": "oxlint",
|
|
44
|
-
"
|
|
45
|
-
"format
|
|
46
|
-
"check": "bun
|
|
44
|
+
"lint:effect": "effect-tsgo diagnostics --project cli/tsconfig.json --strict --format text",
|
|
45
|
+
"format": "bun fmt --no-script cli/src cli/test cli/scripts vitest.config.ts",
|
|
46
|
+
"format:check": "bun fmt --no-script --check cli/src cli/test cli/scripts vitest.config.ts",
|
|
47
|
+
"check": "bun run --parallel lint lint:effect format:check typecheck test"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
|
-
"@effect/platform-bun": "4.
|
|
50
|
-
"@effect/platform-node-shared": "4.
|
|
51
|
-
"effect": "4.
|
|
52
|
-
"yaml": "2.9.
|
|
50
|
+
"@effect/platform-bun": "4.1.2",
|
|
51
|
+
"@effect/platform-node-shared": "4.1.2",
|
|
52
|
+
"effect": "4.1.2",
|
|
53
|
+
"yaml": "2.9.1"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
|
-
"@effect/
|
|
56
|
-
"@types/bun": "
|
|
57
|
-
"
|
|
58
|
-
"oxlint": "1.82.0",
|
|
56
|
+
"@effect/tsgo": "0.64.1",
|
|
57
|
+
"@types/bun": "1.4.4",
|
|
58
|
+
"oxlint": "1.91.0",
|
|
59
59
|
"typescript": "7.0.2",
|
|
60
|
-
"vitest": "5.0
|
|
60
|
+
"vitest": "5.1.0"
|
|
61
61
|
}
|
|
62
62
|
}
|