oc-pilot 0.91.0 → 0.93.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 +16 -0
- package/README.md +9 -6
- package/README.ru.md +8 -5
- package/dist/cli.js +9 -1
- package/dist/cli.js.map +1 -1
- package/dist/cli.test.js +49 -0
- package/dist/cli.test.js.map +1 -1
- package/dist/commands/blindfold.js +196 -0
- package/dist/commands/blindfold.js.map +1 -0
- package/dist/commands/butterfly.js +135 -0
- package/dist/commands/butterfly.js.map +1 -0
- package/dist/core/blindfold.js +451 -0
- package/dist/core/blindfold.js.map +1 -0
- package/dist/core/blindfold.test.js +77 -0
- package/dist/core/blindfold.test.js.map +1 -0
- package/dist/core/butterfly-preload.js +189 -0
- package/dist/core/butterfly-preload.js.map +1 -0
- package/dist/core/butterfly.js +135 -0
- package/dist/core/butterfly.js.map +1 -0
- package/dist/core/butterfly.test.js +146 -0
- package/dist/core/butterfly.test.js.map +1 -0
- package/dist/core/command.js +1 -0
- package/dist/core/command.js.map +1 -1
- package/dist/mcp-prompts.test.js +2 -0
- package/dist/mcp-prompts.test.js.map +1 -1
- package/dist/mcp.js +146 -0
- package/dist/mcp.js.map +1 -1
- package/dist/mcp.test.js +17 -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 +4 -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/skills/oc-pilot/SKILL.md
CHANGED
|
@@ -40,6 +40,8 @@ If the `oc-pilot` MCP server is configured, call its tools directly:
|
|
|
40
40
|
- `honeypot` - deploy decoy files (`.env.backup`, a trapped `bypassAuth`, a legacy DB drop) and fail preflight with `[HONEYPOT TRIGGERED]` when an agent reads or changes one; `status` lists traps and `remove` deletes only marker files.
|
|
41
41
|
- `alien-dna` - compare added diff lines with the architecture DNA at HEAD and fail with `[ALIEN DNA DETECTED]` when a Singleton, Proxy, dynamic RegExp, eval, global state, inheritance, decorator, Worker, EventEmitter, dynamic import, sync I/O or prototype mutation has 0% prior occurrence.
|
|
42
42
|
- `hyper-chamber` - age one JS/ESM file in node:vm with fake time and forced GC, sample the heap through node:v8 and fail with `[MEMORY LEAK DETECTED]` on sustained growth; the file must export `run`, `tick`, `main` or `default`.
|
|
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
|
+
- `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.
|
|
43
45
|
- `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.
|
|
44
46
|
- `anti_regression` - lines the diff re-adds after a human explicitly deleted them in git history, with the deleting commit cited.
|
|
45
47
|
- `boundaries` - added imports checked against `.oc-pilot/architecture.json` layer rules, with file, line and rule reason.
|
|
@@ -97,6 +99,8 @@ oc-pilot hivemind init
|
|
|
97
99
|
oc-pilot honeypot deploy
|
|
98
100
|
oc-pilot alien-dna --staged
|
|
99
101
|
oc-pilot hyper-chamber run scripts/task.mjs
|
|
102
|
+
oc-pilot butterfly --command "npm test"
|
|
103
|
+
oc-pilot blindfold --file src/checkout.ts
|
|
100
104
|
oc-pilot contract-drift --staged --fail-on-drift high
|
|
101
105
|
oc-pilot anti-regression --staged --fail-on-regression
|
|
102
106
|
oc-pilot boundaries --staged --fail-on-violation
|
|
@@ -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.93.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.93.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.93.0.tar.gz
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Workflow
|