oc-pilot 0.173.9 → 0.173.10

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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.173.10
4
+
5
+ - Document Intent assessment receipt output in the CLI reference and oc-pilot skill, including the separation from test and preflight evidence.
6
+ - Full test suite: 972 passed, 1 platform-specific skip; version 0.173.10.
7
+
3
8
  ## 0.173.9
4
9
 
5
10
  - Add opt-in Intent assessment receipts linked to saved canonical criterion IDs and the checked diff; keep drift, tests and preflight distinct from Intent satisfaction.
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.173.9";
1
+ export const VERSION = "0.173.10";
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,UAAU,CAAC"}
@@ -466,7 +466,7 @@ server. Add it to `~/.dsh/profiles/web/cordis.patch.yml`:
466
466
  serverName: oc_pilot
467
467
  transport: stdio
468
468
  command: npx
469
- args: ['-y', 'oc-pilot@0.173.9', 'mcp', '--cwd', '/absolute/path/to/project']
469
+ args: ['-y', 'oc-pilot@0.173.10', 'mcp', '--cwd', '/absolute/path/to/project']
470
470
  toolCallTimeoutMs: 300000
471
471
  ```
472
472
 
@@ -562,7 +562,7 @@ The repository also ships a composite action, so the whole gate is:
562
562
  - uses: actions/checkout@v4
563
563
  with:
564
564
  fetch-depth: 0
565
- - uses: MyNameIsNikki/oc-pilot@v0.173.9
565
+ - uses: MyNameIsNikki/oc-pilot@v0.173.10
566
566
  with:
567
567
  command: scan
568
568
  args: --base origin/${{ github.base_ref }} --fail-on-secrets
@@ -659,7 +659,7 @@ The repository ships `.pre-commit-hooks.yaml`, so the standard
659
659
  ```yaml
660
660
  repos:
661
661
  - repo: https://github.com/MyNameIsNikki/oc-pilot
662
- rev: v0.173.9
662
+ rev: v0.173.10
663
663
  hooks:
664
664
  - id: oc-pilot-secrets # oc-pilot scan --staged
665
665
  - id: oc-pilot-review # oc-pilot review --staged --fail-on critical --fail-on-secrets
package/docs/reference.md CHANGED
@@ -979,7 +979,7 @@ Tools: `review`, `invariants`, `test_fix`, `fix`, `test_gen`, `docgen`, `custom`
979
979
 
980
980
  `mitosis` makes a large diff reviewable: `mitosis plan --strategy dir|file|type` partitions the change into an ordered commit sequence, and `mitosis apply --confirm` replays it in a shadow worktree, commits each group, optionally runs the test command after every commit, and exposes the result as a branch plus patch files in `.oc-pilot/mitosis`. Config changes come first, then source, tests and docs. If a commit fails tests, the branch stops there for inspection; a skipped test run is reported as skipped, not as a pass.
981
981
 
982
- `intent set --criteria docs/acceptance.md` saves up to 30 acceptance criteria and the current committed HEAD plus tracked diff fingerprint in `.oc-pilot/intent.json`; untracked files are excluded, and replacing the snapshot requires `--replace`. `intent drift` compares that snapshot with the current HEAD and tracked diff and flags all criteria for re-review if either changed. It does not decide whether any criterion is satisfied; use `intent check --criteria docs/acceptance.md` for a model-backed, evidence-bearing assessment (`met`, `partial`, `unmet` or `unverifiable`). `intent sphinx --request "..."` runs before code to surface questions, assumptions and testable criteria. A `met` result means the diff supports the criterion, not that the feature is correct in production.
982
+ `intent set --criteria docs/acceptance.md` saves up to 30 acceptance criteria and the current committed HEAD plus tracked diff fingerprint in `.oc-pilot/intent.json`; untracked files are excluded, and replacing the snapshot requires `--replace`. `intent drift` compares that snapshot with the current HEAD and tracked diff and flags all criteria for re-review if either changed. It does not decide whether any criterion is satisfied; use `intent check --criteria docs/acceptance.md` for a model-backed, evidence-bearing assessment (`met`, `partial`, `unmet` or `unverifiable`). Add `--receipt-out intent-receipt.json` to save that assessment, linked to the persisted criterion IDs, in a hash-covered receipt; this requires criteria matching the saved Intent. Tests and preflight are recorded as not run, and neither they nor drift count as Intent satisfaction. `intent sphinx --request "..."` runs before code to surface questions, assumptions and testable criteria. A `met` result means the diff supports the criterion, not that the feature is correct in production.
983
983
 
984
984
  `scalpel` fixes a failure with the smallest change: give it a failing log (`--log`) or a command that reproduces the failure, and it asks the model for a minimal patch, applies the current diff plus the patch in a shadow worktree, runs the tests, and reports the blast radius — the symbols and references the patch touches. `[SCALPEL FIXED]` means the tests pass in the shadow; `--apply` writes the proven patch to the worktree. A rejected patch is never applied.
985
985
 
@@ -942,7 +942,7 @@ ZCode импортирует серверы из Claude Code, Codex, OpenCode и
942
942
 
943
943
  `mitosis` делает большой diff обозримым: `mitosis plan --strategy dir|file|type` разбивает изменение на упорядоченную последовательность коммитов, а `mitosis apply --confirm` проигрывает её в shadow worktree, коммитит каждую группу, по желанию запускает тестовую команду после каждого коммита и оставляет результат веткой и патчами в `.oc-pilot/mitosis`. Сначала идут конфиги, затем исходники, тесты и документация. Если коммит падает на тестах, ветка останавливается на нём для разбора; пропущенный прогон тестов считается skipped, а не pass.
944
944
 
945
- `intent set --criteria docs/acceptance.md` сохраняет до 30 критериев, текущий commit HEAD и fingerprint отслеживаемого diff в `.oc-pilot/intent.json`; неотслеживаемые файлы исключены, для замены нужен `--replace`. `intent drift` сравнивает сохранённый snapshot с текущими HEAD и отслеживаемым diff и помечает критерии для повторной проверки, если что-либо изменилось. Эта команда не решает, выполнен ли критерий; для оценки с доказательствами используйте модельную `intent check --criteria docs/acceptance.md` (`met`, `partial`, `unmet`, `unverifiable`). `intent sphinx --request "..."` выявляет вопросы, допущения и тестируемые критерии до начала работы. `met` означает, что diff поддерживает критерий, а не что фича правильна в продакшене.
945
+ `intent set --criteria docs/acceptance.md` сохраняет до 30 критериев, текущий commit HEAD и fingerprint отслеживаемого diff в `.oc-pilot/intent.json`; неотслеживаемые файлы исключены, для замены нужен `--replace`. `intent drift` сравнивает сохранённый snapshot с текущими HEAD и отслеживаемым diff и помечает критерии для повторной проверки, если что-либо изменилось. Эта команда не решает, выполнен ли критерий; для оценки с доказательствами используйте модельную `intent check --criteria docs/acceptance.md` (`met`, `partial`, `unmet`, `unverifiable`). Опция `--receipt-out intent-receipt.json` сохраняет эту оценку, связанную с сохранёнными ID критериев, в квитанции с хешем; критерии должны совпадать с сохранённым Intent. Тесты и preflight записываются как незапущенные; ни они, ни drift не доказывают выполнение Intent. `intent sphinx --request "..."` выявляет вопросы, допущения и тестируемые критерии до начала работы. `met` означает, что diff поддерживает критерий, а не что фича правильна в продакшене.
946
946
 
947
947
  `scalpel` чинит падение минимальным изменением: передайте лог (`--log`) или команду, которая воспроизводит сбой, и он просит модель написать минимальный патч, применяет текущий diff и патч в shadow worktree, запускает тесты и показывает blast radius — символы и ссылки, которые задевает патч. `[SCALPEL FIXED]` означает, что тесты в shadow проходят; `--apply` записывает доказанный патч в рабочее дерево. Отклонённый патч никогда не применяется.
948
948
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oc-pilot",
3
- "version": "0.173.9",
3
+ "version": "0.173.10",
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": {
@@ -132,6 +132,7 @@ oc-pilot vaccine run
132
132
  oc-pilot mitosis plan --strategy type
133
133
  oc-pilot mitosis apply --staged --confirm --branch oc-pilot/split
134
134
  oc-pilot intent check --criteria docs/acceptance.md --staged
135
+ oc-pilot intent check --criteria docs/acceptance.md --staged --receipt-out intent-receipt.json
135
136
  oc-pilot intent sphinx --request "what to build"
136
137
  oc-pilot scalpel --log test-failure.log
137
138
  oc-pilot scalpel --command "npm test" --apply