oc-pilot 0.100.0 → 0.101.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 +7 -0
- package/README.md +7 -5
- package/README.ru.md +6 -4
- package/dist/cli.js +5 -1
- package/dist/cli.js.map +1 -1
- package/dist/cli.test.js +13 -0
- package/dist/cli.test.js.map +1 -1
- package/dist/commands/vaccine.js +233 -0
- package/dist/commands/vaccine.js.map +1 -0
- package/dist/core/shadow.js +9 -6
- package/dist/core/shadow.js.map +1 -1
- package/dist/core/vaccine.js +292 -0
- package/dist/core/vaccine.js.map +1 -0
- package/dist/core/vaccine.test.js +139 -0
- package/dist/core/vaccine.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 +6 -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
|
@@ -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.101.0.tar.gz
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Workflow
|
package/skills/oc-pilot/SKILL.md
CHANGED
|
@@ -47,6 +47,7 @@ If the `oc-pilot` MCP server is configured, call its tools directly:
|
|
|
47
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.
|
|
48
48
|
- `passport` - record the commit, file hashes, agent, model and real checks in `.oc-pilot/passport.json`, bind them with a digest and verify with `passport verify`; `[PASSPORT STALE]` and `[PASSPORT TAMPERED]` mean the manifest no longer matches, and write/clear need `--allow-write`.
|
|
49
49
|
- `oracle` - run the same JSON corpus against HEAD and the diff in two shadow worktrees, compare stdout and exit codes and report `[BEHAVIOR CHANGED]` with the exact input; the command must contain `{input}` and a same result covers only the supplied corpus.
|
|
50
|
+
- `vaccine` - turn a fixed bug into a regression test: `create --fix HEAD` asks the model for one test and proves it fails on the buggy parent and passes on the fix in two shadow worktrees; only verified vaccines are stored, `run` replays them on HEAD, and create/forget/clear need `--allow-write`.
|
|
50
51
|
- `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.
|
|
51
52
|
- `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.
|
|
52
53
|
- `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.
|
|
@@ -113,6 +114,8 @@ oc-pilot antibody scan --staged
|
|
|
113
114
|
oc-pilot polygraph --commit HEAD
|
|
114
115
|
oc-pilot passport write --commit HEAD --check preflight=pass
|
|
115
116
|
oc-pilot oracle --command "node harness.mjs {input}" --input corpus.json --staged
|
|
117
|
+
oc-pilot vaccine create --fix HEAD --context "what broke"
|
|
118
|
+
oc-pilot vaccine run
|
|
116
119
|
oc-pilot skeptic --staged
|
|
117
120
|
oc-pilot apoptosis scan --fail-on-senescent
|
|
118
121
|
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.101.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.101.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.101.0.tar.gz
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Workflow
|