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/CONTRIBUTING.md +6 -4
- package/PARITY.md +364 -12
- package/README.ja.md +14 -8
- package/README.ko.md +14 -8
- package/README.md +14 -8
- package/README.zh-CN.md +14 -8
- package/RELEASING.md +64 -0
- package/VALIDATION.md +435 -1
- package/dist/app-server.d.ts +190 -0
- package/dist/app-server.js +909 -0
- package/dist/cli.js +218 -38
- package/dist/handoff-ledger.d.ts +103 -0
- package/dist/handoff-ledger.js +787 -0
- package/dist/handoff-observer-probe.d.ts +1 -0
- package/dist/handoff-observer-probe.js +170 -0
- package/dist/handoff-operations.d.ts +25 -0
- package/dist/handoff-operations.js +471 -0
- package/dist/handoff-writer-probe.d.ts +1 -0
- package/dist/handoff-writer-probe.js +123 -0
- package/dist/handoff.d.ts +112 -0
- package/dist/handoff.js +261 -0
- package/dist/help.js +18 -0
- package/dist/metadata-observation.d.ts +48 -0
- package/dist/metadata-observation.js +239 -0
- package/dist/output.js +7 -1
- package/dist/protocol.d.ts +2 -2
- package/dist/protocol.js +1 -1
- package/dist/send.d.ts +18 -1
- package/dist/send.js +91 -6
- package/dist/skill-metadata.js +7 -6
- package/dist/ssh-response.d.ts +11 -0
- package/dist/ssh-response.js +78 -2
- package/docs/api.md +245 -4
- package/docs/design/typescript-skill-compatibility.md +27 -3
- package/docs/guide.ja.md +41 -21
- package/docs/guide.ko.md +44 -24
- package/docs/guide.md +51 -25
- package/docs/guide.zh-CN.md +41 -21
- package/docs/shorthand.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,9 +13,11 @@
|
|
|
13
13
|
|
|
14
14
|
[English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [简体中文](README.zh-CN.md)
|
|
15
15
|
|
|
16
|
-
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0
|
|
16
|
+
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
17
17
|
|
|
18
|
-
**Documentation and source version: 0.
|
|
18
|
+
**Documentation and source version: 0.4.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.4.0 refuse each other’s SSH preflight.
|
|
19
|
+
|
|
20
|
+
**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.
|
|
19
21
|
|
|
20
22
|
**Find and message running Claude Code and Codex sessions, locally or over SSH.**
|
|
21
23
|
A Node.js client that runs without Python. Package and command: `session-peer`.
|
|
@@ -56,15 +58,15 @@ Check `type -a session-peer` on macOS/Linux or `Get-Command session-peer -All`
|
|
|
56
58
|
in PowerShell before installing. Choose the intended PATH entry; do not use
|
|
57
59
|
`--force` to overwrite another manager’s files.
|
|
58
60
|
|
|
59
|
-
**Version 0.
|
|
61
|
+
**Version 0.4.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).
|
|
60
62
|
|
|
61
63
|
```sh
|
|
62
|
-
npm view session-peer@0.
|
|
63
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
64
|
+
npm view session-peer@0.4.0 version dist.integrity
|
|
65
|
+
npm install --global --ignore-scripts session-peer@0.4.0
|
|
64
66
|
session-peer --version
|
|
65
67
|
```
|
|
66
68
|
|
|
67
|
-
Expected: `session-peer 0.
|
|
69
|
+
Expected: `session-peer 0.4.0 (typescript)`. For isolated installation, source
|
|
68
70
|
builds, Windows and removal, see the detailed guide below.
|
|
69
71
|
|
|
70
72
|
Optional `sp` shorthand ships with 0.3.0 and later (not 0.2.1 or earlier) and is
|
|
@@ -74,12 +76,12 @@ never enabled automatically. See [explicit activation and collisions](docs/short
|
|
|
74
76
|
|
|
75
77
|
Use npm for an npm-managed installation. Check the available tags and review
|
|
76
78
|
the target version, then install that exact version; this example updates an
|
|
77
|
-
older npm installation to the selected 0.
|
|
79
|
+
older npm installation to the selected 0.4.0 release. The CLI does not install updates;
|
|
78
80
|
`session-peer update --check` only reports them.
|
|
79
81
|
|
|
80
82
|
```sh
|
|
81
83
|
npm view session-peer dist-tags
|
|
82
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
84
|
+
npm install --global --ignore-scripts session-peer@0.4.0
|
|
83
85
|
session-peer --version
|
|
84
86
|
```
|
|
85
87
|
|
|
@@ -112,6 +114,10 @@ does not install a skill. Review its pinned-source instructions in the guide.
|
|
|
112
114
|
- [Development and contributions](CONTRIBUTING.md).
|
|
113
115
|
- [Release process](RELEASING.md).
|
|
114
116
|
|
|
117
|
+
- [0.4.0 handoff design and implementation scope](PARITY.md#handoff-v1-design-candidate--69).
|
|
118
|
+
|
|
119
|
+
- [Private handoff CLI and limitations](docs/api.md#unreleased-opt-in-handoff-cli--040-work).
|
|
120
|
+
|
|
115
121
|
## License
|
|
116
122
|
|
|
117
123
|
Licensed under the [MIT License](LICENSE).
|
package/README.zh-CN.md
CHANGED
|
@@ -13,9 +13,11 @@
|
|
|
13
13
|
|
|
14
14
|
[English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [简体中文](README.zh-CN.md)
|
|
15
15
|
|
|
16
|
-
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.0
|
|
16
|
+
<!-- docs-contract: stable-release-source; package=session-peer; bin=session-peer; node=22.13+/24; python-reference=1.1.0 -->
|
|
17
17
|
|
|
18
|
-
**文档和源码版本:0.
|
|
18
|
+
**文档和源码版本:0.4.0。** 安装前,请审核所选发布版本和注册表元数据。按日期记录的准备与验证结果见 [VALIDATION.md](VALIDATION.md),发布流程见 [RELEASING.md](RELEASING.md)。SSH 两端必须使用相同的 TypeScript 客户端版本;0.3.6 与 0.4.0 会拒绝彼此的 SSH 预检。
|
|
19
|
+
|
|
20
|
+
**0.4.0 handoff 范围:** 可选 native 观测仅限 macOS arm64 上精确 Codex 0.160.1/0.162.1 版本;明确的 `operator_confirmed` 收件确认使用受支持的 POSIX ledger。Linux、Windows 的 native 观测和自动 ACK 收集仍不支持。
|
|
19
21
|
|
|
20
22
|
**发现正在运行的 Claude Code 和 Codex 会话,并在本机或通过 SSH 发送消息。**
|
|
21
23
|
这是不需要 Python 的 Node.js 客户端。包名与命令名均为 `session-peer`。
|
|
@@ -54,15 +56,15 @@ session-peer send --to CLAUDE_PID --message '请检查 API 契约并回复。' -
|
|
|
54
56
|
`Get-Command session-peer -All` 检查 PATH。选择所需实现,不要用 `--force`
|
|
55
57
|
覆盖其他安装管理器的文件。
|
|
56
58
|
|
|
57
|
-
**安装 0.
|
|
59
|
+
**安装 0.4.0:** 运行 npm 安装或更新示例前,请确认注册表可用性并审核所选发布版本。如该版本不可用,请使用[已审核的源码构建](docs/guide.zh-CN.md#从源码构建)。
|
|
58
60
|
|
|
59
61
|
```sh
|
|
60
|
-
npm view session-peer@0.
|
|
61
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
62
|
+
npm view session-peer@0.4.0 version dist.integrity
|
|
63
|
+
npm install --global --ignore-scripts session-peer@0.4.0
|
|
62
64
|
session-peer --version
|
|
63
65
|
```
|
|
64
66
|
|
|
65
|
-
预期输出:`session-peer 0.
|
|
67
|
+
预期输出:`session-peer 0.4.0 (typescript)`。隔离安装、源码构建、Windows 和
|
|
66
68
|
卸载步骤见下方详细指南。
|
|
67
69
|
|
|
68
70
|
可选的 `sp` 简写包含在 0.3.0 及更高版本中(0.2.1 及更早版本没有),不会自动启用。
|
|
@@ -71,11 +73,11 @@ session-peer --version
|
|
|
71
73
|
### Update
|
|
72
74
|
|
|
73
75
|
使用 npm 更新由 npm 管理的安装。先检查标签并审阅目标版本,再安装指定版本。
|
|
74
|
-
下面示例将旧 npm 安装更新至所选的 0.
|
|
76
|
+
下面示例将旧 npm 安装更新至所选的 0.4.0。CLI 不会安装更新,`session-peer update --check` 只做检查。
|
|
75
77
|
|
|
76
78
|
```sh
|
|
77
79
|
npm view session-peer dist-tags
|
|
78
|
-
npm install --global --ignore-scripts session-peer@0.
|
|
80
|
+
npm install --global --ignore-scripts session-peer@0.4.0
|
|
79
81
|
session-peer --version
|
|
80
82
|
```
|
|
81
83
|
|
|
@@ -108,6 +110,10 @@ session-peer --version
|
|
|
108
110
|
- [开发与贡献](CONTRIBUTING.md).
|
|
109
111
|
- [发布流程](RELEASING.md).
|
|
110
112
|
|
|
113
|
+
- [0.4.0 handoff 设计与实现范围](PARITY.md#handoff-v1-design-candidate--69).
|
|
114
|
+
|
|
115
|
+
- [private handoff CLI 与限制](docs/api.md#unreleased-opt-in-handoff-cli--040-work).
|
|
116
|
+
|
|
111
117
|
## License
|
|
112
118
|
|
|
113
119
|
采用 [MIT 许可证](LICENSE)。
|
package/RELEASING.md
CHANGED
|
@@ -9,6 +9,70 @@ 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.4.0 scoped release preparation — 2026-10-18 KST
|
|
13
|
+
|
|
14
|
+
This candidate includes #106–#109: the frozen design, private sender fencing,
|
|
15
|
+
bounded app-server integration and qualified delivery observation. It preserves
|
|
16
|
+
ordinary opt-out results. Native observation is qualified only for the recorded
|
|
17
|
+
macOS arm64 Codex versions/topology; explicit operator confirmation is separate
|
|
18
|
+
from automatic receipt ACK. Linux/Windows native observation and automated
|
|
19
|
+
receipt producer/collector remain follow-ups #130–#132. Experiments #82/#142 are
|
|
20
|
+
excluded. Preparation does not publish the package or complete those follow-ups.
|
|
21
|
+
|
|
22
|
+
Read-only registry baseline: latest=0.3.6, preview=0.1.0-preview.1; 0.4.0 must
|
|
23
|
+
remain absent before staging. Previous stable integrity:
|
|
24
|
+
`sha512-8uR9/x9q2AWp/zfJox0CMgm919M7kxpAjR2vGd/ntuS2AAwQh4ohbDmAtyxLyLoEE8IPsZVEbPKHCChvIJBuoQ==`.
|
|
25
|
+
Previous attestation metadata:
|
|
26
|
+
`https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.3.6`.
|
|
27
|
+
Recheck tags, exact integrity and provenance source before staging. Historical
|
|
28
|
+
settings-read exceptions and publication approvals do not carry forward.
|
|
29
|
+
|
|
30
|
+
1. Review and merge the release preparation; require successful exact merged-main
|
|
31
|
+
release gate, Windows Node 22/24 and CodeQL checks, plus current-head reviews.
|
|
32
|
+
2. Fresh authenticated reads verify ownership, pending stages, stage-only Trusted
|
|
33
|
+
Publisher mapping, package publish-MFA and protected GitHub npm environment.
|
|
34
|
+
Any unread gate needs a current explicit user exception; no protections change.
|
|
35
|
+
3. Validate exact-source reproducible packing, isolated version/install/removal,
|
|
36
|
+
skill metadata defaults and every packaged Markdown file under the
|
|
37
|
+
[documentation gate](#documentation-gate-for-the-next-release).
|
|
38
|
+
4. Obtain separate approval naming the exact merged 40-character main SHA,
|
|
39
|
+
`session-peer@0.4.0`, `stable-stage` and eventual latest promotion to 0.4.0.
|
|
40
|
+
5. Dispatch only the approved source/version/mode; review retained Actions bytes
|
|
41
|
+
before environment approval, then verify staged bytes/provenance and obtain
|
|
42
|
+
separate final npm 2FA approval. Never repeat an uncertain upload.
|
|
43
|
+
6. Verify public integrity/provenance/signatures and isolated install/removal;
|
|
44
|
+
preserve preview and record publication source before creating an authorized
|
|
45
|
+
tag/GitHub Release. No fleet/global install is authorized.
|
|
46
|
+
|
|
47
|
+
Both SSH endpoints require exactly 0.4.0. The published skill 0.2.1 pin remains
|
|
48
|
+
unchanged. The exact proposed skill 0.3.0 tuple has candidate-specific design/content
|
|
49
|
+
review and a test-only complete-file fixture; it is not a released skill or
|
|
50
|
+
approved installation pin. Supporting-runtime publication precedes separately approved
|
|
51
|
+
skill finalization/publication and later guidance-pin adoption.
|
|
52
|
+
|
|
53
|
+
## Public release checkpoint — 0.3.6 (2026-10-14 KST)
|
|
54
|
+
|
|
55
|
+
Public `session-peer@0.3.6` was verified with latest=0.3.6 and unchanged preview=0.1.0-preview.1. Source `27fc741f7dabf075e3d6f19f48f3e71d7bdc27a6`, stage-only run 38496584629, reviewed/Actions/staged/public tarball identity, provenance/signature audit and isolated install/removal are recorded in [the public validation checkpoint](VALIDATION.md#public-036--2026-10-14-kst). [GitHub v0.3.6](https://github.com/abruption/session-peer-ts/releases/tag/v0.3.6) and its annotated tag use that same publication source.
|
|
56
|
+
|
|
57
|
+
The user-approved settings-read exceptions below apply only to this completed 0.3.6 publication. Actual protected environment and final npm approvals were completed; skipped settings are not newly audited. The following 0.3.6 procedure is historical. Do not replay approvals, stage 0.3.6 again or republish this immutable version. A later release requires a new baseline, reviewed source and its own approval.
|
|
58
|
+
|
|
59
|
+
## 0.3.6 stable release procedure
|
|
60
|
+
|
|
61
|
+
This patch carries PR #146's published TS skill 0.2.1 pin and multilingual guidance from main `602cfc09b31ce8aad23e1dd9382a2448a61143f9`. It preserves the skill's immutable source/hash and all historical release evidence. Package/banner/examples use 0.3.6; its finite metadata row accepts the same three profiles as public 0.3.5. Draft #106–#109, #82 and #142 remain excluded.
|
|
62
|
+
|
|
63
|
+
Read-only preparation baseline on 2026-10-14 KST: latest=0.3.5, preview=0.1.0-preview.1, target 0.3.6 absent. Previous stable integrity: `sha512-EJc2B5tcruzHXiHDd7tyJjv2DBLYE7IHJiPVHBzLY9fSVasEQRdwx+ZZmiyBF8WHpQ7+pI3SO2VXwsQTgOWP+Q==`; attestation metadata https://registry.npmjs.org/-/npm/v1/attestations/session-peer@0.3.5. Recheck before staging. Historical settings-read exceptions do not carry forward.
|
|
64
|
+
|
|
65
|
+
At the 2026-10-14 preparation checkpoint, the user explicitly skipped the fresh Trusted Publisher lookup for this 0.3.6 publication. The current mapping/permissions are therefore not freshly confirmed; prior stage-only evidence is historical. Pending stages and ownership were checked after npm login. The user separately skipped the web package publish-MFA policy lookup for this 0.3.6 publication; that current policy is also not freshly confirmed. GitHub environment protection and actual final npm stage 2FA approval remain required. No settings, secrets, tokens or protections were changed.
|
|
66
|
+
|
|
67
|
+
1. Review/merge the release preparation and require exact merged-main CLI/release gate, Windows Node 22/24 and CodeQL success.
|
|
68
|
+
2. Fresh authenticated reads verify ownership, pending stages, stage-only Trusted Publisher mapping, package publish-MFA and GitHub npm environment reviewer/main-only protections. Any unread gate remains incomplete unless the user explicitly grants a current exception; settings/protections are never bypassed.
|
|
69
|
+
3. Verify exact-source reproducible packing, isolated installation/removal and every packaged Markdown document under the [artifact documentation gate](#documentation-gate-for-the-next-release). Historical and public skill pins remain intact.
|
|
70
|
+
4. Obtain separate approval naming the exact merged 40-character main SHA, `session-peer@0.3.6`, `stable-stage` and eventual latest promotion to 0.3.6.
|
|
71
|
+
5. Dispatch publish.yml only with that approved SHA/version/mode/confirmation. Review retained Actions bytes before protected environment approval; verify staged bytes/provenance and obtain separate final npm 2FA approval. Never retry an uncertain upload.
|
|
72
|
+
6. Verify public bytes/integrity/provenance/signatures and isolated version/install/removal. Preserve preview. Append dated evidence and create the user-requested GitHub v0.3.6 tag/release against the verified publication source, with exact-version SSH and separate skill/runtime lifecycle notes. No fleet install is authorized.
|
|
73
|
+
|
|
74
|
+
The historical 0.3.5 preparation and settings exceptions below apply to that completed publication only.
|
|
75
|
+
|
|
12
76
|
## 0.3.5 publication checkpoint — 2026-10-13 KST
|
|
13
77
|
|
|
14
78
|
PR #144 is merged as `5409d0acd4b559c09920a63c5fd7f11fd10f5737`; its tree matches reviewed preparation `6fdf9d65fb0b62cca3801a3733af07add5fb6553`. Exact-main CLI and CodeQL runs passed. Publication has not started: artifact review found stale current-facing unmerged/candidate text, which requires a document-only correction, human merge and new exact-source/artifact approval. The dated preparation sections below retain their historical scope.
|
package/VALIDATION.md
CHANGED
|
@@ -1,4 +1,91 @@
|
|
|
1
|
-
# Validation record — updated 2026-10-
|
|
1
|
+
# Validation record — updated 2026-10-18 KST
|
|
2
|
+
|
|
3
|
+
## 0.4.0 preparation checks — 2026-10-18 KST
|
|
4
|
+
|
|
5
|
+
Preparation source checkpoint `2fc936fa1557fd59ce561446d5239c7030df3d56`
|
|
6
|
+
uses locally integrated dependency tree `d83635d6ed1c668fc33e42754f652c123350ddad`
|
|
7
|
+
and the 0.4.0 version/baseline/finite skill row. These are local preparation
|
|
8
|
+
checkpoints, not publication or a claim that the projected dependency commit is
|
|
9
|
+
merged. The release PR records final merged dependency/source SHAs and its own
|
|
10
|
+
current-head CI/reviews. Later rebases must preserve the verified runtime/test
|
|
11
|
+
tree or rerun affected checks.
|
|
12
|
+
|
|
13
|
+
The dependencies were subsequently merged in authorized order with exact-head
|
|
14
|
+
squash binding and no protection bypass: #106 `81d1aece70b414b6aef00641076bd2716f630f6e`,
|
|
15
|
+
#107 `1e788be6b02c414b3c7de5bbad37afc7e293c2ff`,
|
|
16
|
+
#108 `d645a692f8e402dd224691410fa89be502e45383`,
|
|
17
|
+
#109 `be6adb26f844e7158362a8fcd6d379fbe8d46864`. Each merged tree matched its
|
|
18
|
+
reviewed head. Release preparation was rebased onto that final main; its tree
|
|
19
|
+
was unchanged before this documentation addition.
|
|
20
|
+
|
|
21
|
+
#109 CI39045571298 first failed one macOS Node22 SSH fixture with a pre-queue
|
|
22
|
+
`app_server_owner_changed`; other matrix jobs passed. Local Node24 focused and
|
|
23
|
+
parallel diagnostics passed, followed by official Node22.23.3 arm64 focused/full
|
|
24
|
+
387/382/0/5 passing checks. The local Node22 path contains spaces, so a private
|
|
25
|
+
test-only POSIX/JS shebang adapter preserved exact binary/filename/arguments;
|
|
26
|
+
this was not an unmodified CI-environment reproduction or a runtime guard change.
|
|
27
|
+
The initial unadapted local run failed because of those invalid fixture
|
|
28
|
+
shebangs and is excluded from product diagnosis. The original CI cause remains
|
|
29
|
+
unconfirmed. Only failed macOS22/release-gate jobs were rerun once on the same
|
|
30
|
+
source; attempt2 passed. Both current-head automatic reviews completed without
|
|
31
|
+
findings. The initial failure is not reclassified as an all-green first run.
|
|
32
|
+
Final main and preparation-head CI/review results are recorded in the release PR.
|
|
33
|
+
|
|
34
|
+
On macOS arm64 / Node 24.16.0, `npm test` (including build and type checking)
|
|
35
|
+
passed **389 total / 384 passed / 0 failed / 5 Windows-only skipped**. The oracle
|
|
36
|
+
is the hash-checked isolated published Python 1.1.0 source
|
|
37
|
+
`8ca77cf31254c8287a2593fe484bb30a7dba2727`; ordinary conformance and pure validator
|
|
38
|
+
comparisons do not establish end-to-end runtime parity. Initial preparation
|
|
39
|
+
exposed two stale update-notice regex expectations, corrected before the final
|
|
40
|
+
passing run. `npm run test:package` passed reproducible archive checks, isolated
|
|
41
|
+
install/removal, and bash/zsh shorthand contract/lifecycle checks. Repository
|
|
42
|
+
structure, links/anchors and diff checks passed; npm audit reported zero
|
|
43
|
+
vulnerabilities. The CLI reports `session-peer 0.4.0 (typescript)`.
|
|
44
|
+
|
|
45
|
+
The finite 0.4.0 metadata row retains the three published profiles and the exact
|
|
46
|
+
proposed skill 0.3.0/min0.1.0/full0.4.0/probe-help tuple. Complete Draft37 fixture
|
|
47
|
+
`b8ff909ffc5fe1e5b22c66a5c302be8332a76038` is 20,162 raw UTF-8 bytes, SHA-256
|
|
48
|
+
`1ae3690cb5d03777bf448cf06496fed27e4a9329deb03741d6d956a3b13c5ed4`.
|
|
49
|
+
Default/undefined/explicit/outer-inspection and historical/future/malformed
|
|
50
|
+
fixtures pass. This is candidate-specific metadata/content review, not a
|
|
51
|
+
published skill, content authentication, execution, final whole-byte freeze or
|
|
52
|
+
installation-pin adoption. Public skill 0.2.1 source/hash remain unchanged.
|
|
53
|
+
|
|
54
|
+
Fresh regression evidence covers prepared recipient continuity, encrypted
|
|
55
|
+
journal/key failures, overlapping wait operations, actual queue-process build
|
|
56
|
+
mismatch, executable replacement, expired probes and SQLite replacement across
|
|
57
|
+
the durable guard/final owner check. These use synthetic private homes, owned
|
|
58
|
+
Node children, scripted/native-shaped protocol peers and actual Darwin lsof
|
|
59
|
+
against those owned fixture descriptors. No new actual Codex/model/user-session
|
|
60
|
+
input, remote-host delivery, automatic receipt or ACK qualification was performed.
|
|
61
|
+
Native observation remains limited to the earlier recorded exact macOS profiles;
|
|
62
|
+
Linux/Windows observation and automated receipt bootstrap remain #130–#132.
|
|
63
|
+
|
|
64
|
+
Read-only registry checks on this preparation date found latest=0.3.6,
|
|
65
|
+
preview=0.1.0-preview.1, 0.4.0 absent, and previous stable integrity matching the
|
|
66
|
+
new release baseline. No authenticated pending-stage/publisher/MFA audit,
|
|
67
|
+
publication dispatch, environment approval, final npm approval, tag, release or
|
|
68
|
+
fleet/global installation was performed. Historical exceptions do not carry
|
|
69
|
+
forward. Local packaging hashes before this record/final source are not the
|
|
70
|
+
final release artifact; the PR records exact committed-source artifact checks.
|
|
71
|
+
|
|
72
|
+
## Public 0.3.6 — 2026-10-14 KST
|
|
73
|
+
|
|
74
|
+
`session-peer@0.3.6` is public; verified `latest=0.3.6` with unchanged `preview=0.1.0-preview.1`. Publication source is `27fc741f7dabf075e3d6f19f48f3e71d7bdc27a6`, merged from [PR #148](https://github.com/abruption/session-peer-ts/pull/148). The prepared source tree matched reviewed head `526fc9aaa53e674a9bc6882a6dd207c67c402904`; exact-main CLI run 38495616148 and CodeQL run 38495616311 passed. [Stage-only run 38496584629](https://github.com/abruption/session-peer-ts/actions/runs/38496584629) completed with protected GitHub npm environment and final user npm approval. Stage ID was `c6b468f1-6ac2-4301-80c6-03f16cb36038`.
|
|
75
|
+
|
|
76
|
+
Reviewed local, retained Actions, staged and public tarballs are byte-identical. SHA-256: `510e06ea1e118ceadb4096ec2fe9e564b2832e133aa0a21614d8b12db1764181`; registry integrity: `sha512-8uR9/x9q2AWp/zfJox0CMgm919M7kxpAjR2vGd/ntuS2AAwQh4ohbDmAtyxLyLoEE8IPsZVEbPKHCChvIJBuoQ==`. Every packaged Markdown document (18) matched the reviewed source. Registry signatures and publish/provenance attestations share the archive's exact SHA-512 subject. SLSA provenance binds repository `abruption/session-peer-ts`, `refs/heads/main`, `.github/workflows/publish.yml`, source `27fc741f…` and run 38496584629 / attempt 1. `npm audit signatures` and isolated version-specific install/list/uninstall passed on macOS arm64/Node 24.16.0 / npm 11.15.0. These packaging checks do not qualify new native delivery or ACK behavior.
|
|
77
|
+
|
|
78
|
+
The annotated `v0.3.6` tag object is `0b51f02e7fd19c132a550bcfac4ae795f914f0dd`; its peeled source is the publication commit above. [GitHub release v0.3.6](https://github.com/abruption/session-peer-ts/releases/tag/v0.3.6) is published as Latest. This verification record is a later documentation update; the immutable npm artifact/tag continue to point to the original publication source.
|
|
79
|
+
|
|
80
|
+
The user explicitly skipped fresh Trusted Publisher mapping and web publish-MFA policy reads for this 0.3.6 publication. Neither setting is claimed as freshly audited. Ownership/pending stages, GitHub environment reviewer/main-only/no-admin-bypass/zero-secret gates were checked; protected environment and final npm approval were completed. No token fallback, settings change or protection bypass was introduced. Runtime and published skill 0.2.1 remain separately managed; Python 1.0.2 reference and preview are unchanged. SSH still requires identical TS versions on both ends. No fleet/global installation, actual native/model send/consumption/ACK test or unshipped 0.4 feature was added.
|
|
81
|
+
|
|
82
|
+
## 0.3.6 preparation checks — 2026-10-14 KST
|
|
83
|
+
|
|
84
|
+
This patch starts from merged PR #146/main `602cfc09b31ce8aad23e1dd9382a2448a61143f9`, whose exact-main CLI38493362484 and CodeQL38493362496 passed. Source/package/banner/current examples are 0.3.6 and its explicit finite row carries the same three skill profiles as public 0.3.5; the published skill0.2.1 source/hash and Python1.0.2 oracle remain unchanged. Draft #106–#109, #82 and #142 are excluded.
|
|
85
|
+
|
|
86
|
+
Local macOS arm64 / Node24.16.0 validation: npm test193total/188passed/0failed/5Windows-onlyskips; build/types, metadata/guidance, release baseline, repository links/anchors and diff checks passed. The archived Python oracle was verified byte-for-byte against public1.0.2 source `47c23713d0a2a3c11ebde6186afd8c43489b8b65` before conformance tests. Package smoke passed reproducible packing and isolated install/uninstall plus bash/zsh shorthand contract/lifecycle. npm audit reported0vulnerabilities. An initial scoped run had two stale expected update-banner regex failures; both were corrected before the passing final full run. Package hashes before this record was added are not final release artifacts. Exact candidate-source/retained artifact hashes and final CI/review gates are recorded in the preparation PR; this record itself is not publication evidence.
|
|
87
|
+
|
|
88
|
+
Read-only registry baseline was latest0.3.5, preview0.1.0-preview.1 and target0.3.6absent. Public0.3.5 bytes/integrity/provenance source/run matched the historical publication; those are not fresh publisher/MFA-setting audits. After npm login, pending-stage list was empty and sole maintainer was abruption. The user explicitly skipped the TrustedPublisher lookup for this0.3.6 release. The user separately skipped the fresh web package publish-MFA policy read for this 0.3.6 publication; neither skipped setting is freshly confirmed. Protected environment approval and actual final npm stage 2FA remain required. GitHub npm environment required reviewer abruption, disallowed administrator bypass, allowed main only and held zero secrets, as did repository Actions. No settings/token/protection change, native/model input, actual delivery/ACK, fleet/global install or publication occurred in these preparation checks.
|
|
2
89
|
|
|
3
90
|
## 0.3.5 pre-staging document correction — 2026-10-13 KST
|
|
4
91
|
|
|
@@ -124,6 +211,353 @@ request-count assertions are preserved. This was test isolation, not a runtime
|
|
|
124
211
|
failure or a CI rerun treated as an unchanged-head success. Final PR-head CI
|
|
125
212
|
results are recorded in the PR after the correction.
|
|
126
213
|
|
|
214
|
+
## 0.4.0 scoped acceptance follow-up — 2026-10-11 KST
|
|
215
|
+
|
|
216
|
+
The user approved qualified macOS arm64 Codex observation and explicit operator
|
|
217
|
+
confirmation as the limited 0.4.0 scope. #69/#70/#71/#72 remain together. Linux
|
|
218
|
+
client-ID observation #130, Windows observation/private handoff storage #131
|
|
219
|
+
and voluntary receipt producer/authenticated collector bootstrap #132 are
|
|
220
|
+
Future extensions, not mandatory platforms/collectors for this release. Required
|
|
221
|
+
unsupported goals still refuse before effect; ordinary queues/manual receipts
|
|
222
|
+
do not qualify native observation or automated receipt authentication.
|
|
223
|
+
|
|
224
|
+
The source follow-up updates four-language README/guide scope, API and PARITY
|
|
225
|
+
without changing runtime or the frozen contract/pin bytes. Dated 0.3.3 preparation
|
|
226
|
+
evidence is retained; installation examples and explicitly unreleased handoff
|
|
227
|
+
sections are distinguished. SQLite may evaluate body-bearing cells internally;
|
|
228
|
+
body/error values are not returned to JavaScript or ordinary output.
|
|
229
|
+
|
|
230
|
+
Pure-validator cross-runtime checks invoke exact published Python 1.1.0
|
|
231
|
+
`8ca77cf31254c8287a2593fe484bb30a7dba2727` standalone and canonical handoff
|
|
232
|
+
module hashes, never its main/ledger/native CLI/collector. Five tests/45 data
|
|
233
|
+
cases passed: 19 accepted examples spanning all seven states, 12 schema/privacy/
|
|
234
|
+
ACK/retry negatives, four Python unsupported-observation state projections,
|
|
235
|
+
four Claude optional-absence/native-profile cases and six Codex native-profile
|
|
236
|
+
cases. Python UUID reason names remain distinct from TS. The first launch lacked
|
|
237
|
+
the reference environment (ENOENT), and the next run exposed an incorrect
|
|
238
|
+
expected Python UUID reason; both were corrected before the final pass. This is
|
|
239
|
+
actual pure-function comparison, not native delivery/receipt/runtime parity.
|
|
240
|
+
|
|
241
|
+
Focused ACK core/CLI checks passed 55/55 after adding wrong correlation/epoch/
|
|
242
|
+
generation and malformed/private-input negatives, byte-identical ledger
|
|
243
|
+
preservation and positive/duplicate operator confirmation with no native queue.
|
|
244
|
+
The companion guidance candidate is tracked in session-peer-skill #31. Its named
|
|
245
|
+
session was inactive at dry-run, so no message was queued and no wake/resume was
|
|
246
|
+
used. Existing skill metadata/immutable pin are not upgraded by this work.
|
|
247
|
+
|
|
248
|
+
The SSH handoff suite passed 14/14 on macOS arm64. Three destination-side Codex
|
|
249
|
+
fixtures cover exact-ID injection, no injection before deadline and queue-response
|
|
250
|
+
loss, with original preparation binding and at most one queue RPC. These use fake
|
|
251
|
+
SSH and a scripted native peer, not a new remote/native qualification. The request
|
|
252
|
+
budget is 15 seconds; the harness has a separate 20-second cleanup limit.
|
|
253
|
+
|
|
254
|
+
Integrated `npm test` (including build and type checks) passed 347 tests:
|
|
255
|
+
342 pass, zero fail, five Windows-only skips on macOS arm64 / Node 24.16.0.
|
|
256
|
+
Packaging and exact-head CI are recorded in PR #109. Tests are separate from the
|
|
257
|
+
earlier KR/US real ordinary queues and local native qualification. Issue checklists
|
|
258
|
+
and publication approval are separate gates; no merge/release/tag operation is
|
|
259
|
+
included here.
|
|
260
|
+
|
|
261
|
+
## 0.4.0 owner-probe fixture follow-up — 2026-10-11 KST
|
|
262
|
+
|
|
263
|
+
CI run `38110140277` at test/docs checkpoint
|
|
264
|
+
`60895b46d8758c7427b90bc154414bd4d01487e7` failed the macOS Node 22
|
|
265
|
+
positive-acceptance/ledger-failure regression: it returned
|
|
266
|
+
`app_server_owner_changed` before the intended persistence failure.
|
|
267
|
+
The other platform jobs passed; the release gate failed, so this run is not
|
|
268
|
+
all green. CodeQL run `38110137845` passed with no open branch alerts.
|
|
269
|
+
The holder remains alive until test cleanup; no holder expiry was found.
|
|
270
|
+
The bounded owner probe had four extra Node starts for its fake lsof/ps tools,
|
|
271
|
+
in addition to the production 250ms sample interval. This is a fixture startup
|
|
272
|
+
burden consistent with the failure, not proof of its precise timing cause.
|
|
273
|
+
|
|
274
|
+
The fixture now uses static POSIX scripts for lsof/ps and keeps owner evidence
|
|
275
|
+
as separate raw NUL-delimited data. PID, UID, start identity, changed-owner
|
|
276
|
+
checks, real lock holder and cleanup are preserved. Production 800ms probe
|
|
277
|
+
budget, 250ms recheck, refusal behavior and regression assertions are unchanged.
|
|
278
|
+
No runtime, native qualification or platform-support change is part of this fix.
|
|
279
|
+
The focused macOS arm64 / Node 24.16.0 delivery suite passed 16/16, including
|
|
280
|
+
the intended persistence failure and changed-owner refusal. Follow-up full
|
|
281
|
+
validation and exact-head CI are recorded in PR #109.
|
|
282
|
+
|
|
283
|
+
## 0.4.0 real Linux SSH submission checks — 2026-10-11 KST
|
|
284
|
+
|
|
285
|
+
The unpublished development checkpoint `e83fcffa2dbee33de0694e30b6420d83a128fc5e`
|
|
286
|
+
was copied explicitly to fresh, private marked test prefixes on two Linux
|
|
287
|
+
arm64 hosts. Both ends used that candidate, rather than the public npm package
|
|
288
|
+
whose version label is also 0.3.3. Candidate/dependency archive SHA-256 was
|
|
289
|
+
`aadfd3630b67d905a8f474e305f972c7bf670a99365c62dd53fa83d1e04764da`;
|
|
290
|
+
each destination verified the hash before extraction. No global installation,
|
|
291
|
+
profile, service, SSH trust, native configuration or authentication change was
|
|
292
|
+
made. SSH used strict host-key checking, batch authentication and no control
|
|
293
|
+
socket. Each private destination ledger was explicitly initialized.
|
|
294
|
+
|
|
295
|
+
On the first host, Node 24.16.0 / native Codex 0.162.1, the user-authorized
|
|
296
|
+
existing session passed saved-thread and unique stable live-writer dry-run
|
|
297
|
+
checks. One best-effort correlated send exited 0 with `queued`,
|
|
298
|
+
`submitted=true`, an optional native `queueId` and handoff `submitted`.
|
|
299
|
+
Observation and automatic ACK remained `unsupported`; a later status query
|
|
300
|
+
preserved those facts. A requested voluntary reply was not yet received at
|
|
301
|
+
this checkpoint; no transcript or queue polling was used to infer receipt.
|
|
302
|
+
|
|
303
|
+
On the second host, Node 24.18.0 / native Codex 0.159.2, the existing saved
|
|
304
|
+
session was inactive and dry-run correctly refused with `inactive_writer`.
|
|
305
|
+
It was neither resumed nor queued through inactive opt-in. A separately owned
|
|
306
|
+
read-only test TUI in an already trusted working directory produced READY,
|
|
307
|
+
passed unique live-writer dry-run, and received exactly one candidate SSH
|
|
308
|
+
submission. The original terminal displayed its requested identification
|
|
309
|
+
response. An explicit operator confirmation bound to the original correlation,
|
|
310
|
+
ledger epoch and generation was recorded before any separate wait: confirmation
|
|
311
|
+
and status exited 0 with `acknowledged`, `assurance=operator_confirmed`,
|
|
312
|
+
`late=false`; a subsequent acknowledged wait exited 0 with `satisfied` and
|
|
313
|
+
performed no submission. This is operator attestation, not automated receipt
|
|
314
|
+
authentication or native client-ID observation. The test TUI closed and
|
|
315
|
+
`inspectWriter` then reported inactive/absent. Its native test record remains;
|
|
316
|
+
no existing native record was deleted.
|
|
317
|
+
|
|
318
|
+
On both hosts, required `--wait-for delivered` refused before effect with
|
|
319
|
+
`evidence_unsupported`, `submitted=false` and retry disallowed. Best-effort
|
|
320
|
+
results retained `consumptionConfirmed=false`; neither queue receipt nor
|
|
321
|
+
terminal response changed that field. These are real SSH/native ordinary-queue
|
|
322
|
+
checks, not Linux observation qualification: Linux native app-server/client-ID
|
|
323
|
+
projection and automatic original-sender SSH ACK bootstrap remain unsupported.
|
|
324
|
+
Both marked remote prefixes and their test ledgers were removed with ownership
|
|
325
|
+
checks, and their absence was verified. Local evidence retains only the test
|
|
326
|
+
results; public descriptions omit host/account paths and session identifiers.
|
|
327
|
+
|
|
328
|
+
## 0.4.0 integrated SSH review checkpoint — 2026-10-11 KST
|
|
329
|
+
|
|
330
|
+
Independent read-only review used Claude Code 2.1.296 with tools disabled and
|
|
331
|
+
no session persistence. The first 163,540-byte input timed out after 240 seconds
|
|
332
|
+
(exit 143, no response), so it supplied no review evidence. One narrower
|
|
333
|
+
104,671-byte retry completed in 268.508 seconds with exit 0, `is_error=false`
|
|
334
|
+
and actual model `claude-opus-5-5` (first-party). Its input SHA-256 was
|
|
335
|
+
`69169aacf2c7f02d6606aebbdb23961e2694a0845e86875f2848469ea97a1718`,
|
|
336
|
+
unchanged before/after the call. Neither call edited files or ran tests.
|
|
337
|
+
|
|
338
|
+
The review identified two required corrections: a complete successful
|
|
339
|
+
preparation followed by SSH failure must refuse the actual send, and a
|
|
340
|
+
post-submission persistence failure must preserve a verified pending wait
|
|
341
|
+
instead of losing its identifiers or inventing a terminal record. A stopped
|
|
342
|
+
wait with the wrong process exit is also discarded without discarding separate
|
|
343
|
+
native acceptance facts. These fixes and the earlier partial/no-EOF input
|
|
344
|
+
deadline correction have focused regression tests; subsequent integrated
|
|
345
|
+
test results are recorded separately. The review input predates those final
|
|
346
|
+
corrections and is not a whole-final-commit external verification.
|
|
347
|
+
|
|
348
|
+
A subsequent internal source audit found that failed-wait normalization could
|
|
349
|
+
discard the original malformed/missing `error` before envelope validation. The
|
|
350
|
+
regression now rejects that handoff while retaining independently valid native
|
|
351
|
+
acceptance facts. The first integrated full run recorded 337 total / 331 pass /
|
|
352
|
+
1 failure / 5 skips: a sub-millisecond early probe cutoff attempted to commit a
|
|
353
|
+
timeout before its exact monotonic deadline and therefore retained pending
|
|
354
|
+
state. The fix waits out only that fractional tail within the existing budget;
|
|
355
|
+
it neither extends the deadline nor invents a persisted terminal result. The
|
|
356
|
+
corrected run is recorded below.
|
|
357
|
+
|
|
358
|
+
The corrected integrated macOS arm64 / Node 24.16.0 run used the exact published
|
|
359
|
+
Python 1.1.0 export as `SESSION_PEER_PYTHON_ROOT` and
|
|
360
|
+
`PYTHONDONTWRITEBYTECODE=1`: `npm test` (build, test:types and all test files)
|
|
361
|
+
passed **337 total / 332 passed / zero failed / five Windows-only skipped**.
|
|
362
|
+
The preceding focused SSH/delivery run passed 27/27. Repository/link/anchor and
|
|
363
|
+
diff checks passed; `npm audit` reported zero vulnerabilities. These fixture
|
|
364
|
+
results do not widen the native/platform or actual Windows evidence above.
|
|
365
|
+
|
|
366
|
+
The first packaging invocation failed its reproducibility check because this
|
|
367
|
+
validation document was edited between its two packs. That invocation is not a
|
|
368
|
+
successful package check. Source/document edits were then stopped before the
|
|
369
|
+
repeat packaging check; its result and the exact-commit artifact are reported
|
|
370
|
+
in the PR checkpoint separately.
|
|
371
|
+
|
|
372
|
+
The apparent fanout deadline extension follows the frozen **per-destination**
|
|
373
|
+
budget, rather than one aggregate invocation deadline. Each destination keeps
|
|
374
|
+
one setup/preparation/effect/observation budget with its cleanup reserve;
|
|
375
|
+
sequential fanout can take their sum. Independent clocks cannot measure SSH
|
|
376
|
+
transit delay, and an unknown source result may precede a delayed destination
|
|
377
|
+
effect. No retry is authorized. A rejected dry-run timeout example lacked the
|
|
378
|
+
required prepared correlation and already fails option validation; it did not
|
|
379
|
+
require a runtime change.
|
|
380
|
+
|
|
381
|
+
## 0.4.0 additional native verification — 2026-10-11 KST
|
|
382
|
+
|
|
383
|
+
These are unpublished development checks on isolated, newly created test
|
|
384
|
+
sessions. They do not establish final whole-commit/full-suite CI or authorize
|
|
385
|
+
publication. Existing working sessions received no test message. Evidence is
|
|
386
|
+
bounded to the tested compiled components; later integrated checks are separate.
|
|
387
|
+
|
|
388
|
+
### Codex: exact metadata observation and manual confirmation
|
|
389
|
+
|
|
390
|
+
On macOS arm64 / Node 24.16.0, native Codex **0.162.1**, upstream source
|
|
391
|
+
`092d3acd6bec3e3a14bdc7e7a2810ab628ab759d`, was checked against the
|
|
392
|
+
version/platform/source and live evidence in
|
|
393
|
+
[`metadata-observation-native-evidence.json`](test/fixtures/metadata-observation-native-evidence.json).
|
|
394
|
+
The production reader matched the original exact client message ID, original
|
|
395
|
+
thread and generation before/after observation, and a positively linked
|
|
396
|
+
completed turn. Native item ID differed from client ID; neither that turn
|
|
397
|
+
completion nor the queue receipt was treated as ACK. The probe returned
|
|
398
|
+
bounded IDs/status only, with no body or history API output. SQLite internally
|
|
399
|
+
projects metadata from a body-bearing cell; this is not a promise that SQLite
|
|
400
|
+
never accesses body bytes.
|
|
401
|
+
|
|
402
|
+
Actual CLI checks used two additional fresh test threads, **one native queue
|
|
403
|
+
attempt per thread**, with no fallback or resubmission. Both observe-send
|
|
404
|
+
commands exited 0 with `status=queued`, `submitted=true`,
|
|
405
|
+
`consumptionConfirmed=false` and retry disallowed. A separate delivered wait
|
|
406
|
+
on the first thread was satisfied with exact injection evidence; status query
|
|
407
|
+
exited 0. Starting that wait before manual confirmation lost provable ordering:
|
|
408
|
+
confirmation correctly exited 1 with `receipt_order_unprovable`, retaining
|
|
409
|
+
original delivery facts and performing no requeue.
|
|
410
|
+
|
|
411
|
+
On the second thread, the operator verified the test-only voluntary response
|
|
412
|
+
against the original correlation, then confirmed **before starting another
|
|
413
|
+
wait**. Confirmation and status exited 0 with `state=acknowledged`,
|
|
414
|
+
`assurance=operator_confirmed`, `late=false`; a subsequent acknowledged wait
|
|
415
|
+
was satisfied and exited 0. This is an explicit operator attestation, not an
|
|
416
|
+
automated receipt collector or model identity proof. Automated receipt
|
|
417
|
+
capability remains unsupported. All owned test terminals were closed. Native
|
|
418
|
+
home test records were retained; no existing native record was deleted.
|
|
419
|
+
|
|
420
|
+
The fixture records exact compiled component hashes, including
|
|
421
|
+
`dist/metadata-observation.js` SHA-256
|
|
422
|
+
`4d01dae9a90f4cda3c7b45bf0c126067bff403f345d0d23bc593cc57363e0f83`
|
|
423
|
+
and `dist/handoff-ledger.js`
|
|
424
|
+
`efb46bcd1892ba9eb843a4ae603987f15ce535d942938dfe2c0e98a1343edcb9`.
|
|
425
|
+
These identify the tested components, not a final integrated commit.
|
|
426
|
+
|
|
427
|
+
### Claude: correlated submission and unsupported required ACK
|
|
428
|
+
|
|
429
|
+
A separate test-only Claude Code **2.1.296 / Opus 5.5** session on macOS
|
|
430
|
+
arm64 / Node 24.16.0 produced a READY response. Its launch identity, PID and
|
|
431
|
+
fresh private working directory were checked before each submission. Native
|
|
432
|
+
Claude assigned a non-null name; nullable names remain synthetic fixture
|
|
433
|
+
coverage. No tools, commands, file tasks or external messages were requested.
|
|
434
|
+
|
|
435
|
+
A prepared-ID correlated send and a separate best-effort `--request-ack`
|
|
436
|
+
send each submitted exactly once and exited 0 with `status=posted`,
|
|
437
|
+
`submitted=true`, `consumptionConfirmed=false`, handoff state `submitted`
|
|
438
|
+
and retry disallowed. Each produced its own identification-marker response
|
|
439
|
+
in the owned terminal. Subsequent status queries retained state `submitted`,
|
|
440
|
+
`injectionObserved=false` and ACK `not_requested`/`unsupported`: a plain
|
|
441
|
+
assistant response was not promoted to machine ACK or native observation.
|
|
442
|
+
Required `--wait-for acknowledged` instead exited 1 before effect with
|
|
443
|
+
`evidence_unsupported`, `status=refused`, `submitted=false` and unsupported
|
|
444
|
+
ACK/wait. Its marker never appeared in the owned terminal. Zero effect is
|
|
445
|
+
supported by the pre-effect code/result contract and terminal check, not socket
|
|
446
|
+
instrumentation. The terminal closed; its PID and native registry record were
|
|
447
|
+
absent. Private workspace, message files and sender ledger were removed.
|
|
448
|
+
|
|
449
|
+
The tested Claude compiled `dist/cli.js` SHA-256 was
|
|
450
|
+
`7195f5bd049bdba7ffbffd1d69473d9b90f9a42646851697e1df149054dc5d1f`;
|
|
451
|
+
`dist/handoff-operations.js` was
|
|
452
|
+
`99e15fbd8ad04e5f28490512b61bf0296b21d96ee787d63d1b8293e905f8665e`.
|
|
453
|
+
This earlier build differs from the subsequent Codex build; these results
|
|
454
|
+
must not be presented as a single final whole-commit run. Default native CLI
|
|
455
|
+
authentication was used without reading, copying or recording credentials.
|
|
456
|
+
|
|
457
|
+
### Windows: separate failed real-host fixture gate
|
|
458
|
+
|
|
459
|
+
The actual Windows 10 x64 / Node 24.16.0 suite recorded **266 total,
|
|
460
|
+
155 passed, 2 failed, 109 skipped**. The child failure and enclosing failure
|
|
461
|
+
refer to one underlying fake-SSH path, not two independent runtime defects.
|
|
462
|
+
The unsupported native-platform qualification guard selection separately
|
|
463
|
+
passed 3/3; it does not qualify observation on Windows.
|
|
464
|
+
|
|
465
|
+
Additional strict/batch SSH diagnostics compiled the repository C# fixture.
|
|
466
|
+
Twelve minimal Node/PowerShell child-launch controls passed across standard
|
|
467
|
+
stream redirection and window settings; encoded PowerShell `exit 0` also
|
|
468
|
+
passed. The owned test `.cmd --version` command instead reproduced
|
|
469
|
+
`Win32Exception: Access is denied` in `Process.StartWithCreateProcess`, with
|
|
470
|
+
both ordinary and isolated HOME/USERPROFILE, including a failure followed by
|
|
471
|
+
a successful `exit 0` control in the same executable. General process creation
|
|
472
|
+
worked; the exact host cause remains unverified. A recent Defender event query
|
|
473
|
+
with no matches neither identifies nor excludes a security product/policy.
|
|
474
|
+
The **real-host SSH fixture gate remains unpassed**; fixture CI is distinct
|
|
475
|
+
and cannot erase this result. No policy, permission, service, guard or execution
|
|
476
|
+
bypass was applied. No real agent/native queue was invoked by these Windows
|
|
477
|
+
fixtures. The marked remote diagnostic directory was deleted and its absence
|
|
478
|
+
confirmed. No private hostnames, account paths or session identifiers are
|
|
479
|
+
included here. Windows native observation, SSH handoff, automated ACK,
|
|
480
|
+
restart/crash continuity and other native versions/platforms remain outside
|
|
481
|
+
these successful macOS checks.
|
|
482
|
+
|
|
483
|
+
### Windows follow-up: alternate test launcher
|
|
484
|
+
|
|
485
|
+
Further controls on the same Windows 10 x64 / Node 24.16.0 host separated
|
|
486
|
+
launcher behavior without changing policies, permissions, services or production
|
|
487
|
+
guards. C#/.NET Framework launching PowerShell 5.1 `-EncodedCommand` reproduced
|
|
488
|
+
AccessDenied for both the owned `.cmd` wrapper and a direct Node version command.
|
|
489
|
+
The same PowerShell 5.1 encoded command launched by Node succeeded, as did
|
|
490
|
+
PowerShell 5.1 `-File`, direct `cmd.exe /d /s /c`, and the already installed
|
|
491
|
+
PowerShell 7 alternatives. This identifies a tested launcher-dependent difference;
|
|
492
|
+
it does not establish which security product or host setting caused the failure.
|
|
493
|
+
|
|
494
|
+
The test-only C# fake SSH now delegates to a fixed Node helper, preserving
|
|
495
|
+
PowerShell 5.1, `-NoProfile -NonInteractive -EncodedCommand`, the encoded request,
|
|
496
|
+
stdin, stdout/stderr and exit behavior. No execution-policy option or production
|
|
497
|
+
fallback was added. The helper's 55-second child limit remains inside the fake
|
|
498
|
+
SSH parent's 60-second limit; harness timeout returns 254, not native success.
|
|
499
|
+
|
|
500
|
+
An isolated copy of checkpoint `e83fcffa2dbee33de0694e30b6420d83a128fc5e`
|
|
501
|
+
with only those three test-file changes passed build/types, the Windows native
|
|
502
|
+
contract **9/9**, and `npm run test:windows`: **295 total / 165 passed / zero
|
|
503
|
+
failed / 130 skipped**. Unsupported native-platform guards separately passed
|
|
504
|
+
3/3. This replaces the failed fixture execution path with a validated alternate
|
|
505
|
+
test launcher; the original failure record above remains historical evidence.
|
|
506
|
+
It neither qualifies Windows native observation/ACK nor proves a real remote
|
|
507
|
+
agent send. The final C# fixture additionally requires the exact production
|
|
508
|
+
PowerShell prefix and one base64 token. Three real-host controls passed: exact
|
|
509
|
+
version command exits 0, a changed option is refused with exit 2, and trailing
|
|
510
|
+
whitespace is refused with exit 2. The C# file SHA-256 was
|
|
511
|
+
`b7845190939d4d915c56d1d072f23f5eeac3447a9994791d0b06ea2f0f147c38`.
|
|
512
|
+
The final guarded contract repeat and ownership-checked cleanup are reported
|
|
513
|
+
in the PR checkpoint. The integrated macOS arm64 / Node 24.16.0 run after these
|
|
514
|
+
test-file changes passed build/types and all tests: **337 total / 332 passed /
|
|
515
|
+
zero failed / five Windows-only skipped**, using the same exact Python 1.1.0
|
|
516
|
+
reference export. Repository/diff checks passed and audit reported zero
|
|
517
|
+
vulnerabilities. No runtime source or package metadata changed in this follow-up.
|
|
518
|
+
|
|
519
|
+
## Python 1.1.0 ordinary comparison — 2026-10-11 KST
|
|
520
|
+
|
|
521
|
+
Unpublished 0.4.0 development checkpoint: an isolated `git archive` export of
|
|
522
|
+
published Python 1.1.0 commit `8ca77cf31254c8287a2593fe484bb30a7dba2727`
|
|
523
|
+
was compared with the #69 worktree at `d62e813c8146e9832659654a850734fc986fd3d7`.
|
|
524
|
+
Only the subsequent published-design identity correction was pending; it did
|
|
525
|
+
not change the selected list/discovery source. No user's Python checkout,
|
|
526
|
+
agent home or saved thread was used. Archive SHA-256:
|
|
527
|
+
`7243c124398ec3b4cf4541881788dac955247d50949339e5f9f659bbb0d15ff9`.
|
|
528
|
+
|
|
529
|
+
macOS arm64 / Node 24.16.0 / Python 3.15.0 command:
|
|
530
|
+
|
|
531
|
+
```sh
|
|
532
|
+
SESSION_PEER_PYTHON_ROOT=<exact-reference-export> TASK_TEMP=<private-fixtures> PYTHONDONTWRITEBYTECODE=1 node --import ./test/fixtures/isolate-env.mjs --experimental-strip-types --test test/conformance.test.ts test/discovery.test.ts
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
Result: **21 tests, 21 passed, zero failed/cancelled/skipped**, exit 0 and empty
|
|
536
|
+
stderr. The private fixture directory was empty after test cleanup. These
|
|
537
|
+
existing tests compare ordinary listing/discovery projections and exercise
|
|
538
|
+
synthetic refusal paths; they do not establish full send/handoff/SSH
|
|
539
|
+
interoperability, native model delivery or ACK. No real native queue, message,
|
|
540
|
+
receipt, installation, policy or operation change occurred.
|
|
541
|
+
|
|
542
|
+
The subsequent candidate ordinary reference pin uses this exact release;
|
|
543
|
+
`test/fixtures/python-reference.pin.json` records its scope and selected source
|
|
544
|
+
hashes. `compatibility-v1.json` SHA-256 remains
|
|
545
|
+
`afd5a0b37562bb6a81afa9c20628bfae0cfe4d1caf9e88db402005fc42aabcd7`,
|
|
546
|
+
byte-identical to the historical 1.0.2 fixture. Frozen handoff design bytes and
|
|
547
|
+
the historical design baseline are unchanged. The earlier 0.3.x validation
|
|
548
|
+
records below retain their actual 1.0.2 oracle; the public npm 0.3.3 artifact
|
|
549
|
+
is not rewritten. Current integrated CI on the new pin is a separate gate.
|
|
550
|
+
|
|
551
|
+
After applying the candidate reference-pin changes on the #69 worktree based
|
|
552
|
+
on `f99417b`, `npm run build` and `npm run test:types` passed. The same isolated
|
|
553
|
+
reference export was used for the conformance/discovery/updates/handoff-contract
|
|
554
|
+
selection: **44 tests passed, zero failed/cancelled/skipped**, exit 0. The new
|
|
555
|
+
source-hash pin checks executed. Update tests use fixture registries and private
|
|
556
|
+
caches, not the public registry or an actual installation update. The repository
|
|
557
|
+
metadata/link/anchor checker and `git diff --check` passed. These are candidate
|
|
558
|
+
checks before root integration/current-head CI, not a public release or broader
|
|
559
|
+
native/ACK validation.
|
|
560
|
+
|
|
127
561
|
## 0.3.3 candidate preparation — 2026-10-09 KST
|
|
128
562
|
|
|
129
563
|
Preparation [#128](https://github.com/abruption/session-peer-ts/issues/128)
|