oc-pilot 0.111.0 → 0.112.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 +12 -0
- package/dist/cli.test.js.map +1 -1
- package/dist/commands/mirage.js +138 -0
- package/dist/commands/mirage.js.map +1 -0
- package/dist/core/mirage.js +193 -0
- package/dist/core/mirage.js.map +1 -0
- package/dist/core/mirage.test.js +120 -0
- package/dist/core/mirage.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 +52 -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 +2 -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/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.112.0.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.112.0.tar.gz
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Workflow
|
package/skills/oc-pilot/SKILL.md
CHANGED
|
@@ -58,6 +58,7 @@ If the `oc-pilot` MCP server is configured, call its tools directly:
|
|
|
58
58
|
- `chronos` - read a file's fix/revert/incident/security history plus antibodies and vaccines, score it and report `[HOTSPOT]`; a low score is not proof of safety.
|
|
59
59
|
- `beacon` - stamp a digest-bound verification manifest for HEAD with checks, commands, agent, model and optional HMAC/ssh-keygen signature; `verify` catches tampering and `[UNATTRIBUTED]`, `render --markdown` makes a PR comment, and stamp/clear need `--allow-write`.
|
|
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
|
+
- `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`.
|
|
61
62
|
- `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.
|
|
62
63
|
- `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.
|
|
63
64
|
- `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.
|
|
@@ -142,6 +143,8 @@ oc-pilot beacon stamp --check tests=pass --key beacon.key
|
|
|
142
143
|
oc-pilot beacon verify --key beacon.key
|
|
143
144
|
oc-pilot quarantine add --test "auth flow" --owner alice --reason "race"
|
|
144
145
|
oc-pilot quarantine check
|
|
146
|
+
oc-pilot mirage record --command "node test.mjs" --cassette cassettes/login.json
|
|
147
|
+
oc-pilot mirage replay --command "node test.mjs" --cassette cassettes/login.json
|
|
145
148
|
oc-pilot skeptic --staged
|
|
146
149
|
oc-pilot apoptosis scan --fail-on-senescent
|
|
147
150
|
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.112.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.112.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.112.0.tar.gz
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Workflow
|