oc-pilot 0.98.0 → 0.100.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oc-pilot",
3
- "version": "0.98.0",
3
+ "version": "0.100.0",
4
4
  "description": "Local AI code review, tested fixes, test-failure analysis and secret scanning for agent CLIs",
5
5
  "type": "module",
6
6
  "repository": {
@@ -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.98.0.tar.gz
15
+ npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.100.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.98.0.tar.gz
15
+ npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.100.0.tar.gz
16
16
  ```
17
17
 
18
18
  ## Workflow
@@ -45,6 +45,8 @@ If the `oc-pilot` MCP server is configured, call its tools directly:
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
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
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
+ - `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
+ - `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.
48
50
  - `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.
49
51
  - `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.
50
52
  - `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.
@@ -109,6 +111,8 @@ oc-pilot blindfold --file src/checkout.ts
109
111
  oc-pilot antibody learn
110
112
  oc-pilot antibody scan --staged
111
113
  oc-pilot polygraph --commit HEAD
114
+ oc-pilot passport write --commit HEAD --check preflight=pass
115
+ oc-pilot oracle --command "node harness.mjs {input}" --input corpus.json --staged
112
116
  oc-pilot skeptic --staged
113
117
  oc-pilot apoptosis scan --fail-on-senescent
114
118
  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.98.0.tar.gz
16
+ npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.100.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.98.0.tar.gz
15
+ npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.100.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.98.0.tar.gz
16
+ npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.100.0.tar.gz
17
17
  ```
18
18
 
19
19
  ## Workflow