# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## Unreleased — plan_version 1.9, the trial-4 findings, session-clean tests A new plan version, 1.9, in which every path in a step's `Files:` and on its `Test first:` `File:` line stands first, in backticks, so the reader no longer guesses paths from prose (decision 16). The same delivery closes the six findings from the test repo's trial 4 and stops `npm test` from pointing a live session's stop guard at a temp-repo lock. Every fix began with a test that failed on the code before it. Suite 2381 (2379 pass, 0 fail, 2 skipped), measured by `npm test` on Step 13's commit (`acd0e3d`), the commit before this section. Nothing here asks anything of users. Older plans warn, they do not fail: a plan below 1.9 is read as in 6.3.1, apart from the fixes under Fixed, and gets one warning per step whose `Files:` names a path that is not backticked. ### Doors - two-way: plan_version 1.9 — a 1.9 plan read by 6.3.1 gets PLAN_VERSION_MISMATCH as a warning and the 6.3.1 reader, so a revert rewrites no plan. - two-way: Files reader (three 6.3.0 answers restored) — a revert brings back 6.3.1's answers; no file format changes. - two-way: every test file on the Test first File line — a revert reads the first file only again. - two-way: brief-conflict mark on review findings — an older verdict gate ignores the field. - two-way: approval commits require a Co-Authored-By trailer — only Voyage's own commands call the CLI, and they pass it. - two-way: explorer prompts, stamp order, test env — prose and test-side only. ### Added - **plan_version 1.9: the file first on every line.** Each entry of `Files:` and each `Test first:` `File:` line opens with its backticked path or paths; everything from the first other text on is description and is never read. A 1.9 plan that breaks this gets `PLAN_STEP_PATH_NOT_FIRST` or `PLAN_STEP_PATH_NOT_A_PATH` (errors under `--strict`, warnings without). The parser, the validator, the tests-only check, the plan-file sweep (K6) and red proof read a 1.9 plan by this grammar. 1.9 is the current target: Handover 4, the plan template, `/trekplan`, the planning orchestrator and CLAUDE.md say so, and the rules introduced at 1.8 say "1.8 or later". - **A warning for older plans.** Below 1.9, a path in `Files:` that is not backticked gets the warning `PLAN_STEP_PATH_UNTICKED`, under `--strict` too. - **The brief-conflict mark.** A `/code-review` finding at the MAJOR tier whose recommended action goes against a brief Non-Goal or another stated choice drops to MINOR, marked `contradicts_brief` and `brief_lowered_from: MAJOR`; any other engine finding only gets the mark, and a BLOCKER is never lowered. `/trekreview` passes the brief's choices to the coordinator, which writes the mark into `review.md`; the opt-in workflow review applies the same rule and floors an illegal lowering. On an ALLOW or WARN review the verdict gate answers exit 2 for a finding lowered or marked outside that one shape: `brief_lowered_from` on any other finding, a mark on a reviewer finding, a mark or an engine finding below its catalogue tier, or a mark with a missing or unknown rule key. ### Fixed - **The suite no longer hands the session id to the lock CLI.** `npm test` preloads a helper that removes `CLAUDE_CODE_SESSION_ID`, and every test that starts a child process passes an environment without it. A live session's stop guard is no longer pointed at a temp-repo lock. - **The three `Files:` regressions from 6.3.1's Known issues** give 6.3.0's answer again: a source file after a described test is kept, a path that a description only mentions is not read as a file, and a backticked bare name such as `LICENSE` alone on a following line is read as a file. - **Every test file on the `Test first:` `File:` line** is read, locked and copied for red proof, not only the first. - **A 1.9 `Test first:` names its test only on a line that opens with `File:`**, the way the executor, K6 and red proof read it. Below 1.9 the check reads as before. - **Engine provenance in the review.** Ingest takes `engine` from the payload, never from a field a reviewer wrote on its own finding, and on a severity tie the reviewer-agent finding is kept over the engine finding, in the coordinator's Pass 1 and in the workflow dedup. A brief-conflict mark can no longer lower a reviewer's MAJOR (operator decision 2026-10-12). - **Explorers and reviewers stay in the repo.** `/trekplan` tells its brief-reviewer, the eight Phase 5 explorers, the Phase 6 deep-dives, the plan-critic and the scope-guardian to read local files only inside the repo under exploration plus the paths their prompt gives, and every explorer gets the brief. - **The brief review stamp covers only text the reviewer saw.** For a `small` brief, the reviewer's gaps are written after the stamp, so the stamp reads stale and `/trekplan` reviews the brief once more. - **Approval commits carry the caller's Co-Authored-By trailer.** `artifact-commit.mjs` takes `--trailer` and refuses (exit 1, before anything is staged or committed) a missing, multi-line or malformed trailer, an unfilled `{model}`, and one that names a session link. `/trekbrief`, `/trekplan` and `/trekexecute` pass it; `/trekexecute` prints the reason and goes on when the approval is logged but not committed. ### Known issues - The session split reads a 1.9 plan as an older plan (operator answer 3). - Marked MINOR findings still feed `recurrence` / project-memory proposals. ## v6.3.1 — 2026-10-11 — Fixes from the release review of 6.3.0, and two verdict-gate holes closed Rounds 7 to 10 of the release review of 6.3.0. Round 7 is the WARN 6.3.0 was released with, round 8 was BLOCK (1 BLOCKER), rounds 9 and 10 were WARN. Every fix began with a test that failed on the code before it. Suite 2236 (2234 pass, 0 fail, 2 skipped). Nothing here asks anything of users. Measured against 6.3.0 over the marketplace and the test repo: the plan validator reports the same errors and warnings for all 233 plan files, the verdict gate gives the same exit for all 123 review files, and tests-only reads the same for all 1408 plan steps. ### Doors - two-way: tests-only is decided by the plan's `Files:` alone, and red proof no longer reads the step's diff (operator decision 2026-10-11) — a revert brings the diff check back; plans stay valid. - two-way: the `Files:` reader keeps a plain file beside a backticked path, reads numbered entries, and keeps a description together across commas and lines — it feeds only the `PLAN_STEP_TESTS_ONLY` warning and red proof's `tests_only`; a revert restores the 6.3.0 reading. - two-way: a trailing `# comment` is dropped from a backticked check too, so such a check now runs; one whose comment holds a double quote, `$`, a backtick or a backslash is refused out loud — 6.3.0 refused every backticked check with a comment, so nothing that ran stops running. - two-way: the verdict gate reads the last fenced block once and answers exit 2 unless its info string is exactly `json`, or when it is never closed; a `~~~` fence is a fence — a review written by `/trekreview` reads as before; a revert reopens the two holes under Fixed. - two-way: stops and timeouts, the release check's `--review`, `isMain` in every CLI, the test lock's command comparison, one fence reader, and cleanups — fixes; a revert restores the old behaviour. ### Fixed - **Two verdict-gate holes, present in 6.3.0.** A review that ended with a clean json block and then a block holding a BLOCK verdict, written as `~~~json` or opened with more text after `json` on its line, passed with exit 0: the gate did not see the second block. Both are exit 2 now. - **Tests-only steps.** The plan's `Files:` alone decides, and red proof, `/trekexecute`, `step-implementer` and the handover contract say so. A change already in the tree when the step began no longer counts against it, and a plan outside `.claude/` reads the same. - **The `Files:` reader** keeps a plain file beside a backticked path (", Dockerfile", "and Makefile"), reads a numbered entry (`1.` or `1)`) as an entry, keeps a description together past a comma and onto the next line, and starts a description at a plain file followed by a colon. Lowercase `makefile`, `rakefile` and `justfile` are build files. - **Checks with a comment.** A trailing `# comment` is dropped in a backticked check and in a command passed as written, so the words screened are the words run. A comment with a double quote, `$`, a backtick or a backslash is refused instead, because the executor hands the `Verify:` span to red proof, the test lock and the done line inside double quotes. Every reader refuses it out loud (`PLAN_VERIFICATION_NOT_RUNNABLE`, `BRIEF_SC_NOT_RUNNABLE`). A span that is only a comment is not-a-command. - **Stops.** Red proof reports a command killed by its timeout as killed after the timeout, not "could not start". The release check tells a timeout from output past its buffer and from another signal. One reading of a stop (`stoppedBy`) serves red proof, the criteria runner, the test lock, the done line and the release check. - **Release check.** A relative `--review` is read in `--repo`, or from the current directory when only that one exists. Two different files are exit 2, never guessed, and one file reached through a symlinked `--repo` is one file. - **Every CLI uses one `isMain` helper.** Before, some did nothing and exited 0 when run through a symlink or a path with a space. - **Test lock.** It compares `--cmd` by its words and without its trailing comment. - **One fence reader** for the gate and every reader of a trailing json block. A fence closes only on a run at least as long as its opener, as in Markdown, and CRLF and an indented fence read alike everywhere. A fence indented four spaces or more still counts, on purpose: Markdown's rule made a BLOCKER block inside a list item invisible. - **Cleanups.** The 15-minute timeout is defined once, the findings check reads each cited file once per validation, and the guard writes its no-one-to-ask refusal once. ### Known issues Round 11 of the release review (`0f400d3..10ac9c5`) is WARN: 0 BLOCKER, 10 MAJOR, 0 MINOR. All ten come from Claude Code's `/code-review`, which gives no category, so each enters as MAJOR. Voyage's two reviewers and `/security-review` found none. The operator chose to release 6.3.1 with it (2026-10-11). None of the ten lets a gate pass. The regressions below were checked by running them against 6.3.0. None of them occurs in the 1408 plan steps measured above. - The `Files:` reader still guesses paths from prose and misreads in both directions. Two misreads are regressions from 6.3.0: - A source file after a described test is dropped ("`tests/a.test.mjs` - new test, src/a.mjs - the fix"). The step that builds code then reads as tests-only and goes to the plan. - A path that a description only mentions is read as a file ("covers the parser in src/parse.mjs"). A step of only tests is then not caught and goes through fix rounds (at most five, then the operator). Red proof has no diff check behind the reader. The structural fix is to require every path in `Files:` to be backticked. It changes the plan contract and is left for a planned release. - A json block closed on the same line as its JSON is no longer read (a regression from 6.3.0). The gate answers exit 2, and a reviewer is asked again. An opener with a blank before `json` is not json either, as in 6.3.0. - A trailing comment with a double quote, `$`, a backtick or a backslash is refused in every backticked check. That includes checks that never reach a shell: a `## Verification` bullet, `Regression:`, `End-to-end:` and a brief criterion. 6.3.0 refused these too. - Cleanups: a dead branch for a span that is only a comment, the comment dropped up to four times per command, a re-export of the timeout that nothing imports, and a test helper that copies a PATH lookup. - An engine run that was stopped and not counted in the verdict reported three more, each checked by running: - A backticked bare name such as `LICENSE`, alone on a line after a description, is no longer read as a file. 6.3.0 read it. - One unclosed fence earlier in a review hides the review's own json block from the review validator. 6.3.0 found the block, and the gate answers exit 2 there. - An indented json example after a review's own block is read as the last block, as in 6.3.0. - The example plan's steps 1-2 keep their tests-only warning (operator decision 2026-10-09). ## v6.3.0 — 2026-10-11 — The executor is coupled to the review gate, three skills, and a drilled release runbook Wave 2 of the practice build (five orders, merged 2026-10-09) and the fix round after it, which closes finding 1 of the test repo's third trial: a step of only tests can never be proven red. Every fix began with a test that failed on the old code. Suite 2194 (2192 pass, 0 fail, 2 skipped). Two changes ask something of users (see Doors): `/trekexecute` now refuses a plan that has no logged approval for its current content, and a check in a brief or plan runs with no shell, as plain words with a runner's read-only options. Plan 1.7/1.8, brief 2.0–2.2 and review 1.0/1.1 files still validate; the new step fields are optional. ### Doors - one-way: `/trekexecute` refuses a plan whose logged approval does not cover its current sha256 (K2) — a plan written before 6.2.0, written by hand, or edited after its approval stops at Phase 1; run `/trekplan --project