oc-pilot 0.113.0 → 0.114.1
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/CHANGELOG.md +14 -0
- package/README.md +8 -6
- package/README.ru.md +7 -5
- package/dist/cli.js +5 -1
- package/dist/cli.js.map +1 -1
- package/dist/cli.test.js +62 -0
- package/dist/cli.test.js.map +1 -1
- package/dist/commands/preflight.js +3 -0
- package/dist/commands/preflight.js.map +1 -1
- package/dist/commands/tribunal.js +159 -0
- package/dist/commands/tribunal.js.map +1 -0
- package/dist/core/antibody.js +3 -3
- package/dist/core/antibody.js.map +1 -1
- package/dist/core/antibody.test.js +34 -0
- package/dist/core/antibody.test.js.map +1 -1
- package/dist/core/chronos.js +3 -3
- package/dist/core/chronos.js.map +1 -1
- package/dist/core/chronos.test.js +23 -0
- package/dist/core/chronos.test.js.map +1 -1
- package/dist/core/clairvoyant.js +6 -5
- package/dist/core/clairvoyant.js.map +1 -1
- package/dist/core/clairvoyant.test.js +28 -0
- package/dist/core/clairvoyant.test.js.map +1 -1
- package/dist/core/cuckoo.test.js +3 -3
- package/dist/core/cuckoo.test.js.map +1 -1
- package/dist/core/mitosis.js +4 -2
- package/dist/core/mitosis.js.map +1 -1
- package/dist/core/mitosis.test.js +20 -0
- package/dist/core/mitosis.test.js.map +1 -1
- package/dist/core/preflight-run.js +9 -3
- package/dist/core/preflight-run.js.map +1 -1
- package/dist/core/tribunal.js +137 -0
- package/dist/core/tribunal.js.map +1 -0
- package/dist/core/tribunal.test.js +52 -0
- package/dist/core/tribunal.test.js.map +1 -0
- package/dist/mcp-prompts.test.js +1 -0
- package/dist/mcp-prompts.test.js.map +1 -1
- package/dist/mcp.js +72 -0
- package/dist/mcp.js.map +1 -1
- package/dist/mcp.test.js +5 -0
- package/dist/mcp.test.js.map +1 -1
- package/dist/skills.test.js +3 -0
- package/dist/skills.test.js.map +1 -1
- package/dist/version.js +1 -1
- package/docs/integrations.md +5 -5
- package/package.json +1 -1
- package/skills/agent-self-review/SKILL.md +1 -1
- package/skills/commit-discipline/SKILL.md +1 -1
- package/skills/oc-pilot/SKILL.md +3 -0
- package/skills/secure-diff-gate/SKILL.md +1 -1
- package/skills/stack-review-packs/SKILL.md +1 -1
- package/skills/test-failure-triage/SKILL.md +1 -1
package/docs/integrations.md
CHANGED
|
@@ -203,7 +203,7 @@ mounted workspace.
|
|
|
203
203
|
## Agent skills
|
|
204
204
|
|
|
205
205
|
`skills/oc-pilot/SKILL.md` is a portable Agent Skill. It tells an agent when to
|
|
206
|
-
call `scan`, `review`, `invariants`, `test_fix`, `fix`, `test_gen`, `docgen`, `slop`, `mutate`, `fuzz`, `bankruptcy`, `query_ast`, `sandbox`, `hivemind_status`, `flaky`, `impact`, `deps`, `coverage`, `reviewers`, `test_guard`, `env_sync`, `mock_leak`, `ecosystem_verify`, `pack`, `pack_hologram`, `zoom_symbol`, `contract_drift`, `anti_regression`, `boundaries`, `test_plan`, `compliance_verify`, `brag`, `battle`, `cleanup`, `arch_diff`, `roast`, `cinema`, `bounty`, `autopsy`, `echo`, `sast`, `authz`, `preflight`, `honeypot`, `alien_dna`, `hyper_chamber`, `butterfly`, `blindfold`, `antibody`, `polygraph`, `passport`, `oracle`, `vaccine`, `mitosis`, `intent`, `scalpel`, `mayday`, `clairvoyant`, `hemorrhage`, `cuckoo`, `chronos`, `beacon`, `quarantine`, `mirage`, `warden`, `skeptic`, `apoptosis`, `scan_injection`, `ready`, and `receipt_verify`, prefers MCP tools, and
|
|
206
|
+
call `scan`, `review`, `invariants`, `test_fix`, `fix`, `test_gen`, `docgen`, `slop`, `mutate`, `fuzz`, `bankruptcy`, `query_ast`, `sandbox`, `hivemind_status`, `flaky`, `impact`, `deps`, `coverage`, `reviewers`, `test_guard`, `env_sync`, `mock_leak`, `ecosystem_verify`, `pack`, `pack_hologram`, `zoom_symbol`, `contract_drift`, `anti_regression`, `boundaries`, `test_plan`, `compliance_verify`, `brag`, `battle`, `cleanup`, `arch_diff`, `roast`, `cinema`, `bounty`, `autopsy`, `echo`, `sast`, `authz`, `preflight`, `honeypot`, `alien_dna`, `hyper_chamber`, `butterfly`, `blindfold`, `antibody`, `polygraph`, `passport`, `oracle`, `vaccine`, `mitosis`, `intent`, `scalpel`, `mayday`, `clairvoyant`, `hemorrhage`, `cuckoo`, `chronos`, `beacon`, `quarantine`, `mirage`, `warden`, `tribunal`, `skeptic`, `apoptosis`, `scan_injection`, `ready`, and `receipt_verify`, prefers MCP tools, and
|
|
207
207
|
documents safety rules for `fix.apply`. Install it by copying
|
|
208
208
|
`skills/oc-pilot` into the client's skills directory (for Claude Code, usually
|
|
209
209
|
`.claude/skills/oc-pilot`).
|
|
@@ -232,7 +232,7 @@ claude mcp add oc-pilot -- oc-pilot-mcp --cwd /absolute/path/to/project
|
|
|
232
232
|
```
|
|
233
233
|
|
|
234
234
|
Claude Code will expose `review`, `invariants`, `test_fix`, `fix`, `test_gen`, `docgen`, `custom`,
|
|
235
|
-
`scan`, `slop`, `mutate`, `fuzz`, `bankruptcy`, `query_ast`, `sandbox`, `hivemind_status`, `flaky`, `impact`, `deps`, `coverage`, `reviewers`, `test_guard`, `env_sync`, `mock_leak`, `ecosystem_verify`, `pack`, `pack_hologram`, `zoom_symbol`, `contract_drift`, `anti_regression`, `boundaries`, `test_plan`, `compliance_verify`, `brag`, `battle`, `cleanup`, `arch_diff`, `roast`, `cinema`, `bounty`, `autopsy`, `echo`, `sast`, `authz`, `preflight`, `honeypot`, `alien_dna`, `hyper_chamber`, `butterfly`, `blindfold`, `antibody`, `polygraph`, `passport`, `oracle`, `vaccine`, `mitosis`, `intent`, `scalpel`, `mayday`, `clairvoyant`, `hemorrhage`, `cuckoo`, `chronos`, `beacon`, `quarantine`, `mirage`, `warden`, `skeptic`, `apoptosis`, `scan_injection`, `ready`, and `receipt_verify` as MCP tools. A typical instruction:
|
|
235
|
+
`scan`, `slop`, `mutate`, `fuzz`, `bankruptcy`, `query_ast`, `sandbox`, `hivemind_status`, `flaky`, `impact`, `deps`, `coverage`, `reviewers`, `test_guard`, `env_sync`, `mock_leak`, `ecosystem_verify`, `pack`, `pack_hologram`, `zoom_symbol`, `contract_drift`, `anti_regression`, `boundaries`, `test_plan`, `compliance_verify`, `brag`, `battle`, `cleanup`, `arch_diff`, `roast`, `cinema`, `bounty`, `autopsy`, `echo`, `sast`, `authz`, `preflight`, `honeypot`, `alien_dna`, `hyper_chamber`, `butterfly`, `blindfold`, `antibody`, `polygraph`, `passport`, `oracle`, `vaccine`, `mitosis`, `intent`, `scalpel`, `mayday`, `clairvoyant`, `hemorrhage`, `cuckoo`, `chronos`, `beacon`, `quarantine`, `mirage`, `warden`, `tribunal`, `skeptic`, `apoptosis`, `scan_injection`, `ready`, and `receipt_verify` as MCP tools. A typical instruction:
|
|
236
236
|
|
|
237
237
|
> Before proposing a fix, call the `oc-pilot` `review` tool with
|
|
238
238
|
> `fail_on: "warning"` and include its critical findings in your answer.
|
|
@@ -394,7 +394,7 @@ server. Add it to `~/.dsh/profiles/web/cordis.patch.yml`:
|
|
|
394
394
|
serverName: oc_pilot
|
|
395
395
|
transport: stdio
|
|
396
396
|
command: npx
|
|
397
|
-
args: ['-y', 'oc-pilot@0.
|
|
397
|
+
args: ['-y', 'oc-pilot@0.114.1', 'mcp', '--cwd', '/absolute/path/to/project']
|
|
398
398
|
toolCallTimeoutMs: 300000
|
|
399
399
|
```
|
|
400
400
|
|
|
@@ -478,7 +478,7 @@ The repository also ships a composite action, so the whole gate is:
|
|
|
478
478
|
- uses: actions/checkout@v4
|
|
479
479
|
with:
|
|
480
480
|
fetch-depth: 0
|
|
481
|
-
- uses: MyNameIsNikki/oc-pilot@v0.
|
|
481
|
+
- uses: MyNameIsNikki/oc-pilot@v0.114.1
|
|
482
482
|
with:
|
|
483
483
|
command: scan
|
|
484
484
|
args: --base origin/${{ github.base_ref }} --fail-on-secrets
|
|
@@ -522,7 +522,7 @@ The repository ships `.pre-commit-hooks.yaml`, so the standard
|
|
|
522
522
|
```yaml
|
|
523
523
|
repos:
|
|
524
524
|
- repo: https://github.com/MyNameIsNikki/oc-pilot
|
|
525
|
-
rev: v0.
|
|
525
|
+
rev: v0.114.1
|
|
526
526
|
hooks:
|
|
527
527
|
- id: oc-pilot-secrets # oc-pilot scan --staged
|
|
528
528
|
- id: oc-pilot-review # oc-pilot review --staged --fail-on critical --fail-on-secrets
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@ diff reviewed by a second model, blocking findings fixed, exit code checked.
|
|
|
12
12
|
## Setup
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.
|
|
15
|
+
npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.114.1.tar.gz
|
|
16
16
|
oc-pilot --version # requires 0.11+
|
|
17
17
|
```
|
|
18
18
|
|
|
@@ -12,7 +12,7 @@ derived from the actual diff, in the repository's own style.
|
|
|
12
12
|
## Setup
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.
|
|
15
|
+
npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.114.1.tar.gz
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Workflow
|
package/skills/oc-pilot/SKILL.md
CHANGED
|
@@ -60,6 +60,7 @@ If the `oc-pilot` MCP server is configured, call its tools directly:
|
|
|
60
60
|
- `quarantine` - track a flaky test with an owner, reason and expiry; `check` fails with `[QUARANTINE EXPIRED]` so suppression cannot become permanent, and add/remove/clear need `--allow-write`.
|
|
61
61
|
- `mirage` - record `fetch` responses and `Date.now` into a cassette, replay them offline and fail with `[MIRAGE MISS]` on an unrecorded request; record/clear need `--allow-write`.
|
|
62
62
|
- `warden` - check the diff against `.oc-pilot/policy.json` (forbidden paths/content/deps/extensions, required tests, max files) and fail with `[POLICY VIOLATION]`; `init` writes a sample policy and needs `--allow-write`.
|
|
63
|
+
- `tribunal` - run security, correctness and maintainability reviewers separately and report `[TRIBUNAL CONSENSUS]` only for findings confirmed by the configured quorum; split findings are leads, not verdicts.
|
|
63
64
|
- `apoptosis` - scan functions marked `/* @lifespan: 30d */`; report `[Senescent]` when the marker is older than the lifespan and there are no references, and only with `apply --confirm` comment them out in a shadow worktree, run tests and land the diff if green.
|
|
64
65
|
- `injection` - scan README, docs, comments, HTML and source for prompt-injection, role hijacks, exfiltration URLs, hidden unicode and base64 instructions; `--fail-on` controls the gate and `--fix` strips invisible characters.
|
|
65
66
|
- `contract_drift` - removed or newly required fields and type changes in TypeScript, Zod, Prisma, Pydantic and JSON Schema, plus untouched consumers of a removed field.
|
|
@@ -148,6 +149,8 @@ oc-pilot mirage record --command "node test.mjs" --cassette cassettes/login.json
|
|
|
148
149
|
oc-pilot mirage replay --command "node test.mjs" --cassette cassettes/login.json
|
|
149
150
|
oc-pilot warden init
|
|
150
151
|
oc-pilot warden check --staged
|
|
152
|
+
oc-pilot tribunal --staged
|
|
153
|
+
oc-pilot tribunal --staged --lenses security,correctness
|
|
151
154
|
oc-pilot skeptic --staged
|
|
152
155
|
oc-pilot apoptosis scan --fail-on-senescent
|
|
153
156
|
oc-pilot injection --fail-on medium
|
|
@@ -13,7 +13,7 @@ skill checks all four before the change leaves the machine.
|
|
|
13
13
|
## Setup
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.
|
|
16
|
+
npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.114.1.tar.gz
|
|
17
17
|
oc-pilot init --preset security,devops
|
|
18
18
|
```
|
|
19
19
|
|
|
@@ -12,7 +12,7 @@ router will not catch it". Rules packs are how the second reviewer happens.
|
|
|
12
12
|
## Setup
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.
|
|
15
|
+
npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.114.1.tar.gz
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Available packs
|
|
@@ -13,7 +13,7 @@ before any patch, and a verification step after it.
|
|
|
13
13
|
## Setup
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.
|
|
16
|
+
npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.114.1.tar.gz
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Workflow
|