oc-pilot 0.103.0 → 0.104.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.
@@ -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.103.0.tar.gz
15
+ npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.104.0.tar.gz
16
16
  ```
17
17
 
18
18
  ## Workflow
@@ -50,6 +50,7 @@ If the `oc-pilot` MCP server is configured, call its tools directly:
50
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`.
51
51
  - `mitosis` - split a large diff into small commits by file, directory or type; `plan` is read-only, `apply --confirm` commits each group in a shadow worktree, optionally runs tests after each and exposes a branch plus patches; a failing commit stops the branch for inspection.
52
52
  - `intent` - check acceptance criteria against the diff (`met`, `partial`, `unmet`, `unverifiable`, exit 1 on unmet) or interrogate a request before code with `sphinx` (`[REQUIREMENTS AMBIGUOUS]` when questions or assumptions remain).
53
+ - `scalpel` - fix a failing test with the smallest patch: `--log` or `--command` reproduces the failure, the model proposes a patch, the current diff plus the patch are verified in a shadow worktree, and the blast radius lists touched symbols and references; `--apply` writes only a proven patch.
53
54
  - `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.
54
55
  - `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.
55
56
  - `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.
@@ -122,6 +123,8 @@ oc-pilot mitosis plan --strategy type
122
123
  oc-pilot mitosis apply --staged --confirm --branch oc-pilot/split
123
124
  oc-pilot intent check --criteria docs/acceptance.md --staged
124
125
  oc-pilot intent sphinx --request "what to build"
126
+ oc-pilot scalpel --log test-failure.log
127
+ oc-pilot scalpel --command "npm test" --apply
125
128
  oc-pilot skeptic --staged
126
129
  oc-pilot apoptosis scan --fail-on-senescent
127
130
  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.103.0.tar.gz
16
+ npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.104.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.103.0.tar.gz
15
+ npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.104.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.103.0.tar.gz
16
+ npm i -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.104.0.tar.gz
17
17
  ```
18
18
 
19
19
  ## Workflow