oc-pilot 0.108.0 → 0.109.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 +6 -0
- package/README.md +9 -5
- package/README.ru.md +8 -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/chronos.js +81 -0
- package/dist/commands/chronos.js.map +1 -0
- package/dist/core/chronos.js +126 -0
- package/dist/core/chronos.js.map +1 -0
- package/dist/core/chronos.test.js +116 -0
- package/dist/core/chronos.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 +45 -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 +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/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.109.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.109.0.tar.gz
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Workflow
|
package/skills/oc-pilot/SKILL.md
CHANGED
|
@@ -54,6 +54,8 @@ If the `oc-pilot` MCP server is configured, call its tools directly:
|
|
|
54
54
|
- `mayday` - incident response: `bisect --good <ref> --bad <ref> --command <cmd>` finds the first failing commit; `rollback --to <ref> --confirm` reverts the range in a shadow worktree, runs tests and exposes a branch; never reset --hard or force-push.
|
|
55
55
|
- `clairvoyant` - map changed files and symbols to tests by import, reference or `*.test` name and return the minimal CI subset in `[CI SCOPE]`; an empty scope means run the full suite, and the map is not a coverage proof.
|
|
56
56
|
- `hemorrhage` - benchmark HEAD and the diff in two shadow worktrees, compare medians/p95/MAD and report `[PERFORMANCE REGRESSION]` only beyond the threshold, noise floor and Mann-Whitney p < 0.05; `--metric stdout` reads a number from the benchmark.
|
|
57
|
+
- `cuckoo` - audit untrusted JS/ESM in an instrumented vm sandbox; report `[CAPABILITY DENIED]` for fs/net/child_process/env/exit/require/import, block `process.exit` and static imports, and allow only named kinds with `--allow`.
|
|
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.
|
|
57
59
|
- `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.
|
|
58
60
|
- `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.
|
|
59
61
|
- `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.
|
|
@@ -132,6 +134,8 @@ oc-pilot mayday bisect --good v1.2.0 --bad HEAD --command "npm test"
|
|
|
132
134
|
oc-pilot mayday rollback --to v1.2.0 --confirm
|
|
133
135
|
oc-pilot clairvoyant --staged
|
|
134
136
|
oc-pilot hemorrhage --command "node bench.mjs" --runs 10
|
|
137
|
+
oc-pilot cuckoo dist/tool.mjs
|
|
138
|
+
oc-pilot chronos src/auth.ts
|
|
135
139
|
oc-pilot skeptic --staged
|
|
136
140
|
oc-pilot apoptosis scan --fail-on-senescent
|
|
137
141
|
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.109.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.109.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.109.0.tar.gz
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Workflow
|