session-peer 0.3.3 → 0.3.5

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/PARITY.md CHANGED
@@ -1,13 +1,13 @@
1
1
  # Python compatibility and npm migration
2
2
 
3
- Updated 2026-10-09 KST. Python reference: **1.0.2**,
3
+ Updated 2026-10-13 KST. Python reference: **1.0.2**,
4
4
  [`47c2371`](https://github.com/abruption/session-peer/tree/47c23713d0a2a3c11ebde6186afd8c43489b8b65/session_peer_core).
5
- This matrix describes the **TS 0.3.3 source/package contract**: the 0.2.0 unified listing, safe home selection,
5
+ This matrix describes the **TS 0.3.5 source/package contract**: the 0.2.0 unified listing, safe home selection,
6
6
  read-only doctor, text/help/positional input, Unicode 14.0.0 name matching and
7
7
  separately managed TS skill guidance (#16/#17/#18/#19/#25), the
8
8
  [0.2.1 reliability and hardening](#021-reliability-and-hardening) changes, and the
9
9
  [0.3.0 remote usability and maintenance](#030-remote-usability-and-maintenance)
10
- changes with their known limitations, plus the [bounded ordinary SSH correction](#ordinary-ssh-response-correction--033-candidate) and [proposed skill guard](#typescript-skill-guard--033-candidate). At the 2026-10-09 KST preparation checkpoint, public npm `latest` was **0.3.2** and `preview` was `0.1.0-preview.1`. Historical **0.1.0**
10
+ changes with their known limitations, plus the [bounded ordinary SSH correction](#ordinary-ssh-response-correction--033-candidate) and [finite skill guard](#typescript-skill-guard--033-candidate). At the 2026-10-09 KST preparation checkpoint, public npm `latest` was **0.3.2** and `preview` was `0.1.0-preview.1`. Historical **0.1.0**
11
11
  differences are called out explicitly. Public availability and tags must be
12
12
  checked in the registry; this document does not assert a publication outcome.
13
13
  SSH preflight enforces the exact same TS version banner. For builds from source
@@ -15,6 +15,22 @@ between releases, operators should also align reviewed commits; the wire does no
15
15
  verify a source commit. `referenceVersion: "1.0.2"` identifies the comparison baseline,
16
16
  not complete parity. See [VALIDATION.md](VALIDATION.md) for dated evidence.
17
17
 
18
+ ## 0.3.5 candidate preparation — 2026-10-13 KST
19
+
20
+ This preparation is based on public 0.3.4 source `afed4a5a8945012faf1b23d52cffecb70470a5b3` plus unmerged [Draft #140](https://github.com/abruption/session-peer-ts/pull/140), checkpoint `b917769047db41dedcb4aa1367a1b89915beb000`. Candidate compiled `VERSION=0.3.5` preserves exact legacy skill 0.1.0 and published skill 0.2.0 profiles and proposes exactly skill 0.2.1 / minimum 0.1.0 / full 0.3.2 / typescript / probe-help. Future versions remain incompatible; metadata-only compatibility is not instruction authenticity, CLI permission, delivery or ACK evidence.
21
+
22
+ Companion agreement on the exact profile and complete final skill bytes is pending. The initial inactive-session dry-run was refused without submission. After user activation, a stable-writer dry-run passed and one review request was queued under correlation `STS-035-SKILL-PROFILE-REVIEW-20261013-A`; consumption, review and agreement remain unconfirmed. [#139](https://github.com/abruption/session-peer-ts/issues/139) remains open for that agreement and separate rollout. The four guides retain published skill source `8482cf644507c682915e35c85aa3384c53864906` and SHA-256 `00c6fc343fdbeb8f6dc1b1ee1b730f04cef71bbfb08205a7be3559202f1d8804`; no successor pin or skill publication is approved. Python reference 1.0.2 remains unchanged. Exact-version SSH requires both endpoints at 0.3.5 for candidate tests; public 0.3.4 refuses that banner. Draft #106–#109, #82 and #142 are excluded. Historical 0.3.4 preparation below remains dated evidence, not the current candidate description.
23
+
24
+ ### Exact successor candidate checkpoint — 2026-10-13 KST
25
+
26
+ The earlier pending agreement statements above describe their initial preparation checkpoints. Companion [Draft #35](https://github.com/abruption/session-peer-skill/pull/35), source `9db5420b45568dd08fc43d406dbf9ad1952f7891`, now provides the complete 13,930-byte skill 0.2.1 candidate, SHA-256 `96d5a0d049f8a4d193703af3583b198a91079d44ae373de34e94a54e2296a4d6`. Independent full-content/hash comparison and compiled guard/default/undefined/outer-inspection tests support candidate-specific design/content acceptance; see [the exact review](docs/design/typescript-skill-compatibility.md#exact-complete-successor-candidate-review--2026-10-13-kst). This is a test fixture, not a published skill, approved installation pin or final joint publication freeze. Final skill wording/bytes after actual guard publication require another exact review and separate release approval. Published pin8482cf6 remains unchanged. Local scoped tests passed24/24; exact source/artifact/current-head CI and review status are recorded in PR #144. No instruction execution, live delivery/ACK, merge, staging or publication is claimed.
27
+
28
+ ## 0.3.4 patch preparation — 2026-10-12 KST
29
+
30
+ [PR #134](https://github.com/abruption/session-peer-ts/pull/134) corrects Windows-destination PowerShell forwarding of native exit codes for version preflight and wire requests. A missing native exit fails with 1; complete validated abnormal responses retain independent submission facts. Strict response limits, exact-version SSH, host-key checks and no automatic resend remain unchanged. This is not delivery or ACK evidence.
31
+
32
+ The four guides pin independently published TS skill 0.2.0 source `8482cf644507c682915e35c85aa3384c53864906`. The 0.3.4 candidate accepts only the same two exact reviewed profiles as public 0.3.3; 0.3.5 and unreviewed versions remain incompatible. Python reference 1.0.2 is unchanged. Draft 0.4 handoff/app-server/observation and Side Session are excluded.
33
+
18
34
  ## Feature and command matrix
19
35
 
20
36
  **Implemented** means the stated bounded behavior exists. **Partial** means a
@@ -810,12 +826,20 @@ Complete request-matched native facts survive a later SSH 255 or collection time
810
826
 
811
827
  See [the response contract and fixture limits](docs/design/ordinary-ssh-responses.md). This 0.3.3 correction is not part of the immutable public 0.3.2 artifact, does not change the Python 1.0.2 oracle, and adds no 0.4.0 handoff/observer/ACK feature.
812
828
 
829
+ ## Published TypeScript companion skill — #118 follow-up
830
+
831
+ Evidence recheck: 2026-10-12 KST. Public TS runtime 0.3.3 at `c0ed30273b9e9c0049df86ae3c38486a94289527` accepts the legacy skill 0.1.0 profile and the exact published skill 0.2.0 profile (`typescript`, minimum `0.1.0`, full `0.3.2`, `probe-help`). Public 0.3.2 remains legacy-only. The companion [release `session-peer-ts-v0.2.0`](https://github.com/abruption/session-peer-skill/releases/tag/session-peer-ts-v0.2.0) is pinned by the four guides to source [`8482cf644507c682915e35c85aa3384c53864906`](https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts). The annotated tag object `de7d619aebdfb4a8fe86893dc70728f646032e8d` peels to that source; its 12,835-byte `SKILL.md` has SHA-256 `00c6fc343fdbeb8f6dc1b1ee1b730f04cef71bbfb08205a7be3559202f1d8804`. Those tag/file identities were independently rechecked for this follow-up.
832
+
833
+ `compatible / skill_contract_compatible / metadata_only` is a bounded metadata verdict, not a content signature, send permission or delivery/ACK result. Minimum is the baseline CLI compatibility floor; full is the documented published feature coverage reference. Optional operations still need actual version/help and platform/native prerequisites. Runtime and skill management remain separate, without postinstall. The Python 1.0.2 reference and Python skill are unchanged.
834
+
835
+ The immutable public 0.3.4 source/package uses compiled `VERSION=0.3.4` and accepts these same two exact profiles through its default inspector; its explicit helper rejects unreviewed runtimes such as `0.3.5`. TS 0.3.5 source/package adds the exact skill 0.2.1 tuple reviewed in the dated candidate-content record above. This source support is not proof of registry publication or an approved successor skill installation pin; final skill publication and pin adoption remain separate. At the earlier PR #134 checkpoint, compiled `VERSION` was `0.3.3` and the 0.3.4 row was tested through explicit validator arguments. That checkpoint is historical. Source support neither broadens compatibility to arbitrary future versions nor establishes runtime or skill publication. See the [finite matrix and retained dated review](docs/design/typescript-skill-compatibility.md). The dated candidate checkpoint below remains historical.
836
+
813
837
  <a id="typescript-skill-guard--033-candidate"></a>
814
838
 
815
839
  ## TypeScript skill guard — 0.3.3
816
840
 
817
841
  Version 0.3.3 uses compiled `VERSION=0.3.3` on the production doctor inspection path. Its proposed finite matrix accepts the legacy profile (skill/minimum/full `0.1.0`) and the exact proposed successor (skill `0.2.0`, minimum `0.1.0`, full `0.3.2`, `typescript`, `probe-help`, root name `session-peer-ts`). Unsupported well-formed tuples are incompatible; malformed or conflicting metadata is unknown. Supported and incompatible tuple verdicts report `verification:metadata_only`; missing, permission and unknown results omit it. Whole-file reading is bounded at 65,536 bytes with a single overflow-detection byte, fatal UTF-8 and regular-file/change checks. This does not authenticate instruction content or authorize delivery.
818
842
 
819
- See the [bounded grammar, matrix and reader evidence](docs/design/typescript-skill-compatibility.md). Companion [Draft #20 design acceptance at `699a325`](https://github.com/abruption/session-peer-skill/blob/699a3251830c30c62d0f812363faf4d0eb0c8e0c/docs/typescript-compatibility.md) records the 2026-10-09 static design review of exact #126 `ba18bb806a6ba503381259b4255211af3adc0336` and release Draft #129 `bfb3d6f1256ab076a76660e08a7bf1ad071a6c6c`; their reviewed design SHA-256 values are recorded in the linked guard design. No tests were rerun in that review. At this dated checkpoint, runtime and successor skill were unpublished. The earlier queued coordination request remains historical, without independently established consumption or approval. Design/fixture acceptance does not authorize runtime merge/release, final skill metadata/publication/installation/pin changes or claim public compatibility; the immutable npm 0.3.2 checker stays legacy-only. The guard runtime must actually publish before separate successor skill finalization/tag/publication/pin changes. Keep the existing `081cc3c1d16a394bd92824333f4bc61c36951799` install pin; managers own upgrades, and no postinstall is introduced.
843
+ See the [bounded grammar, matrix and reader evidence](docs/design/typescript-skill-compatibility.md). Companion [Draft #20 design acceptance at `699a325`](https://github.com/abruption/session-peer-skill/blob/699a3251830c30c62d0f812363faf4d0eb0c8e0c/docs/typescript-compatibility.md) records the 2026-10-09 static design review of exact #126 `ba18bb806a6ba503381259b4255211af3adc0336` and release Draft #129 `bfb3d6f1256ab076a76660e08a7bf1ad071a6c6c`; their reviewed design SHA-256 values are recorded in the linked guard design. No tests were rerun in that review. At this dated checkpoint, runtime and successor skill were unpublished. The earlier queued coordination request remains historical, without independently established consumption or approval. Design/fixture acceptance does not authorize runtime merge/release, final skill metadata/publication/installation/pin changes or claim public compatibility; the immutable npm 0.3.2 checker stays legacy-only. The guard runtime must actually publish before separate successor skill finalization/tag/publication/pin changes. At that checkpoint the install pin remained `081cc3c1d16a394bd92824333f4bc61c36951799`; managers own upgrades, and no postinstall is introduced.
820
844
 
821
845
  At the 2026-10-09 KST preparation checkpoint, [#128](https://github.com/abruption/session-peer-ts/issues/128) integrated open PRs #125/#127 and Draft #126 for review; that preparation did not bypass their human merge gate or approve staging/publication. 0.3.2 and 0.3.3 refuse each other's SSH preflight. Windows jump-host #20, provisioning #23, the Python 1.0.2 oracle, and unshipped 0.4/native ACK boundaries remain unchanged.
package/README.ja.md CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
17
17
 
18
- **文書・ソースのバージョン: 0.3.3。** 2026-10-09 KST の準備時点では 0.3.3 は未公開で、公開 npm `latest` は **0.3.2**、`preview` は `0.1.0-preview.1` でした。以下の 0.3.3 npm 例を使う前に、レジストリで現在の公開状況を確認してください。利用できない場合はレビュー済みソースまたはローカルビルド成果物を使います。ビルドと SSH の両端は同じレビュー済みバージョンが必要で、0.3.2 と 0.3.3 は互いの SSH 事前確認を拒否します。
18
+ **文書・ソースのバージョン: 0.3.5。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](VALIDATION.md)、リリース手順は [RELEASING.md](RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.4 と 0.3.5 は互いの SSH 事前確認を拒否します。
19
19
 
20
20
  **実行中の Claude Code・Codex セッションを見つけ、ローカルまたは SSH でメッセージを送信します。**
21
21
  Python 不要の Node.js クライアントです。パッケージ名とコマンド名は `session-peer` です。
@@ -56,15 +56,15 @@ SSH は既存の鍵・ホスト信頼設定と両端の**同じバージョン
56
56
  `Get-Command session-peer -All` で PATH を確認してください。利用する実装を選び、
57
57
  別の管理ツールのファイルを `--force` で上書きしないでください。
58
58
 
59
- **0.3.3 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](docs/guide.ja.md#ソースからビルド)を使います。
59
+ **0.3.5 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](docs/guide.ja.md#ソースからビルド)を使います。
60
60
 
61
61
  ```sh
62
- npm view session-peer@0.3.3 version dist.integrity
63
- npm install --global --ignore-scripts session-peer@0.3.3
62
+ npm view session-peer@0.3.5 version dist.integrity
63
+ npm install --global --ignore-scripts session-peer@0.3.5
64
64
  session-peer --version
65
65
  ```
66
66
 
67
- 期待する出力: `session-peer 0.3.3 (typescript)`。分離インストール・ソースビルド・
67
+ 期待する出力: `session-peer 0.3.5 (typescript)`。分離インストール・ソースビルド・
68
68
  Windows・削除の手順は以下の詳細ガイドを参照してください。
69
69
 
70
70
  任意の `sp` 短縮名は 0.3.0 以降に含まれ(0.2.1 以前にはありません)、自動では有効になりません。
@@ -73,12 +73,12 @@ Windows・削除の手順は以下の詳細ガイドを参照してください
73
73
  ### Update
74
74
 
75
75
  npm で導入したクライアントは npm で更新します。タグと対象バージョンを確認してから
76
- 正確なバージョンを指定してください。以下は承認・公開後に古い npm 版を 0.3.3 に更新する例です。
76
+ 正確なバージョンを指定してください。以下は古い npm 版を選択した 0.3.5 に更新する例です。
77
77
  CLI は更新をインストールせず、`session-peer update --check` は確認のみ行います。
78
78
 
79
79
  ```sh
80
80
  npm view session-peer dist-tags
81
- npm install --global --ignore-scripts session-peer@0.3.3
81
+ npm install --global --ignore-scripts session-peer@0.3.5
82
82
  session-peer --version
83
83
  ```
84
84
 
package/README.ko.md CHANGED
@@ -20,7 +20,7 @@ Python을 설치하지 않아도 Node.js에서 실행되는 TypeScript 클라이
20
20
 
21
21
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
22
22
 
23
- **문서·소스 기준 버전: 0.3.3.** 2026-10-09 KST 준비 시점에는 0.3.3이 미발행이었고 공개 npm `latest`는 **0.3.2**, `preview`는 `0.1.0-preview.1`이었습니다. 아래 0.3.3 npm 예시를 사용하기 전에 레지스트리에서 현재 제공 여부를 확인하세요. 제공되지 않으면 검토한 소스 체크아웃이나 로컬 빌드 산출물을 사용하세요. 빌드와 SSH 양쪽은 같은 검토 버전이 필요하며, 0.3.2와 0.3.3은 서로의 SSH 사전 확인을 거부합니다.
23
+ **문서·소스 기준 버전: 0.3.5.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](VALIDATION.md), 릴리스 절차는 [RELEASING.md](RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.4와 0.3.5는 서로의 SSH 사전 확인을 거부합니다.
24
24
 
25
25
  <a id="demo"></a>
26
26
  ## 시연
@@ -65,15 +65,15 @@ PowerShell에서는 `Get-Command session-peer -All`로 PATH(명령 검색 경로
65
65
  실행 파일을 찾는지 확인하세요. 사용할 구현을 선택하고 다른 패키지 관리자가 설치한
66
66
  파일을 `--force`로 덮어쓰지 마세요. 설치와 갱신은 사용자가 npm으로 직접 수행합니다.
67
67
 
68
- **0.3.3 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](docs/guide.ko.md#소스에서-빌드)를 사용하세요.
68
+ **0.3.5 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](docs/guide.ko.md#소스에서-빌드)를 사용하세요.
69
69
 
70
70
  ```sh
71
- npm view session-peer@0.3.3 version dist.integrity
72
- npm install --global --ignore-scripts session-peer@0.3.3
71
+ npm view session-peer@0.3.5 version dist.integrity
72
+ npm install --global --ignore-scripts session-peer@0.3.5
73
73
  session-peer --version
74
74
  ```
75
75
 
76
- 예상 결과는 `session-peer 0.3.3 (typescript)`입니다. 별도 경로에 설치하거나,
76
+ 예상 결과는 `session-peer 0.3.5 (typescript)`입니다. 별도 경로에 설치하거나,
77
77
  소스에서 빌드하거나, Windows에서 설치·제거하는 방법은 [사용자 가이드](docs/guide.ko.md#설치)를 참고하세요.
78
78
 
79
79
  선택 사항인 `sp` 단축 명령은 0.3.0 이상에 포함되며(0.2.1 이하에는 없음) 자동으로
@@ -84,13 +84,13 @@ session-peer --version
84
84
  ### 업데이트
85
85
 
86
86
  npm으로 설치한 클라이언트는 사용자가 직접 npm으로 업데이트합니다. 사용 가능한 배포 태그
87
- (dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는 승인·발행 이후 이전 npm 설치본을 0.3.3으로
87
+ (dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는 이전 npm 설치본을 선택한 0.3.5로
88
88
  업데이트합니다. `session-peer` CLI는 업데이트를 설치하지 않습니다. `session-peer
89
89
  update --check`는 새 버전이 있는지 확인할 뿐입니다.
90
90
 
91
91
  ```sh
92
92
  npm view session-peer dist-tags
93
- npm install --global --ignore-scripts session-peer@0.3.3
93
+ npm install --global --ignore-scripts session-peer@0.3.5
94
94
  session-peer --version
95
95
  ```
96
96
 
package/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
17
17
 
18
- **Documentation and source version: 0.3.3.** At the 2026-10-09 KST preparation checkpoint, 0.3.3 was unpublished, public npm `latest` was **0.3.2**, and `preview` was `0.1.0-preview.1`. Check the registry for current availability before using the 0.3.3 npm examples; if unavailable, use a reviewed source checkout or its locally built artifact. Builds and SSH endpoints need the same reviewed version; 0.3.2 and 0.3.3 refuse each other's SSH preflight.
18
+ **Documentation and source version: 0.3.5.** Review the selected release and registry metadata before installation. Dated preparation and validation records are in [VALIDATION.md](VALIDATION.md); release procedures are in [RELEASING.md](RELEASING.md). SSH endpoints require the same TypeScript client version; 0.3.4 and 0.3.5 refuse each other’s SSH preflight.
19
19
 
20
20
  **Find and message running Claude Code and Codex sessions, locally or over SSH.**
21
21
  A Node.js client that runs without Python. Package and command: `session-peer`.
@@ -56,15 +56,15 @@ Check `type -a session-peer` on macOS/Linux or `Get-Command session-peer -All`
56
56
  in PowerShell before installing. Choose the intended PATH entry; do not use
57
57
  `--force` to overwrite another manager’s files.
58
58
 
59
- **Version 0.3.3 installation:** check registry availability and review the chosen release before running the npm install/update examples. If that version is unavailable, use the [reviewed source build](docs/guide.md#build-from-source).
59
+ **Version 0.3.5 installation:** check registry availability and review the chosen release before running the npm install/update examples. If that version is unavailable, use the [reviewed source build](docs/guide.md#build-from-source).
60
60
 
61
61
  ```sh
62
- npm view session-peer@0.3.3 version dist.integrity
63
- npm install --global --ignore-scripts session-peer@0.3.3
62
+ npm view session-peer@0.3.5 version dist.integrity
63
+ npm install --global --ignore-scripts session-peer@0.3.5
64
64
  session-peer --version
65
65
  ```
66
66
 
67
- Expected: `session-peer 0.3.3 (typescript)`. For isolated installation, source
67
+ Expected: `session-peer 0.3.5 (typescript)`. For isolated installation, source
68
68
  builds, Windows and removal, see the detailed guide below.
69
69
 
70
70
  Optional `sp` shorthand ships with 0.3.0 and later (not 0.2.1 or earlier) and is
@@ -74,12 +74,12 @@ never enabled automatically. See [explicit activation and collisions](docs/short
74
74
 
75
75
  Use npm for an npm-managed installation. Check the available tags and review
76
76
  the target version, then install that exact version; this example updates an
77
- older npm installation to 0.3.3 after approved publication. The CLI does not install updates;
77
+ older npm installation to the selected 0.3.5 release. The CLI does not install updates;
78
78
  `session-peer update --check` only reports them.
79
79
 
80
80
  ```sh
81
81
  npm view session-peer dist-tags
82
- npm install --global --ignore-scripts session-peer@0.3.3
82
+ npm install --global --ignore-scripts session-peer@0.3.5
83
83
  session-peer --version
84
84
  ```
85
85
 
package/README.zh-CN.md CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  <!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0.2 -->
17
17
 
18
- **文档和源码版本:0.3.3。** 在 2026-10-09 KST 准备时点,0.3.3 尚未发布,公开 npm `latest` 为 **0.3.2**,`preview` 为 `0.1.0-preview.1`。使用以下 0.3.3 npm 示例前,请查询注册表中的当前可用性;如不可用,请使用已审核的源码或本地构建产物。构建和 SSH 两端必须使用相同的已审核版本;0.3.2 与 0.3.3 会拒绝彼此的 SSH 预检。
18
+ **文档和源码版本:0.3.5。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](VALIDATION.md),发布流程见 [RELEASING.md](RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.4 与 0.3.5 会拒绝彼此的 SSH 预检。
19
19
 
20
20
  **发现正在运行的 Claude Code 和 Codex 会话,并在本机或通过 SSH 发送消息。**
21
21
  这是不需要 Python 的 Node.js 客户端。包名与命令名均为 `session-peer`。
@@ -54,15 +54,15 @@ session-peer send --to CLAUDE_PID --message '请检查 API 契约并回复。' -
54
54
  `Get-Command session-peer -All` 检查 PATH。选择所需实现,不要用 `--force`
55
55
  覆盖其他安装管理器的文件。
56
56
 
57
- **安装 0.3.3:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](docs/guide.zh-CN.md#从源码构建)。
57
+ **安装 0.3.5:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](docs/guide.zh-CN.md#从源码构建)。
58
58
 
59
59
  ```sh
60
- npm view session-peer@0.3.3 version dist.integrity
61
- npm install --global --ignore-scripts session-peer@0.3.3
60
+ npm view session-peer@0.3.5 version dist.integrity
61
+ npm install --global --ignore-scripts session-peer@0.3.5
62
62
  session-peer --version
63
63
  ```
64
64
 
65
- 预期输出:`session-peer 0.3.3 (typescript)`。隔离安装、源码构建、Windows 和
65
+ 预期输出:`session-peer 0.3.5 (typescript)`。隔离安装、源码构建、Windows 和
66
66
  卸载步骤见下方详细指南。
67
67
 
68
68
  可选的 `sp` 简写包含在 0.3.0 及更高版本中(0.2.1 及更早版本没有),不会自动启用。
@@ -71,11 +71,11 @@ session-peer --version
71
71
  ### Update
72
72
 
73
73
  使用 npm 更新由 npm 管理的安装。先检查标签并审阅目标版本,再安装指定版本。
74
- 下面示例在批准发布后将旧 npm 安装更新至 0.3.3。CLI 不会安装更新,`session-peer update --check` 只做检查。
74
+ 下面示例将旧 npm 安装更新至所选的 0.3.5。CLI 不会安装更新,`session-peer update --check` 只做检查。
75
75
 
76
76
  ```sh
77
77
  npm view session-peer dist-tags
78
- npm install --global --ignore-scripts session-peer@0.3.3
78
+ npm install --global --ignore-scripts session-peer@0.3.5
79
79
  session-peer --version
80
80
  ```
81
81
 
package/RELEASING.md CHANGED
@@ -9,6 +9,51 @@ the historical 0.3.2 settings-read exception is recorded below. The workflow
9
9
  uses OIDC and no npm token. The protected GitHub environment requires a reviewer
10
10
  and permits deployments from `main` only.
11
11
 
12
+ ## 0.3.5 publication checkpoint — 2026-10-13 KST
13
+
14
+ PR #144 is merged as `5409d0acd4b559c09920a63c5fd7f11fd10f5737`; its tree matches reviewed preparation `6fdf9d65fb0b62cca3801a3733af07add5fb6553`. Exact-main CLI and CodeQL runs passed. Publication has not started: artifact review found stale current-facing unmerged/candidate text, which requires a document-only correction, human merge and new exact-source/artifact approval. The dated preparation sections below retain their historical scope.
15
+
16
+ **Current operator exception:** the user explicitly instructed skipping the fresh Trusted Publisher check and separately the web package publish-MFA policy check for this 0.3.5 publication. Neither current mapping/permissions nor package MFA policy is freshly confirmed. Historical stage-only evidence is not reclassified as a current audit. This task changed no publisher settings; the stage-only/OIDC workflow is unchanged, with no token or protection bypass introduced. Package ownership, pending stages, registry and GitHub environment checks remain separate. CLI authentication succeeded, package is public, the sole maintainer is abruption, and the pending-stage list was empty at this checkpoint. These settings-read exceptions apply only to this 0.3.5 publication. Protected GitHub environment approval and actual final npm 2FA remain mandatory separate steps.
17
+
18
+ ## 0.3.5 candidate preparation — #143 (2026-10-13 KST)
19
+
20
+ The candidate uses main `afed4a5a8945012faf1b23d52cffecb70470a5b3` plus unmerged [Draft #140](https://github.com/abruption/session-peer-ts/pull/140), checkpoint `b917769047db41dedcb4aa1367a1b89915beb000`. It changes candidate VERSION/banner/package/examples to 0.3.5 and supports a proposed exact skill 0.2.1 profile, preserving the two existing profiles. Companion agreement on the exact profile and complete final skill bytes remains pending; #139 stays open. No proposed profile is a published skill or approved installation pin. The existing 0.2.0 pin remains unchanged. Draft #106–#109, #82 and #142 are excluded.
21
+
22
+ Read-only registry baseline verified during preparation: `latest=0.3.4`, `preview=0.1.0-preview.1`, 0.3.5 absent, and previous stable integrity matched the value below. Reverify before staging; this public read is not an authenticated stage/publisher/MFA audit. Previous stable integrity is:
23
+ `sha512-O9Uwpa0x1NZ8MNZCk0a1Z4hj7S+v0F0QeOJa+rKfbwcAYzBCSMwqmEWQWZQMWM36SbxVu3RowTSvpwPiKd/BDA==`.
24
+ Previous stable attestation metadata: `https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.3.4`.
25
+
26
+ 1. Close the exact profile/fixture agreement gate, review the dependency and preparation, and obtain human merge approval. Require successful exact merged-main release gate, CodeQL and Windows Node 22/24 checks. Preparation alone authorizes no merge or publication.
27
+ 2. Fresh authenticated reads must verify ownership, pending npm stages, stage-only Trusted Publisher mapping, package MFA and protected GitHub npm environment/reviewer/main-only restrictions. Recheck registry tags, previous integrity, provenance content/source and target absence. Any exception requires an explicit current user decision; historical exceptions are not carried forward.
28
+ 3. Build and validate the exact-source archive, reproducible packing, isolated installation/removal and every packaged Markdown document under the [artifact documentation gate](#documentation-gate-for-the-next-release). Runtime/banner/archive/current examples must agree on 0.3.5; historical evidence and immutable public pins must remain intact.
29
+ 4. Obtain separate approval naming the exact merged 40-character main SHA, `session-peer@0.3.5`, `stable-stage` and eventual `latest` promotion to 0.3.5.
30
+ 5. Only then dispatch `publish.yml` with `source_sha=<approved SHA>`, `version=0.3.5`, `mode=stable-stage`, `confirmation=session-peer@0.3.5 stable-stage`. Review retained Actions bytes before protected environment approval, verify staged bytes/provenance, then obtain final npm 2FA approval. Never retry an uncertain upload or broaden permissions.
31
+ 6. After publication, verify public integrity/provenance/signatures and isolated install/removal and append dated evidence. Preview stays unchanged. Skill finalization/publication/pin updates, tags/GitHub Releases and fleet installs remain separate decisions.
32
+
33
+ SSH endpoints require exactly the same TS client version. Public 0.3.4 and candidate 0.3.5 refuse each other. No postinstall, implicit provisioning, delivery/ACK support, auto-resend or 0.4 feature promotion is introduced.
34
+
35
+ ### Exact successor candidate checkpoint — 2026-10-13 KST
36
+
37
+ The earlier pending agreement statements above describe their initial preparation checkpoints. Companion [Draft #35](https://github.com/abruption/session-peer-skill/pull/35), source `9db5420b45568dd08fc43d406dbf9ad1952f7891`, now provides the complete 13,930-byte skill 0.2.1 candidate, SHA-256 `96d5a0d049f8a4d193703af3583b198a91079d44ae373de34e94a54e2296a4d6`. Independent full-content/hash comparison and compiled guard/default/undefined/outer-inspection tests support candidate-specific design/content acceptance; see [the exact review](docs/design/typescript-skill-compatibility.md#exact-complete-successor-candidate-review--2026-10-13-kst). This is a test fixture, not a published skill, approved installation pin or final joint publication freeze. Final skill wording/bytes after actual guard publication require another exact review and separate release approval. Published pin8482cf6 remains unchanged. Local scoped tests passed24/24; exact source/artifact/current-head CI and review status are recorded in PR #144. No instruction execution, live delivery/ACK, merge, staging or publication is claimed.
38
+
39
+ ## 0.3.4 stable preparation — 2026-10-12 KST
40
+
41
+ The patch integrates [PR #134](https://github.com/abruption/session-peer-ts/pull/134), merged as `c210ee963741f77153df10038c28e228ea7a902f`: Windows native exit forwarding and independently published TS skill guidance. Draft #106–#109 and #82 are excluded. Preparation is not staging or publication approval.
42
+
43
+ Read-only registry baseline at this checkpoint: `latest=0.3.3`, `preview=0.1.0-preview.1`, and 0.3.4 absent. Previous stable integrity:
44
+ `sha512-5OQ7eUlR5Oy3RHFRoR3FuBkV7LT72dfjfBEbWRCY5wYP7Dz8TmN2jlRPpo2SFHPAwosFc0WIt8Iis/vyHckxRg==`.
45
+ Previous stable attestation metadata: `https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.3.3`.
46
+ The immutable public 0.3.3 source is `c0ed30273b9e9c0049df86ae3c38486a94289527`. Historical records below are retained.
47
+
48
+ 1. Review and merge this preparation, then require successful exact-main CI/release gate, CodeQL and Windows Node 22/24 for the resulting 40-character main SHA.
49
+ 2. Fresh authenticated reads must verify ownership, pending npm stages, stage-only Trusted Publisher mapping/permissions, package MFA and protected GitHub npm environment/reviewer/main-only restrictions. Recheck registry tags, previous integrity, provenance content/source and target absence. This preparation performs no authenticated publication settings audit; prior approvals/exceptions do not carry forward.
50
+ 3. Build and validate the exact-source archive, reproducible packing, isolated installation/removal and every packaged Markdown document. Apply the [artifact documentation gate](#documentation-gate-for-the-next-release); installation examples and runtime/banner/archive must agree on 0.3.4. Preserve historical/fixture and real-effect evidence boundaries.
51
+ 4. Obtain separate approval naming the exact merged main SHA, `session-peer@0.3.4`, `stable-stage` and eventual `latest` promotion to 0.3.4.
52
+ 5. Only then dispatch `publish.yml` with `source_sha=<approved SHA>`, `version=0.3.4`, `mode=stable-stage`, `confirmation=session-peer@0.3.4 stable-stage`. Review the retained Actions artifact before protected environment approval. Verify staged bytes and provenance, then obtain separate final npm 2FA approval. Never retry an uncertain upload or broaden publisher permissions.
53
+ 6. After publication, verify public integrity/provenance/signatures and isolated version/install/removal, and append a dated public record. Leave preview unchanged. Tags/GitHub Releases/fleet installation require their own decisions.
54
+
55
+ SSH endpoints must both use exactly 0.3.4 when testing this package; public 0.3.3 refuses its banner. Managers/operators own upgrades. No implicit provisioning, postinstall, automatic resend, delivery/ACK support or 0.4 feature promotion is introduced. TS skill metadata/full0.3.2, published pin8482cf6 and Python1.0.2 reference remain independent and unchanged.
56
+
12
57
  ## 0.3.3 candidate preparation — #128 (2026-10-09 KST)
13
58
 
14
59
  This dated checkpoint records preparation only. The candidate integrated reviewed
package/VALIDATION.md CHANGED
@@ -1,4 +1,128 @@
1
- # Validation record — updated 2026-10-09 KST
1
+ # Validation record — updated 2026-10-13 KST
2
+
3
+ ## 0.3.5 pre-staging document correction — 2026-10-13 KST
4
+
5
+ Merged source `5409d0acd4b559c09920a63c5fd7f11fd10f5737` has the same tree as reviewed `6fdf9d65fb0b62cca3801a3733af07add5fb6553`. Exact-main CLI38370116243 and CodeQL38370116569 passed. PR #144 automatic Code/Security reviews completed for the matching source tree. Code Review reported a P2 finding on the current unmerged README label; this correction addresses that finding across all four READMEs/guides. No Security Review finding was reported, and no extra review mention was posted. The #140 implementation is included through #144 rather than a separate #140 merge.
6
+
7
+ Artifact-document review found current, undated README/guide lines calling 0.3.5 unmerged and current skill descriptions still referring to unagreed source proposals. This document-only correction removes those lines, states implemented 0.3.5 source/profile support without claiming registry publication, and preserves historical preparation records, skill publication/pin boundaries, exact-version SSH, Python reference and runtime behavior. Corrected-source/artifact and latest exact-head checks are recorded in [correction PR #145](https://github.com/abruption/session-peer-ts/pull/145). Its initial correction [source `6dd52e794c1fa2a092bf56b644a49aa01a95aa2a`](https://github.com/abruption/session-peer-ts/tree/6dd52e794c1fa2a092bf56b644a49aa01a95aa2a) passed [CLI38372744965](https://github.com/abruption/session-peer-ts/actions/runs/38372744965) and [CodeQL38372743145](https://github.com/abruption/session-peer-ts/actions/runs/38372743145), then Codex review identified two additional P2 documentation findings (remaining undated candidate descriptions and this missing correction link). Those findings are corrected by the follow-up; the linked PR records its new exact source, artifact and rerun gates, while the initial run links remain historical checkpoint evidence. No staging, publication, native delivery/ACK or operations change is performed by this checkpoint.
8
+
9
+ ## 0.3.5 preparation boundary — 2026-10-13 KST
10
+
11
+ Base main is `afed4a5a8945012faf1b23d52cffecb70470a5b3`, plus unmerged [Draft #140](https://github.com/abruption/session-peer-ts/pull/140), checkpoint `b917769047db41dedcb4aa1367a1b89915beb000`. The preparation changes candidate source/package/banner/current installation examples to 0.3.5 and makes its exact three-profile guard the compiled default. Immutable public 0.3.4 still supports only the two existing profiles; the proposed skill 0.2.1 tuple is not an agreed or published successor.
12
+
13
+ Companion exact-profile and complete-final-bytes agreement remains pending. The initial inactive-session dry-run was refused without submission. After user activation, a stable-writer dry-run passed and one review request was queued under correlation `STS-035-SKILL-PROFILE-REVIEW-20261013-A`; consumption, review and agreement remain unconfirmed. #139 remains open. Published skill source `8482cf644507c682915e35c85aa3384c53864906` and SHA-256 `00c6fc343fdbeb8f6dc1b1ee1b730f04cef71bbfb08205a7be3559202f1d8804` remain unchanged. Python reference/parity 1.0.2, historical validation and native-effect boundaries remain intact. Draft #106–#109, #82 and #142 are excluded.
14
+
15
+ Read-only registry verification found `latest=0.3.4`, `preview=0.1.0-preview.1`, 0.3.5 absent, and the exact previous stable integrity matching the release baseline. No authenticated publication-settings audit was performed.
16
+
17
+ Local pre-commit checkpoint on macOS arm64 / Node 24.16.0 / npm 11.15.0: `npm ci --ignore-scripts`, `npm run build`, `npm run test:types`, `npm test`, `npm run test:package`, `node scripts/check-repository.mjs`, `npm audit` and `git diff --check` passed. Full tests: 191 total / 186 passed / 0 failed / 5 Windows-only skipped. Focused metadata/release/updates/integration tests passed 47/47 after correcting one notice-regex fixture from current→current to current→future. The verified Python oracle remains `47c23713d0a2a3c11ebde6186afd8c43489b8b65`; its vendored compatibility fixture matches byte-for-byte. Package smoke includes reproducible packing, isolated installation/removal and bash/zsh shorthand contract/lifecycle checks. Audit found zero vulnerabilities.
18
+
19
+ Public registry read at this checkpoint confirmed latest 0.3.4, preview 0.1.0-preview.1, target 0.3.5 absent, and the pinned previous integrity/attestation metadata URL. This is not an authenticated stage/publisher/MFA audit or a new signature/provenance-content verification. Exact committed-source pack/artifact, all packaged Markdown byte comparisons and current-head CI results are recorded separately in preparation issue [#143](https://github.com/abruption/session-peer-ts/issues/143)'s linked PR, so local pre-commit checks are not substituted for those later gates. Windows native CI must be checked independently; skipped local tests and historical 0.3.4 Windows fixtures are not new 0.3.5 native steering/observation evidence. No live agent delivery/ACK, merge, staging, environment approval, npm 2FA, tag, publication or fleet installation was performed.
20
+
21
+ ### Conditional profile-review follow-up — 2026-10-13 KST
22
+
23
+ After the initial preparation, the companion conditionally accepted the profile direction at dependency #140 head `b917769047db41dedcb4aa1367a1b89915beb000`; it did not accept release-default validation or complete successor SKILL bytes. The follow-up adds literal compatible-result assertions for default/undefined/outer inspection of all three profiles without changing runtime code. Scoped metadata/guidance tests and build/types checks are separately rerun for this follow-up; their exact counts, source/artifact and current-head CI are recorded in PR #144. Initial 191/186/0/5 full-suite and prior artifact records remain checkpoint-specific. Full content agreement remains pending.
24
+
25
+ ### Exact successor candidate checkpoint — 2026-10-13 KST
26
+
27
+ The earlier pending agreement statements above describe their initial preparation checkpoints. Companion [Draft #35](https://github.com/abruption/session-peer-skill/pull/35), source `9db5420b45568dd08fc43d406dbf9ad1952f7891`, now provides the complete 13,930-byte skill 0.2.1 candidate, SHA-256 `96d5a0d049f8a4d193703af3583b198a91079d44ae373de34e94a54e2296a4d6`. Independent full-content/hash comparison and compiled guard/default/undefined/outer-inspection tests support candidate-specific design/content acceptance; see [the exact review](docs/design/typescript-skill-compatibility.md#exact-complete-successor-candidate-review--2026-10-13-kst). This is a test fixture, not a published skill, approved installation pin or final joint publication freeze. Final skill wording/bytes after actual guard publication require another exact review and separate release approval. Published pin8482cf6 remains unchanged. Local scoped tests passed24/24; exact source/artifact/current-head CI and review status are recorded in PR #144. No instruction execution, live delivery/ACK, merge, staging or publication is claimed.
28
+
29
+ ## 0.3.4 artifact documentation correction — 2026-10-12 KST
30
+
31
+ The approved-source prepare run [38193012263](https://github.com/abruption/session-peer-ts/actions/runs/38193012263) at `1c99b39138c26a5ec08245f78f133d058bc354f0` passed tests/packaging and produced the same bytes as the local archive, SHA-256 `a0026b157ca9444931243cb60416ac24ad773bd118425852650e6671a545d773`. Independent packaged-document review then found stale current-description text in the skill design and PARITY: the package compiled VERSION was 0.3.4, but those paragraphs still said 0.3.3 and marked the added row as an unreleased proposal without clearly restricting it to PR #134 history.
32
+
33
+ The artifact documentation gate therefore failed. The workflow was cancelled before protected environment approval: prepare succeeded, publish was cancelled, and no npm upload or public publication occurred. The rejected archive and Actions manifest are retained for comparison; they were not edited in place. The correction describes current source/package VERSION 0.3.4 while explicitly retaining the original PR #134 checkpoint as history. Runtime logic, finite profile values, metadata/pins, release baseline and all other packaged documents are unchanged.
34
+
35
+ A new reviewed source and artifact require fresh exact-source staging approval. The earlier approved SHA and settings-read exception remain external historical records, not authority to stage changed bytes. No new publication result is claimed here.
36
+
37
+ ## 0.3.4 preparation checkpoint — 2026-10-12 KST
38
+
39
+ Base main: `c210ee963741f77153df10038c28e228ea7a902f`, merged [PR #134](https://github.com/abruption/session-peer-ts/pull/134). Exact base main CLI [38191285491](https://github.com/abruption/session-peer-ts/actions/runs/38191285491) and CodeQL [38191285293](https://github.com/abruption/session-peer-ts/actions/runs/38191285293) completed successfully, including Windows Node 22/24. Draft 0.4 PR #106–#109 and experimental #82 are excluded. This is preparation, not approval to stage or publish.
40
+
41
+ Candidate source/package/banner/installation examples are 0.3.4. The registry read at this checkpoint was `latest=0.3.3`, `preview=0.1.0-preview.1`, 0.3.4 absent; previous stable integrity is the public value recorded below. This read does not establish authenticated pending stages, package MFA or Trusted Publisher settings.
42
+
43
+ Local macOS arm64, Node 24.16.0/npm 11.15.0:
44
+
45
+ - `npm ci --ignore-scripts`, `npm run build`, `npm run test:types`: PASS.
46
+ - `npm test`: 190 total, 185 PASS, 0 FAIL, 5 Windows-only SKIP. The first preparation run had 183 PASS/2 FAIL/5 SKIP because two update-notice regexes retained the old current/latest pair. Updating those expectations to 0.3.4/0.3.5 produced the successful final run; no production logic was changed to satisfy them.
47
+ - Python conformance uses the existing verified `47c23713d0a2a3c11ebde6186afd8c43489b8b65` reference. The Python1.0.2 parity pin is unchanged.
48
+ - `npm run test:package`: PASS, reproducible package and isolated installation/removal, bash/zsh shorthand contract and lifecycle. No global installation.
49
+ - `node scripts/check-repository.mjs`, `git diff --check`: PASS. `npm audit`: zero vulnerabilities.
50
+
51
+ The physical Windows 24-case synthetic fixture evidence below belongs to the PR #134 correction at version 0.3.3, not to a new physical 0.3.4 installation, live queue/injection or ACK experiment. Preparation will additionally validate its exact committed artifact and current-head CI before review completion; their source/hash results belong in the PR record and are not fabricated here. Publication/environment approval/final npm2FA/tag/fleet operations are not performed by these checks.
52
+
53
+ ## Public 0.3.3 checkpoint — rechecked 2026-10-12 KST
54
+
55
+ The earlier candidate/preparation sections below are dated history, not the
56
+ current publication state. npm `latest` is `0.3.3`, `preview` is
57
+ `0.1.0-preview.1`, and the public 0.3.3 metadata exposes integrity
58
+ `sha512-5OQ7eUlR5Oy3RHFRoR3FuBkV7LT72dfjfBEbWRCY5wYP7Dz8TmN2jlRPpo2SFHPAwosFc0WIt8Iis/vyHckxRg==`
59
+ and its registry attestation URL. The existing publication workflow
60
+ [37907833518](https://github.com/abruption/session-peer-ts/actions/runs/37907833518)
61
+ completed successfully at source `c0ed30273b9e9c0049df86ae3c38486a94289527`.
62
+ This follow-up read checks metadata/run identity; it does not redo signature or
63
+ provenance authentication and does not publish anything.
64
+
65
+ ## Windows SSH patch verification — #133, 2026-10-12 KST
66
+
67
+ An isolated patch checkout based on public 0.3.3 source
68
+ `c0ed30273b9e9c0049df86ae3c38486a94289527` forwards the native
69
+ `$LASTEXITCODE` from both encoded PowerShell commands. A missing native exit
70
+ fails with 1. The strict response validator, version/host-key guards and
71
+ one-request/no-resend behavior are unchanged. A separate explicit, unreleased
72
+ 0.3.4 skill matrix row is tested with validator arguments; package/compiled
73
+ runtime version stays 0.3.3.
74
+
75
+ Physical destination: Windows 10 x64 (10.0.19045), PowerShell 5.1.19041.6456,
76
+ Node 24.16.0. The client was macOS arm64 / Node 24.16.0. Existing key/trust
77
+ and fixed BatchMode/StrictHostKeyChecking were used, without configuration
78
+ changes. All 24 SSH fixture scenarios passed:
79
+
80
+ - Six synthetic native outcomes, each tested with a legacy launcher control,
81
+ explicit exit forwarding and the corrected complete local CLI: success/0,
82
+ refusal/1, refusal/2, complete success/255, malformed/2 and missing stdout/0.
83
+ - Native refusal/2 now yields client exit2 with refused/submitted:false.
84
+ Complete success/255 retains queued/submitted:true and the fixture queueId,
85
+ with sshTransport failure, client exit1, consumptionConfirmed:false and
86
+ retryAllowed:false. Malformed/missing outputs remain unknown/submitted:null.
87
+ - Nonzero exact-banner preflight (legacy/control/CLI) and mismatched-version
88
+ preflight make zero request calls. Mixed ordered results through two aliases
89
+ of the **same** destination retain success/refusal and call once per entry.
90
+ - Missing native executable with no LASTEXITCODE returns1 rather than0.
91
+
92
+ Raw legacy/forward controls produced identical decoded stdout for the six outcomes;
93
+ only exit forwarding changed. Message data remained in stdin, not the encoded
94
+ command or native argv. The disposable native executable emitted synthetic
95
+ metadata: no actual agent session, Codex queue, model, injection or ACK was
96
+ invoked. Only the owned remote test directory was written and removed;
97
+ absence was independently verified. This is Windows-destination evidence,
98
+ not Windows-client jump support or two-machine/native-agent qualification.
99
+
100
+ The new portable command/framing regression passed 5/5 with the existing
101
+ SSH-response CLI suite. Actual PowerShell regression coverage is also added
102
+ to the existing Windows-native contract suite; CI results belong to the PR
103
+ head. The first local full-suite attempt used the physical-harness temporary
104
+ root, whose type:module package boundary invalidated CommonJS fixture scripts
105
+ (149 passed, 36 failed, five skipped). That test-environment error was corrected
106
+ by separating the test root; it is not reported as an all-green run.
107
+ The next full run exposed two existing exact-command expectations that needed
108
+ the new exit-forwarding suffix; those expectations still assert the complete
109
+ quoted/hardened command. The final `npm test` passed 190 tests: 185 passed,
110
+ zero failed, five Windows-only skips, including successful build and type
111
+ checks. `test:package` passed reproducible packing, isolated installation and
112
+ removal, and bash/zsh shorthand contract/lifecycle checks. Repository/link and
113
+ diff checks passed, and npm audit reported zero vulnerabilities. Conformance
114
+ used the existing Python 1.0.2 reference at
115
+ `47c23713d0a2a3c11ebde6186afd8c43489b8b65`; the entrypoint, core and compatibility
116
+ fixture (19 files) were byte-compared with the exact upstream archive before
117
+ execution. No reference repin was made.
118
+
119
+ Initial PR CI `38187131255` passed the added real-PowerShell exit regression on
120
+ Windows Node 22 but failed the following existing SSH contract's absolute
121
+ call-count assertion: it inherited the new subtest's log entries. The fixture
122
+ now explicitly initializes that existing subtest's own SSH call log; its exact
123
+ request-count assertions are preserved. This was test isolation, not a runtime
124
+ failure or a CI rerun treated as an unchanged-head success. Final PR-head CI
125
+ results are recorded in the PR after the correction.
2
126
 
3
127
  ## 0.3.3 candidate preparation — 2026-10-09 KST
4
128
 
package/dist/cli.js CHANGED
@@ -252,7 +252,9 @@ async function remote(options, ssh, target, resolved, message, returnTo) {
252
252
  if (!windows)
253
253
  return `${quote(binary)} ${flag}`;
254
254
  // PowerShell also closes single-quoted strings on U+2018-U+201B.
255
- const code = `& '${binary.replace(/['\u2018-\u201b]/g, '$&$&')}' ${flag}`;
255
+ // PowerShell otherwise maps every native nonzero exit to 1. A failed
256
+ // invocation has no native exit code and must not accidentally exit 0.
257
+ const code = `& '${binary.replace(/['\u2018-\u201b]/g, '$&$&')}' ${flag}; if ($null -eq $LASTEXITCODE) { exit 1 }; exit $LASTEXITCODE`;
256
258
  return `powershell.exe -NoProfile -NonInteractive -EncodedCommand ${Buffer.from(code, 'utf16le').toString('base64')}`;
257
259
  };
258
260
  // OpenSSH keeps the first value obtained, so the fixed hardening options
@@ -1,5 +1,5 @@
1
- export declare const VERSION = "0.3.3";
2
- export declare const VERSION_LINE = "session-peer 0.3.3 (typescript)";
1
+ export declare const VERSION = "0.3.5";
2
+ export declare const VERSION_LINE = "session-peer 0.3.5 (typescript)";
3
3
  export declare function host(value: string): string;
4
4
  export declare function reply(value: string): {
5
5
  to: string;
package/dist/protocol.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { isIPv6 } from 'node:net';
2
2
  import { Refusal } from './discovery.js';
3
3
  import { uuid } from './writer.js';
4
- export const VERSION = '0.3.3';
4
+ export const VERSION = '0.3.5';
5
5
  export const VERSION_LINE = `session-peer ${VERSION} (typescript)`;
6
6
  // Return the OpenSSH destination: [user@]name, or an IPv6 literal with any
7
7
  // brackets removed (`ssh` does not strip `[...]` outside ssh:// URIs). Zone IDs
@@ -9,13 +9,19 @@ const verdict = (compatible) => ({ status: compatible ? 'compatible' : 'incompat
9
9
  code: compatible ? 'skill_contract_compatible' : 'skill_contract_mismatch', verification: 'metadata_only' });
10
10
  export const SKILL_METADATA_LIMIT = 65536;
11
11
  const keys = ['version', 'runtime-implementation', 'runtime-min-version', 'runtime-full-version', 'runtime-capability-policy'];
12
- // Finite source proposal for #118; 0.3.3 successor support requires companion
13
- // exact review before merge/release. VERSION identifies this 0.3.3 candidate;
14
- // it does not establish companion approval or public runtime availability.
15
- const matrix = { '0.3.2': ['0.1.0'], '0.3.3': ['0.1.0', '0.2.0'] };
12
+ // Preserve published 0.3.2/0.3.3/0.3.4 results. The 0.3.5 / skill 0.2.1
13
+ // row is the #139 proposal activated by this 0.3.5 release candidate, not a
14
+ // published companion profile. Candidate VERSION accepts this finite row;
15
+ // this does not publish a companion skill or authenticate its content.
16
+ // Every later runtime/profile requires separate review; no version ranges.
17
+ const matrix = {
18
+ '0.3.2': ['0.1.0'], '0.3.3': ['0.1.0', '0.2.0'], '0.3.4': ['0.1.0', '0.2.0'],
19
+ '0.3.5': ['0.1.0', '0.2.0', '0.2.1']
20
+ };
16
21
  const profiles = {
17
22
  '0.1.0': ['0.1.0', 'typescript', '0.1.0', '0.1.0', 'probe-help'],
18
- '0.2.0': ['0.2.0', 'typescript', '0.1.0', '0.3.2', 'probe-help']
23
+ '0.2.0': ['0.2.0', 'typescript', '0.1.0', '0.3.2', 'probe-help'],
24
+ '0.2.1': ['0.2.1', 'typescript', '0.1.0', '0.3.2', 'probe-help']
19
25
  };
20
26
  // Deliberately not general YAML: plain ASCII tokens or unescaped quoted strings,
21
27
  // followed by an optional comment. YAML tags, aliases, maps and sequences fail.
package/docs/api.md CHANGED
@@ -1,18 +1,18 @@
1
1
  # API reference
2
2
 
3
- This reference describes source/package version **0.3.3 candidate (unpublished at the 2026-10-09 KST preparation checkpoint)**. Public npm `latest` verified at that checkpoint is **0.3.2**, with unchanged `preview=0.1.0-preview.1`. The 0.3.3 install example is conditional on separately approved publication; check `npm view session-peer@0.3.3 version` first. Before publication, use the reviewed candidate source artifact.
3
+ This reference describes source/package version **0.3.5**. Check registry availability and review the selected release before installation. Dated release evidence is recorded in [VALIDATION.md](../VALIDATION.md); before publication use a reviewed source artifact.
4
4
 
5
5
  [Back to README](../README.md) · [User guide](guide.md)
6
6
 
7
7
  The package exposes a small ESM API with TypeScript declarations. Install it
8
- locally with `npm install --ignore-scripts session-peer@0.3.3` before importing it.
8
+ locally with `npm install --ignore-scripts session-peer@0.3.5` before importing it.
9
9
  Importing the package does not execute the CLI or submit a message.
10
10
 
11
11
  ```js
12
12
  import { VERSION, VERSION_LINE, reply, envelope } from 'session-peer';
13
13
 
14
- console.log(VERSION); // 0.3.3
15
- console.log(VERSION_LINE); // session-peer 0.3.3 (typescript)
14
+ console.log(VERSION); // 0.3.5
15
+ console.log(VERSION_LINE); // session-peer 0.3.5 (typescript)
16
16
  const address = 'session-peer://v1/reply?agent=claude&session=12345&transport=local';
17
17
  console.log(reply(address)); // { to: '12345' }
18
18
  console.log(envelope('Please review and reply.', true, address));