session-peer 0.3.4 → 0.3.6

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-12 KST. Python reference: **1.0.2**,
3
+ Updated 2026-10-14 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.4 source/package contract**: the 0.2.0 unified listing, safe home selection,
5
+ This matrix describes the **TS 0.3.6 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,32 @@ 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.6 documentation patch
19
+
20
+ This source/package carries the [published skill 0.2.1 guidance](#published-skill-021-adoption--2026-10-14-kst) adopted in PR #146, merge source `602cfc09b31ce8aad23e1dd9382a2448a61143f9`. All four guides use immutable skill source `0f494cabd05901c03161dc91792dcf89f8e96631`; skill metadata/full-version and Python reference remain unchanged. TS 0.3.6 adds only its explicitly reviewed finite row with the same skill 0.1.0/0.2.0/0.2.1 acceptance as public 0.3.5. Historical rows stay unchanged and unreviewed future versions remain incompatible.
21
+
22
+ The patch updates package/banner/current examples and the stable release baseline to previous public 0.3.5. SSH still requires exact matching TS versions; 0.3.5 and 0.3.6 refuse each other. No native delivery behavior, platform qualification, automatic ACK/wait, retry, installation manager, skill publication or 0.4 experiment is added. Public availability must be checked in the registry; this source description is not publication evidence. Dated preparation and publication checks belong in VALIDATION.md and release notes.
23
+
24
+ ## Published skill 0.2.1 adoption — 2026-10-14 KST
25
+
26
+ The four guides now pin the independently published [TS skill 0.2.1 release](https://github.com/abruption/session-peer-skill/releases/tag/session-peer-ts-v0.2.1) to immutable source [`0f494cabd05901c03161dc91792dcf89f8e96631`](https://github.com/abruption/session-peer-skill/tree/0f494cabd05901c03161dc91792dcf89f8e96631/session-peer-ts). Annotated tag object `4e7df7d8f99863e86b477eacce958033d7280246` peels to that source. The complete `SKILL.md` is **13,996 raw UTF-8 bytes**, SHA-256 `8c3520f95e0d6807303be96bfa06df69887ddaf76be05f1905505d0a956820c3`. The tag, source and file identities were independently rechecked after publication; the reviewed PR head `dc303b513d9da862f2ce21d648e168fdd847ae95` and published source have identical SKILL bytes.
27
+
28
+ Public npm TS 0.3.5, source `a2057940ba19056fcaaa5551a7820f7414bd3bfa`, accepts the exact profile: skill `0.2.1`, implementation `typescript`, minimum `0.1.0`, documented feature reference `0.3.2`, policy `probe-help`. It retains legacy skill 0.1.0 and 0.2.0 acceptance. Public 0.3.2/0.3.3/0.3.4 reject skill 0.2.1; future runtime/profile combinations are not inferred from version ranges. The published 0.3.5 tarball's validator accepted these exact complete bytes with compiled default, explicit `undefined`, explicit 0.3.5 and outer `inspectSkill`; supplied historical/future identities were rejected. These helper checks are not executions of historical CLIs.
29
+
30
+ The published bytes are retained as an offline guidance fixture, distinct from the earlier candidate fixture. `compatible / skill_contract_compatible / metadata_only` is a bounded metadata result, not content authentication, send permission, delivery or ACK. Runtime and skill installation/update remain separate and manager-owned; no postinstall, global installation or implicit update was performed. Python reference 1.0.2 and Python skill pins remain unchanged; unshipped 0.4 handoff/observer/ACK and experiments are excluded. Earlier candidate, pending-publication and 0.2.0 pin records below are dated history, not the current installation guidance.
31
+
32
+ ## 0.3.5 candidate preparation — 2026-10-13 KST
33
+
34
+ Historical preparation record; the current published skill and installation pin are recorded in [the 2026-10-14 checkpoint](#published-skill-021-adoption--2026-10-14-kst).
35
+
36
+ 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.
37
+
38
+ 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.
39
+
40
+ ### Exact successor candidate checkpoint — 2026-10-13 KST
41
+
42
+ 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.
43
+
18
44
  ## 0.3.4 patch preparation — 2026-10-12 KST
19
45
 
20
46
  [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.
@@ -215,12 +241,13 @@ for migration guidance, not byte/shape parity or a runtime-reference repin.
215
241
  end-to-end deduplication and Side Session support are not public ordinary-CLI
216
242
  features in either compared release. Historical wake tests for native Codex
217
243
  0.154.0 do not qualify a current native CLI.
218
- - The separately pinned TS companion retains legacy metadata `0.1.0`.
244
+ - The separately pinned TS companion uses published skill metadata `0.2.1`.
219
245
  Its repository tag and the Python skill version are different version trains.
220
- [#118](https://github.com/abruption/session-peer-ts/issues/118) requires a
221
- reviewed metadata profile, an actually published runtime guard, then separate
222
- skill approval/publication before replacing the install pin. A Draft content
223
- candidate is not an approved install source or proof of doctor compatibility.
246
+ Public TS 0.3.5 accepts this exact profile; public 0.3.2/0.3.3/0.3.4 reject it.
247
+ The runtime-first, separately approved skill rollout in #118/#139 is recorded
248
+ in [the published checkpoint](#published-skill-021-adoption--2026-10-14-kst).
249
+ A Draft content candidate is not an approved installation source; use the
250
+ reviewed immutable release pin in the guides, not a moving branch.
224
251
 
225
252
  ## Transport, size and failure boundaries
226
253
 
@@ -818,11 +845,13 @@ See [the response contract and fixture limits](docs/design/ordinary-ssh-response
818
845
 
819
846
  ## Published TypeScript companion skill — #118 follow-up
820
847
 
821
- 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.
848
+ Historical 0.2.0 evidence; current 0.2.1 guidance is recorded in [the 2026-10-14 checkpoint](#published-skill-021-adoption--2026-10-14-kst).
849
+
850
+ 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) was pinned by the four guides at that checkpoint 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.
822
851
 
823
852
  `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.
824
853
 
825
- This source/package uses compiled `VERSION=0.3.4` and accepts these same two exact profiles through the default inspector; valid unreviewed runtimes such as `0.3.5` remain incompatible. 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.
854
+ 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.
826
855
 
827
856
  <a id="typescript-skill-guard--033-candidate"></a>
828
857
 
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.4。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](VALIDATION.md)、リリース手順は [RELEASING.md](RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.3 と 0.3.4 は互いの SSH 事前確認を拒否します。
18
+ **文書・ソースのバージョン: 0.3.6。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](VALIDATION.md)、リリース手順は [RELEASING.md](RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.5 と 0.3.6 は互いの 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.4 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](docs/guide.ja.md#ソースからビルド)を使います。
59
+ **0.3.6 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](docs/guide.ja.md#ソースからビルド)を使います。
60
60
 
61
61
  ```sh
62
- npm view session-peer@0.3.4 version dist.integrity
63
- npm install --global --ignore-scripts session-peer@0.3.4
62
+ npm view session-peer@0.3.6 version dist.integrity
63
+ npm install --global --ignore-scripts session-peer@0.3.6
64
64
  session-peer --version
65
65
  ```
66
66
 
67
- 期待する出力: `session-peer 0.3.4 (typescript)`。分離インストール・ソースビルド・
67
+ 期待する出力: `session-peer 0.3.6 (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.4 に更新する例です。
76
+ 正確なバージョンを指定してください。以下は古い npm 版を選択した 0.3.6 に更新する例です。
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.4
81
+ npm install --global --ignore-scripts session-peer@0.3.6
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.4.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](VALIDATION.md), 릴리스 절차는 [RELEASING.md](RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.3과 0.3.4는 서로의 SSH 사전 확인을 거부합니다.
23
+ **문서·소스 기준 버전: 0.3.6.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](VALIDATION.md), 릴리스 절차는 [RELEASING.md](RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.5와 0.3.6는 서로의 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.4 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](docs/guide.ko.md#소스에서-빌드)를 사용하세요.
68
+ **0.3.6 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](docs/guide.ko.md#소스에서-빌드)를 사용하세요.
69
69
 
70
70
  ```sh
71
- npm view session-peer@0.3.4 version dist.integrity
72
- npm install --global --ignore-scripts session-peer@0.3.4
71
+ npm view session-peer@0.3.6 version dist.integrity
72
+ npm install --global --ignore-scripts session-peer@0.3.6
73
73
  session-peer --version
74
74
  ```
75
75
 
76
- 예상 결과는 `session-peer 0.3.4 (typescript)`입니다. 별도 경로에 설치하거나,
76
+ 예상 결과는 `session-peer 0.3.6 (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.4로
87
+ (dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는 이전 npm 설치본을 선택한 0.3.6로
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.4
93
+ npm install --global --ignore-scripts session-peer@0.3.6
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.4.** 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.3 and 0.3.4 refuse each other’s SSH preflight.
18
+ **Documentation and source version: 0.3.6.** 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.5 and 0.3.6 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.4 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.6 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.4 version dist.integrity
63
- npm install --global --ignore-scripts session-peer@0.3.4
62
+ npm view session-peer@0.3.6 version dist.integrity
63
+ npm install --global --ignore-scripts session-peer@0.3.6
64
64
  session-peer --version
65
65
  ```
66
66
 
67
- Expected: `session-peer 0.3.4 (typescript)`. For isolated installation, source
67
+ Expected: `session-peer 0.3.6 (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 the selected 0.3.4 release. The CLI does not install updates;
77
+ older npm installation to the selected 0.3.6 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.4
82
+ npm install --global --ignore-scripts session-peer@0.3.6
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.4。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](VALIDATION.md),发布流程见 [RELEASING.md](RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.3 与 0.3.4 会拒绝彼此的 SSH 预检。
18
+ **文档和源码版本:0.3.6。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](VALIDATION.md),发布流程见 [RELEASING.md](RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.5 与 0.3.6 会拒绝彼此的 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.4:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](docs/guide.zh-CN.md#从源码构建)。
57
+ **安装 0.3.6:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](docs/guide.zh-CN.md#从源码构建)。
58
58
 
59
59
  ```sh
60
- npm view session-peer@0.3.4 version dist.integrity
61
- npm install --global --ignore-scripts session-peer@0.3.4
60
+ npm view session-peer@0.3.6 version dist.integrity
61
+ npm install --global --ignore-scripts session-peer@0.3.6
62
62
  session-peer --version
63
63
  ```
64
64
 
65
- 预期输出:`session-peer 0.3.4 (typescript)`。隔离安装、源码构建、Windows 和
65
+ 预期输出:`session-peer 0.3.6 (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.4。CLI 不会安装更新,`session-peer update --check` 只做检查。
74
+ 下面示例将旧 npm 安装更新至所选的 0.3.6。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.4
78
+ npm install --global --ignore-scripts session-peer@0.3.6
79
79
  session-peer --version
80
80
  ```
81
81
 
package/RELEASING.md CHANGED
@@ -9,6 +9,50 @@ 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.6 stable release procedure
13
+
14
+ This patch carries PR #146's published TS skill 0.2.1 pin and multilingual guidance from main `602cfc09b31ce8aad23e1dd9382a2448a61143f9`. It preserves the skill's immutable source/hash and all historical release evidence. Package/banner/examples use 0.3.6; its finite metadata row accepts the same three profiles as public 0.3.5. Draft #106–#109, #82 and #142 remain excluded.
15
+
16
+ Read-only preparation baseline on 2026-10-14 KST: latest=0.3.5, preview=0.1.0-preview.1, target 0.3.6 absent. Previous stable integrity: `sha512-EJc2B5tcruzHXiHDd7tyJjv2DBLYE7IHJiPVHBzLY9fSVasEQRdwx+ZZmiyBF8WHpQ7+pI3SO2VXwsQTgOWP+Q==`; attestation metadata https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.3.5. Recheck before staging. Historical settings-read exceptions do not carry forward.
17
+
18
+ At the 2026-10-14 preparation checkpoint, the user explicitly skipped the fresh Trusted Publisher lookup for this 0.3.6 publication. The current mapping/permissions are therefore not freshly confirmed; prior stage-only evidence is historical. Pending stages and ownership were checked after npm login. The user separately skipped the web package publish-MFA policy lookup for this 0.3.6 publication; that current policy is also not freshly confirmed. GitHub environment protection and actual final npm stage 2FA approval remain required. No settings, secrets, tokens or protections were changed.
19
+
20
+ 1. Review/merge the release preparation and require exact merged-main CLI/release gate, Windows Node 22/24 and CodeQL success.
21
+ 2. Fresh authenticated reads verify ownership, pending stages, stage-only Trusted Publisher mapping, package publish-MFA and GitHub npm environment reviewer/main-only protections. Any unread gate remains incomplete unless the user explicitly grants a current exception; settings/protections are never bypassed.
22
+ 3. Verify exact-source reproducible packing, isolated installation/removal and every packaged Markdown document under the [artifact documentation gate](#documentation-gate-for-the-next-release). Historical and public skill pins remain intact.
23
+ 4. Obtain separate approval naming the exact merged 40-character main SHA, `session-peer@0.3.6`, `stable-stage` and eventual latest promotion to 0.3.6.
24
+ 5. Dispatch publish.yml only with that approved SHA/version/mode/confirmation. Review retained Actions bytes before protected environment approval; verify staged bytes/provenance and obtain separate final npm 2FA approval. Never retry an uncertain upload.
25
+ 6. Verify public bytes/integrity/provenance/signatures and isolated version/install/removal. Preserve preview. Append dated evidence and create the user-requested GitHub v0.3.6 tag/release against the verified publication source, with exact-version SSH and separate skill/runtime lifecycle notes. No fleet install is authorized.
26
+
27
+ The historical 0.3.5 preparation and settings exceptions below apply to that completed publication only.
28
+
29
+ ## 0.3.5 publication checkpoint — 2026-10-13 KST
30
+
31
+ 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.
32
+
33
+ **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.
34
+
35
+ ## 0.3.5 candidate preparation — #143 (2026-10-13 KST)
36
+
37
+ 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.
38
+
39
+ 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:
40
+ `sha512-O9Uwpa0x1NZ8MNZCk0a1Z4hj7S+v0F0QeOJa+rKfbwcAYzBCSMwqmEWQWZQMWM36SbxVu3RowTSvpwPiKd/BDA==`.
41
+ Previous stable attestation metadata: `https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.3.4`.
42
+
43
+ 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.
44
+ 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.
45
+ 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.
46
+ 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.
47
+ 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.
48
+ 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.
49
+
50
+ 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.
51
+
52
+ ### Exact successor candidate checkpoint — 2026-10-13 KST
53
+
54
+ 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.
55
+
12
56
  ## 0.3.4 stable preparation — 2026-10-12 KST
13
57
 
14
58
  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.
package/VALIDATION.md CHANGED
@@ -1,4 +1,38 @@
1
- # Validation record — updated 2026-10-12 KST
1
+ # Validation record — updated 2026-10-14 KST
2
+
3
+ ## 0.3.6 preparation checks — 2026-10-14 KST
4
+
5
+ This patch starts from merged PR #146/main `602cfc09b31ce8aad23e1dd9382a2448a61143f9`, whose exact-main CLI38493362484 and CodeQL38493362496 passed. Source/package/banner/current examples are 0.3.6 and its explicit finite row carries the same three skill profiles as public 0.3.5; the published skill0.2.1 source/hash and Python1.0.2 oracle remain unchanged. Draft #106–#109, #82 and #142 are excluded.
6
+
7
+ Local macOS arm64 / Node24.16.0 validation: npm test193total/188passed/0failed/5Windows-onlyskips; build/types, metadata/guidance, release baseline, repository links/anchors and diff checks passed. The archived Python oracle was verified byte-for-byte against public1.0.2 source `47c23713d0a2a3c11ebde6186afd8c43489b8b65` before conformance tests. Package smoke passed reproducible packing and isolated install/uninstall plus bash/zsh shorthand contract/lifecycle. npm audit reported0vulnerabilities. An initial scoped run had two stale expected update-banner regex failures; both were corrected before the passing final full run. Package hashes before this record was added are not final release artifacts. Exact candidate-source/retained artifact hashes and final CI/review gates are recorded in the preparation PR; this record itself is not publication evidence.
8
+
9
+ Read-only registry baseline was latest0.3.5, preview0.1.0-preview.1 and target0.3.6absent. Public0.3.5 bytes/integrity/provenance source/run matched the historical publication; those are not fresh publisher/MFA-setting audits. After npm login, pending-stage list was empty and sole maintainer was abruption. The user explicitly skipped the TrustedPublisher lookup for this0.3.6 release. The user separately skipped the fresh web package publish-MFA policy read for this 0.3.6 publication; neither skipped setting is freshly confirmed. Protected environment approval and actual final npm stage 2FA remain required. GitHub npm environment required reviewer abruption, disallowed administrator bypass, allowed main only and held zero secrets, as did repository Actions. No settings/token/protection change, native/model input, actual delivery/ACK, fleet/global install or publication occurred in these preparation checks.
10
+
11
+ ## 0.3.5 pre-staging document correction — 2026-10-13 KST
12
+
13
+ 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.
14
+
15
+ 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.
16
+
17
+ ## 0.3.5 preparation boundary — 2026-10-13 KST
18
+
19
+ 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.
20
+
21
+ 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.
22
+
23
+ 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.
24
+
25
+ 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.
26
+
27
+ 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.
28
+
29
+ ### Conditional profile-review follow-up — 2026-10-13 KST
30
+
31
+ 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.
32
+
33
+ ### Exact successor candidate checkpoint — 2026-10-13 KST
34
+
35
+ 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.
2
36
 
3
37
  ## 0.3.4 artifact documentation correction — 2026-10-12 KST
4
38
 
@@ -1,5 +1,5 @@
1
- export declare const VERSION = "0.3.4";
2
- export declare const VERSION_LINE = "session-peer 0.3.4 (typescript)";
1
+ export declare const VERSION = "0.3.6";
2
+ export declare const VERSION_LINE = "session-peer 0.3.6 (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.4';
4
+ export const VERSION = '0.3.6';
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,15 +9,18 @@ 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 reviewed profiles: public 0.3.2 is legacy-only; public 0.3.3 accepts
13
- // both profiles. The explicit 0.3.4 row is an unreleased patch proposal, not
14
- // generic future-version support. Compiled VERSION is 0.3.4 in this candidate.
12
+ // Preserve each published runtime/profile result. The 0.3.6 release candidate
13
+ // carries forward the exact three profiles reviewed for published 0.3.5.
14
+ // Metadata compatibility does not authenticate content or publish/install a skill.
15
+ // Every later runtime/profile requires separate review; no version ranges.
15
16
  const matrix = {
16
- '0.3.2': ['0.1.0'], '0.3.3': ['0.1.0', '0.2.0'], '0.3.4': ['0.1.0', '0.2.0']
17
+ '0.3.2': ['0.1.0'], '0.3.3': ['0.1.0', '0.2.0'], '0.3.4': ['0.1.0', '0.2.0'],
18
+ '0.3.5': ['0.1.0', '0.2.0', '0.2.1'], '0.3.6': ['0.1.0', '0.2.0', '0.2.1']
17
19
  };
18
20
  const profiles = {
19
21
  '0.1.0': ['0.1.0', 'typescript', '0.1.0', '0.1.0', 'probe-help'],
20
- '0.2.0': ['0.2.0', 'typescript', '0.1.0', '0.3.2', 'probe-help']
22
+ '0.2.0': ['0.2.0', 'typescript', '0.1.0', '0.3.2', 'probe-help'],
23
+ '0.2.1': ['0.2.1', 'typescript', '0.1.0', '0.3.2', 'probe-help']
21
24
  };
22
25
  // Deliberately not general YAML: plain ASCII tokens or unescaped quoted strings,
23
26
  // 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.4**. 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.
3
+ This reference describes source/package version **0.3.6**. 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.4` before importing it.
8
+ locally with `npm install --ignore-scripts session-peer@0.3.6` 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.4
15
- console.log(VERSION_LINE); // session-peer 0.3.4 (typescript)
14
+ console.log(VERSION); // 0.3.6
15
+ console.log(VERSION_LINE); // session-peer 0.3.6 (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));
@@ -2,11 +2,23 @@
2
2
 
3
3
  This document retains the original TS source proposal and dated design review for [#118](https://github.com/abruption/session-peer-ts/issues/118), based on the companion [Draft #20 at `963c3d7`](https://github.com/abruption/session-peer-skill/blob/963c3d748a11b1164013ee26c9c0ef285c52b285/docs/typescript-compatibility.md). Companion [design acceptance at `699a325`](https://github.com/abruption/session-peer-skill/blob/699a3251830c30c62d0f812363faf4d0eb0c8e0c/docs/typescript-compatibility.md) records the full static review of the exact candidates below on 2026-10-09. This design-only acceptance does not authorize runtime merge/release, successor skill metadata/publication, installation or pin changes, content authenticity, or live delivery support.
4
4
 
5
+ ## 0.3.6 finite row
6
+
7
+ TS source/package 0.3.6 explicitly carries the same three reviewed skill profiles as public 0.3.5: 0.1.0, 0.2.0 and published 0.2.1. The immutable 0.2.1 source/hash below are unchanged. Default/undefined/outer inspection use compiled VERSION=0.3.6; an explicit 0.3.5 helper still returns its historical reviewed verdict. 0.3.7 and other unreviewed identities remain incompatible. Parser/reader behavior and all malformed/unsupported envelopes remain unchanged; this is an explicit finite row, not a SemVer range or a new skill release.
8
+
9
+ ## Published skill 0.2.1 adoption — 2026-10-14 KST
10
+
11
+ The four guides now pin the independently published [TS skill 0.2.1 release](https://github.com/abruption/session-peer-skill/releases/tag/session-peer-ts-v0.2.1) to immutable source [`0f494cabd05901c03161dc91792dcf89f8e96631`](https://github.com/abruption/session-peer-skill/tree/0f494cabd05901c03161dc91792dcf89f8e96631/session-peer-ts). Annotated tag object `4e7df7d8f99863e86b477eacce958033d7280246` peels to that source. The complete `SKILL.md` is **13,996 raw UTF-8 bytes**, SHA-256 `8c3520f95e0d6807303be96bfa06df69887ddaf76be05f1905505d0a956820c3`. The tag, source and file identities were independently rechecked after publication; the reviewed PR head `dc303b513d9da862f2ce21d648e168fdd847ae95` and published source have identical SKILL bytes.
12
+
13
+ Public npm TS 0.3.5, source `a2057940ba19056fcaaa5551a7820f7414bd3bfa`, accepts the exact profile: skill `0.2.1`, implementation `typescript`, minimum `0.1.0`, documented feature reference `0.3.2`, policy `probe-help`. It retains legacy skill 0.1.0 and 0.2.0 acceptance. Public 0.3.2/0.3.3/0.3.4 reject skill 0.2.1; future runtime/profile combinations are not inferred from version ranges. The published 0.3.5 tarball's validator accepted these exact complete bytes with compiled default, explicit `undefined`, explicit 0.3.5 and outer `inspectSkill`; supplied historical/future identities were rejected. These helper checks are not executions of historical CLIs.
14
+
15
+ The published bytes are retained as an offline guidance fixture, distinct from the earlier candidate fixture. `compatible / skill_contract_compatible / metadata_only` is a bounded metadata result, not content authentication, send permission, delivery or ACK. Runtime and skill installation/update remain separate and manager-owned; no postinstall, global installation or implicit update was performed. Python reference 1.0.2 and Python skill pins remain unchanged; unshipped 0.4 handoff/observer/ACK and experiments are excluded. Earlier candidate, pending-publication and 0.2.0 pin records below are dated history, not the current installation guidance.
16
+
5
17
  ## Separate version meanings
6
18
 
7
19
  The skill repository tag, Python skill revision, TS skill revision, and npm runtime version are independent. `runtime-min-version` describes the skill's baseline CLI compatibility floor; `runtime-full-version` describes its documented published CLI feature coverage reference. Neither is a security recommendation, a doctor-acceptance rule, permission to send, or evidence of platform/native compatibility. Optional operations still need their actual resolved TS executable's version/help and prerequisites.
8
20
 
9
- The finite runtime/profile matrix is:
21
+ The published 0.3.4 checkpoint at [`afed4a5a8945012faf1b23d52cffecb70470a5b3`](https://github.com/abruption/session-peer-ts/tree/afed4a5a8945012faf1b23d52cffecb70470a5b3) has the following finite runtime/profile matrix. The current 0.3.6 source/package row is documented above; the dated 0.3.5 successor rollout below is historical and does not change that immutable published artifact:
10
22
 
11
23
  | Inspecting runtime | Skill version | Implementation | Minimum | Full | Policy | Verdict |
12
24
  |---|---|---|---|---|---|---|
@@ -19,7 +31,7 @@ The finite runtime/profile matrix is:
19
31
  | Other valid runtime/profile | Any | Any | Any | Any | Any | incompatible |
20
32
  | Unavailable/malformed runtime identity | Any | Any | Any | Any | Any | unknown |
21
33
 
22
- All compatible rows also require exactly one `name: session-peer-ts`. Inspection uses this runtime’s compiled `VERSION`, without executing a binary. Public 0.3.3 accepts both reviewed profiles, while the immutable public 0.3.2 artifact remains legacy-only. This source/package uses compiled `VERSION=0.3.4` and preserves the two exact reviewed profiles; valid unreviewed runtimes such as 0.3.5 remain incompatible. At the earlier PR #134 checkpoint, compiled `VERSION` was 0.3.3 and the added 0.3.4 row was exercised through explicit validator arguments. That checkpoint is historical; source support does not establish registry publication. Tests exercise exact profiles, mismatches and unreviewed runtimes. Every later runtime/profile row needs explicit review; minimum/full arithmetic does not replace this finite matrix.
34
+ All compatible rows also require exactly one `name: session-peer-ts`. Inspection uses this runtime’s compiled `VERSION`, without executing a binary. Public 0.3.3 accepts both reviewed profiles, while the immutable public 0.3.2 artifact remains legacy-only. The immutable published 0.3.4 source/package uses compiled `VERSION=0.3.4` and preserves the two exact reviewed profiles; its guard rejects unreviewed runtimes such as 0.3.5. The 0.3.5 source/package adds its reviewed finite row and compiled default as documented below, without changing that published artifact. At the earlier PR #134 checkpoint, compiled `VERSION` was 0.3.3 and the added 0.3.4 row was exercised through explicit validator arguments. That checkpoint is historical; source support does not establish registry publication. Tests exercise exact profiles, mismatches and unreviewed runtimes. Every later runtime/profile row needs explicit review; minimum/full arithmetic does not replace this finite matrix.
23
35
 
24
36
  ## Limited grammar and results
25
37
 
@@ -37,7 +49,7 @@ Values are unescaped single/double-quoted strings or plain ASCII tokens beginnin
37
49
  | Well-formed but unsupported name, tuple, or valid runtime | incompatible / skill_contract_mismatch | metadata_only |
38
50
  | Exact supported runtime/profile/name | compatible / skill_contract_compatible | metadata_only |
39
51
 
40
- The proposed **G04** expectation is fixed as exactly `{ status: 'unknown', code: 'skill_metadata_missing' }`, with no `verification` property, when the inspecting runtime identity is unavailable or malformed, including ambiguous non-scalar identity evidence. Its precondition is healthy bounded legacy/successor metadata: a readable regular file within the byte budget, valid UTF-8, stable file/path evidence, and valid frontmatter/name/profile. Earlier reader failures retain their own envelopes. The existing [`test/skill-metadata.test.ts`](https://github.com/abruption/session-peer-ts/blob/3cd52c166638e4833798e979a55ac71a0405d740/test/skill-metadata.test.ts) test `finite runtime/profile matrix preserves public 0.3.2 and checks the 0.3.3 candidate proposal` asserts this exact object for both profiles with explicit `null`, `{}`, `0`, `''`, `'0.3.3-preview.1'`, and `'00.3.3'` runtime arguments. An omitted or explicitly `undefined` helper argument uses the compiled `VERSION` default and is not an unavailable-identity fixture; the candidate test asserts both omitted and explicit `undefined` arguments use that compiled default. A valid but unsupported stable runtime (for example, `0.3.5` in this patch candidate) instead returns exactly `{ status: 'incompatible', code: 'skill_contract_mismatch', verification: 'metadata_only' }`. This documents the TS proposal's G04 expectation covered by the exact static design acceptance below; it does not establish runtime publication or live delivery.
52
+ The proposed **G04** expectation is fixed as exactly `{ status: 'unknown', code: 'skill_metadata_missing' }`, with no `verification` property, when the inspecting runtime identity is unavailable or malformed, including ambiguous non-scalar identity evidence. Its precondition is healthy bounded legacy/successor metadata: a readable regular file within the byte budget, valid UTF-8, stable file/path evidence, and valid frontmatter/name/profile. Earlier reader failures retain their own envelopes. The existing [`test/skill-metadata.test.ts`](https://github.com/abruption/session-peer-ts/blob/3cd52c166638e4833798e979a55ac71a0405d740/test/skill-metadata.test.ts) test `finite runtime/profile matrix preserves public 0.3.2 and checks the 0.3.3 candidate proposal` asserts this exact object for both profiles with explicit `null`, `{}`, `0`, `''`, `'0.3.3-preview.1'`, and `'00.3.3'` runtime arguments. An omitted or explicitly `undefined` helper argument uses the compiled `VERSION` default and is not an unavailable-identity fixture; the candidate test asserts both omitted and explicit `undefined` arguments use that compiled default. A valid but unsupported stable runtime (for example, `0.3.5` in the published 0.3.4 checkpoint; `0.3.6` in the 0.3.5 source/package row) instead returns exactly `{ status: 'incompatible', code: 'skill_contract_mismatch', verification: 'metadata_only' }`. This documents the TS proposal's G04 expectation covered by the exact static design acceptance below; it does not establish runtime publication or live delivery.
41
53
 
42
54
  The proposed **G07** result for missing, duplicated, or syntactically malformed required frontmatter name/map/scalar evidence is exactly `{ status: 'unknown', code: 'skill_metadata_missing' }`, with no `verification` property. This applies after bounded regular-file evidence, valid UTF-8, and file/path stability have been established; earlier reader failures retain their own envelopes. A well-formed unsupported name or scalar remains `incompatible / skill_contract_mismatch / metadata_only`. The static grammar fixtures and `root name forbids continuations across comments or map boundaries while ignored fields retain their scope` establish this distinction. Both profiles are tested with plain/quoted names before or after metadata, one/two/four-space continuations, blank/comment-separated continuations, orphan indentation, and exact outer inspection results. Controls preserve comments, CRLF, unrelated field content, instruction bodies, and well-formed unsupported name results. This documents the TS proposal's G07 expectation covered by the exact static design acceptance below; it does not establish runtime publication or live delivery.
43
55
 
@@ -82,3 +94,59 @@ The dated proposal/review above preceded publication. Public npm 0.3.3 uses sour
82
94
  Final metadata is skill `0.2.0`, implementation `typescript`, minimum `0.1.0`, full `0.3.2`, policy `probe-help`. Four-language guidance now pins that published source. This publication checkpoint does not turn `metadata_only` into instruction authenticity, execution authority, full platform qualification, consumption or ACK. Python metadata and the Python 1.0.2 parity/reference pin remain unchanged.
83
95
 
84
96
  The 0.3.4 source/package preserves both exact published profiles through its compiled default. PR #134 initially checked that row only through explicit validator arguments with compiled VERSION 0.3.3; the subsequent 0.3.4 preparation changed the runtime version. No skill metadata change, new skill publication, installation or future-range compatibility is included.
97
+
98
+ <a id="draft-successor-profile-planning--139"></a>
99
+
100
+ ## 0.3.5 source support and successor rollout — #139
101
+
102
+ The preparation notes and rollout conditions in this section are retained from 2026-10-13. Publication and current pin adoption are recorded in [the 2026-10-14 checkpoint](#published-skill-021-adoption--2026-10-14-kst).
103
+
104
+ [#139](https://github.com/abruption/session-peer-ts/issues/139) tracks the separate successor profile and rollout for updated TS skill documentation. The 0.3.5 source/package adds exactly the skill 0.2.1 profile below while retaining legacy 0.1.0 and published 0.2.0. Its complete candidate bytes/profile were reviewed for guard preparation as recorded below; final skill publication wording, immutable release and installation pin remain separate. Source/package support does not itself establish npm or skill publication.
105
+
106
+ At the original [Draft #140 checkpoint `b917769`](https://github.com/abruption/session-peer-ts/tree/b917769047db41dedcb4aa1367a1b89915beb000), compiled VERSION was 0.3.4 and candidate 0.3.5 support was exercised only through helper arguments. [PR #144](https://github.com/abruption/session-peer-ts/pull/144) integrated that implementation and the compiled-default/full-file tests; its merge source is `5409d0acd4b559c09920a63c5fd7f11fd10f5737`. At that release-preparation checkpoint, compiled VERSION was 0.3.5. Public 0.3.4 remains immutable; at that preparation checkpoint, no successor skill installation pin was approved.
107
+
108
+ | Inspecting source/package runtime | Skill version | Implementation | Minimum | Full | Policy | Verdict |
109
+ | --- | --- | --- | --- | --- | --- | --- |
110
+ | `0.3.5` (source/package) | `0.1.0` | `typescript` | `0.1.0` | `0.1.0` | `probe-help` | compatible / skill_contract_compatible / metadata_only |
111
+ | `0.3.5` (source/package) | `0.2.0` | `typescript` | `0.1.0` | `0.3.2` | `probe-help` | compatible / skill_contract_compatible / metadata_only |
112
+ | `0.3.5` (source/package) | `0.2.1` | `typescript` | `0.1.0` | `0.3.2` | `probe-help` | compatible / skill_contract_compatible / metadata_only |
113
+ | Published `0.3.2`, `0.3.3`, or `0.3.4` | Proposed `0.2.1` profile above | `typescript` | `0.1.0` | `0.3.2` | `probe-help` | incompatible / skill_contract_mismatch / metadata_only |
114
+ | Unreviewed `0.3.6`, `0.4.0`, or other future runtime | Any of these profiles | Any | Any | Any | Any | incompatible / skill_contract_mismatch / metadata_only |
115
+
116
+ The minimum/full values retain their existing meanings; neither implies acceptance by earlier inspectors or introduces a version range. Compatible results require the existing exact name, grammar and bounded stable-file evidence. Reader errors, malformed metadata and unavailable runtime identity retain their existing envelopes. An explicit runtime argument is test evidence, not evidence that that runtime was built, installed or published.
117
+
118
+ Companion [PR #33](https://github.com/abruption/session-peer-skill/pull/33), merged at [`eb239fb358336d85b49bab2c80e4ea39037d1374`](https://github.com/abruption/session-peer-skill/tree/eb239fb358336d85b49bab2c80e4ea39037d1374), updates TS documentation for published runtime `0.3.4` while preserving the `0.2.0` frontmatter. Its newer main-file bytes are not a replacement for the immutable `session-peer-ts-v0.2.0` release or an approved new TS skill installation pin. Companion [issue #31](https://github.com/abruption/session-peer-skill/issues/31) concerns the distinct, unshipped `0.4` scope; this profile extension does not adopt or publish that feature scope.
119
+
120
+ The required rollout order remains:
121
+
122
+ 1. Review the exact candidate profile and fixtures, then obtain separate authorization to merge and actually publish its supporting TS runtime. Record that runtime's exact version, source and artifact evidence.
123
+ 2. Obtain separate skill approval, finalize its metadata and content, and publish an immutable TS skill tag/source. A runtime helper fixture alone cannot authorize this step.
124
+ 3. Update the four-language TS guides and PARITY together to the reviewed, published immutable skill source.
125
+
126
+ At that preparation checkpoint, until those steps completed, the existing skill source pin `8482cf644507c682915e35c85aa3384c53864906` and its published metadata remain unchanged. The original Draft #140 did not change the runtime version. The 0.3.5 source/package activates the reviewed finite profile through its compiled version; Python skill/runtime/reference/parity, installation, PATH, postinstall behavior, delivery/ACK support and operational settings remain unchanged. It does not authorize merge, tags, runtime/skill publication or a live experiment.
127
+
128
+ ## 0.3.5 preparation boundary — 2026-10-13 KST
129
+
130
+ The candidate is based on main `afed4a5a8945012faf1b23d52cffecb70470a5b3` plus unmerged Draft #140 `b917769047db41dedcb4aa1367a1b89915beb000`. The initial companion 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. Profile numbers and complete successor bytes require explicit companion agreement before the rollout can close. Issue #139 therefore remains open. Public skill 0.2.0 source `8482cf644507c682915e35c85aa3384c53864906`, SHA-256 `00c6fc343fdbeb8f6dc1b1ee1b730f04cef71bbfb08205a7be3559202f1d8804`, remains the installation pin. Draft #106–#109, Side Session #82 and steering #142 are excluded. Release preparation is not runtime or skill publication approval.
131
+
132
+ ## Conditional successor-profile review — 2026-10-13 KST
133
+
134
+ The companion reply under `STS-035-SKILL-PROFILE-REVIEW-20261013-A` reported `conditional_profile_direction_accepted` for Draft #140 exact head `b917769047db41dedcb4aa1367a1b89915beb000`. Its reported source/test/document hashes were independently rechecked against that commit:
135
+
136
+ | File at the reviewed dependency head | SHA-256 |
137
+ | --- | --- |
138
+ | `src/skill-metadata.ts` | `2a6e2a572d563cd57ebda825aca5d278dd786fbaea12a33caa258b8e436d4e60` |
139
+ | `test/skill-metadata.test.ts` | `93b5c50a2da9df14939f404c67f9bb2dc07ea790816c4eee2bf1b759780f9052` |
140
+ | `docs/design/typescript-skill-compatibility.md` | `cbda1b7038d32e8b0f948cdb2c57c7486cb7b37be6e5fd416a097615f5f743a5` |
141
+
142
+ That review did not test the release candidate compiled default or accept full successor instruction bytes. The preparation now adds direct literal-result assertions for omitted runtime, explicit `undefined` and outer `inspectSkill` against each of the three profiles with compiled `VERSION=0.3.5`; it still requires exact-head companion review and complete SKILL candidate bytes/hash. This is conditional direction, not full design/content freeze, publication support or merge/release authorization. Existing published pin and runtime-first rollout requirements remain.
143
+
144
+ ## Exact complete successor candidate review — 2026-10-13 KST
145
+
146
+ Companion [Draft #35](https://github.com/abruption/session-peer-skill/pull/35) at exact source [`9db5420b45568dd08fc43d406dbf9ad1952f7891`](https://github.com/abruption/session-peer-skill/blob/9db5420b45568dd08fc43d406dbf9ad1952f7891/session-peer-ts/SKILL.md) supplies the complete proposed skill 0.2.1. It is **13,930 raw UTF-8 bytes**, SHA-256 `96d5a0d049f8a4d193703af3583b198a91079d44ae373de34e94a54e2296a4d6`. TS setup document SHA-256 is `b9f34cf06840c63c1d26dd835c512ce4b6e457063d1808eb73bc7e9f5ebc70e7`; compatibility document SHA-256 is `495420a268841c8da6f9bc68039e65dc52cb95aba52e33ab906710826eeb2b43`. These exact downloaded bytes and hashes were verified independently, not inferred from the message.
147
+
148
+ A read-only full-content comparison with companion base `eb239fb358336d85b49bab2c80e4ea39037d1374` found only revision metadata and candidate/doctor/adoption introduction changes; the subsequent CLI, help, platform, permission, security, no-ACK and unknown/no-resend instructions are unchanged. The candidate distinguishes minimum/full from doctor acceptance, retains the published 0.2.0 pin, and requires actual guard publication plus separate skill approval before adoption. The companion accepted the release-default source/fixture amendment at TS `08c507ca1c2a3805b189ee05bfdd32b0d3d2dacb` for design only.
149
+
150
+ The complete bytes are mirrored in `test/fixtures/ts-skill-0.2.1-candidate.md`, excluded from npm distribution and not an installation pin. The test checks full-file length/hash and fatal UTF-8, compiled-default/undefined/explicit 0.3.5 and outer `inspectSkill` acceptance, and rejection by explicit historical 0.3.2/0.3.3/0.3.4 and future 0.3.6/0.4.0 rows. Reading this fixture never executes the instruction body.
151
+
152
+ TS accepts these exact candidate bytes/profile for **design/content review of the proposed guard preparation**, contingent on the documented tests and human review gates. This is not a joint final publication freeze, content authentication, installation approval or runtime/skill release permission. Final skill wording after actual runtime publication changes the bytes and requires a new exact-head/hash review. That final artifact, immutable install pin and synchronized four-language guidance remain separate later steps.