oc-pilot 0.157.0 → 0.159.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/README.md +7 -4
- package/README.ru.md +6 -3
- package/dist/cli.js +3 -0
- package/dist/cli.js.map +1 -1
- package/dist/cli.test.js +30 -0
- package/dist/cli.test.js.map +1 -1
- package/dist/commands/demo.js +91 -0
- package/dist/commands/demo.js.map +1 -0
- package/dist/commands/flight.js +17 -2
- package/dist/commands/flight.js.map +1 -1
- package/dist/core/flight.js +89 -0
- package/dist/core/flight.js.map +1 -1
- package/dist/core/flight.test.js +30 -1
- package/dist/core/flight.test.js.map +1 -1
- package/dist/mcp.js +38 -1
- package/dist/mcp.js.map +1 -1
- package/dist/mcp.test.js +5 -0
- package/dist/mcp.test.js.map +1 -1
- package/dist/version.js +1 -1
- package/docs/growth.md +128 -0
- package/docs/integrations.md +4 -4
- 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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.159.0
|
|
4
|
+
|
|
5
|
+
- `oc-pilot demo` — доказательство за 20 секунд во временном репозитории: полёт, чекпоинт и proven-claim по переходу fail-to-pass, без настройки и модели.
|
|
6
|
+
- Быстрый старт в README.md и README.ru.md начинается с `npx oc-pilot demo`; упоминание в `llms.txt`; 908 тестов; версия 0.159.0.
|
|
7
|
+
|
|
8
|
+
## 0.158.0
|
|
9
|
+
|
|
10
|
+
- `flight prove --claim "<утверждение>" -- <команда>` доказывает утверждение: проверка падает на базовом коммите, проходит после чекпоинта и остаётся зелёной в текущем дереве; вердикты proven / rejected / unproven / regressed.
|
|
11
|
+
- Новый MCP-инструмент `flight_prove` (write); документация; 907 тестов; версия 0.158.0.
|
|
12
|
+
|
|
3
13
|
## 0.157.0
|
|
4
14
|
|
|
5
15
|
- `flight checkpoint --label` теперь требует уникальную метку в полёте: повторная метка даёт код 2, чтобы ссылки `--to/--from`, `restore`, `replay`, `diff` и `bisect` не были двусмысленными.
|
package/README.md
CHANGED
|
@@ -51,12 +51,15 @@ The badge above is generated by `oc-pilot echo` from this repository's own histo
|
|
|
51
51
|
## Quick start
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
|
+
npx oc-pilot demo
|
|
54
55
|
npm install -g oc-pilot
|
|
55
56
|
oc-pilot setup --all
|
|
56
57
|
oc-pilot doctor
|
|
57
58
|
oc-pilot scan
|
|
58
59
|
```
|
|
59
60
|
|
|
61
|
+
`demo` runs a 20-second proof in a throwaway repository: it starts a flight, records a checkpoint that fixes a check, and proves the claim from the fail-to-pass transition. No setup or model required.
|
|
62
|
+
|
|
60
63
|
`setup --all` writes native MCP configs for every supported client and preserves existing settings. `doctor` checks the installation, engine credentials, test discovery and MCP wiring. `scan` reads the current diff; on a clean tree use `oc-pilot scan --staged` or `oc-pilot scan --base origin/main`.
|
|
61
64
|
|
|
62
65
|
Node.js 22+ is required. Model-backed commands (`review`, `fix`, `roast`, `battle`) need OpenCode 2.x or an OpenAI-compatible endpoint; offline commands work without a model.
|
|
@@ -988,7 +991,7 @@ Tools: `review`, `invariants`, `test_fix`, `fix`, `test_gen`, `docgen`, `custom`
|
|
|
988
991
|
|
|
989
992
|
`chronos` reads a file's chronicle: commits, churn, fix/revert/incident/security markers, antibodies and vaccines, then scores it as a hotspot. `[HOTSPOT]` means the file has a history of fixes, rollbacks or incidents; inspect it before changing it and add a vaccine for the next fix. A low score is not proof that the file is safe.
|
|
990
993
|
|
|
991
|
-
`flight` records an agent session as a hash-chained black box: `flight start --name "fix auth"` writes `.git/oc-pilot/flights/<id>/events.jsonl`, `flight exec -- <command>` records each command and its output tail, and `flight checkpoint --label after-fix` creates a dangling git commit of the full worktree without moving HEAD. `flight status` (which also names the last session when none is active), `list` and `show` inspect the journal; `flight show [<id>]` defaults to the active or latest session and reads `--bundle <file>` without the journal; `--kind <kind>` and `--last <n>` filter the events shown; `flight verify [<id>]` recomputes the chain, defaulting to the active or latest session, and prints `[FLIGHT TAMPERED]` on any edit; `flight verify --all` audits every session; `flight end` closes the session. The log is local, NDJSON and zero-dependency. `flight replay --to <label|commit>` materializes a checkpoint as a detached worktree, `flight bisect -- <command>` runs a command at each checkpoint and stops at the first failure, `flight diff` compares checkpoints (or prints a checkpoint patch from an exported bundle with `--bundle <file>`), and `flight export` writes a redacted bundle with a sha256 digest. `flight compare <id-a> <id-b>` compares two sessions by event and note counts, duration, command sets, exit codes and final tree; `--bundles <a> <b>` compares two exported bundles instead. `flight html` renders a self-contained, redacted HTML timeline with checkpoints and command output, and `--bundle <file>` renders one from an exported bundle without the journal. `flight summary [--id <id>]` renders a Markdown session summary with checkpoints, commands and notes; `--bundle <file>` builds it from an exported bundle. `flight stats` aggregates sessions, commands, notes, failures, checkpoints and duration across the journal; it also names the last flight. `flight prune` removes old ended sessions while keeping the active flight and the newest N sessions; `flight delete <id>` removes one recorded session and refuses the active flight. `flight export --key <file>` signs the bundle digest with HMAC-SHA256, `--bundle <file>` re-signs an existing bundle, and `flight verify-bundle <file> --key <file>` checks the digest, chain and signature. `flight compare --html` renders a side-by-side visual comparison report. `flight stats --html` renders a self-contained dashboard of the journal, including the last flight. `flight keygen --output flight.key` generates a random HMAC key for signing exports. `flight restore <label|commit>` restores the worktree from a checkpoint without moving HEAD; `--dry-run` lists the files that would change. `flight list --limit <n>` shows only the newest sessions with event, checkpoint and note counts. `flight note "<text>"` appends a hash-chained note to the active flight, shown in show, summary, HTML and exports. `flight grep "<text>"` searches notes, commands, command output, checkpoint labels and flight names across sessions, `--kind <kind>` limits the search to one event kind, and `--bundle <file>` searches an exported bundle.
|
|
994
|
+
`flight` records an agent session as a hash-chained black box: `flight start --name "fix auth"` writes `.git/oc-pilot/flights/<id>/events.jsonl`, `flight exec -- <command>` records each command and its output tail, and `flight checkpoint --label after-fix` creates a dangling git commit of the full worktree without moving HEAD. `flight status` (which also names the last session when none is active), `list` and `show` inspect the journal; `flight show [<id>]` defaults to the active or latest session and reads `--bundle <file>` without the journal; `--kind <kind>` and `--last <n>` filter the events shown; `flight verify [<id>]` recomputes the chain, defaulting to the active or latest session, and prints `[FLIGHT TAMPERED]` on any edit; `flight verify --all` audits every session; `flight end` closes the session. The log is local, NDJSON and zero-dependency. `flight replay --to <label|commit>` materializes a checkpoint as a detached worktree, `flight bisect -- <command>` runs a command at each checkpoint and stops at the first failure, `flight diff` compares checkpoints (or prints a checkpoint patch from an exported bundle with `--bundle <file>`), and `flight export` writes a redacted bundle with a sha256 digest. `flight compare <id-a> <id-b>` compares two sessions by event and note counts, duration, command sets, exit codes and final tree; `--bundles <a> <b>` compares two exported bundles instead. `flight html` renders a self-contained, redacted HTML timeline with checkpoints and command output, and `--bundle <file>` renders one from an exported bundle without the journal. `flight summary [--id <id>]` renders a Markdown session summary with checkpoints, commands and notes; `--bundle <file>` builds it from an exported bundle. `flight stats` aggregates sessions, commands, notes, failures, checkpoints and duration across the journal; it also names the last flight. `flight prune` removes old ended sessions while keeping the active flight and the newest N sessions; `flight delete <id>` removes one recorded session and refuses the active flight. `flight export --key <file>` signs the bundle digest with HMAC-SHA256, `--bundle <file>` re-signs an existing bundle, and `flight verify-bundle <file> --key <file>` checks the digest, chain and signature. `flight compare --html` renders a side-by-side visual comparison report. `flight stats --html` renders a self-contained dashboard of the journal, including the last flight. `flight keygen --output flight.key` generates a random HMAC key for signing exports. `flight restore <label|commit>` restores the worktree from a checkpoint without moving HEAD; `--dry-run` lists the files that would change. `flight list --limit <n>` shows only the newest sessions with event, checkpoint and note counts. `flight note "<text>"` appends a hash-chained note to the active flight, shown in show, summary, HTML and exports. `flight grep "<text>"` searches notes, commands, command output, checkpoint labels and flight names across sessions, `--kind <kind>` limits the search to one event kind, and `--bundle <file>` searches an exported bundle. `flight prove --claim "<claim>" -- <command>` proves a claim by showing the check fails at the base commit and passes after a checkpoint.
|
|
992
995
|
|
|
993
996
|
`beacon` records a verification claim for a commit: `beacon stamp --check tests=pass --check preflight=pass --key beacon.key` stores the commit, tree, tool version, agent, model, commands, checks and a digest in `.oc-pilot/beacon.json`, then signs it with HMAC or `ssh-keygen`. `beacon verify` detects `[BEACON TAMPERED]` and `[UNATTRIBUTED]`; `beacon render --markdown` produces a PR comment. An unsigned beacon is valid but unattributed, so pass `--require-signature` in CI.
|
|
994
997
|
|
|
@@ -1037,7 +1040,7 @@ Start the server manually with an explicit project directory:
|
|
|
1037
1040
|
```bash
|
|
1038
1041
|
oc-pilot-mcp --cwd /absolute/path/to/project
|
|
1039
1042
|
# pinned for reproducibility:
|
|
1040
|
-
npx -y oc-pilot@0.
|
|
1043
|
+
npx -y oc-pilot@0.159.0 mcp --cwd /absolute/path/to/project
|
|
1041
1044
|
```
|
|
1042
1045
|
|
|
1043
1046
|
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.
|
|
@@ -1212,7 +1215,7 @@ jobs:
|
|
|
1212
1215
|
- uses: actions/checkout@v4
|
|
1213
1216
|
with:
|
|
1214
1217
|
fetch-depth: 0
|
|
1215
|
-
- uses: MyNameIsNikki/oc-pilot@v0.
|
|
1218
|
+
- uses: MyNameIsNikki/oc-pilot@v0.159.0
|
|
1216
1219
|
with:
|
|
1217
1220
|
command: scan
|
|
1218
1221
|
args: --base origin/${{ github.base_ref }} --fail-on-secrets
|
|
@@ -1235,7 +1238,7 @@ jobs:
|
|
|
1235
1238
|
- uses: actions/setup-node@v4
|
|
1236
1239
|
with:
|
|
1237
1240
|
node-version: 22
|
|
1238
|
-
- run: npm install -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.
|
|
1241
|
+
- run: npm install -g https://github.com/MyNameIsNikki/oc-pilot/archive/refs/tags/v0.159.0.tar.gz
|
|
1239
1242
|
- run: oc-pilot scan --base origin/${{ github.base_ref }}
|
|
1240
1243
|
- run: oc-pilot review --base origin/${{ github.base_ref }} --fail-on warning --fail-on-secrets --github
|
|
1241
1244
|
env:
|
package/README.ru.md
CHANGED
|
@@ -51,12 +51,15 @@ oc-pilot battle "fix the retry logic" --apply --shadow --rounds 3
|
|
|
51
51
|
## Быстрый старт
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
|
+
npx oc-pilot demo
|
|
54
55
|
npm install -g oc-pilot
|
|
55
56
|
oc-pilot setup --all
|
|
56
57
|
oc-pilot doctor
|
|
57
58
|
oc-pilot scan
|
|
58
59
|
```
|
|
59
60
|
|
|
61
|
+
`demo` прогоняет доказательство за 20 секунд во временном репозитории: запускает полёт, записывает чекпоинт, который чинит проверку, и доказывает claim по переходу fail-to-pass. Ни настройки, ни модель не нужны.
|
|
62
|
+
|
|
60
63
|
`setup --all` пишет нативные MCP-конфиги для всех поддерживаемых клиентов и сохраняет существующие настройки. `doctor` проверяет установку, credentials движка, обнаружение тестов и MCP-подключение. `scan` читает текущий diff; на чистом дереве используйте `oc-pilot scan --staged` или `oc-pilot scan --base origin/main`.
|
|
61
64
|
|
|
62
65
|
Нужен Node.js 22+. Model-backed команды (`review`, `fix`, `roast`, `battle`) требуют OpenCode 2.x или OpenAI-совместимый endpoint; offline-команды работают без модели.
|
|
@@ -951,7 +954,7 @@ ZCode импортирует серверы из Claude Code, Codex, OpenCode и
|
|
|
951
954
|
|
|
952
955
|
`chronos` читает хронику файла: коммиты, churn, маркеры fix/revert/incident/security, антитела и вакцины, а затем считает hotspot score. `[HOTSPOT]` означает, что у файла есть история исправлений, откатов или инцидентов; проверьте его перед изменением и добавьте вакцину для следующего фикса. Низкий score не доказывает, что файл безопасен.
|
|
953
956
|
|
|
954
|
-
`flight` записывает агентскую сессию как чёрный ящик с хеш-цепочкой: `flight start --name "fix auth"` создаёт `.git/oc-pilot/flights/<id>/events.jsonl`, `flight exec -- <команда>` сохраняет команду и хвост вывода, а `flight checkpoint --label after-fix` делает висячий git-коммит всего worktree, не двигая HEAD. `flight status` (заодно называет последнюю сессию, если активной нет), `list` и `show` показывают журнал; `flight show [<id>]` по умолчанию берёт активную или последнюю сессию и читает `--bundle <файл>` без журнала; `--kind <тип>` и `--last <n>` фильтруют показываемые события; `flight verify [<id>]` пересчитывает цепочку (по умолчанию активная или последняя сессия) и печатает `[FLIGHT TAMPERED]` при любом изменении, `flight verify --all` проверяет все сессии; `flight end` закрывает сессию. Журнал локальный, NDJSON и без зависимостей. `flight replay --to <метка|commit>` разворачивает чекпоинт в отдельный worktree, `flight bisect -- <команда>` прогоняет команду по чекпоинтам и останавливается на первом сбое, `flight diff` сравнивает чекпоинты (или показывает патч чекпоинта из экспортированного бандла с `--bundle <файл>`), а `flight export` пишет redacted-бандл с sha256-дайджестом. `flight compare <id-a> <id-b>` сравнивает две сессии по числу событий и заметок, длительности, набору команд, exit code и итоговому дереву; `--bundles <a> <b>` сравнивает два экспортированных бандла. `flight html` собирает self-contained HTML-таймлайн с чекпоинтами и выводом команд, а `--bundle <файл>` рендерит его из экспортированного бандла без журнала. `flight summary [--id <id>]` собирает Markdown-сводку полёта с чекпоинтами, командами и заметками; `--bundle <файл>` строит её из экспортированного бандла. `flight stats` суммирует сессии, команды, заметки, ошибки, чекпоинты и длительность по журналу; также показывает последний полёт. `flight prune` удаляет старые завершённые сессии, сохраняя активный полёт и N последних; `flight delete <id>` удаляет один записанный полёт и не трогает активный. `flight export --key <файл>` подписывает дайджест бандла через HMAC-SHA256, `--bundle <файл>` переподписывает готовый бандл, а `flight verify-bundle <файл> --key <файл>` проверяет дайджест, цепочку и подпись. `flight compare --html` рисует визуальный отчёт сравнения. `flight stats --html` собирает self-contained дашборд журнала, включая последний полёт. `flight keygen --output flight.key` генерирует случайный HMAC-ключ для подписи экспортов. `flight restore <метка|commit>` восстанавливает worktree из чекпоинта, не двигая HEAD; `--dry-run` показывает файлы, которые изменятся. `flight list --limit <n>` показывает только последние полёты с числом событий, чекпоинтов и заметок. `flight note "<текст>"` добавляет заметку в хеш-цепочку активного полёта; она видна в show, summary, HTML и экспорте. `flight grep "<текст>"` ищет по заметкам, командам, выводу команд, меткам чекпоинтов и именам полётов во всех сессиях, `--kind <тип>` ограничивает поиск одним типом события, а `--bundle <файл>` ищет внутри экспортированного бандла.
|
|
957
|
+
`flight` записывает агентскую сессию как чёрный ящик с хеш-цепочкой: `flight start --name "fix auth"` создаёт `.git/oc-pilot/flights/<id>/events.jsonl`, `flight exec -- <команда>` сохраняет команду и хвост вывода, а `flight checkpoint --label after-fix` делает висячий git-коммит всего worktree, не двигая HEAD. `flight status` (заодно называет последнюю сессию, если активной нет), `list` и `show` показывают журнал; `flight show [<id>]` по умолчанию берёт активную или последнюю сессию и читает `--bundle <файл>` без журнала; `--kind <тип>` и `--last <n>` фильтруют показываемые события; `flight verify [<id>]` пересчитывает цепочку (по умолчанию активная или последняя сессия) и печатает `[FLIGHT TAMPERED]` при любом изменении, `flight verify --all` проверяет все сессии; `flight end` закрывает сессию. Журнал локальный, NDJSON и без зависимостей. `flight replay --to <метка|commit>` разворачивает чекпоинт в отдельный worktree, `flight bisect -- <команда>` прогоняет команду по чекпоинтам и останавливается на первом сбое, `flight diff` сравнивает чекпоинты (или показывает патч чекпоинта из экспортированного бандла с `--bundle <файл>`), а `flight export` пишет redacted-бандл с sha256-дайджестом. `flight compare <id-a> <id-b>` сравнивает две сессии по числу событий и заметок, длительности, набору команд, exit code и итоговому дереву; `--bundles <a> <b>` сравнивает два экспортированных бандла. `flight html` собирает self-contained HTML-таймлайн с чекпоинтами и выводом команд, а `--bundle <файл>` рендерит его из экспортированного бандла без журнала. `flight summary [--id <id>]` собирает Markdown-сводку полёта с чекпоинтами, командами и заметками; `--bundle <файл>` строит её из экспортированного бандла. `flight stats` суммирует сессии, команды, заметки, ошибки, чекпоинты и длительность по журналу; также показывает последний полёт. `flight prune` удаляет старые завершённые сессии, сохраняя активный полёт и N последних; `flight delete <id>` удаляет один записанный полёт и не трогает активный. `flight export --key <файл>` подписывает дайджест бандла через HMAC-SHA256, `--bundle <файл>` переподписывает готовый бандл, а `flight verify-bundle <файл> --key <файл>` проверяет дайджест, цепочку и подпись. `flight compare --html` рисует визуальный отчёт сравнения. `flight stats --html` собирает self-contained дашборд журнала, включая последний полёт. `flight keygen --output flight.key` генерирует случайный HMAC-ключ для подписи экспортов. `flight restore <метка|commit>` восстанавливает worktree из чекпоинта, не двигая HEAD; `--dry-run` показывает файлы, которые изменятся. `flight list --limit <n>` показывает только последние полёты с числом событий, чекпоинтов и заметок. `flight note "<текст>"` добавляет заметку в хеш-цепочку активного полёта; она видна в show, summary, HTML и экспорте. `flight grep "<текст>"` ищет по заметкам, командам, выводу команд, меткам чекпоинтов и именам полётов во всех сессиях, `--kind <тип>` ограничивает поиск одним типом события, а `--bundle <файл>` ищет внутри экспортированного бандла. `flight prove --claim "<утверждение>" -- <команда>` доказывает утверждение: проверка падает на базовом коммите и проходит после чекпоинта.
|
|
955
958
|
|
|
956
959
|
`beacon` записывает заявление о проверке коммита: `beacon stamp --check tests=pass --check preflight=pass --key beacon.key` сохраняет коммит, tree, версию инструмента, агента, модель, команды, проверки и digest в `.oc-pilot/beacon.json`, а затем подписывает его HMAC или `ssh-keygen`. `beacon verify` ловит `[BEACON TAMPERED]` и `[UNATTRIBUTED]`; `beacon render --markdown` печатает комментарий для PR. Неподписанный beacon валиден, но не атрибутирован, поэтому в CI используйте `--require-signature`.
|
|
957
960
|
|
|
@@ -988,7 +991,7 @@ ZCode импортирует серверы из Claude Code, Codex, OpenCode и
|
|
|
988
991
|
```bash
|
|
989
992
|
oc-pilot-mcp --cwd "C:\path\to\project"
|
|
990
993
|
# версия зафиксирована для воспроизводимости:
|
|
991
|
-
npx -y oc-pilot@0.
|
|
994
|
+
npx -y oc-pilot@0.159.0 mcp --cwd "C:\path\to\project"
|
|
992
995
|
```
|
|
993
996
|
|
|
994
997
|
Пример для Claude Code (`.mcp.json`):
|
|
@@ -1060,7 +1063,7 @@ jobs:
|
|
|
1060
1063
|
- uses: actions/checkout@v4
|
|
1061
1064
|
with:
|
|
1062
1065
|
fetch-depth: 0
|
|
1063
|
-
- uses: MyNameIsNikki/oc-pilot@v0.
|
|
1066
|
+
- uses: MyNameIsNikki/oc-pilot@v0.159.0
|
|
1064
1067
|
with:
|
|
1065
1068
|
command: scan
|
|
1066
1069
|
args: --base origin/${{ github.base_ref }} --fail-on-secrets
|
package/dist/cli.js
CHANGED
|
@@ -72,6 +72,7 @@ import { runClairvoyant } from "./commands/clairvoyant.js";
|
|
|
72
72
|
import { runHemorrhageCommand } from "./commands/hemorrhage.js";
|
|
73
73
|
import { runCuckooCommand } from "./commands/cuckoo.js";
|
|
74
74
|
import { runChronos } from "./commands/chronos.js";
|
|
75
|
+
import { runDemo } from "./commands/demo.js";
|
|
75
76
|
import { runFlight } from "./commands/flight.js";
|
|
76
77
|
import { runBeacon } from "./commands/beacon.js";
|
|
77
78
|
import { runQuarantine } from "./commands/quarantine.js";
|
|
@@ -171,6 +172,7 @@ const HANDLERS = {
|
|
|
171
172
|
setup: runSetup,
|
|
172
173
|
doctor: runDoctor,
|
|
173
174
|
mcp: runMcp,
|
|
175
|
+
demo: runDemo,
|
|
174
176
|
init: runInit,
|
|
175
177
|
};
|
|
176
178
|
const HELP = `oc-pilot ${VERSION} — AI-ревью, разбор тестов и документация для агентов
|
|
@@ -180,6 +182,7 @@ const HELP = `oc-pilot ${VERSION} — AI-ревью, разбор тестов
|
|
|
180
182
|
|
|
181
183
|
Команды:
|
|
182
184
|
review Ревью git-diff: баги, уязвимости, идиомы языка
|
|
185
|
+
demo Демо за 20 секунд: полёт, чекпоинт и доказательство claim
|
|
183
186
|
test-fix Разбор падения тестов и минимальный фикс
|
|
184
187
|
test-gen Сгенерировать тесты на изменённый код и оставить только зелёные
|
|
185
188
|
test-guard Найти ослабление тестов: skip, удалённые проверки, матчеры
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAA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AAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACpF,CAAC;IACD,OAAO,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;AACpC,CAAC,CAAC,CAAC"}
|
package/dist/cli.test.js
CHANGED
|
@@ -1504,6 +1504,23 @@ test("flight records checkpoints, status, verify and end", () => {
|
|
|
1504
1504
|
const bundlePatch = JSON.parse(bundleDiff.stdout);
|
|
1505
1505
|
assert.equal(bundlePatch.label, "after-b");
|
|
1506
1506
|
assert.match(bundlePatch.patch, /b\.txt/);
|
|
1507
|
+
const prove = runCli([
|
|
1508
|
+
"flight",
|
|
1509
|
+
"prove",
|
|
1510
|
+
"--claim",
|
|
1511
|
+
"b.txt is two",
|
|
1512
|
+
"--id",
|
|
1513
|
+
started.session.meta.id,
|
|
1514
|
+
"--json",
|
|
1515
|
+
"--",
|
|
1516
|
+
process.execPath,
|
|
1517
|
+
"-e",
|
|
1518
|
+
"process.exit(require('fs').readFileSync('b.txt','utf8').includes('two')?0:1)",
|
|
1519
|
+
], dir);
|
|
1520
|
+
assert.equal(prove.status, 0, prove.stderr);
|
|
1521
|
+
const proof = JSON.parse(prove.stdout);
|
|
1522
|
+
assert.equal(proof.verdict, "proven");
|
|
1523
|
+
assert.ok(proof.steps.length >= 2);
|
|
1507
1524
|
const bundleText = readFileSync(join(dir, "bundle.json"), "utf8");
|
|
1508
1525
|
writeFileSync(join(dir, "bundle-bad.json"), bundleText.replace("почему так", "подменено"), "utf8");
|
|
1509
1526
|
const grepBad = runCli(["flight", "grep", "почему", "--bundle", "bundle-bad.json", "--json"], dir);
|
|
@@ -1580,6 +1597,19 @@ test("flight output resolves relative to --cwd", () => {
|
|
|
1580
1597
|
rmSync(shell, { recursive: true, force: true });
|
|
1581
1598
|
}
|
|
1582
1599
|
});
|
|
1600
|
+
test("demo proves the claim end to end", () => {
|
|
1601
|
+
const dir = mkdtempSync(join(tmpdir(), "oc-pilot-cli-demo-"));
|
|
1602
|
+
try {
|
|
1603
|
+
const result = runCli(["demo", "--json"], dir);
|
|
1604
|
+
assert.equal(result.status, 0, result.stderr);
|
|
1605
|
+
const proof = JSON.parse(result.stdout);
|
|
1606
|
+
assert.equal(proof.verdict, "proven");
|
|
1607
|
+
assert.ok(proof.steps.length >= 2);
|
|
1608
|
+
}
|
|
1609
|
+
finally {
|
|
1610
|
+
rmSync(dir, { recursive: true, force: true });
|
|
1611
|
+
}
|
|
1612
|
+
});
|
|
1583
1613
|
test("flight keygen writes a 64-hex key", () => {
|
|
1584
1614
|
const dir = mkdtempSync(join(tmpdir(), "oc-pilot-cli-keygen-"));
|
|
1585
1615
|
try {
|