oc-pilot 0.96.1 → 0.98.0
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 +9 -5
- package/README.ru.md +8 -4
- package/dist/cli.js +10 -1
- package/dist/cli.js.map +1 -1
- package/dist/cli.test.js +26 -0
- package/dist/cli.test.js.map +1 -1
- package/dist/commands/antibody.js +132 -0
- package/dist/commands/antibody.js.map +1 -0
- package/dist/commands/polygraph.js +225 -0
- package/dist/commands/polygraph.js.map +1 -0
- package/dist/core/antibody.js +240 -0
- package/dist/core/antibody.js.map +1 -0
- package/dist/core/antibody.test.js +108 -0
- package/dist/core/antibody.test.js.map +1 -0
- package/dist/core/polygraph.js +402 -0
- package/dist/core/polygraph.js.map +1 -0
- package/dist/core/polygraph.test.js +110 -0
- package/dist/core/polygraph.test.js.map +1 -0
- package/dist/mcp-prompts.test.js +2 -0
- package/dist/mcp-prompts.test.js.map +1 -1
- package/dist/mcp.js +163 -0
- package/dist/mcp.js.map +1 -1
- package/dist/mcp.test.js +12 -0
- package/dist/mcp.test.js.map +1 -1
- package/dist/skills.test.js +4 -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 +5 -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
|
@@ -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.98.0.tar.gz
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Workflow
|
package/skills/oc-pilot/SKILL.md
CHANGED
|
@@ -43,6 +43,8 @@ If the `oc-pilot` MCP server is configured, call its tools directly:
|
|
|
43
43
|
- `butterfly` - run the test command under deterministic chaos: fetch 500s, latency and broken JSON, fs EIO under `--scope`; report injected faults and whether the suite survived.
|
|
44
44
|
- `blindfold` - obfuscate identifiers, send only the stripped code to the model and fail with `[BLINDFOLD REJECTED]` when the logic is unclear, a vulnerability is found or confidence is below `--min-confidence`; `--dry-run` prints the mapping without a model call.
|
|
45
45
|
- `skeptic` - ask the model for a minimal executable test, run it in a shadow worktree on both the diff and clean HEAD, and report `clean`, `bug`, `unfalsifiable` or `error`; a passing test never proves the absence of bugs.
|
|
46
|
+
- `antibody` - learn SAST findings into `.oc-pilot/antibodies.json` signatures, scan added diff lines for known bad patterns and fail with `[ANTIBODY MATCH]`; `learn`, `forget` and `clear` write, so MCP needs `--allow-write`.
|
|
47
|
+
- `polygraph` - extract the claims from a commit or PR message, check each against the diff and report `supported`, `contradicted` or `unverifiable`; `[CLAIM CONTRADICTED]` exits 1, and `supported` only means consistent with the diff.
|
|
46
48
|
- `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.
|
|
47
49
|
- `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.
|
|
48
50
|
- `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.
|
|
@@ -104,6 +106,9 @@ oc-pilot alien-dna --staged
|
|
|
104
106
|
oc-pilot hyper-chamber run scripts/task.mjs
|
|
105
107
|
oc-pilot butterfly --command "npm test"
|
|
106
108
|
oc-pilot blindfold --file src/checkout.ts
|
|
109
|
+
oc-pilot antibody learn
|
|
110
|
+
oc-pilot antibody scan --staged
|
|
111
|
+
oc-pilot polygraph --commit HEAD
|
|
107
112
|
oc-pilot skeptic --staged
|
|
108
113
|
oc-pilot apoptosis scan --fail-on-senescent
|
|
109
114
|
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.98.0.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.98.0.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.98.0.tar.gz
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Workflow
|