session-peer 0.5.1 → 0.6.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/CONTRIBUTING.md +26 -0
- package/PARITY.md +134 -4
- package/README.ja.md +12 -8
- package/README.ko.md +12 -8
- package/README.md +12 -8
- package/README.zh-CN.md +12 -8
- package/RELEASING.md +142 -0
- package/VALIDATION.md +154 -2
- package/dist/app-server.d.ts +10 -2
- package/dist/app-server.js +115 -53
- package/dist/cli.js +54 -4
- package/dist/codex-storage.d.ts +46 -0
- package/dist/codex-storage.js +447 -0
- package/dist/diagnostics.js +23 -102
- package/dist/discovery.d.ts +32 -1
- package/dist/discovery.js +405 -89
- package/dist/handoff-operations.js +40 -10
- package/dist/help.js +18 -2
- package/dist/macos-acl.d.ts +10 -0
- package/dist/macos-acl.js +75 -0
- package/dist/output.js +6 -1
- package/dist/process.d.ts +1 -0
- package/dist/process.js +1 -1
- package/dist/protocol.d.ts +2 -2
- package/dist/protocol.js +1 -1
- package/dist/receipt-collector.d.ts +12 -0
- package/dist/receipt-collector.js +283 -0
- package/dist/receipt-command.d.ts +10 -0
- package/dist/receipt-command.js +246 -0
- package/dist/receipt-producer.d.ts +7 -0
- package/dist/receipt-producer.js +107 -0
- package/dist/receipt-protocol.d.ts +219 -0
- package/dist/receipt-protocol.js +374 -0
- package/dist/receipt-send.d.ts +26 -0
- package/dist/receipt-send.js +375 -0
- package/dist/receipt-state.d.ts +89 -0
- package/dist/receipt-state.js +503 -0
- package/dist/receipt-store.d.ts +32 -0
- package/dist/receipt-store.js +286 -0
- package/dist/replies.js +3 -1
- package/dist/send.d.ts +14 -3
- package/dist/send.js +165 -63
- package/dist/skill-metadata.js +5 -3
- package/docs/api.md +155 -7
- package/docs/design/remote-deployment.md +8 -0
- package/docs/design/typescript-skill-compatibility.md +50 -0
- package/docs/guide.ja.md +47 -15
- package/docs/guide.ko.md +50 -19
- package/docs/guide.md +48 -16
- package/docs/guide.zh-CN.md +47 -15
- package/docs/shorthand.md +1 -1
- package/package.json +5 -3
package/CONTRIBUTING.md
CHANGED
|
@@ -56,6 +56,32 @@ that invokes actual PowerShell; no live sessions or network destinations.
|
|
|
56
56
|
Keep `package-lock.json` tracked. Do not commit dist, node_modules, local
|
|
57
57
|
worktrees, credentials, agent state, transcripts or real test evidence.
|
|
58
58
|
|
|
59
|
+
## Current version maintenance
|
|
60
|
+
|
|
61
|
+
For a source checkout, package.json is the current-version source. Update package
|
|
62
|
+
and lock metadata together through the normal npm workflow, then run:
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
npm run version:update
|
|
66
|
+
npm run version:check
|
|
67
|
+
node scripts/check-repository.mjs
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
The explicit `scripts/current-version-fields.json` inventory covers runtime
|
|
71
|
+
VERSION and selected current examples in the four READMEs/guides, API/shorthand
|
|
72
|
+
references and PARITY's current display. Only `{{version}}` spans change; the
|
|
73
|
+
rest of each authored line is checked exactly. Edit the matching inventory entry
|
|
74
|
+
when changing an owned translated line. Missing or unexpected matches refuse
|
|
75
|
+
before writes. The check is non-mutating and runs in the normal repository CI.
|
|
76
|
+
See `scripts/current-version.md` in the source checkout and
|
|
77
|
+
[issue #168](https://github.com/abruption/session-peer-ts/issues/168) for the
|
|
78
|
+
inventory boundary and synthetic build/package acceptance.
|
|
79
|
+
|
|
80
|
+
Dated comparison/release evidence, native/Python/skill versions and hashes,
|
|
81
|
+
finite compatibility rows, release policy and installation pins are reviewed
|
|
82
|
+
separately. The updater does not approve a release or extend compatibility.
|
|
83
|
+
Inspect the diff and rerun build/package checks before proposing a release.
|
|
84
|
+
|
|
59
85
|
## Safety and documentation
|
|
60
86
|
|
|
61
87
|
Preserve actual flock/owner evidence, ambiguity rejection, pre-submit revalidation,
|
package/PARITY.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Python compatibility and npm migration
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
## 0.5.2 storage guards and release consistency — 2026-10-30 KST
|
|
5
|
+
|
|
6
|
+
The 0.5.2 source carries the storage guards and scoped maintenance work from
|
|
7
|
+
[#169](https://github.com/abruption/session-peer-ts/pull/169). Doctor and dispatch
|
|
8
|
+
share bounded local configuration-layer inspection for exact Codex loader
|
|
9
|
+
versions 0.160.1, 0.162.1 and 0.165.0. Canonical executable, saved/live cwd,
|
|
10
|
+
original writer and opened-store evidence are rechecked before native effect;
|
|
11
|
+
unknown outcomes still do not authorize fallback or resend.
|
|
12
|
+
|
|
13
|
+
**Availability change:** ordinary Codex sends refuse signed-in file-auth homes,
|
|
14
|
+
keyring/auto or other cloud-unclassifiable contexts without reading credentials.
|
|
15
|
+
A separately qualified owned stdio route requires actual opened-storage binding.
|
|
16
|
+
Windows Codex send/dry-run refuse while local storage classification is
|
|
17
|
+
unqualified. Configuration symlinks, missing consumer context or trusted system
|
|
18
|
+
metadata tools, and unclassified daemon/remote contexts can also refuse.
|
|
19
|
+
Conservative project/selector inspection can reject unused settings. These
|
|
20
|
+
refusals are not new platform/native/MDM/ACK qualification; see the
|
|
21
|
+
[storage scope](docs/api.md#codex-storage-configuration).
|
|
22
|
+
|
|
23
|
+
The current feature matrix below retains its exact dated TS/Python comparison
|
|
24
|
+
baseline and explicit defer decisions; it is not silently repinned to a newer
|
|
25
|
+
Python oracle. The source-only current-version updater changes registered
|
|
26
|
+
current spans while preserving historical evidence and independent pins.
|
|
27
|
+
|
|
28
|
+
[#160](https://github.com/abruption/session-peer-ts/pull/160) adds a repository-only
|
|
29
|
+
read-only qualification reporter and checklist. They do not add an installed
|
|
30
|
+
CLI command/SDK operation or prove runtime readiness, ownership or qualification;
|
|
31
|
+
the reporter and its two design documents are excluded from the npm archive.
|
|
32
|
+
The deferred deployment/recovery harness #155 and research #82/#142 remain
|
|
33
|
+
excluded. The finite 0.5.2 skill row carries exactly the four profiles from
|
|
34
|
+
0.5.1; no skill publication, installation pin or native observation row changes.
|
|
35
|
+
SSH endpoints must both use exactly 0.5.2. Check the selected release record for
|
|
36
|
+
publication and exact artifact verification.
|
|
37
|
+
|
|
3
38
|
## 0.5.1 parser correctness patch — 2026-10-27 KST
|
|
4
39
|
|
|
5
40
|
Issue #163 updates only the TOML parser dependency from 1.9.0 to 1.9.1.
|
|
@@ -52,7 +87,87 @@ observation and explicit operator-confirmed receipt scope below; #130–#132
|
|
|
52
87
|
remain separate platform/collector extensions. Published skill 0.2.1 remains
|
|
53
88
|
the installation pin; runtime publication is not companion-skill publication.
|
|
54
89
|
|
|
55
|
-
|
|
90
|
+
<a id="current-scoped-feature-matrix"></a>
|
|
91
|
+
## Current scoped feature matrix
|
|
92
|
+
|
|
93
|
+
Current source/package version: **0.6.0**.
|
|
94
|
+
|
|
95
|
+
Reviewed **2026-10-29 KST** against TS **0.5.1** source
|
|
96
|
+
[`90481b148584926ea328ed956327f3050d9be9cb`](https://github.com/abruption/session-peer-ts/tree/90481b148584926ea328ed956327f3050d9be9cb)
|
|
97
|
+
and Python **1.3.2** source
|
|
98
|
+
[`f5e7c49554ff02771990a151e00b52f2abf3df0a`](https://github.com/abruption/session-peer/tree/f5e7c49554ff02771990a151e00b52f2abf3df0a),
|
|
99
|
+
also the [published Python v1.3.2 release](https://github.com/abruption/session-peer/releases/tag/v1.3.2).
|
|
100
|
+
The version display above is maintained separately; changing it does not refresh
|
|
101
|
+
this dated source review. This matrix describes the reviewed TS baseline;
|
|
102
|
+
branch proposals and later publications require their own evidence. Source and
|
|
103
|
+
GitHub-state inspection adds no test, live delivery, ACK or platform qualification.
|
|
104
|
+
|
|
105
|
+
**Shipped** means the bounded TS behavior exists in that baseline. **Partial**
|
|
106
|
+
means only the stated subset exists. **Intentional difference** is a maintained
|
|
107
|
+
contract choice. **Not planned** records an explicit disposition. **Undecided**
|
|
108
|
+
means no TS implementation scope has been approved, including deferred evaluation.
|
|
109
|
+
An issue or Python feature alone does not authorize implementation.
|
|
110
|
+
|
|
111
|
+
| Surface | Reviewed TS behavior and Python comparison | Status / boundary |
|
|
112
|
+
| --- | --- | --- |
|
|
113
|
+
| Ordinary discovery, input and submission | Unified Claude/Codex list, bounded Codex-home inventory, text/JSON and positional/stdin input, Unicode name matching, Claude inbox and guarded Codex queue submission | Shipped within existing platform/native contracts; submission never proves consumption |
|
|
114
|
+
| macOS Claude Orca profiles | Source adds bounded known Orca profile inventory when no explicit Claude directory override is set; original registry provenance follows selection and handoff revalidation. The dated 0.5.1 baseline above used one selected/default registry; Python comparison remains pinned to [f5e7c49](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/claude.py#L44-L84). | [#165](https://github.com/abruption/session-peer-ts/issues/165) source extension; incomplete/conflicting inventory refuses send; no additional native/ACK qualification |
|
|
115
|
+
| Codex storage classification | TS rejects selected-home root `sqlite_home` and malformed TOML, and strips `CODEX_SQLITE_HOME` from native child environments; Python additionally checks system/requirements, managed-preference and project/cwd layers ([TS source](https://github.com/abruption/session-peer-ts/blob/90481b148584926ea328ed956327f3050d9be9cb/src/discovery.ts#L13-L24), [Python source](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/codex.py#L272-L494)) | Partial in published baseline; post-baseline #166 source adds bounded local-layer classification and refusal of unclassifiable storage ([scope](docs/api.md#codex-storage-configuration)). Selected-home or local-layer validation is not whole effective-storage attestation |
|
|
116
|
+
| Doctor and return routes | Read-only local/SSH diagnostics, generated From/Reply-To metadata, explicit reply URI and opt-in return-route probe | Shipped bounded behavior; no executable `Reply:` instruction or Antigravity sender identity |
|
|
117
|
+
| Ordered SSH and typed jump | Repeated hosts, allowlisted options, IPv6 and POSIX-client single-hop jump; Windows-client jump refuses before effect | Partial; remaining Windows-client qualification in [#20](https://github.com/abruption/session-peer-ts/issues/20); no arbitrary options or multi-hop |
|
|
118
|
+
| Remote deployment | TS requires an installed CLI and exactly matching TS versions; Python streams its standalone source | Intentional difference; [#23](https://github.com/abruption/session-peer-ts/issues/23) / [remote deployment design](docs/design/remote-deployment.md) remain bounded follow-ups, with no automatic deployment/update or version-range compatibility |
|
|
119
|
+
| Updates and notice suppression | npm-aware `update --check` and manager guidance; cached runtime notices opt in with `SESSION_PEER_UPDATE_NOTICE=1`, and honor `--no-update-notice` and `SESSION_PEER_NO_UPDATE_NOTICE` ([source](https://github.com/abruption/session-peer-ts/blob/90481b148584926ea328ed956327f3050d9be9cb/src/updates.ts#L289-L291)) | Intentional difference from Python's default-on runtime/skill notices and standalone update paths; existing suppression shipped in #22/#85; no self-update, remote push or skill notices |
|
|
120
|
+
| Handoff and observation | Private correlated intents and explicit operator-confirmed receipt; exact macOS arm64 Codex 0.160.1/0.162.1 observation only | Partial; Linux [#130](https://github.com/abruption/session-peer-ts/issues/130), Windows [#131](https://github.com/abruption/session-peer-ts/issues/131) and authenticated receipt producer/collector [#132](https://github.com/abruption/session-peer-ts/issues/132) remain separate. No automatic ACK, consumption or exactly-once guarantee |
|
|
121
|
+
| Public execution API | Package root exports pure protocol helpers, not a reusable execution/adapter API | Partial; [#24](https://github.com/abruption/session-peer-ts/issues/24) retains validation, permission and single-attempt boundaries |
|
|
122
|
+
| Companion skill | Separately installed TS skill with immutable guidance pin and finite exact metadata profiles | Intentional difference; runtime publication does not publish/update the skill or authenticate its contents |
|
|
123
|
+
| Paired devices, relay and recovery | Python exposes optional device/relay/setup workflows; TS has no equivalent | Not planned; [#29](https://github.com/abruption/session-peer-ts/issues/29), [#30](https://github.com/abruption/session-peer-ts/issues/30), [#31](https://github.com/abruption/session-peer-ts/issues/31), [#32](https://github.com/abruption/session-peer-ts/issues/32) are closed as not planned; historical Planned rows below are not the current roadmap |
|
|
124
|
+
| Wake, Antigravity and MCP integration | No TS wake/resume, Antigravity adapter or policy-restricted MCP server | Undecided implementation scope; [#27](https://github.com/abruption/session-peer-ts/issues/27), [#28](https://github.com/abruption/session-peer-ts/issues/28), [#26](https://github.com/abruption/session-peer-ts/issues/26) track separate work; no inferred Python feature parity |
|
|
125
|
+
| Newer Python convenience workflows | Route presets/saved recipients, explain, explicit trusted SSH config and persistent per-version runtime-notice dismissal are absent from the [TS command/options inventory](https://github.com/abruption/session-peer-ts/blob/90481b148584926ea328ed956327f3050d9be9cb/src/cli.ts#L19-L29) | Undecided eventual scope; explicit defer decisions below |
|
|
126
|
+
|
|
127
|
+
The published 0.5.1 storage coverage gap above is separate from the #166
|
|
128
|
+
implementation added after baseline `90481b1`. Its public availability is
|
|
129
|
+
determined by the selected release record; source/fixture evidence is not a
|
|
130
|
+
publication or native-loader qualification. The source guard's [actual scope](docs/api.md#codex-storage-configuration)
|
|
131
|
+
classifies source-qualified local layers and retains opened-file evidence. It
|
|
132
|
+
refuses ordinary signed-in/possibly cloud-managed homes when classification would
|
|
133
|
+
require reading credentials; the owned app-server path needs actual storage binding.
|
|
134
|
+
Windows Codex dispatch remains unqualified and refuses before queueing. Python's
|
|
135
|
+
broader checks also explicitly exclude some effective
|
|
136
|
+
storage sources; they are not a whole-runtime storage attestation.
|
|
137
|
+
|
|
138
|
+
### Product decisions for newer Python workflows — 2026-10-29 KST
|
|
139
|
+
|
|
140
|
+
These are **defer** decisions for this patch, not promises to port. Any later
|
|
141
|
+
implementation needs a focused scope and separate approval; this comparison
|
|
142
|
+
creates no new feature implementation or automatic follow-up issue.
|
|
143
|
+
|
|
144
|
+
| Workflow / pinned Python evidence | Decision and prerequisite for reconsideration |
|
|
145
|
+
| --- | --- |
|
|
146
|
+
| [Route presets and saved addresses](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L138-L215), [address commands](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L318-L340) | Defer. Decide private local storage, route-versus-recipient identity, revision checks and explicit target confirmation before proposing a port. Existing reply URIs are not saved-address support |
|
|
147
|
+
| [Delivery/diagnostic explain](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L194-L196), [handoff status explain](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L228-L229) | Defer. Define a read-only explanation of existing evidence without promoting queue, turn completion or arbitrary replies to delivery/ACK. Current text output and doctor remain available |
|
|
148
|
+
| [Operator-trusted SSH config](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L258-L263) | Defer. Explicit trust would authorize local executable SSH configuration, including during inspection/dry-run; it needs a separate consent and execution contract. Existing user/system SSH configuration already remains an operator trust boundary. Constrained options and typed jump do not provide Python's additional `--ssh-config` / `--trust-ssh-config` workflow |
|
|
149
|
+
| [Persistent per-version runtime-notice dismissal](https://github.com/abruption/session-peer/blob/f5e7c49554ff02771990a151e00b52f2abf3df0a/session_peer_core/cli.py#L245-L255) | Defer. Specify private version-scoped persistence, reset and interaction with opt-in notices first. This differs from the already supported TS `--no-update-notice` and `SESSION_PEER_NO_UPDATE_NOTICE`; no dismissal flag is advertised for TS |
|
|
150
|
+
|
|
151
|
+
### Comparison evidence and retained history
|
|
152
|
+
|
|
153
|
+
The ordinary test oracle remains Python **1.1.0** / commit
|
|
154
|
+
`8ca77cf31254c8287a2593fe484bb30a7dba2727`, scoped to
|
|
155
|
+
`ordinary-list-discovery-projection` in
|
|
156
|
+
[`python-reference.pin.json`](test/fixtures/python-reference.pin.json).
|
|
157
|
+
This Python 1.3.2 static review does not repin that oracle, fixtures, CI or
|
|
158
|
+
runtime `referenceVersion`; ordinary listing evidence does not establish
|
|
159
|
+
send/handoff/SSH interoperability. The frozen handoff design bytes, hashes and
|
|
160
|
+
historical Python 1.0.3 baseline also remain unchanged.
|
|
161
|
+
|
|
162
|
+
See the [dated ordinary comparison](#ordinary-python-110-comparison--2026-10-20-kst),
|
|
163
|
+
[historical 0.3.x context](#historical-03x-comparison-context),
|
|
164
|
+
[historical feature matrix](#feature-and-command-matrix) and
|
|
165
|
+
[frozen handoff checkpoint](#published-python-handoff-checkpoint--2026-10-11).
|
|
166
|
+
Their dated release, planned-work and test claims retain their original scope.
|
|
167
|
+
|
|
168
|
+
<a id="current-comparison--python-110--typescript-050"></a>
|
|
169
|
+
|
|
170
|
+
## Ordinary Python 1.1.0 comparison — 2026-10-20 KST
|
|
56
171
|
|
|
57
172
|
Updated 2026-10-20 KST. TypeScript 0.5.0 uses published
|
|
58
173
|
Python **1.1.0**, commit
|
|
@@ -198,6 +313,12 @@ Historical 0.2.0 source anchors and the then-pinned Python oracle:
|
|
|
198
313
|
| CLI ownership | Both distributions install `session-peer`; npm does not remove Python/uv/pipx/venv installations. Select one path deliberately and update it through its owning manager. |
|
|
199
314
|
| Skills | Install separately and explicitly; no package `postinstall` downloads a skill or invokes another package manager. |
|
|
200
315
|
|
|
316
|
+
## Claude profile discovery — #165 source scope
|
|
317
|
+
|
|
318
|
+
With neither nonempty Claude directory override set, inventory includes the default `~/.claude/sessions` and the immediate `home/sessions` directories of known macOS Orca profiles under `~/Library/Application Support/orca/claude-profiles`. `CLAUDE_CONFIG_DIR` takes precedence over `ANTHROPIC_CONFIG_DIR`; an explicit nonempty override excludes all other Claude registries. Other platforms retain single-directory discovery. Inventory processes at most 128 Orca profile entries and 4,096 registry entries in total, including non-record entries; enumeration reads one extra entry to detect limit exhaustion, each registration JSON remains limited to 1 MiB. Limit exhaustion is incomplete inventory. Automatic profile directories and registry records require current-user ownership and no group/world write permissions, including when a default-path alias reaches the same automatic source; unsafe automatic evidence is incomplete. macOS extended ACLs on automatic sources are conservatively rejected, including owner-only entries. The fixed `/bin/ls -ldebn` metadata helper uses bounded path batches, output and a five-second inspection budget; unknown inspection is incomplete inventory. This is not an agent invocation or an arbitrary-kernel-I/O deadline guarantee. This does not silently strengthen the legacy default/explicit-only policy or establish hostile-same-user protection. This is not a recursive disk scan or a claim of additional native platform qualification.
|
|
319
|
+
|
|
320
|
+
Successful rows survive incomplete inventory, but listing reports failure and neither target selection nor inferred sender identity may use an incomplete or conflicting inventory. Aliases of the same canonical registry merge; distinct live records claiming the same PID or endpoint remain conflicts even if their text matches; conflicting PID, socket-string or underlying endpoint claims never select a winner by traversal order. Ordinary name ambiguity still refuses. Original registry provenance remains private continuity evidence through selection and the final pre-submission recheck; it does not create an authenticated model identity or a public generation. Listing and dry-run never connect to an inbox. Ordinary posted/queued and ACK semantics remain unchanged.
|
|
321
|
+
|
|
201
322
|
## Source unified listing contract — #16 / 0.2.0
|
|
202
323
|
|
|
203
324
|
`node dist/cli.js list --json` combines Claude and saved Codex rows. Use
|
|
@@ -622,13 +743,12 @@ it does not replace send's stricter competitor checks. Codex executable paths
|
|
|
622
743
|
are inspected for accessibility and never executed, even with `--codex-bin`.
|
|
623
744
|
An accessible DB and executable do not verify a live writer (`writerVerified:false`).
|
|
624
745
|
|
|
625
|
-
Claude
|
|
626
|
-
process identity and inbox metadata. POSIX checks the socket file; Windows checks
|
|
746
|
+
The #165 source shares Claude inventory across list, send, sender detection and doctor: bounded numeric session records (regular files, maximum 1 MiB), process identity and inbox metadata. Earlier doctor revisions used a separate 64 KiB reader. POSIX checks the socket file; Windows checks
|
|
627
747
|
process identity and a named-pipe advertisement, **not pipe existence or availability
|
|
628
748
|
for connection**. `verification` states this distinction. Invalid records and
|
|
629
749
|
unknown/permission inspections are counted. There is no inbox connection, queue
|
|
630
750
|
submission, lock acquisition, chmod, configuration mutation, wake, login, or
|
|
631
|
-
credential read. Native process arguments, stderr and session names/bodies are
|
|
751
|
+
standalone credential-store read. Session-registration JSON may contain extra fields; raw records are not persisted or emitted by doctor. Native process arguments, stderr and session names/bodies are
|
|
632
752
|
not emitted. Host/home and executable paths are intentionally reported.
|
|
633
753
|
|
|
634
754
|
`capabilities` describes implementation support: `list/send/doctor:true`,
|
|
@@ -1285,6 +1405,8 @@ scope, not a publication claim or blanket Python runtime parity.
|
|
|
1285
1405
|
| Windows handoff storage | Required capability reports unsupported; ordinary published Windows send/SSH are separate | Private DACL/reparse storage and owned cleanup qualification [#131](https://github.com/abruption/session-peer-ts/issues/131) |
|
|
1286
1406
|
| SSH handoff | Explicit same-version destination preparation/ledger, strict binding and one send; unsupported goals refuse before effect | Real remote native client-ID observation remains unqualified; actual Linux queues/manual ACK do not establish it |
|
|
1287
1407
|
|
|
1408
|
+
The [#132 local receipt-bootstrap design proposal](https://github.com/abruption/session-peer-ts/blob/db11695d7c33ef375f62eb099497cb1a6b27c4cd/docs/design/receipt-bootstrap.md) records the owner-selected manual collector and explicit authority delegation, with a separate proposed Claude receipt-context contract. It does not enable a producer/collector, change v1 generation rules or qualify a platform.
|
|
1409
|
+
|
|
1288
1410
|
An automatic receipt collector, if later implemented, still records only a
|
|
1289
1411
|
receiver's explicit receipt. Visible replies, arbitrary message text, queue
|
|
1290
1412
|
deletions and turn completion never authorize ACK promotion. The frozen design
|
|
@@ -1304,3 +1426,11 @@ the exact proposed skill 0.3.0/min0.1.0/full0.4.0/probe-help tuple after design/
|
|
|
1304
1426
|
review of the complete Draft #37 fixture. That fixture is not a published skill
|
|
1305
1427
|
or installation pin; final skill bytes require renewed exact review. A new runtime
|
|
1306
1428
|
version is never automatically compatible by numerical ordering.
|
|
1429
|
+
|
|
1430
|
+
## Explicit local receipts — #132 source implementation
|
|
1431
|
+
|
|
1432
|
+
The implementation candidate follows the owner-selected [local bootstrap design](https://github.com/abruption/session-peer-ts/blob/d922d6e20345f10b914ee9cf4da40476fd044f5d/docs/design/receipt-bootstrap.md): manual local collector, explicit private-input authority delegation and a separately invoked receipt-only handler. Existing generation-bound Codex v1 semantics remain intact; Claude delegated-context v2 keeps native generation unknown and proves only token possession. This is separate from manual `operator_confirmed` evidence.
|
|
1433
|
+
|
|
1434
|
+
Managed format-2 state has one live collector owner and no migration/import/recovery path. Original user-payload digests remain privately encrypted; raw capability values are never persisted by sender/collector. Fast pre-outcome receipts cannot promote an unknown native submission, reopen an effect fence or rewrite terminal wait results. Receipt/status/wait operations have no native submission path. Codex token delivery uses qualified private-stdin RPC only; ordinary argv-based queue submission is never a token-bearing fallback.
|
|
1435
|
+
|
|
1436
|
+
The [operator guide](docs/guide.md#explicit-local-receipts) and [API contract](docs/api.md#explicit-local-receipt-bootstrap-source-implementation) describe the opt-in scope. Existing platform/native qualification, same-version SSH rules and independent skill pins remain unchanged. Windows managed storage, reverse-SSH collectors, automatic services, wake, automatic model ACK, resend and exactly-once claims remain outside this implementation. Transcript-derived Claude observation #73 was explicitly closed NO-GO; that decision does not prohibit voluntary receipt submission.
|
package/README.ja.md
CHANGED
|
@@ -14,15 +14,19 @@
|
|
|
14
14
|
|
|
15
15
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
16
16
|
|
|
17
|
-
**文書・ソースのバージョン: 0.
|
|
17
|
+
**文書・ソースのバージョン: 0.6.0。** インストール前に、選択したリリースとレジストリのメタデータを確認してください。日付付きの準備・検証記録は [VALIDATION.md](VALIDATION.md)、リリース手順は [RELEASING.md](RELEASING.md) にあります。SSH の両端には同じ TypeScript クライアントのバージョンが必要で、0.3.6 と 0.6.0 は互いの SSH 事前確認を拒否します。
|
|
18
18
|
|
|
19
|
-
**0.4.0 handoff の範囲:** 任意の native 観測は macOS arm64 の厳密な Codex 0.160.1/0.162.1 に限定し、明示的な `operator_confirmed` 受領確認には対応する POSIX ledger を使います。Linux・Windows の native 観測と自動 ACK 収集は未対応です。 0.
|
|
19
|
+
**0.4.0 handoff の範囲:** 任意の native 観測は macOS arm64 の厳密な Codex 0.160.1/0.162.1 に限定し、明示的な `operator_confirmed` 受領確認には対応する POSIX ledger を使います。Linux・Windows の native 観測と自動 ACK 収集は未対応です。 0.6.0 のソースは選択できない Linux arm64 の Codex 0.162.1 候補(固定された上流 `aarch64-unknown-linux-musl` 実行ファイル、スキーマ、注入テスト 1 回)を記録しますが、Linux 観測を有効化しません。Linux の native 観測は引き続き未対応です。
|
|
20
20
|
|
|
21
21
|
**実行中の Claude Code・Codex セッションを見つけ、ローカルまたは SSH でメッセージを送信します。**
|
|
22
22
|
Python 不要の Node.js クライアントです。パッケージ名とコマンド名は `session-peer` です。
|
|
23
23
|
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
|
+
通常の Codex 送信は、ログイン済み home などクラウドポリシーの適用範囲を判定できない場合も拒否します。経路を選ぶ前に[ストレージ検証の範囲](docs/api.md#codex-storage-configuration)を確認してください。
|
|
27
|
+
|
|
28
|
+
このソースは Codex の追加設定レイヤーを確認します。Windows の Codex 送信・dry-run はローカルストレージ検査が未検証のためキュー提出前に拒否し、通常の Claude 経路とは区別します。導入前に[検証範囲](docs/api.md#codex-storage-configuration)と選択したリリースを確認してください。
|
|
29
|
+
|
|
26
30
|
## Demo
|
|
27
31
|
|
|
28
32
|

|
|
@@ -57,15 +61,15 @@ SSH は既存の鍵・ホスト信頼設定と両端の**同じバージョン
|
|
|
57
61
|
`Get-Command session-peer -All` で PATH を確認してください。利用する実装を選び、
|
|
58
62
|
別の管理ツールのファイルを `--force` で上書きしないでください。
|
|
59
63
|
|
|
60
|
-
**0.
|
|
64
|
+
**0.6.0 のインストール:** npm の導入・更新例を実行する前に、レジストリで公開状況と選択したリリースを確認してください。利用できない場合は[レビュー済みソースビルド](docs/guide.ja.md#ソースからビルド)を使います。
|
|
61
65
|
|
|
62
66
|
```sh
|
|
63
|
-
npm view session-peer@0.
|
|
64
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
67
|
+
npm view session-peer@0.6.0 version dist.integrity
|
|
68
|
+
npm install --global --ignore-scripts session-peer@0.6.0
|
|
65
69
|
session-peer --version
|
|
66
70
|
```
|
|
67
71
|
|
|
68
|
-
期待する出力: `session-peer 0.
|
|
72
|
+
期待する出力: `session-peer 0.6.0 (typescript)`。分離インストール・ソースビルド・
|
|
69
73
|
Windows・削除の手順は以下の詳細ガイドを参照してください。
|
|
70
74
|
|
|
71
75
|
任意の `sp` 短縮名は 0.3.0 以降に含まれ(0.2.1 以前にはありません)、自動では有効になりません。
|
|
@@ -74,12 +78,12 @@ Windows・削除の手順は以下の詳細ガイドを参照してください
|
|
|
74
78
|
### Update
|
|
75
79
|
|
|
76
80
|
npm で導入したクライアントは npm で更新します。タグと対象バージョンを確認してから
|
|
77
|
-
正確なバージョンを指定してください。以下は古い npm 版を選択した 0.
|
|
81
|
+
正確なバージョンを指定してください。以下は古い npm 版を選択した 0.6.0 に更新する例です。
|
|
78
82
|
CLI は更新をインストールせず、`session-peer update --check` は確認のみ行います。
|
|
79
83
|
|
|
80
84
|
```sh
|
|
81
85
|
npm view session-peer dist-tags
|
|
82
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
86
|
+
npm install --global --ignore-scripts session-peer@0.6.0
|
|
83
87
|
session-peer --version
|
|
84
88
|
```
|
|
85
89
|
|
package/README.ko.md
CHANGED
|
@@ -17,11 +17,15 @@ Python을 설치하지 않아도 Node.js에서 실행되는 TypeScript 클라이
|
|
|
17
17
|
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
|
+
일반 Codex 전송은 로그인 home 등 클라우드 정책 적용 여부를 분류할 수 없는 경우에도 거부합니다. 경로를 선택하기 전에 [저장소 검증 범위](docs/api.md#codex-storage-configuration)를 확인하세요.
|
|
21
|
+
|
|
22
|
+
이 소스는 Codex의 추가 설정 계층을 검사합니다. Windows Codex 전송과 dry-run은 로컬 저장소 검사 방식이 검증될 때까지 큐 제출 전에 거부하며, 일반 Claude 경로는 별도입니다. 설치 전에 [검증 범위](docs/api.md#codex-storage-configuration)와 선택한 릴리스를 확인하세요.
|
|
23
|
+
|
|
20
24
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
21
25
|
|
|
22
|
-
**문서·소스 기준 버전: 0.
|
|
26
|
+
**문서·소스 기준 버전: 0.6.0.** 설치 전에 선택한 릴리스와 레지스트리 메타데이터를 확인하세요. 날짜별 준비·검증 기록은 [VALIDATION.md](VALIDATION.md), 릴리스 절차는 [RELEASING.md](RELEASING.md)에 있습니다. SSH 양쪽에는 같은 TypeScript 클라이언트 버전이 필요하며, 0.3.6 버전과 0.6.0 버전은 서로의 SSH 사전 확인을 거부합니다.
|
|
23
27
|
|
|
24
|
-
**0.4.0 handoff 범위:** 선택 기능인 native 관측은 macOS arm64의 정확한 Codex 0.160.1/0.162.1에 한정되며, 명시적 `operator_confirmed` 수령 확인에는 지원되는 POSIX ledger를 사용합니다. Linux·Windows의 native 관측과 자동 ACK 수집은 미지원입니다. 0.
|
|
28
|
+
**0.4.0 handoff 범위:** 선택 기능인 native 관측은 macOS arm64의 정확한 Codex 0.160.1/0.162.1에 한정되며, 명시적 `operator_confirmed` 수령 확인에는 지원되는 POSIX ledger를 사용합니다. Linux·Windows의 native 관측과 자동 ACK 수집은 미지원입니다. 0.6.0 소스는 선택할 수 없는 Linux arm64 Codex 0.162.1 후보(고정된 업스트림 `aarch64-unknown-linux-musl` 실행 파일, 스키마, 주입 테스트 1회)를 기록하며 Linux 관측을 활성화하지 않습니다. Linux native 관측은 계속 미지원입니다.
|
|
25
29
|
|
|
26
30
|
<a id="demo"></a>
|
|
27
31
|
## 시연
|
|
@@ -66,15 +70,15 @@ PowerShell에서는 `Get-Command session-peer -All`로 PATH(명령 검색 경로
|
|
|
66
70
|
실행 파일을 찾는지 확인하세요. 사용할 구현을 선택하고 다른 패키지 관리자가 설치한
|
|
67
71
|
파일을 `--force`로 덮어쓰지 마세요. 설치와 갱신은 사용자가 npm으로 직접 수행합니다.
|
|
68
72
|
|
|
69
|
-
**0.
|
|
73
|
+
**0.6.0 설치:** npm 설치·업데이트 예시를 실행하기 전에 레지스트리 제공 여부와 선택한 릴리스를 확인하세요. 해당 버전이 제공되지 않으면 [검토한 소스 빌드](docs/guide.ko.md#소스에서-빌드)를 사용하세요.
|
|
70
74
|
|
|
71
75
|
```sh
|
|
72
|
-
npm view session-peer@0.
|
|
73
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
76
|
+
npm view session-peer@0.6.0 version dist.integrity
|
|
77
|
+
npm install --global --ignore-scripts session-peer@0.6.0
|
|
74
78
|
session-peer --version
|
|
75
79
|
```
|
|
76
80
|
|
|
77
|
-
예상 결과는 `session-peer 0.
|
|
81
|
+
예상 결과는 `session-peer 0.6.0 (typescript)`입니다. 별도 경로에 설치하거나,
|
|
78
82
|
소스에서 빌드하거나, Windows에서 설치·제거하는 방법은 [사용자 가이드](docs/guide.ko.md#설치)를 참고하세요.
|
|
79
83
|
|
|
80
84
|
선택 사항인 `sp` 단축 명령은 0.3.0 이상에 포함되며(0.2.1 이하에는 없음) 자동으로
|
|
@@ -85,13 +89,13 @@ session-peer --version
|
|
|
85
89
|
### 업데이트
|
|
86
90
|
|
|
87
91
|
npm으로 설치한 클라이언트는 사용자가 직접 npm으로 업데이트합니다. 사용 가능한 배포 태그
|
|
88
|
-
(dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는 이전 npm 설치본을 선택한 0.
|
|
92
|
+
(dist-tag)와 대상 버전을 확인한 뒤 해당 버전을 지정해 설치하세요. 아래 예시는 이전 npm 설치본을 선택한 0.6.0 버전으로
|
|
89
93
|
업데이트합니다. `session-peer` CLI는 업데이트를 설치하지 않습니다. `session-peer
|
|
90
94
|
update --check`는 새 버전이 있는지 확인할 뿐입니다.
|
|
91
95
|
|
|
92
96
|
```sh
|
|
93
97
|
npm view session-peer dist-tags
|
|
94
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
98
|
+
npm install --global --ignore-scripts session-peer@0.6.0
|
|
95
99
|
session-peer --version
|
|
96
100
|
```
|
|
97
101
|
|
package/README.md
CHANGED
|
@@ -14,15 +14,19 @@
|
|
|
14
14
|
|
|
15
15
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
16
16
|
|
|
17
|
-
**Documentation and source version: 0.
|
|
17
|
+
**Documentation and source version: 0.6.0.** 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.6 and 0.6.0 refuse each other’s SSH preflight.
|
|
18
18
|
|
|
19
|
-
**0.4.0 handoff scope:** opt-in native observation is limited to exact Codex 0.160.1/0.162.1 on macOS arm64; explicit `operator_confirmed` receipts use supported POSIX ledgers. Linux/Windows native observation and automatic ACK collection remain unsupported. The 0.
|
|
19
|
+
**0.4.0 handoff scope:** opt-in native observation is limited to exact Codex 0.160.1/0.162.1 on macOS arm64; explicit `operator_confirmed` receipts use supported POSIX ledgers. Linux/Windows native observation and automatic ACK collection remain unsupported. The 0.6.0 source records a non-selectable Linux arm64 Codex 0.162.1 candidate (pinned upstream `aarch64-unknown-linux-musl` executable, schema and one injection test); it does not enable Linux observation. Linux native observation remains unsupported.
|
|
20
20
|
|
|
21
21
|
**Find and message running Claude Code and Codex sessions, locally or over SSH.**
|
|
22
22
|
A Node.js client that runs without Python. Package and command: `session-peer`.
|
|
23
23
|
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
|
+
Ordinary Codex sends also refuse signed-in or other cloud-unclassifiable homes; see the [storage scope](docs/api.md#codex-storage-configuration) before choosing a route.
|
|
27
|
+
|
|
28
|
+
Source storage guards now inspect additional Codex configuration layers. Windows Codex send/dry-run refuse before queue submission while local storage classification is unqualified; ordinary Claude behavior is separate. Review the [guard scope](docs/api.md#codex-storage-configuration) and selected release before installation.
|
|
29
|
+
|
|
26
30
|
## Demo
|
|
27
31
|
|
|
28
32
|

|
|
@@ -57,15 +61,15 @@ Check `type -a session-peer` on macOS/Linux or `Get-Command session-peer -All`
|
|
|
57
61
|
in PowerShell before installing. Choose the intended PATH entry; do not use
|
|
58
62
|
`--force` to overwrite another manager’s files.
|
|
59
63
|
|
|
60
|
-
**Version 0.
|
|
64
|
+
**Version 0.6.0 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).
|
|
61
65
|
|
|
62
66
|
```sh
|
|
63
|
-
npm view session-peer@0.
|
|
64
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
67
|
+
npm view session-peer@0.6.0 version dist.integrity
|
|
68
|
+
npm install --global --ignore-scripts session-peer@0.6.0
|
|
65
69
|
session-peer --version
|
|
66
70
|
```
|
|
67
71
|
|
|
68
|
-
Expected: `session-peer 0.
|
|
72
|
+
Expected: `session-peer 0.6.0 (typescript)`. For isolated installation, source
|
|
69
73
|
builds, Windows and removal, see the detailed guide below.
|
|
70
74
|
|
|
71
75
|
Optional `sp` shorthand ships with 0.3.0 and later (not 0.2.1 or earlier) and is
|
|
@@ -75,12 +79,12 @@ never enabled automatically. See [explicit activation and collisions](docs/short
|
|
|
75
79
|
|
|
76
80
|
Use npm for an npm-managed installation. Check the available tags and review
|
|
77
81
|
the target version, then install that exact version; this example updates an
|
|
78
|
-
older npm installation to the selected 0.
|
|
82
|
+
older npm installation to the selected 0.6.0 release. The CLI does not install updates;
|
|
79
83
|
`session-peer update --check` only reports them.
|
|
80
84
|
|
|
81
85
|
```sh
|
|
82
86
|
npm view session-peer dist-tags
|
|
83
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
87
|
+
npm install --global --ignore-scripts session-peer@0.6.0
|
|
84
88
|
session-peer --version
|
|
85
89
|
```
|
|
86
90
|
|
package/README.zh-CN.md
CHANGED
|
@@ -14,15 +14,19 @@
|
|
|
14
14
|
|
|
15
15
|
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
16
16
|
|
|
17
|
-
**文档和源码版本:0.
|
|
17
|
+
**文档和源码版本:0.6.0。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](VALIDATION.md),发布流程见 [RELEASING.md](RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.6 与 0.6.0 会拒绝彼此的 SSH 预检。
|
|
18
18
|
|
|
19
|
-
**0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。 0.
|
|
19
|
+
**0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。 0.6.0 源码记录了不可选用的 Linux arm64 Codex 0.162.1 候选(固定的上游 `aarch64-unknown-linux-musl` 可执行文件、schema 及一次注入测试),但不启用 Linux 观测;Linux native 观测仍不支持。
|
|
20
20
|
|
|
21
21
|
**发现正在运行的 Claude Code 和 Codex 会话,并在本机或通过 SSH 发送消息。**
|
|
22
22
|
这是不需要 Python 的 Node.js 客户端。包名与命令名均为 `session-peer`。
|
|
23
23
|
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
|
+
普通 Codex 发送也会拒绝登录 home 等无法判定云端策略适用范围的上下文。选择路径前请确认[存储检查范围](docs/api.md#codex-storage-configuration)。
|
|
27
|
+
|
|
28
|
+
此源码检查 Codex 的更多配置层。Windows 的 Codex 发送和 dry-run 因本地存储检查方式尚未验证而在队列提交前被拒绝;普通 Claude 路径另行处理。安装前请确认[检查范围](docs/api.md#codex-storage-configuration)及所选版本。
|
|
29
|
+
|
|
26
30
|
## Demo
|
|
27
31
|
|
|
28
32
|

|
|
@@ -55,15 +59,15 @@ session-peer send --to CLAUDE_PID --message '请检查 API 契约并回复。' -
|
|
|
55
59
|
`Get-Command session-peer -All` 检查 PATH。选择所需实现,不要用 `--force`
|
|
56
60
|
覆盖其他安装管理器的文件。
|
|
57
61
|
|
|
58
|
-
**安装 0.
|
|
62
|
+
**安装 0.6.0:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](docs/guide.zh-CN.md#从源码构建)。
|
|
59
63
|
|
|
60
64
|
```sh
|
|
61
|
-
npm view session-peer@0.
|
|
62
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
65
|
+
npm view session-peer@0.6.0 version dist.integrity
|
|
66
|
+
npm install --global --ignore-scripts session-peer@0.6.0
|
|
63
67
|
session-peer --version
|
|
64
68
|
```
|
|
65
69
|
|
|
66
|
-
预期输出:`session-peer 0.
|
|
70
|
+
预期输出:`session-peer 0.6.0 (typescript)`。隔离安装、源码构建、Windows 和
|
|
67
71
|
卸载步骤见下方详细指南。
|
|
68
72
|
|
|
69
73
|
可选的 `sp` 简写包含在 0.3.0 及更高版本中(0.2.1 及更早版本没有),不会自动启用。
|
|
@@ -72,11 +76,11 @@ session-peer --version
|
|
|
72
76
|
### Update
|
|
73
77
|
|
|
74
78
|
使用 npm 更新由 npm 管理的安装。先检查标签并审阅目标版本,再安装指定版本。
|
|
75
|
-
下面示例将旧 npm 安装更新至所选的 0.
|
|
79
|
+
下面示例将旧 npm 安装更新至所选的 0.6.0。CLI 不会安装更新,`session-peer update --check` 只做检查。
|
|
76
80
|
|
|
77
81
|
```sh
|
|
78
82
|
npm view session-peer dist-tags
|
|
79
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
83
|
+
npm install --global --ignore-scripts session-peer@0.6.0
|
|
80
84
|
session-peer --version
|
|
81
85
|
```
|
|
82
86
|
|
package/RELEASING.md
CHANGED
|
@@ -9,6 +9,148 @@ 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.6.0 preparation — 2026-11-03 KST
|
|
13
|
+
|
|
14
|
+
This is release preparation, not a publication record or authorization to
|
|
15
|
+
publish. Issue [#175](https://github.com/abruption/session-peer-ts/issues/175)
|
|
16
|
+
tracks the candidate. The merged Orca Claude profile work
|
|
17
|
+
([#165](https://github.com/abruption/session-peer-ts/issues/165),
|
|
18
|
+
[#173](https://github.com/abruption/session-peer-ts/pull/173)) and explicit local
|
|
19
|
+
receipt implementation [#176](https://github.com/abruption/session-peer-ts/pull/176)
|
|
20
|
+
for [#132](https://github.com/abruption/session-peer-ts/issues/132) are separate
|
|
21
|
+
review checkpoints. Final integrated-source checks, archive identity and the
|
|
22
|
+
exact merged-main release gate must be recorded before source approval.
|
|
23
|
+
|
|
24
|
+
The receipt collector is an explicitly started local foreground process. Codex
|
|
25
|
+
uses the generation-bound v1 receipt contract only on its qualified private
|
|
26
|
+
owned-queue path; Claude uses a separate v2 delegated receipt context and does
|
|
27
|
+
not claim a native generation. A valid receipt authenticates the delegated
|
|
28
|
+
receipt submission within that context; it does not prove model identity,
|
|
29
|
+
message consumption, injection or task completion. It does not turn native
|
|
30
|
+
submission or a queued message into an automatic ACK. Unknown effects must not
|
|
31
|
+
be retried, resent or rerouted. Native observation, platform and SSH
|
|
32
|
+
qualification are not expanded by these local receipt contracts.
|
|
33
|
+
|
|
34
|
+
[#73](https://github.com/abruption/session-peer-ts/issues/73) is closed as
|
|
35
|
+
NO-GO for transcript/body-based probing. That research is not a runtime feature
|
|
36
|
+
or a source of receipt authority. The existing published companion skill and
|
|
37
|
+
its immutable source pin stay unchanged; a finite doctor compatibility row is
|
|
38
|
+
not evidence that the skill covers the new receipt workflow.
|
|
39
|
+
|
|
40
|
+
Before any publication, use a new exact-source approval for
|
|
41
|
+
`session-peer@0.6.0`, `stable-stage` and eventual latest promotion to 0.6.0.
|
|
42
|
+
Require current-head macOS/Ubuntu Node 22/24, Windows Node 22/24, repository
|
|
43
|
+
policy, CodeQL and release-gate checks plus reviews of the final changes.
|
|
44
|
+
Verify the reproducible archive, packaged Markdown/source identity and isolated
|
|
45
|
+
package lifecycle against that same source. Fresh npm ownership, pending-stage,
|
|
46
|
+
stage-only Trusted Publisher, package publish-MFA and protected npm environment
|
|
47
|
+
checks remain separate gates; historical exceptions and approvals do not carry
|
|
48
|
+
forward. Protected-environment and final npm stage approvals remain separate.
|
|
49
|
+
Do not dispatch, approve a stage, create `v0.6.0` or publish a GitHub Release
|
|
50
|
+
until their required approvals are obtained. Both SSH endpoints must use the
|
|
51
|
+
same exact runtime version. No global or fleet installation is part of this
|
|
52
|
+
preparation.
|
|
53
|
+
|
|
54
|
+
## Public 0.5.2 checkpoint — 2026-10-30 KST
|
|
55
|
+
|
|
56
|
+
[GitHub v0.5.2](https://github.com/abruption/session-peer-ts/releases/tag/v0.5.2)
|
|
57
|
+
and npm 0.5.2 are public from
|
|
58
|
+
`d5c40ecd09baa831315266d0debf63eb1c4a1e59`. The annotated tag peels to that
|
|
59
|
+
same immutable source. Reviewed, exact-main, retained Actions, staged and public
|
|
60
|
+
raw tarballs are byte-identical: SHA-256
|
|
61
|
+
`c799e4f7ed96794928e5780732f8d230e6eac8502301a75f44c0d55393c85d8b`.
|
|
62
|
+
[Stage-only run 40988011234](https://github.com/abruption/session-peer-ts/actions/runs/40988011234)
|
|
63
|
+
ran once after exact-source approval. Public integrity/signature/provenance,
|
|
64
|
+
source/workflow/run linkage and isolated installation/removal passed;
|
|
65
|
+
latest=0.5.2 and preview=0.1.0-preview.1 is preserved. The
|
|
66
|
+
[public validation record](VALIDATION.md#public-052--2026-10-30-kst) records the
|
|
67
|
+
exact chronology and evidence limits. No new native/platform/ACK or fleet
|
|
68
|
+
qualification is implied.
|
|
69
|
+
|
|
70
|
+
Ownership, no pending stages before dispatch, stage-only Trusted Publisher and
|
|
71
|
+
protected GitHub npm environment/main restriction were freshly checked. The
|
|
72
|
+
user confirmed the protected environment approval. The separate browser package
|
|
73
|
+
publish-MFA policy read was explicitly skipped for this 0.5.2 publication and is
|
|
74
|
+
not freshly audited. This is a settings-read exception only, not a change to
|
|
75
|
+
publisher permissions or approval requirements. The agent did not execute the
|
|
76
|
+
final npm stage approval; publication was observed after that stage became
|
|
77
|
+
unavailable. Full public provenance trust/signature checks completed afterward.
|
|
78
|
+
|
|
79
|
+
This later GitHub checkpoint is not part of the immutable published tarball,
|
|
80
|
+
which retains its dated preparation evidence. Do not replay the completed
|
|
81
|
+
preparation or stage, reuse these approvals for a later release, move the tag or
|
|
82
|
+
republish 0.5.2. A future version needs its own reviewed source/artifact and
|
|
83
|
+
approvals. No user global/fleet runtime or skill installation was changed.
|
|
84
|
+
|
|
85
|
+
## 0.5.2 storage guards and release consistency preparation — 2026-10-30 KST
|
|
86
|
+
|
|
87
|
+
Preparation baseline is merged main
|
|
88
|
+
`1b9e762c154e1050b04f98d5c36cee0d332cf484`, including #169 and #160.
|
|
89
|
+
The release target carries bounded Codex storage-layer guards, the dated scoped
|
|
90
|
+
parity comparison and deterministic current-version maintenance. The local
|
|
91
|
+
qualification reporter from #160 is repository-only: its script, tests and two
|
|
92
|
+
review/design documents are excluded from the npm archive. It adds no installed
|
|
93
|
+
CLI command, SDK export or remote deployment authority. Draft #155 and native
|
|
94
|
+
input experiments #82/#142 remain excluded.
|
|
95
|
+
|
|
96
|
+
**Availability changes must be prominent in the release notes.** Ordinary Codex
|
|
97
|
+
submission refuses signed-in file-auth homes (`auth.json` metadata), keyring/auto
|
|
98
|
+
credential-store selections and other cloud-unclassifiable contexts without
|
|
99
|
+
reading credentials/cache contents. This can refuse an account that would not
|
|
100
|
+
actually receive cloud policy. A separately qualified owned stdio app-server
|
|
101
|
+
route still needs actual opened-storage binding. Windows Codex send/dry-run
|
|
102
|
+
refuse because local storage classification is unqualified. Existing ordinary
|
|
103
|
+
Claude paths are separate. Missing cwd, unsafe configuration, daemon/remote
|
|
104
|
+
context, unavailable metadata helpers and observable evidence changes can also
|
|
105
|
+
refuse; see [the storage contract](docs/api.md#codex-storage-configuration).
|
|
106
|
+
|
|
107
|
+
The exact loader-source review covers Codex 0.160.1, 0.162.1 and 0.165.0; it does
|
|
108
|
+
not expand native observation qualification. The recorded macOS arm64 observation
|
|
109
|
+
profiles, original-writer boundaries, pre-effect refusal, unknown/no-resend
|
|
110
|
+
semantics and separate operator-confirmed receipt remain bounded as before.
|
|
111
|
+
Linux/Windows observation and automated receipt ACK are not enabled. The finite
|
|
112
|
+
0.5.2 doctor row carries only the same four exact skill profiles as 0.5.1; it
|
|
113
|
+
neither publishes/installs a skill nor changes its independent source pin.
|
|
114
|
+
|
|
115
|
+
Read-only registry baseline checked for this preparation: latest=0.5.1,
|
|
116
|
+
preview=0.1.0-preview.1 and target 0.5.2 absent. Previous stable integrity is
|
|
117
|
+
`sha512-m+bXuJ0UpPYZQIwh9g9b11S2EqjquE1J0D2WYM3yOIGKk7s68AG05O1ARgKH5nK3QKidfHXgANmHAJQWJzkTrw==`.
|
|
118
|
+
Previous provenance endpoint:
|
|
119
|
+
`https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.5.1`.
|
|
120
|
+
Recheck the registry immediately before staging. This public metadata read is
|
|
121
|
+
not an authenticated ownership, pending-stage, publisher or package-MFA audit.
|
|
122
|
+
|
|
123
|
+
1. Review and merge the release preparation under normal protections. Require
|
|
124
|
+
exact merged-main release gate, macOS/Ubuntu Node 22/24, Windows Node 22/24
|
|
125
|
+
and CodeQL success, with source review appropriate to the final changes.
|
|
126
|
+
2. Freshly verify npm ownership, pending stages, the stage-only Trusted Publisher
|
|
127
|
+
mapping, package publish-MFA policy and the protected npm environment/main
|
|
128
|
+
restriction. Historical settings-read exceptions apply only to their named
|
|
129
|
+
releases; an unread gate needs a current explicit user exception. Do not
|
|
130
|
+
change protections or authentication mode to pass a gate.
|
|
131
|
+
3. Verify reproducible exact-source archive bytes, every packaged Markdown file,
|
|
132
|
+
isolated installation/version/removal, public types and shorthand lifecycle.
|
|
133
|
+
Verify compiled/default/undefined/inspectSkill acceptance of the four exact
|
|
134
|
+
profiles and rejection of malformed/unsupported inputs. Check that the
|
|
135
|
+
reporter and its two source-only design documents remain excluded.
|
|
136
|
+
4. Obtain separate source approval naming the exact merged 40-character main
|
|
137
|
+
SHA, `session-peer@0.5.2`, `stable-stage` and eventual latest promotion to
|
|
138
|
+
0.5.2. Preparation or PR merge does not identify or approve a future source.
|
|
139
|
+
5. Dispatch only the approved source/version/mode once. Inspect retained Actions
|
|
140
|
+
bytes before protected-environment approval; compare staged bytes and
|
|
141
|
+
provenance before the separate final npm 2FA approval. Never automatically
|
|
142
|
+
retry an uncertain upload or approve a stage.
|
|
143
|
+
6. Verify public bytes, registry signatures/provenance and isolated lifecycle;
|
|
144
|
+
preserve preview and append the dated publication evidence. Create an
|
|
145
|
+
authorized annotated `v0.5.2` tag and GitHub Release on the verified publication
|
|
146
|
+
source only after their separate approval. No fleet/global installation.
|
|
147
|
+
|
|
148
|
+
SSH endpoints must both use exactly 0.5.2; 0.5.1 and 0.5.2 refuse one another at
|
|
149
|
+
preflight. Upgrade both endpoints explicitly. Runtime publication is separate
|
|
150
|
+
from companion skill publication, pin adoption and installation. The dated
|
|
151
|
+
0.5.1 procedure and its settings-read exception below are historical and must
|
|
152
|
+
not be replayed for 0.5.2.
|
|
153
|
+
|
|
12
154
|
## 0.5.1 dependency hotfix procedure — 2026-10-27 KST
|
|
13
155
|
|
|
14
156
|
Issue #163 pins smol-toml 1.9.1 to reject malformed repeated exponent signs in
|