oc-pilot 0.166.0 → 0.168.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 +10 -0
- package/dist/commands/receipt.js +2 -1
- package/dist/commands/receipt.js.map +1 -1
- package/dist/core/receipt.js +31 -0
- package/dist/core/receipt.js.map +1 -1
- package/dist/mcp.js +1 -1
- package/dist/mcp.js.map +1 -1
- package/dist/version.js +1 -1
- package/docs/integrations.md +13 -4
- package/docs/reference.md +3 -3
- package/docs/reference.ru.md +2 -2
- package/package.json +1 -1
- package/skills/agent-self-review/SKILL.md +1 -1
- package/skills/commit-discipline/SKILL.md +1 -1
- 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/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.168.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/docs/integrations.md
CHANGED
|
@@ -135,7 +135,10 @@ receipt actually records a successful test run and every required preflight
|
|
|
135
135
|
check: `complete`, `incomplete` or `failed`. `testsStatus` is `passed`,
|
|
136
136
|
`failed` or `not_run`; `preflightStatus` is `passed`, `failed` or `incomplete`.
|
|
137
137
|
Missing or skipped preflight checks are listed in `skippedChecks` (missing
|
|
138
|
-
checks use the `missing:<id>` form).
|
|
138
|
+
checks use the `missing:<id>` form). `evidenceReasons` gives concise stable
|
|
139
|
+
codes: `tests_not_run`, `tests_failed`, `preflight_failed` (aggregate) plus
|
|
140
|
+
`preflight_failed:<id>` for each failed check,
|
|
141
|
+
`preflight_skipped:<id>`, and `preflight_missing:<id>`. In particular, a receipt created with
|
|
139
142
|
`oc-pilot receipt --no-run` may be intact (`ok: true`) while its evidence is
|
|
140
143
|
incomplete. Do not equate a valid hash with proof that the work passed tests
|
|
141
144
|
and quality checks. A signature marked `unchecked` was not authenticated
|
|
@@ -144,6 +147,12 @@ against a public key. Set MCP `require_complete: true`, or pass CLI
|
|
|
144
147
|
evidence is incomplete or failed. Without that opt-in, the exit code continues
|
|
145
148
|
to report receipt integrity for backward compatibility.
|
|
146
149
|
|
|
150
|
+
`verificationWarnings` calls out verification that was not established:
|
|
151
|
+
`signature_missing`, `signature_unchecked`, `worktree_unchecked`, and
|
|
152
|
+
`head_unavailable`. They do not change the receipt hash or `ok` semantics;
|
|
153
|
+
inspect them before treating an unsigned or unchecked receipt as authenticated
|
|
154
|
+
or current.
|
|
155
|
+
|
|
147
156
|
New receipts also store a bounded SHA-256 fingerprint of the tracked diff and
|
|
148
157
|
untracked file contents. `worktreeStatus=unchanged` means that observed state
|
|
149
158
|
matches the receipt; `changed` marks it stale; `unchecked` means an older
|
|
@@ -448,7 +457,7 @@ server. Add it to `~/.dsh/profiles/web/cordis.patch.yml`:
|
|
|
448
457
|
serverName: oc_pilot
|
|
449
458
|
transport: stdio
|
|
450
459
|
command: npx
|
|
451
|
-
args: ['-y', 'oc-pilot@0.
|
|
460
|
+
args: ['-y', 'oc-pilot@0.168.0', 'mcp', '--cwd', '/absolute/path/to/project']
|
|
452
461
|
toolCallTimeoutMs: 300000
|
|
453
462
|
```
|
|
454
463
|
|
|
@@ -544,7 +553,7 @@ The repository also ships a composite action, so the whole gate is:
|
|
|
544
553
|
- uses: actions/checkout@v4
|
|
545
554
|
with:
|
|
546
555
|
fetch-depth: 0
|
|
547
|
-
- uses: MyNameIsNikki/oc-pilot@v0.
|
|
556
|
+
- uses: MyNameIsNikki/oc-pilot@v0.168.0
|
|
548
557
|
with:
|
|
549
558
|
command: scan
|
|
550
559
|
args: --base origin/${{ github.base_ref }} --fail-on-secrets
|
|
@@ -641,7 +650,7 @@ The repository ships `.pre-commit-hooks.yaml`, so the standard
|
|
|
641
650
|
```yaml
|
|
642
651
|
repos:
|
|
643
652
|
- repo: https://github.com/MyNameIsNikki/oc-pilot
|
|
644
|
-
rev: v0.
|
|
653
|
+
rev: v0.168.0
|
|
645
654
|
hooks:
|
|
646
655
|
- id: oc-pilot-secrets # oc-pilot scan --staged
|
|
647
656
|
- id: oc-pilot-review # oc-pilot review --staged --fail-on critical --fail-on-secrets
|
package/docs/reference.md
CHANGED
|
@@ -1042,7 +1042,7 @@ Start the server manually with an explicit project directory:
|
|
|
1042
1042
|
```bash
|
|
1043
1043
|
oc-pilot-mcp --cwd /absolute/path/to/project
|
|
1044
1044
|
# pinned for reproducibility:
|
|
1045
|
-
npx -y oc-pilot@0.
|
|
1045
|
+
npx -y oc-pilot@0.168.0 mcp --cwd /absolute/path/to/project
|
|
1046
1046
|
```
|
|
1047
1047
|
|
|
1048
1048
|
The `diff` and `log` tool arguments are text, not file paths. `paths` and `files` are project-relative and cannot escape the project directory. `context` is literal text, not an `@file` reference. `base` must be a git ref. `lang`, `fail_on`, `repo_context`, and `no_secret_scan` are available where the corresponding CLI command supports them.
|
|
@@ -1217,7 +1217,7 @@ jobs:
|
|
|
1217
1217
|
- uses: actions/checkout@v4
|
|
1218
1218
|
with:
|
|
1219
1219
|
fetch-depth: 0
|
|
1220
|
-
- uses: MyNameIsNikki/oc-pilot@v0.
|
|
1220
|
+
- uses: MyNameIsNikki/oc-pilot@v0.168.0
|
|
1221
1221
|
with:
|
|
1222
1222
|
command: scan
|
|
1223
1223
|
args: --base origin/${{ github.base_ref }} --fail-on-secrets
|
|
@@ -1240,7 +1240,7 @@ jobs:
|
|
|
1240
1240
|
- uses: actions/setup-node@v4
|
|
1241
1241
|
with:
|
|
1242
1242
|
node-version: 22
|
|
1243
|
-
- run: npm install -g oc-pilot@0.
|
|
1243
|
+
- run: npm install -g oc-pilot@0.168.0
|
|
1244
1244
|
- run: oc-pilot scan --base origin/${{ github.base_ref }}
|
|
1245
1245
|
- run: oc-pilot review --base origin/${{ github.base_ref }} --fail-on warning --fail-on-secrets --github
|
|
1246
1246
|
env:
|
package/docs/reference.ru.md
CHANGED
|
@@ -993,7 +993,7 @@ ZCode импортирует серверы из Claude Code, Codex, OpenCode и
|
|
|
993
993
|
```bash
|
|
994
994
|
oc-pilot-mcp --cwd "C:\path\to\project"
|
|
995
995
|
# версия зафиксирована для воспроизводимости:
|
|
996
|
-
npx -y oc-pilot@0.
|
|
996
|
+
npx -y oc-pilot@0.168.0 mcp --cwd "C:\path\to\project"
|
|
997
997
|
```
|
|
998
998
|
|
|
999
999
|
Пример для Claude Code (`.mcp.json`):
|
|
@@ -1065,7 +1065,7 @@ jobs:
|
|
|
1065
1065
|
- uses: actions/checkout@v4
|
|
1066
1066
|
with:
|
|
1067
1067
|
fetch-depth: 0
|
|
1068
|
-
- uses: MyNameIsNikki/oc-pilot@v0.
|
|
1068
|
+
- uses: MyNameIsNikki/oc-pilot@v0.168.0
|
|
1069
1069
|
with:
|
|
1070
1070
|
command: scan
|
|
1071
1071
|
args: --base origin/${{ github.base_ref }} --fail-on-secrets
|
package/package.json
CHANGED