Skip to content

release: plugin v1.3.0 RC — seventh tool + Core v1.5.0 pairing - #11

Merged
HarryHeYu merged 3 commits into
mainfrom
release/1.3.0
Nov 15, 2026
Merged

HarryHeYu merged 3 commits into
mainfrom
release/1.3.0

Conversation

@HarryHeYu

Copy link
Copy Markdown
Owner

What this is

Release candidate for plugin v1.3.0. It ships the seventh tool that PR #10
merged (sessionflow_evidence_verify), pairs the plugin with Core v1.5.0,
and makes the version metadata consistent across package.json, CHANGELOG and
both READMEs.

This PR does not create the v1.3.0 tag and does not publish a GitHub
Release.
Both are separate maintainer decisions; the RC is reviewable and
mergeable without them.

Changes (7 files, +163 / -42)

file change
package.json 1.2.0 → 1.3.0
CHANGELOG.md ## [Unreleased] promoted to ## [1.3.0] and moved above [1.2.0]
README.md / README.zh-CN.md current release → v1.3.0 (marked RC), install pin → Core v1.5.0, pairing table gains 1.3.0 × v1.5.0, seventh tool documented as "added in v1.3.0"
CONTRIBUTING.md core install example pinned to v1.5.0
tests/readme-consistency.test.ts pin assertion 1.3.1 → 1.5.0, with the reason in the comment
docs/release-v1.3.0.md new RC record: changes, compatibility matrix, verification evidence, remaining gates, non-blocking observations

Two judgement calls worth reviewing

  1. CHANGELOG ordering was actually wrong, not just untidy. The file opens
    with "newest first", but ## [Unreleased] sat below ## [1.2.0]. Promoting
    it to a version number without moving it would have published a changelog
    that lists 1.2.0 before 1.3.0. I moved the 9-line [1.2.0] summary block
    below the whole [1.3.0] block instead of moving 240 lines — the diff is
    +18 / -10 for that file and the byte count is unchanged apart from the new
    heading text.
  2. 1.3.0 is not "only the seventh tool". Because [Unreleased] had been
    accumulating since 1.2.0, promoting it means the release also carries PR fix(tools): argv the core can parse, and bounds before the spawn #5
    (argv form / length bounds), test(harness): bridge tests delete VOYAGER_BIN without restoring it, breaking later integration tests #6 (VOYAGER_BIN leak), the truncated signal
    and the stub-shape fixes. Those are not new code written here, but they ship
    for the first time in 1.3.0, so docs/release-v1.3.0.md says so instead of
    implying a one-feature release.

Compatibility

plugin core bridge schema note
1.3.0 v1.5.0 1 current pairing; all seven tools work
1.2.0 v1.3.1 1 historical; six tools
1.1.0 v1.3.0 1 historical; six tools
  • Core v1.5.0 is required only for the seventh tool (it adds the
    evidence_verify op). The six older tools keep working on earlier cores.
  • On a core without the op the seventh tool returns unknown op: 'evidence_verify' as a capability error, never a verdict — verified
    against the published v1.4.1 wheel, not a stub.
  • BRIDGE_SCHEMA_VERSION / REQUIRED_SCHEMA_VERSION stay 1; the op is
    additive, not a protocol bump.
  • Deliberately untouched: REQUIRED_CORE_REF, peerDependencies,
    resolveVoyager(), CI matrix, the six existing tool implementations.

Verification (against the final head cbc4e50)

Core assets are the published ones — wheel and sdist downloaded from the
v1.5.0 Release, sha256 checked against the Release API digest, installed into
an isolated venv. No locally built wheel, no stub.

check result
tsc -p tsconfig.json rc=0
node --experimental-strip-types --test "tests/**/*.test.ts" 119 / 119 pass, 0 fail, 0 skip (69.0 s)
compiled tool × real Core v1.5.0 MATCH 12 keys, MISMATCH 12 keys, NOT_FOUND 8 and 10 keys (both real branches), UNVERIFIABLE 10 keys; #digest prefix accepted
INVALID_REFERENCE Core can emit it; this tool pre-rejects malformed session_id / seq / digest before any spawn, so it is unreachable through the tool — documented, not hidden
compiled tool × real Core v1.4.1 unknown op: 'evidence_verify' capability error; six older tools unaffected
missing core VOYAGER_NOT_FOUND with an actionable install hint; tool still registers
npm pack --dry-run --json 26 files, lib/tools/evidence-verify.js present, no scratch / db / log / venv entries

Known pre-tag state — not a defect

scripts/check-readme-links.mjs (optional online check, deliberately outside
npm test) currently exits 1:

OK       README.md: HarryHeYu/sessionFlow v1.5.0
OK       README.zh-CN.md: HarryHeYu/sessionFlow v1.5.0
FAIL     README.md: HarryHeYu/dsh-sessionflow tag v1.3.0 does not exist
FAIL     README.zh-CN.md: HarryHeYu/dsh-sessionflow tag v1.3.0 does not exist

Both Core pins resolve. Only this repo's own not-yet-created tag fails. The
READMEs state "(release candidate — tag not yet published)" next to the link so
a reader is not misled. This is the same tag/README sequencing problem the Core
repo hit; here it is recorded rather than papered over.

Remaining gates before a real release

  1. Create and push annotated tag v1.3.0 — needs explicit authorization.
  2. Create the GitHub Release (non-draft, latest).
  3. Re-run scripts/check-readme-links.mjs → must be exit 0.
  4. Drop the "release candidate" parenthetical and make the CHANGELOG date final.
  5. Plugin Design question before C1: sessionflow_evidence_verify — additive Core op vs direct CLI call (no code until confirmed) #9 stays open until the seventh tool is actually published.

Non-blocking observations (not fixed here)

  • PR feat(tool): sessionflow_evidence_verify via callOp (C1 / dsh-sessionflow#9) #10's tests reference reports/c1-phase2-execution.md, which is not in
    either repo tree (dangling provenance). The 12-key shape was verified
    independently against the published wheel, so runtime is unaffected.
  • guarded() re-wraps VoyagerError('OP_ERROR', …) into a plain Error, so
    error.code === 'OP_ERROR' is not observable at the tool boundary (only the
    message is). Shared behaviour of all seven tools, not introduced here.
  • REQUIRED_CORE_REF is still the historical commit f2a6445 while the README
    pin is v1.5.0. Changing it is a bridge-behaviour decision, so it is
    recorded in docs/release-v1.3.0.md instead of being changed in an RC PR.

Prepares v1.3.0 as a release candidate. No tag and no GitHub Release are
created by this branch; both need a separate maintainer decision.

- package.json 1.2.0 -> 1.3.0
- CHANGELOG: promote the long-standing [Unreleased] block to [1.3.0] and move
  it above [1.2.0] so the file's own "newest first" claim is true. The section
  therefore also carries the post-1.2.0 fixes that were never released
  (PR #5 argv/bounds, #6 env leak, truncated signal, stub shape) — stated
  explicitly instead of pretending 1.3.0 is only the new tool.
- README (EN + ZH): current release v1.3.0 marked as a release candidate,
  install pin Core v1.3.1 -> v1.5.0, pairing table gains 1.3.0 x v1.5.0 and
  keeps 1.2.0 x v1.3.1, seventh tool documented as "added in v1.3.0" rather
  than "on this branch".
- CONTRIBUTING: core install example pinned to v1.5.0.
- tests/readme-consistency: pin assertion 1.3.1 -> 1.5.0 with the reason.
- docs/release-v1.3.0.md: new RC record — changes, compatibility matrix,
  verification evidence, remaining release gates, non-blocking observations.

Unchanged on purpose: BRIDGE_SCHEMA_VERSION / REQUIRED_SCHEMA_VERSION (1),
REQUIRED_CORE_REF, peerDependencies, resolveVoyager(), CI matrix, and the six
existing tools. The new Core op is additive, not a protocol bump.

Verified against the PUBLISHED Core v1.5.0 assets (wheel + sdist, sha256
checked against the Release API digest):
- tsc -p tsconfig.json: rc=0
- node --experimental-strip-types --test "tests/**/*.test.ts": 119/119 pass,
  0 fail, 0 skip (integration rows really execute)
- compiled tool x real Core v1.5.0: MATCH/MISMATCH/NOT_FOUND/UNVERIFIABLE
  passed through by name, 12-key found shape, 10-key UNVERIFIABLE,
  INVALID_REFERENCE pre-rejected locally before any spawn
- compiled tool x real Core v1.4.1: "unknown op: evidence_verify" capability
  error, never a verdict; six older tools unaffected
- missing core: VOYAGER_NOT_FOUND with an actionable install hint
- npm pack --dry-run: 26 files, includes lib/tools/evidence-verify.js,
  no scratch/db/log/venv entries

Known pre-tag state (not a defect): scripts/check-readme-links.mjs exits 1
because the v1.3.0 tag does not exist yet. Both Core v1.5.0 pins resolve OK.
Copilot AI balanced review requested due to automatic review settings November 15, 2026 04:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

…ssing report

Two test comments cited `reports/c1-phase2-execution.md`, which exists in
neither repository tree. The shape they describe was real -- captured from the
published v1.5.0 wheel -- but the citation was not verifiable by anyone reading
the repo, so the comment claimed provenance it could not show.

- `tests/evidence-verify.test.ts`: the 12-key `MATCH` block now names the actual
  producer (`voyager/evidence.py::verify()` at tag `v1.5.0`), links the Release,
  and states the reproduction (seed one synthetic session, call the op with and
  without a digest). The assertions stay the contract.
- `tests/fixtures/stub-evidence.mjs`: same provenance fix, plus an accurate
  branch note. `NOT_FOUND` has two real shapes -- the base 8 when the session is
  unknown and 10 (base + `session` + `source_stat`) when the session exists but
  the seq does not; the stub models the 8-key branch only, and says so instead
  of implying the base 8 is the only one.
- `package-lock.json`: the lock's own `version` fields still said `1.1.0` while
  package.json is `1.3.0`. `npm ci` tolerates that (CI is green), so it never
  broke a build, but it is wrong metadata. Only the two package-own fields are
  touched; `@standard-schema/spec@1.1.0` is a real dependency and stays.
- `docs/release-v1.3.0.md`: the dangling-citation observation is marked fixed.

No product code changed: no bridge change, no tool change, no schema, no new
dependency, no behavioural difference.

Re-verified on this working tree (not carried over from `cbc4e50`):
`tsc` rc=0; full suite 119/119 pass, 0 fail, 0 skip; compiled tool against the
published v1.5.0 wheel gives MATCH/MISMATCH 12 keys, UNVERIFIABLE 10,
NOT_FOUND 8 and 10 (both real branches), and pre-rejects malformed refs before
spawn; published v1.4.1 wheel gives `unknown op` (capability error, not
NOT_FOUND); missing core gives VOYAGER_NOT_FOUND; `npm pack --dry-run` 26 files
with `lib/tools/evidence-verify.js` and no log/scratch/lock entries.
…editing

The plugin repo has no release workflow, so there is no tag<->CI cycle to break. The plan recorded here puts the final wording on main one commit BEFORE the tag, so the immutable tag tree never carries 'release candidate' text. The only cost is a minutes-long window where main names a tag that does not exist yet; nothing in CI reads that link.
@HarryHeYu
HarryHeYu merged commit ea8795d into main Nov 15, 2026
6 checks passed
HarryHeYu added a commit that referenced this pull request Nov 15, 2026
Step 2 of the release sequence recorded in docs/release-v1.3.0.md: land the
final wording on main BEFORE the tag, so the immutable tag tree never carries
"release candidate" text.

- README (EN + ZH): drop the "(release candidate — tag not yet published)" /
  "(发布候选,tag 尚未发布)" parenthetical from the current-release row. The
  link to releases/tag/v1.3.0 stays; it resolves once the tag exists.
- CHANGELOG: `## [1.3.0] — 2026-11-15 (release candidate; ...)` -> a plain
  version heading.
- docs/release-v1.3.0.md: no longer titled "(发布候选)"; states that publishing
  = tag + Release and that this repo has no such version until the tag exists;
  the base commit is now `ea8795d` (PR #11) instead of the pre-merge `96567af`;
  the two finished gate items are struck through with what was done; the
  pre-tag link-check failure is re-stated as expected rather than as a defect.

Deliberately unchanged: the Core `v1.5.0` install pin (2 per README +
CONTRIBUTING), both NOT VERIFIED statements (native resume, model-driven tool
selection), every historical v1.0–v1.2 note, and all product code.

Verification: tsc rc=0; full suite 119/119 pass, 0 fail, 0 skip; npm pack
26 files with lib/tools/evidence-verify.js; versions 1.3.0 in package.json and
both lock fields. `scripts/check-readme-links.mjs` still exits 1 — only because
the v1.3.0 tag does not exist yet, which is the expected pre-tag state this
commit is designed for; both Core pins resolve OK.
@HarryHeYu
HarryHeYu deleted the release/1.3.0 branch November 18, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants