session-peer 0.3.5 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/api.md CHANGED
@@ -1,18 +1,18 @@
1
1
  # API reference
2
2
 
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.
3
+ This reference describes source/package version **0.4.0**. 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.5` before importing it.
8
+ locally with `npm install --ignore-scripts session-peer@0.4.0` 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.5
15
- console.log(VERSION_LINE); // session-peer 0.3.5 (typescript)
14
+ console.log(VERSION); // 0.4.0
15
+ console.log(VERSION_LINE); // session-peer 0.4.0 (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));
@@ -33,3 +33,244 @@ not package subpath exports. Use the [CLI guide](guide.md#use) for sending and
33
33
 
34
34
 
35
35
  The ordinary SSH response correction is documented separately as the [0.3.3 ordinary SSH response correction](design/ordinary-ssh-responses.md); its internal parser is not a package-root export.
36
+
37
+ <a id="unreleased-opt-in-handoff-cli--040-work"></a>
38
+
39
+ ## Opt-in handoff CLI — 0.4.0
40
+
41
+ 0.4.0 includes an explicit private POSIX sender ledger. Default sends retain
42
+ their native status, optional fields and exit behavior. The frozen design is tracked in #69;
43
+ this implementation does not change its exact vendored document or fixture.
44
+
45
+ Initialize once with `session-peer handoff init --json`. The optional absolute
46
+ `SESSION_PEER_HANDOFF_HOME` selects its directory; commands never auto-initialize
47
+ missing or corrupt history. `handoff prepare --to TARGET --message-file FILE
48
+ --json` reserves a fresh correlation ID without sending. Use a private regular
49
+ UTF-8 file (POSIX mode 0600), then pass the retained ID with
50
+ `send --correlation-id UUID --message-file FILE --json`. A changed destination,
51
+ original generation or message binding is rejected. An unknown supplied ID is
52
+ not accepted. Ordinary opted-in sends can automatically prepare a fresh ID.
53
+
54
+ Only opted-in results add `handoff`. The inert correlation metadata in a native
55
+ message is not authentication. Durable intent is fenced before native effect;
56
+ crash recovery, `handoff status`, `handoff wait`, `ack` and `handoff confirm`
57
+ never submit again. Retention/quota limits preserve epoch-bound fences rather
58
+ than evicting old authority. Clone/rollback protection assumes intact, retained,
59
+ non-rolled-back history. Native local/SSH retry permission remains false.
60
+
61
+ Keep `ledger.key` with the private ledger: the journal stores an authenticated
62
+ encrypted message-binding digest, using that separate mode-0600 key. The raw
63
+ digest is not stored in the journal. Missing, changed or untrusted keys and old
64
+ plaintext journals fail closed; commands do not regenerate a key or migrate
65
+ history automatically. This does not protect against a same-user reader who
66
+ can obtain both files. Lost history never authorizes resubmission.
67
+
68
+ `--request-ack`, `--observe-delivery` and `--wait-for delivered|acknowledged`
69
+ select separate evidence goals. A required unsupported goal refuses before
70
+ submission; best-effort mode may submit while reporting the channel unsupported.
71
+ `--wait-timeout` is an ASCII integer 1..60 (default 30); its total operation
72
+ budget includes a 5-second cleanup reserve. Budgets 1..5 are syntactically valid
73
+ but cannot authorize an effect. A successful submission is preserved when
74
+ subsequent ledger/evidence operations fail. Best-effort sends keep their native
75
+ success exit and may add `handoffWarning: persistence_failed`; required waits
76
+ fail without erasing independently established native submission facts. No body, transcript, raw native
77
+ stderr, payload digest or receipt secret appears in handoff JSON.
78
+
79
+ Automated receipt producer/bootstrap, Windows ledger and original-sender SSH
80
+ receipt collectors remain unsupported. `ack --receipt -` and `handoff confirm
81
+ --receipt -` consume at most 4096 raw UTF-8 bytes from private stdin; no receipt
82
+ secret is accepted in argv/URI/environment. Receipt ACK means receipt only, not
83
+ ownership, completed work or permission to act. Operator confirmation is
84
+ explicitly labeled and must match retained original context. No arbitrary
85
+ message/transcript scan manufactures ACK. Ordinary generated Reply-To stays v1.
86
+
87
+
88
+ <a id="unreleased-destination-side-ssh-handoff"></a>
89
+
90
+ ### Destination-side SSH handoff
91
+
92
+ POSIX opt-in `send --host HOST` performs an exact-version preflight and a
93
+ no-effect preparation before one destination-side send. Both ends must contain
94
+ the same reviewed 0.4.0 implementation: a 0.3.x banner does not establish new
95
+ capability. Initialize the destination's private ledger explicitly; no command
96
+ auto-installs a handler or initializes missing history. The origin does not
97
+ create a local receipt collector. Reconcile with `handoff status`/`wait` on the
98
+ destination that owns the retained intent, without another send.
99
+
100
+ Preparation fixes the canonical destination target/home, original generation,
101
+ epoch and correlation ID. A supplied ID must already be unattempted/prepared
102
+ there. Fanout uses a distinct ID per destination, is limited to 32 destinations,
103
+ and rejects one caller-supplied ID for multiple hosts. An incomplete preparation
104
+ refuses before effect. After a possible effect, partial/malformed/oversized
105
+ responses remain unknown and are never replayed. Complete request-matched native
106
+ facts survive SSH 255/timeout; malformed optional handoff cannot create ACK or
107
+ erase separately valid submission facts. Ordinary opt-out discards unsolicited
108
+ handoff/query/warning fields.
109
+
110
+ The origin retains its original monotonic deadline. Each private request carries
111
+ only remaining duration, repeated in a private numeric argv selector. The
112
+ destination establishes its input timeout and owned-process cleanup watchdog
113
+ before reading the frame, requires the two durations to match, and charges
114
+ normal Node bootstrap/frame-read time to the same budget. An indefinitely blocked
115
+ static import before handler startup is outside this in-process watchdog; the
116
+ origin still has its own hard transport deadline. Transit delay is
117
+ not measurable across independent monotonic clocks: this is not a synchronized
118
+ cross-host cutoff guarantee. The source deadline is never renewed, and 5 seconds
119
+ of cleanup reserve remain inside each per-destination budget. Fake-SSH fixtures
120
+ exercise the actual destination handler and a recording socket, including the
121
+ watchdog's group cleanup; they do not constitute an actual network SSH or remote
122
+ native-agent qualification.
123
+
124
+ Each fanout destination starts its own total budget; sequential fanout can take
125
+ up to the sum of those budgets (at most 32 × 60 seconds), rather than one shared
126
+ invocation deadline. No setup, preparation or wait renews a destination's
127
+ deadline. Transport loss can return unknown before a delayed destination effect
128
+ has finished; it is not evidence of non-delivery and never authorizes a retry.
129
+
130
+ Original-sender ACK collector/bootstrap and Windows SSH handoff remain
131
+ unsupported. Required acknowledged wait refuses before submission; best-effort
132
+ request-ack reports unsupported. Destination-native observation retains the
133
+ same exact Codex version/platform/home/generation gates as local observation.
134
+
135
+
136
+ <a id="unreleased-bounded-app-server-mechanics--040-work"></a>
137
+
138
+ ## Bounded app-server mechanics — 0.4.0
139
+
140
+ `dist/app-server.js` is an internal opt-in module, not a new public package
141
+ export or a change to ordinary CLI submission. `nativeQueueOnce` requires an
142
+ absolute executable, exact home/thread/original generation, bounded owner
143
+ verifier and durable `beforeEffect` callback. Exact Codex 0.160.1 and 0.162.1
144
+ queue mechanics were tested on macOS arm64 in network-denied synthetic homes;
145
+ other platform or version tuples fail before an effect. There is no minor-range
146
+ or latest-version inference. The caller owns proof of original
147
+ writer/home and any resources used by its verifier.
148
+
149
+ Only initialize, initialized and one thread/queue/add are used. Queue receipt
150
+ returns IDs only. Body-returning observation APIs, transcript reading, resume,
151
+ wake and new model turns are not implemented. The native process is an owned
152
+ queue transport, not an inferred existing session owner. Possible write marks
153
+ outcome uncertain even when the subsequent response is malformed. No automatic
154
+ fallback follows a possible effect. Fixture-only metadata ports are not native
155
+ observation qualification. See [source evidence](../PARITY.md#unreleased-bounded-app-server-foundation--71).
156
+
157
+ The 0.162.1 qualification uses source `092d3acd6bec3e3a14bdc7e7a2810ab628ab759d`
158
+ and generated schema hashes, with all 84 native notifications opted out before
159
+ the effect (0.160.1 retains its exact 83-method list). A saved synthetic thread
160
+ remained unloaded before and after one queue request; its own echoed input and
161
+ queue/thread/client IDs were checked. A separate native API fixture verified
162
+ owned SQLite descriptor binding and durable-guard refusal with zero queue rows.
163
+ Neither fixture proves a live writer's generation, actual delivery, receipt ACK
164
+ or a body-free native observer. Linux and Windows native mechanics remain
165
+ unqualified. The initial qualification harness had echo-shape and temporary-home
166
+ mapping failures; each subsequent probe used a distinct home/thread/client ID,
167
+ and no attempted submission was replayed. Details are retained in the
168
+ `test/fixtures/app-server-schema-evidence.json` source fixture.
169
+
170
+
171
+ The queue-only SDK pins both environment and CLI SQLite home, then verifies
172
+ opened state/queue DB paths on its OWN native app-server PID before authorizing
173
+ the effect. Config precedes the environment and exact managed requirements can
174
+ supersede the CLI in the qualified versions, so initialize's home echo alone is insufficient.
175
+ Missing/mismatched descriptor proof refuses without queue/fallback. Direct
176
+ native binaries are qualified; launcher wrappers without this PID/storage proof
177
+ remain unsupported. Native bootstrap may create state/cache files according to
178
+ managed policy before binding refusal; zero queue is the guarantee, not zero
179
+ bootstrap filesystem activity. Observers still open only read-only warm stores.
180
+
181
+
182
+ <a id="unreleased-local-delivery-observation--72"></a>
183
+
184
+ ## Local delivery observation — #72
185
+
186
+ A narrower qualified source path combines #71 queue mechanics with a warm
187
+ Codex 0.160.1 or 0.162.1 metadata store on macOS arm64. `--observe-delivery` checks once
188
+ (best effort); `--wait-for delivered` polls within the original remaining
189
+ budget. The native client ID is the reserved correlation ID. A positive native
190
+ receipt remains `status: queued`, `submitted: true`, `consumptionConfirmed:
191
+ false` even when the explicit wait fails. The separate handoff describes the
192
+ requested evidence goal. After any possible RPC write, no legacy fallback or
193
+ second submission occurs.
194
+
195
+ Before an opted-in native effect, original saved thread/home/writer evidence,
196
+ default SQLite storage, exact native version and a warm supported metadata
197
+ schema are checked. Required unsupported observation refuses before effect.
198
+ Best-effort chooses legacy queue only if qualification failed before any native
199
+ app-server attempt. The sender fences its intent durably before queue/add.
200
+ A fresh queue transport is not treated as the owner of another process's thread.
201
+
202
+ The observer never reads rollouts or calls history, queue/list, thread/resume,
203
+ turn/start or full item/turn notification APIs. SQLite itself projects only
204
+ `clientId`, thread/turn IDs and an allowlisted status. Recent row keys are bounded
205
+ to 256; cells over 256 KiB are excluded before JSON extraction. Temporary SQLite
206
+ storage is memory-only and materializes keys/bounded scalars. Body/error columns
207
+ are never returned to JavaScript. SQLite internally evaluates body-bearing
208
+ `item_json` cells to project metadata; this is not a guarantee that message-body
209
+ bytes are never accessed inside the SQLite engine. Only an already-warm original store is used;
210
+ there is no migration, warm-up/backfill, new model turn or wake. Existing WAL/SHM
211
+ must already be trusted; SQLite read-only readers can participate in transient
212
+ SHM read locks. DB/WAL bytes and sidecar creation remain unchanged in fixtures.
213
+
214
+ File/schema/inode checks and queries run in owned deadline-bounded children.
215
+ An inherited-group owner verifier compares the ORIGINAL selected fingerprint
216
+ before/after each read. Wrong client ID, schema drift, owner restart or an
217
+ ambiguous row cannot advance delivery. Unknown native turn statuses remain
218
+ unknown. Queue deletion or turn completion alone never creates injection/ACK.
219
+ Each wait keeps its own operation ID/cutoff and immutable terminal record;
220
+ concurrent later waits do not replace the originating send's result. An explicit
221
+ SIGINT-stopped wait returns exit 130 when its matching stopped record is proven,
222
+ retaining independently known submission facts and never retracting/resending.
223
+
224
+ `handoff wait --correlation-id UUID --wait-for delivered` starts a new operation
225
+ over a retained, positively submitted intent. Native observation is read-only;
226
+ the operation persists private wait/terminal records. It preserves the original
227
+ home/thread/writer generation and private, exact version/source/platform
228
+ qualification. Missing qualification is unsupported; today's PATH or matching
229
+ schema never reconstructs it. A new wait has its own cutoff and never rewrites
230
+ an old terminal wait. Other processes' pending waits remain untouched and each
231
+ owner classifies its own deadline. No native executable, queue request, transcript
232
+ API or model turn is started by status/wait. Ledger contention is retried only
233
+ inside the existing total budget. A persistence failure returns the last verified
234
+ operation and known submission facts with `handoff_persistence_failed`; it does
235
+ not claim that a terminal record was written.
236
+
237
+ Qualification boundaries: the combined native CLI route is macOS arm64/Codex
238
+ 0.160.1 or 0.162.1, each with an exact pinned source profile. Dedicated new
239
+ 0.162.1 TUI sessions demonstrated one native queue attempt and exact client-ID
240
+ injection in the original thread/home using bounded metadata projections.
241
+ Synthetic tests separately cover independent-process resume, timeout, SIGINT,
242
+ concurrent waits, owner change and persistence failure. Neither completion nor
243
+ visible response establishes machine ACK. A separate voluntary matching reply
244
+ was explicitly recorded with `handoff confirm --receipt -` before any wait:
245
+ `operator_confirmed`, retained ACK and a later acknowledged wait succeeded.
246
+ A prior test that started a delivered wait before confirmation correctly refused
247
+ unprovable cross-process ordering; its intent was not resubmitted. This is manual
248
+ operator attestation, not automatic token-possession receipt collection. Dedicated Claude Code 2.1.296 tests
249
+ confirmed correlated socket delivery and best-effort ACK remaining unsupported;
250
+ a required unsupported ACK refused before posting.
251
+
252
+ The qualified native app-server queue/observation route is unsupported on
253
+ Linux/Windows. Ordinary Codex queue submission and explicit operator confirmation
254
+ on supported POSIX ledgers are separate capabilities, demonstrated by the KR/US
255
+ checks in VALIDATION. Windows private ledger and automated receipt
256
+ collector/bootstrap remain unsupported. Other native versions are not
257
+ inferred from a minor range. The original-sender SSH collector is not provided.
258
+ These source checks do not by themselves establish package publication or
259
+ a completed milestone. Exact evidence and limits are in [VALIDATION](../VALIDATION.md).
260
+
261
+
262
+
263
+
264
+
265
+ <a id="040-candidate-scope"></a>
266
+
267
+ ## 0.4.0 implementation scope
268
+
269
+ The 0.4.0 implementation includes the qualified macOS arm64 observer and explicit
270
+ `operator_confirmed` receipts on supported POSIX ledgers. Other platforms do not
271
+ inherit that qualification. Linux observation [#130](https://github.com/abruption/session-peer-ts/issues/130),
272
+ Windows observation/private storage [#131](https://github.com/abruption/session-peer-ts/issues/131) and
273
+ voluntary receipt producer/authenticated collector bootstrap [#132](https://github.com/abruption/session-peer-ts/issues/132)
274
+ are future extensions. An automatic collector would still require an explicit
275
+ receiver receipt; it must never infer ACK from messages or turn completion.
276
+ Unsupported required goals refuse before effect; no post-attempt fallback or resend.
@@ -2,11 +2,33 @@
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.4.0 finite row
6
+
7
+ TS source/package 0.4.0 preserves the three reviewed profiles accepted by public 0.3.6 (skill 0.1.0, 0.2.0 and published 0.2.1) and adds exactly `0.3.0 / typescript / min 0.1.0 / full 0.4.0 / probe-help` for runtime 0.4.0 only. Compiled default, explicit `undefined`, explicit 0.4.0 and outer `inspectSkill` use this finite row. All historical runtime/profile verdicts remain unchanged; old runtime identities reject the new profile, and 0.3.7, 0.4.1 and other unreviewed runtime identities remain incompatible. Parser/reader behavior and malformed/unsupported envelopes are unchanged. This is a finite row, not a SemVer range or a skill publication.
8
+
9
+ ### Exact companion 0.3.0 candidate review — 2026-10-18 KST
10
+
11
+ The complete companion [Draft PR #37 checkpoint `b8ff909ffc5fe1e5b22c66a5c302be8332a76038`](https://github.com/abruption/session-peer-skill/blob/b8ff909ffc5fe1e5b22c66a5c302be8332a76038/docs/candidates/session-peer-ts-0.3.0.md) is retained as `test/fixtures/ts-skill-0.3.0-candidate.md`: **20,162 raw UTF-8 bytes**, SHA-256 `1ae3690cb5d03777bf448cf06496fed27e4a9329deb03741d6d956a3b13c5ed4`. Exact-content review found no normative blocker and accepted this profile direction at design level only. The helper fixtures check exact bytes/hash, fatal UTF-8, compiled default/undefined/explicit 0.4.0 and outer inspection, with historical, future and malformed runtime rejection. The fixture is excluded from the npm package and its instructions are never executed by these checks.
12
+
13
+ This is candidate-specific design/content review, not approval to install or publish the skill. The retained candidate still names its older feature checkpoint and review-only status; that source text is not evidence that its final guidance has been reviewed against the eventual published runtime. After actual supporting-runtime publication, final skill content and metadata require a fresh exact-head/whole-byte review and separate human publication approval. Runtime publication does not publish or install a skill. Existing four-language guidance retains the published 0.2.1 immutable source/hash below until a separately approved skill release is actually public; only then may a later guidance change adopt its immutable pin.
14
+
15
+ ## 0.3.6 finite row — historical checkpoint
16
+
17
+ 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.
18
+
19
+ ## Published skill 0.2.1 adoption — 2026-10-14 KST
20
+
21
+ 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.
22
+
23
+ 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.
24
+
25
+ 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.
26
+
5
27
  ## Separate version meanings
6
28
 
7
29
  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
30
 
9
- 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.5 source/package extension is documented in the successor-rollout section below; it does not change that immutable published artifact:
31
+ 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 0.4.0 candidate row and historical 0.3.6 row are documented above; the dated 0.3.5 successor rollout below is historical and does not change that immutable published artifact:
10
32
 
11
33
  | Inspecting runtime | Skill version | Implementation | Minimum | Full | Policy | Verdict |
12
34
  |---|---|---|---|---|---|---|
@@ -87,9 +109,11 @@ The 0.3.4 source/package preserves both exact published profiles through its com
87
109
 
88
110
  ## 0.3.5 source support and successor rollout — #139
89
111
 
112
+ 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).
113
+
90
114
  [#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.
91
115
 
92
- 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`. The current compiled VERSION is 0.3.5. Public 0.3.4 remains immutable, and no successor skill installation pin is approved.
116
+ 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.
93
117
 
94
118
  | Inspecting source/package runtime | Skill version | Implementation | Minimum | Full | Policy | Verdict |
95
119
  | --- | --- | --- | --- | --- | --- | --- |
@@ -109,7 +133,7 @@ The required rollout order remains:
109
133
  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.
110
134
  3. Update the four-language TS guides and PARITY together to the reviewed, published immutable skill source.
111
135
 
112
- Until those steps complete, 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.
136
+ 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.
113
137
 
114
138
  ## 0.3.5 preparation boundary — 2026-10-13 KST
115
139
 
package/docs/guide.ja.md CHANGED
@@ -4,13 +4,15 @@
4
4
 
5
5
  [English](guide.md) | [한국어](guide.ko.md) | [日本語](guide.ja.md) | [简体中文](guide.zh-CN.md)
6
6
 
7
- **文書・ソースのバージョン: 0.3.5。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](../VALIDATION.md)、リリース手順は [RELEASING.md](../RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.4 と 0.3.5 は互いの SSH 事前確認を拒否します。
7
+ **文書・ソースのバージョン: 0.4.0。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](../VALIDATION.md)、リリース手順は [RELEASING.md](../RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.6 と 0.4.0 は互いの SSH 事前確認を拒否します。
8
8
 
9
- 0.3.5 の詳細ガイドです([0.3.1 の信頼性の修正](../PARITY.md#031-reliability-fixes))。0.3.0 は複数ホスト SSH、送信者情報と返信経路、更新確認、任意の `sp` 短縮名を追加しました([0.3.0 の変更点](../PARITY.md#030-remote-usability-and-maintenance))。以前の公開記録は [0.3.1 公開リリースの証拠](../VALIDATION.md#public-031--2026-10-04-kst) にあります。以下の 0.1.0 の説明は旧版との比較です。
9
+ **0.4.0 handoff の範囲:** 任意の native 観測は macOS arm64 の厳密な Codex 0.160.1/0.162.1 に限定し、明示的な `operator_confirmed` 受領確認には対応する POSIX ledger を使います。Linux・Windows の native 観測と自動 ACK 収集は未対応です。
10
+
11
+ 0.4.0 の詳細ガイドです([0.3.1 の信頼性の修正](../PARITY.md#031-reliability-fixes))。0.3.0 は複数ホスト SSH、送信者情報と返信経路、更新確認、任意の `sp` 短縮名を追加しました([0.3.0 の変更点](../PARITY.md#030-remote-usability-and-maintenance))。以前の公開記録は [0.3.1 公開リリースの証拠](../VALIDATION.md#public-031--2026-10-04-kst) にあります。以下の 0.1.0 の説明は旧版との比較です。
10
12
 
11
13
  <a id="移行時の境界-033-候補"></a>
12
14
 
13
- ## 移行時の境界 (0.3.5)
15
+ ## 移行時の境界 (0.4.0)
14
16
 
15
17
  [0.3.2 の公開記録](../VALIDATION.md#public-032--2026-10-07-kst)はリリースのソースと成果物を固定しています。SSH の事前確認は TS のバージョン表示の完全一致を検査しますが、コミットハッシュは検査しません。ソースビルドのレビュー済みコミットは運用者が別途揃える必要があります。
16
18
 
@@ -19,11 +21,13 @@
19
21
  - `--host` を繰り返すと要求順の配列を返します。ホスト別の実行中の失敗は終了コード 1 に集約しますが、実行前のコマンド全体の拒否(重複ホストや空のメッセージなど)は配列出力でも終了コード 2 を維持します。公開 0.3.2 は SSH の終了 255 やタイムアウト後に完全な応答の証拠も失う場合があります。0.3.3 は要求に一致する完全な事実を保持し、ローカル終了コード 1 と `sshTransport` を返します。不完全・不正な証拠は unknown のままです。unknown の場合は自動再送しません。
20
22
  - 0.2.0 で導入した基本 doctor は Codex を実行せず inbox に提出しません。0.3.0 以降の明示的な `--check-return-route` は、利用できる非ローカル宛先に対してのみ、時間を制限した逆方向 SSH の無操作コマンドを実行します。自分自身への経路は SSH なしで `verified`、`transport:local`、`self_route_normalized` を返し、ホストがない場合は接続確認前に失敗します。`--check-reply-to` は未対応です。verified はローカル経路の正規化または 1 回の SSH 無操作コマンドの成功であり、ACK の認証や一般的な逆方向アクセスの保証ではありません。
21
23
  - 同じ端末の Reply-To をローカルに正規化するには、明示した OS ユーザーの一致、認識できる正確なローカル名、明示的な SSH オプションがないことが必要です。送信者の証拠が競合した場合は識別情報を省き、Claude の名前が使えない場合は PID を使います。
22
- - npm、Python、リモートホスト、スキルは別管理です。TS は自己更新やリモート更新を提供しません。通知は既定で無効で、無効化指定が優先します。明示的な `update --check` はレジストリを照会します。公開 TS 0.3.3 は、レビュー済みの旧 `0.1.0` と公開済み `0.2.0` スキルの厳密なプロファイルを受け入れます。TS 0.3.5 のソース・パッケージはこれらを維持し、厳密なスキル 0.2.1 プロファイルを一つ追加します。完全な候補スキルのプロファイルと内容は、この受け入れ検査の準備としてレビュー済みです。後継スキルの最終的な公開とソース固定は、対応するランタイムの実際の公開後に別途行います。インストール節では、別途公開されたスキルのソースを固定しています。
24
+ - npm、Python、リモートホスト、スキルは別管理です。TS は自己更新やリモート更新を提供しません。通知は既定で無効で、無効化指定が優先します。明示的な `update --check` はレジストリを照会します。公開 TS 0.3.5 は公開スキル `0.2.1` と旧 `0.1.0`・`0.2.0` の厳密なプロファイルを受け入れます。公開 TS 0.3.2・0.3.3・0.3.4 は `0.2.1` を拒否します。導入の節には独立して公開されたスキルのソースを固定しています。
23
25
  - Windows の検証は公開 0.3.1、Windows 10 x64、管理者アカウント、PowerShell 5.1、Node 24.16.0 で行いました。オフライン導入、ラッパー・ネイティブロック、運用者の doctor・存在しない宛先の dry-run、ローカル fixture 31 件を検証しました。Node 22 はバージョン表示とネイティブロックの確認のみです。非管理者、他のアーキテクチャ、F6 のランタイム検査、以前の Linux 実験の最新規則は未検証です。0.3.2 の実機 ACK やデプロイ補助ツールの検証ではありません。
24
26
 
25
- [移行の詳細](../PARITY.md#ordinary-cli-migration-notes--117)と [Windows の検証記録](../VALIDATION.md#windows-ssh-destination-f5--2026-10-07-kst)を参照してください。Python 1.0.2 のテスト基準は維持します。比較対象の公開 CLI はどちらも一般のネイティブ ACK/wait、エンドツーエンドの重複防止、Side Session を提供しません。Relay/MCP はこの比較の対象外です。
27
+ [移行の詳細](../PARITY.md#ordinary-cli-migration-notes--117)と [Windows の検証記録](../VALIDATION.md#windows-ssh-destination-f5--2026-10-07-kst)を参照してください。上の日付付き移行比較は当時の公開版を対象にしています。0.4.0 ソースの開発時の比較基準は Python 1.1.0 ですが、公開 npm 0.3.3 の従来の 1.0.2 表示は変わりません。Python 1.1.0 には実験的なローカル Claude の受領確認専用 ACK 経路があります。これは TS 実装の自動 ACK、元の送信者側の SSH 受領確認収集、Windows handoff 対応を意味しません。どちらの基準もエンドツーエンドの消費を保証せず、Side Session は実験段階です。Relay/MCP は比較対象外です。
28
+
26
29
 
30
+ [0.4.0 handoff 設計と実装の範囲](../PARITY.md#handoff-v1-design-candidate--69)
27
31
 
28
32
  ## 目次
29
33
 
@@ -40,7 +44,7 @@
40
44
 
41
45
  実行中の **Claude Code と Codex セッション**に、ローカルまたは SSH 経由でメッセージを送る TypeScript クライアントです。Node.js で動作し、Python は不要です。
42
46
 
43
- **0.3.5 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
47
+ **0.4.0 の利用ガイドです。**パッケージ名は `session-peer`、CLI コマンドは **`session-peer`**。Relay サーバーやホスティングサービスは提供しません。
44
48
 
45
49
  ## 機能と範囲
46
50
 
@@ -57,7 +61,7 @@ Relay 通信、MCP、wake/resume、Antigravity、自動更新は未実装です
57
61
 
58
62
  ビルド後の `node dist/cli.js list --json` は Claude/Codex をまとめて表示し、`list --agent codex --json` は既知の home を検索します。公開 npm **0.1.0** では引き続き agent と Codex 一覧の home を明示します。0.2.0 でも明示的なコマンド形式を利用できます。
59
63
 
60
- 対象は既定の `~/.codex`、`CODEX_HOME`、macOS Orca 直下のアカウント home、JSON 配列 `SESSION_PEER_CODEX_HOMES` のみです。`--codex-home` は Codex 一覧を固定して無関係な設定エラーを回避し、`--agent claude` は Codex 探索を省略します。同じ home の別名は統合し、異なる home の同じ UUID は保持します。送信には各行の `codexHome` を使ってください。任意 home の不在はエラーではなく、明示した home の不在・不正は読み取れた行を保持して終了コード 1 を返します。一覧は writer を選択せず、メッセージを提出しません。[一覧契約](../PARITY.md#source-unified-listing-contract--16--020)に順序・診断・`--all`・SSH を記載しています。0.2.0の Codex 送信は `--codex-home` 省略時に一意で安定した live writer を選択します。明示 home でも既知の競合 home をすべて検査します。非アクティブなキュー送信には保存済みスレッド、全候補の非アクティブ検証、および `--codex-home HOME --allow-inactive-codex-home` が必要で、wake/resume は実行しません。Dry-run は提出しません。JSON に診断 `codexHomeResolution` と、ネイティブ出力にある場合のみ `queueId` を追加しますが、消費確認ではありません。[選択契約](../PARITY.md#source-codex-home-selection--17--020)を参照してください。公開 **0.1.0** には明示 live home が必要で、非アクティブ許可オプションはありません。SSH の両端には同じ TypeScript クライアントのバージョン(0.3.5)が必要です。
64
+ 対象は既定の `~/.codex`、`CODEX_HOME`、macOS Orca 直下のアカウント home、JSON 配列 `SESSION_PEER_CODEX_HOMES` のみです。`--codex-home` は Codex 一覧を固定して無関係な設定エラーを回避し、`--agent claude` は Codex 探索を省略します。同じ home の別名は統合し、異なる home の同じ UUID は保持します。送信には各行の `codexHome` を使ってください。任意 home の不在はエラーではなく、明示した home の不在・不正は読み取れた行を保持して終了コード 1 を返します。一覧は writer を選択せず、メッセージを提出しません。[一覧契約](../PARITY.md#source-unified-listing-contract--16--020)に順序・診断・`--all`・SSH を記載しています。0.2.0の Codex 送信は `--codex-home` 省略時に一意で安定した live writer を選択します。明示 home でも既知の競合 home をすべて検査します。非アクティブなキュー送信には保存済みスレッド、全候補の非アクティブ検証、および `--codex-home HOME --allow-inactive-codex-home` が必要で、wake/resume は実行しません。Dry-run は提出しません。JSON に診断 `codexHomeResolution` と、ネイティブ出力にある場合のみ `queueId` を追加しますが、消費確認ではありません。[選択契約](../PARITY.md#source-codex-home-selection--17--020)を参照してください。公開 **0.1.0** には明示 live home が必要で、非アクティブ許可オプションはありません。SSH の両端には同じ TypeScript クライアントのバージョン(0.4.0)が必要です。
61
65
 
62
66
  ### 0.2.0 CLI の使いやすさ
63
67
 
@@ -80,15 +84,15 @@ macOS / Linux / Windows native、Node **22.x の 22.13 以上、または 24.x**
80
84
 
81
85
  Node 22.x の 22.13 以上または 24.x を使用し、インストールする正確なバージョンの公開状況を確認してください。Python CLI も同じコマンド名を使うため、既存のインストールがあれば先に PATH を確認してください。
82
86
 
83
- **0.3.5 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](#ソースからビルド)を使います。
87
+ **0.4.0 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](#ソースからビルド)を使います。
84
88
 
85
89
  ```sh
86
- npm view session-peer@0.3.5 version dist.integrity
87
- npm install --global --ignore-scripts session-peer@0.3.5
90
+ npm view session-peer@0.4.0 version dist.integrity
91
+ npm install --global --ignore-scripts session-peer@0.4.0
88
92
  session-peer --version
89
93
  ```
90
94
 
91
- 期待値は `session-peer 0.3.5 (typescript)`。
95
+ 期待値は `session-peer 0.4.0 (typescript)`。
92
96
 
93
97
  1. `session-peer list --agent claude --json` で宛先を探し、正確な PID を選びます。
94
98
  2. `session-peer send --to CLAUDE_PID --message 'Please reply after checking.' --dry-run --json` で提出せずに確認します。
@@ -107,7 +111,7 @@ npm run build
107
111
  node dist/cli.js --version
108
112
  npm pack --ignore-scripts
109
113
  # 任意のグローバルインストール前に PATH の既存コマンドを確認
110
- npm install --global --ignore-scripts ./session-peer-0.3.5.tgz
114
+ npm install --global --ignore-scripts ./session-peer-0.4.0.tgz
111
115
  session-peer --version
112
116
  ```
113
117
 
@@ -117,7 +121,7 @@ session-peer --version
117
121
 
118
122
  インストール前後に `type -a session-peer` と `command -v session-peer` を確認します。他の実装も同名コマンドを提供するため、PATH 上の一つを選ぶか `node /absolute/path/dist/cli.js` を使ってください。`--force` で他の管理ツールのファイルを上書きしないでください。Python パッケージ・スキル・サービスを自動変更しません。削除は `npm uninstall --global session-peer` を使い、PATH を再確認します。
119
123
 
120
- Windows PowerShell では `Get-Command session-peer -All` で既存コマンドを確認します。Python CLI を置換せずに試すには、`npm ci --ignore-scripts`、`npm run build`、`npm pack --ignore-scripts` の後、`npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.3.5.tgz` を実行し、`& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version` で確認します。同じ prefix の `npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer` で削除します。
124
+ Windows PowerShell では `Get-Command session-peer -All` で既存コマンドを確認します。Python CLI を置換せずに試すには、`npm ci --ignore-scripts`、`npm run build`、`npm pack --ignore-scripts` の後、`npm install --prefix "$env:TEMP\session-peer-ts-source" --ignore-scripts .\session-peer-0.4.0.tgz` を実行し、`& "$env:TEMP\session-peer-ts-source\node_modules\.bin\session-peer.cmd" --version` で確認します。同じ prefix の `npm uninstall --prefix "$env:TEMP\session-peer-ts-source" session-peer` で削除します。
121
125
 
122
126
  ## 使い方
123
127
 
@@ -202,19 +206,19 @@ npm run test:package
202
206
  npm audit
203
207
  ```
204
208
 
205
- Python は開発時の互換検証基準のみです(v1.0.2、`47c23713d0a2a3c11ebde6186afd8c43489b8b65`)。実行時依存ではありません。POSIX 契約テストには C コンパイラーと lsof も必要です。CI は三つの OS で Node 22/24 を使います。macOS/Linux は固定した基準に対する全契約・パッケージ検査、Windows x64 はビルド・型検査、ネイティブ Claude inbox、保持/未保持ロック、writer 所有権と提出直前の競合、CLI queue 結果、隔離した模擬 SSH 宛先での実 PowerShell/.cmd フレーミング、パッケージのインストール・ネイティブ読込・削除と audit を実行します。これらは fixture 検査で、Windows では POSIX/Python 参照スイートを実行しません。Windows x64/Node 24 の実機 ACK は別の一回限りの証拠です。SQLite・Unix inbox・実 lock の fixture と、専用実 TUI の証拠 [VALIDATION.md](../VALIDATION.md) は別です。fixture 成功は ACK ではありません。パッケージ内容、反復 pack ハッシュ、新規インストール、アンインストールも検証します。ネイティブ依存の通常の install script は実行せず、検証した prebuilt 経路は `--ignore-scripts` を使います。SQLite 読み取り専用接続も WAL 共有メモリー管理に関与し得るため、スナップショットではありません。
209
+ Python は開発時の比較基準です(v1.1.0、`8ca77cf31254c8287a2593fe484bb30a7dba2727`)。実行時依存ではありません。検証範囲は通常の一覧・探索結果であり、送信や handoff 全体の相互運用性を証明するものではありません。POSIX 契約テストには C コンパイラーと lsof も必要です。CI は三つの OS で Node 22/24 を使います。macOS/Linux は固定した基準に対する全契約・パッケージ検査、Windows x64 はビルド・型検査、ネイティブ Claude inbox、保持/未保持ロック、writer 所有権と提出直前の競合、CLI queue 結果、隔離した模擬 SSH 宛先での実 PowerShell/.cmd フレーミング、パッケージのインストール・ネイティブ読込・削除と audit を実行します。これらは fixture 検査で、Windows では POSIX/Python 参照スイートを実行しません。Windows x64/Node 24 の実機 ACK は別の一回限りの証拠です。SQLite・Unix inbox・実 lock の fixture と、専用実 TUI の証拠 [VALIDATION.md](../VALIDATION.md) は別です。fixture 成功は ACK ではありません。パッケージ内容、反復 pack ハッシュ、新規インストール、アンインストールも検証します。ネイティブ依存の通常の install script は実行せず、検証した prebuilt 経路は `--ignore-scripts` を使います。SQLite 読み取り専用接続も WAL 共有メモリー管理に関与し得るため、スナップショットではありません。
206
210
 
207
211
  [CONTRIBUTING.md](../CONTRIBUTING.md)、[RELEASING.md](../RELEASING.md)、[SECURITY.md](../SECURITY.md) を参照してください。今後のリリースの公開には別途承認が必要で、自動 npm 公開はありません。[MIT](../LICENSE) ライセンスです。
208
212
 
209
213
  ## npm リリース
210
214
 
211
- 公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.3.5 の現在の公開状況と npm タグを確認してください。日付付きの準備記録は、その後の公開結果を証明しません。
215
+ 公開 **0.3.2** は 2026-10-07 KST に検証されました([固定された公開記録](../VALIDATION.md#public-032--2026-10-07-kst))。以下のレジストリ照会で 0.4.0 の現在の公開状況と npm タグを確認してください。日付付きの準備記録は、その後の公開結果を証明しません。
212
216
 
213
217
  0.2.1 は 2026-09-29 KST、0.2.0 は 2026-09-28 KST に公開・検証されました。
214
218
  [0.2.1 公開記録](../VALIDATION.md#public-021--2026-09-29-kst)を参照し(以降のリリースはそれぞれ日付付きの記録を追加します)、導入前に正確なバージョンと現在のタグを確認してください。
215
219
 
216
220
  ```sh
217
- npm view session-peer@0.3.5 version dist.integrity
221
+ npm view session-peer@0.4.0 version dist.integrity
218
222
  npm view session-peer dist-tags
219
223
  ```
220
224
 
@@ -256,7 +260,7 @@ session-peer update --check --channel preview --output-format text
256
260
  実行中の CLI のパスからインストールの管理者を確実に特定できた場合にだけ示します。
257
261
  対象は、自身の `session-peer` ランチャーがこのパッケージを指す npm グローバル prefix
258
262
  (既定、Homebrew、nvm、nvm-windows、fnm。例:
259
- `npm install --global --ignore-scripts session-peer@0.3.5`)、マニフェストで
263
+ `npm install --global --ignore-scripts session-peer@0.4.0`)、マニフェストで
260
264
  `session-peer` を宣言している pnpm・Yarn・Bun のグローバルストア、Volta、npx キャッシュ
261
265
  です。プロジェクトへのインストール(`npm_project`、`pnpm_project`)、ソースチェック
262
266
  アウト(`source`)、それ以外(`unknown`)では `updateCommand: null` と `guidance` の文だけを
@@ -310,18 +314,18 @@ stderr の 1 行を出します。ホストの数にかかわらず、更新は
310
314
 
311
315
  ## エージェントスキルの明示的な導入
312
316
 
313
- 別の `session-peer-ts` スキルは [スキル 0.2.0](https://github.com/abruption/session-peer-skill/releases/tag/session-peer-ts-v0.2.0) として公開されています。バージョンは npm ランタイムとは独立しており、一方をインストールしても他方はインストールされません。Python の `session-peer` スキルも別に維持します。
317
+ 別の `session-peer-ts` スキルは [スキル 0.2.1](https://github.com/abruption/session-peer-skill/releases/tag/session-peer-ts-v0.2.1) として公開されています。バージョンは npm ランタイムとは独立しており、一方をインストールしても他方はインストールされません。Python の `session-peer` スキルも別に維持します。
314
318
 
315
- [固定したスキルのソース](https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts)を確認してから、エージェントと導入範囲を選択してください。
319
+ [固定したスキルのソース](https://github.com/abruption/session-peer-skill/tree/0f494cabd05901c03161dc91792dcf89f8e96631/session-peer-ts)を確認してから、エージェントと導入範囲を選択してください。
316
320
  以下の例は **Codex、現在のプロジェクト** を指定します。そのプロジェクトのディレクトリで実行してください。
317
321
  Claude Code では `--agent claude-code` を使用します。ユーザー単位の場合は add/list/remove の
318
322
  すべてに `--global` を付けてください。既存の `session-peer-ts` を置き換える前にローカルの変更を確認してください。
319
323
  Codex の `.agents/skills` は、このパスを探索する他のクライアントと共有されます。
320
324
 
321
- 公開 TS 0.3.3 はスキル 0.2.0 の厳密なプロファイル(`typescript`、最小 `0.1.0`、文書化した機能の参照 `0.3.2`、`probe-help`)と旧 0.1.0 プロファイルを受け入れます。公開 0.3.2 は 0.2.0 プロファイルを拒否するため、新しいスキルを使う前に元の管理ツールでランタイムを更新してください。`verification:metadata_only` を伴う `compatible` は範囲を限定したメタデータ検査であり、内容の認証、送信許可、配信・ACK の証拠ではありません。最小バージョンは基本 CLI の互換下限、全機能の参照は文書が扱う公開機能の参照バージョンです。任意機能には実際の実行ファイルの version/help とプラットフォーム・ネイティブツールの前提条件が必要です。ランタイムとスキルはそれぞれの管理ツールで別々に更新し、postinstall は追加しません。[有限の判定表と読み取りの制限](design/typescript-skill-compatibility.md)を参照してください。
325
+ 公開 TS 0.3.5 はスキル 0.2.1 の厳密なプロファイル(`typescript`、最小 `0.1.0`、文書化した機能の参照 `0.3.2`、`probe-help`)と旧 0.1.0・0.2.0 プロファイルを受け入れます。公開 TS 0.3.2・0.3.3・0.3.4 は 0.2.1 プロファイルを拒否するため、このスキルを使う前に元の管理ツールでランタイムを更新してください。`verification:metadata_only` を伴う `compatible` は範囲を限定したメタデータ検査であり、内容の認証、送信許可、配信・ACK の証拠ではありません。最小バージョンは基本 CLI の互換下限、全機能の参照は文書が扱う公開機能の参照バージョンです。いずれも doctor の受け入れ基準ではなく、受け入れはレビュー済みの有限の判定表に従います。任意機能には実際の実行ファイルの version/help とプラットフォーム・ネイティブツールの前提条件が必要です。ランタイムとスキルはそれぞれの管理ツールで別々に更新し、postinstall は追加しません。[有限の判定表と読み取りの制限](design/typescript-skill-compatibility.md)を参照してください。
322
326
 
323
327
  ```sh
324
- npx -y skills@1.7.0 add https://github.com/abruption/session-peer-skill/tree/8482cf644507c682915e35c85aa3384c53864906/session-peer-ts --skill session-peer-ts --agent codex --copy --yes
328
+ npx -y skills@1.7.0 add https://github.com/abruption/session-peer-skill/tree/0f494cabd05901c03161dc91792dcf89f8e96631/session-peer-ts --skill session-peer-ts --agent codex --copy --yes
325
329
  npx -y skills@1.7.0 list --agent codex --json
326
330
  npx -y skills@1.7.0 remove session-peer-ts --agent codex --yes
327
331
  ```
@@ -336,3 +340,19 @@ npm `--ignore-scripts` は利用でき、postinstall は Skills CLI を呼び出
336
340
 
337
341
  任意の `sp` 短縮名は 0.3.0 以降に含まれ(0.2.1 以前にはありません)、自動では有効になりません。
338
342
  [明示的な有効化・衝突・解除(英語)](shorthand.md)を参照してください。
343
+
344
+
345
+ <a id="unreleased-handoff"></a>
346
+
347
+ ## 非公開 handoff と配送観測(0.4.0)
348
+
349
+ 0.4.0 には opt-in private POSIX handoff ledger が含まれます。必須の証拠が unsupported の場合は提出前に拒否し、best-effort の提出は ACK を証明しません。自動受領確認の接続設定、Windows ledger、元の送信者側の SSH 受領確認収集は未対応です。POSIX SSH opt-in は明示的に初期化した宛先 ledger で送信しない準備を行い、対象・home・generation を固定して一度だけ送信します。[宛先側 SSH の説明](api.md#unreleased-destination-side-ssh-handoff)を参照してください。模擬 SSH fixture と実ネットワーク検証は区別します。
350
+
351
+ [CLI](api.md#unreleased-opt-in-handoff-cli--040-work)
352
+
353
+
354
+ native 観測は、macOS arm64 の厳密な Codex 0.160.1/0.162.1 と既存のメタデータ保存先に限って配送を観測します。検証根拠が保存された提出は、別の `handoff wait` で native 状態を読み取り専用で観測できます。この操作は非公開 ledger に待機・終了記録を保存しますが、native 提出は繰り返しません。各待機は自分の期限だけで判定し、他の待機と過去の終了結果を保持します。専用の新規 Codex 0.162.1・Claude Code 2.1.296 セッションによる実機根拠と合成テストを区別します。queued/posted、注入、ターン終了、通常の返信は受領確認 ACK ではありません。自動 ACK と Windows handoff は未対応です。
355
+
356
+ [Observation](api.md#unreleased-local-delivery-observation--72)
357
+
358
+ Linux・Windows の native 注入観測は未対応です。対応する POSIX ledger では、運用者が明示的に確認した受領を `operator_confirmed` として記録できますが、自動 ACK 収集ではありません。0.4.0 の範囲は、検証済みの macOS 観測と明示的な運用者確認です。Linux・Windows 観測と receipt bootstrap は [#130](https://github.com/abruption/session-peer-ts/issues/130)、[#131](https://github.com/abruption/session-peer-ts/issues/131)、[#132](https://github.com/abruption/session-peer-ts/issues/132) の後続作業です。