session-peer 0.4.0 → 0.5.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/VALIDATION.md CHANGED
@@ -1,4 +1,383 @@
1
- # Validation record — updated 2026-10-18 KST
1
+ # Validation record — updated 2026-10-20 KST
2
+
3
+ ## 0.5.0 preparation scope — 2026-10-20 KST
4
+
5
+ This release preparation includes the merged platform groundwork from #153,
6
+ #156 and #154, package/banner/current examples for 0.5.0, one finite doctor
7
+ row preserving the four existing profiles, and the public 0.4.0 release
8
+ baseline. It does not activate the Linux candidate, Windows tree cleanup,
9
+ Windows handoff storage/native observation or Windows-client jump.
10
+
11
+ The proposed #155 deployment harness and its new qualification claims are
12
+ excluded. Its implementation and review evidence remain in that Draft PR
13
+ for minimum-contract redesign under #23; they are not release evidence.
14
+ The existing remote-deployment ADR stays at the main-branch version.
15
+
16
+ Independent test-only fixes to persisted queue/initialize readiness and
17
+ warm WAL fixture lifetime are retained. They change neither runtime guards
18
+ nor observation deadlines or assertions; the original CI timeout causes
19
+ remain unproven. Historical platform and mutation runs below keep their
20
+ recorded source checkpoints and do not qualify new 0.5.0 support cells.
21
+
22
+ Final source, current-head CI and rebuilt artifact results belong to the
23
+ release-preparation PR. Preparation performs no staging, publication,
24
+ new native/model/ACK experiment or global installation.
25
+
26
+
27
+ ## Windows client jump ProxyCommand probe — #20, 2026-10-20 KST
28
+
29
+ Unreleased branch source (`windowsProxyCommand`, CLI gate unchanged) on a
30
+ Windows x64 test host: Windows 10 x64 (10.0.19045), PowerShell 5.1, Node
31
+ 24.16.0, inbox-path Win32-OpenSSH `OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2`
32
+ (file version 9.5.4.1), administrator account, dedicated temporary prefix.
33
+ No network destination: the generated `ProxyCommand` program was a compiled
34
+ argv-dump `ssh.exe` that recorded `GetCommandLineW`, the real UCRT argv
35
+ (`ucrtbase` `_configure_wide_argv`) and its parent process, then exited, so
36
+ the real `ssh.exe` failed with 255 before any key exchange. `-F none` and
37
+ prefix-only known-hosts files were used.
38
+
39
+ - 27 of 27 cells matched the source-derived model: 3 dump paths (plain; a
40
+ directory with spaces, `'`, `100%`, `(x) ^&!;,=#$`, `%PATH% %h %p %%`;
41
+ Unicode/emoji with `#`) × 3 hops (`hop@jump`, `h_o.p-1@jump.example:2200`,
42
+ `hop@[2001:db8::2]:22`) × 3 targets (`dummyhost`, IPv6 `2001:db8::1` with
43
+ `-p 2222`, and a quoted `HostName` containing a space and `-oProxyCommand=x`).
44
+ The raw command line equalled the percent-expanded value exactly; the UCRT
45
+ argv equalled the intended hop argv (all hardening options, `-W [host]:port`
46
+ as one argument, `-- <hop>`); the parent was the System32 `ssh.exe` itself,
47
+ so no `cmd.exe` ran and `%PATH%`, `^&` stayed literal. OpenSSH lowercased
48
+ the configured `HostName` before `%h` expansion.
49
+ - `ssh.cmd` and UNC paths were refused with `ssh_jump_unsupported_ssh_path`.
50
+ - On the same host, `test/ssh-jump-windows.test.ts`: 4/4 pass; `npm run
51
+ test:windows`: 317 tests, 179 pass, 0 fail, 138 POSIX-only skips, including
52
+ the native `ssh_jump_unsupported_platform` refusal test.
53
+ `fs-ext-extra-prebuilt` loaded after `npm ci --ignore-scripts`.
54
+ - Observation, not yet analysed: in this non-interactive SSH session the real
55
+ `ssh.exe` (even `ssh -G`) did not exit within 15 s when its stdin was a
56
+ Node pipe or file, and exited promptly with stdin ignored (`NUL`). The probe
57
+ therefore used ignored stdin. Windows-client SSH with pipe stdin is not
58
+ covered by this record; enabling needs that analysis first.
59
+ - Cleanup: the prefix was removed and no process with the prefix in its path or
60
+ command line remained.
61
+
62
+ The probe ran at branch revision `9d54fa3dfbb0c50a1f9624461a43a3f02824706b`
63
+ (the `windowsProxyCommand` code is unchanged by later comment and documentation
64
+ commits). The probe driver, the argv-dump source and host-identifier-free
65
+ results are kept out of the repository as review material, identified by
66
+ SHA-256 in the change description. A later correction makes the driver's exit
67
+ status depend on every cell, including refusal cells; it was not re-run, and
68
+ the recorded cells were all individually successful.
69
+
70
+ This is evidence for quoting only. Windows `--ssh-jump` stays refused: no hop
71
+ or destination connection, version other than 9.5p1, non-administrator
72
+ account, or #131 owned-process-tree cleanup (timeout, overflow, interrupt) was
73
+ exercised. Production Windows `run()` kills only the direct child; #131
74
+ leaves tree cleanup as an unselected preparation backend, so cleanup of a
75
+ `ProxyCommand` descendant is not guaranteed and blocks enabling. A stop
76
+ there remains an unknown effect with no resend.
77
+
78
+
79
+ ## #131 Windows tree-cleanup backend and storage guard (preparation, not selected) — source, 2026-10-20 KST
80
+
81
+ This is a source change on top of main `98074a0fb8c4aa6dbab32203fee79ac8244faf0b`,
82
+ not a release. Production behaviour is unchanged on every platform. On Windows,
83
+ `run()` still terminates only the direct child; descendants may linger, the
84
+ child keeps its full timeout, and no new result field or signal handling was
85
+ added.
86
+
87
+ Review established a design limit for owning a process tree on Windows 10
88
+ without native code:
89
+ - Descendant ownership cannot be proven. GetProcessTimes creation/exit values
90
+ are UTC wall-clock instants, not monotonic generations, and Win32_Process
91
+ ParentProcessId may refer to a reused PID.
92
+ - After a clock rollback, a child of an earlier holder of a parent's PID can
93
+ satisfy any creation-time ordering. Handle-holding fixes only the current
94
+ identity.
95
+ - A sound boundary needs the child created inside a Job object (suspended,
96
+ assigned, resumed), which Node's spawn cannot do.
97
+
98
+ The candidate backend `reapWindowsTree` is therefore kept unselected. It uses
99
+ held handles only, holds the visible tree before any kill, and classifies from
100
+ the post-hold snapshot only, by UTC creation-time ordering. That classifier is
101
+ provisional, not an ownership proof, and is known to be unsound under a clock
102
+ rollback. Confirmation requires a post-kill snapshot. Any observed PID swap, or
103
+ any vanished, denied or unlisted candidate, makes the result unconfirmed. Only
104
+ classifier-accepted candidates are killed. Its tests cover the algorithm and
105
+ record the rollback limit as a todo named as an unresolved design limit
106
+ (never counted as a pass or skip).
107
+
108
+ The storage guard is a read-only owner-SID/protected-DACL/reparse inspection
109
+ plus a protected private-leaf creator. It is not connected to the handoff
110
+ ledger, which still refuses Windows with `handoff_storage_unsupported`.
111
+ Accepting the token's default owner (an elevated administrator's
112
+ Administrators) is a weaker, group-wide boundary. Creator precheck, creation
113
+ and postcheck are not atomic. Null-DACL, parent-ACL and creator-race handling
114
+ remain unqualified while it is unconnected. Like the existing inspection code,
115
+ it resolves `powershell.exe` through PATH rather than a SystemRoot-pinned path.
116
+
117
+ Checkpoints. Each result belongs to the commit it was run on:
118
+ - Full local suite, macOS arm64 / Node 24.16.0, at `3dc405d`:
119
+ - build, test types, `npm run test:package`, repository checks and
120
+ `git diff --check` passed;
121
+ - `npm test`, with the pinned Python 1.1.0 reference
122
+ `8ca77cf31254c8287a2593fe484bb30a7dba2727`, passed with zero failures.
123
+ - Mutation checks, on the `f06041d` tree. Each guard was removed in turn, and
124
+ every removal made its regression test fail. The eight guards are:
125
+ - confirm only after a post-kill snapshot;
126
+ - doubt on an observed PID swap;
127
+ - no earlier-row inheritance for unlisted candidates;
128
+ - doubt on gone or denied candidates;
129
+ - doubt on unlisted candidates;
130
+ - reject a root after an observed exit;
131
+ - the creation-time check;
132
+ - hold the visible tree before any kill.
133
+ - Comment, wording and test-name changes only, at `534d3fb`: light checks.
134
+ - At the final head, the native process-tree fixture was redesigned. Light
135
+ checks, the focused local files and a Windows rerun of the two new test files
136
+ cover it (below).
137
+
138
+ Separately authorized isolated runs used a Windows x64 test host: Windows 10
139
+ 19045, PowerShell 5.1, Node 24.16.0 x64. The account was an administrator,
140
+ elevated over SSH. Each run used a dedicated temporary prefix and the host lock.
141
+
142
+ Runs on earlier heads, with the backend selected or exercised natively, found
143
+ and fixed:
144
+ - a detached helper exited at once;
145
+ - PowerShell 5.1 wrapped the JSON path array;
146
+ - an elevated administrator's files are owned by Administrators;
147
+ - a Node child's job ends its descendants.
148
+
149
+ Those earlier native backend runs let the classifier terminate processes it
150
+ accepted on the test host. The final head no longer runs the backend natively:
151
+ its kills cannot be bounded to fixture identities, and isolated-host approval
152
+ does not authorize terminating foreign processes.
153
+
154
+ At `f06041d`, `npm run test:windows` and `npm run test:package` passed on that
155
+ host.
156
+
157
+ Earlier fixture heads, through `534d3fb`, started a `PING.EXE` with a 600 s
158
+ lifetime and cleaned it up by PID. A grandchild could therefore have outlived a
159
+ run. Afterwards, cleanup was checked only through process command lines
160
+ containing the prefix (and later a read-only `PING.EXE` listing). Those checks
161
+ showed nothing, but no actual leak was observed or ruled out beyond them.
162
+
163
+ From the final fixture onward:
164
+ - The child and grandchild have explicit lifetimes: about 25 s for the child
165
+ (`run()` ends it earlier through its own handle) and about 11 s for PING.
166
+ - They are never killed by PID; the test only observes PID presence until
167
+ both are absent, then removes its directory last.
168
+ - Unreadable PIDs, or a PID still present or unknown, keep the evidence and
169
+ fail the cleanup.
170
+ - Presence is not identity: a reused PID can look present, and an error other
171
+ than ESRCH is reported as unknown.
172
+ - The mocked helper-transport test is skipped on win32, so a mock that misses
173
+ can never open its fake PIDs there.
174
+
175
+ The native tests on Windows are the production baseline and the storage cases;
176
+ the reruns of the two new files are in the PR.
177
+
178
+ ACLs of existing paths were not changed; the tests set a protected DACL only on
179
+ new leaves inside the prefix. The interrupt behaviour of production `run()` on
180
+ Windows is unchanged and untested here. The following remain unrun: the Windows
181
+ CI job (where the native tests are registered), non-admin and non-elevated
182
+ cells, arm64 and cold-boot helper latency. No live agent session or message,
183
+ policy, service or account change was made.
184
+
185
+
186
+ ## Unreleased Linux arm64 observation candidate — #130, 2026-10-20 KST
187
+
188
+ Source-only follow-up on the published 0.4.0 runtime; no version change.
189
+ Native selection is one exact `(process.platform-process.arch, native version,
190
+ source commit, platformOs, storage binding, owner inspection, artifact)` table
191
+ with no version range, libc/arch fallback or cross-platform inheritance.
192
+ Selectable rows are the two historical darwin-arm64 rows. A **linux-arm64 /
193
+ Codex 0.162.1 / `092d3acd…`** candidate pinned to the upstream
194
+ `aarch64-unknown-linux-musl` executable is recorded but **not activated**
195
+ (see "Activation decision" below); every Linux tuple is unsupported.
196
+
197
+ Head history: the live injection below ran with the candidate temporarily
198
+ selectable (local build of the later `b804115` tree); `b804115` and
199
+ `2f3b35d` committed it as a selectable row. Review round 2 found two
200
+ identity gaps, and the final head moves it to a non-selectable candidate.
201
+
202
+ Linux mechanics: owned app-server storage binding reads only that child's
203
+ `/proc/<pid>` (direct child, own group, all UIDs, exe inode, stable start time,
204
+ exact canonical paths, deleted descriptors refused); writer owner evidence
205
+ also requires `/proc/locks` to name the lsof owner as the sole exclusive
206
+ `flock` holder (Codex `File::try_lock`) without changing the generation; the
207
+ executable digest is checked within the original deadline.
208
+
209
+ Evidence on a Linux arm64 test host (kernel 7.0 aarch64, Node 24.18.0, ext4),
210
+ recorded in `test/fixtures/linux-observation-native-evidence.json`:
211
+
212
+ - Artifact: the user-owned standalone binary's SHA-256 `071cbe8d…cabe5` equals
213
+ the executable extracted from upstream `rust-v0.162.1`
214
+ `codex-aarch64-unknown-linux-musl.tar.gz` (`bf3ca271…`) and `.zst`.
215
+ - Schema: `codex app-server generate-json-schema --experimental` with empty
216
+ isolated HOME/CODEX_HOME produced queue/add params/response, item/started
217
+ and turn/completed hashes and an 84-method notification set identical to
218
+ the darwin 0.162.1 evidence.
219
+ - Live injection, separately user-approved, in one new dedicated TUI thread
220
+ started by absolute path with `--sandbox read-only --ask-for-approval never`
221
+ (trust via a `-c` override; `config.toml` unchanged). No other Codex writer
222
+ was live. The TUI showed an "Update available" menu with "Update now"
223
+ preselected; it was dismissed with Esc and nothing was updated.
224
+ - A new thread is not saved (no `threads` row or history projection) until its
225
+ first turn; a dry-run first refused `thread_not_yet_persisted`. One synthetic
226
+ bootstrap prompt was therefore typed (turn 1). Whether the earlier Darwin
227
+ dedicated threads had such a prior turn is **not recorded** in their evidence.
228
+ - The first send was refused **before effect** (`evidence_unsupported`,
229
+ `submitted=false`): the structural capability check used a version-only
230
+ lookup that became ambiguous once 0.162.1 had two platform rows. It was fixed
231
+ (regression test failed on the pre-fix code and passed after; it now uses a
232
+ hermetic two-platform table) and exactly one approved resend
233
+ of the same synthetic probe followed.
234
+ - That send exited 0 with `status=queued`, `submitted=true`,
235
+ `consumptionConfirmed=false`, state `delivered`, wait satisfied: one
236
+ matching client-ID row (native item ID different), linked turn, writer
237
+ generation unchanged and kernel flock holder equal to the lsof owner.
238
+ `handoff status` and an independent `handoff wait` exited 0. ACK remained
239
+ `not_requested`; the model's reply was not answered or treated as ACK.
240
+ Two model turns ran in total.
241
+ - Cleanup: only the owned tmux session was killed; the codex PID and its
242
+ `/proc/locks` entries were gone, and the private prefix and ledger were
243
+ removed. The native thread record and Codex's own empty lock files remain;
244
+ Codex removed one earlier stale empty lock file itself at startup.
245
+
246
+ Review follow-ups (same date):
247
+
248
+ - SSH destination requests cannot select a Linux row (`sshDestination: false`);
249
+ a qualified linux-arm64 destination refuses required delivery before effect
250
+ with zero queue calls and keeps the best-effort ordinary send. Darwin keeps
251
+ its 0.4.0 destination behaviour. At `2f3b35d` (row selectable) a Linux-host
252
+ regression showed the old code entering the row path over SSH and the fixed
253
+ code refusing; at the final head no Linux row is selectable and the policy
254
+ is covered by hermetic synthetic-table tests.
255
+ - Executable digest and procfs binding now run in an owned worker: at the
256
+ original remaining budget the supervisor requests termination of the
257
+ worker's group and the caller refuses; actual reaping of a worker blocked in
258
+ uninterruptible kernel I/O may occur later, when the kernel returns. This is
259
+ a refusal-at-deadline guarantee, not a bound on how long a blocked kernel
260
+ call takes. The `--procfs-owner` reads run inside the already
261
+ deadline-bounded writer-probe process. Canonical-path `lstat` checks remain
262
+ in the caller, as on Darwin.
263
+ - Retained identity: the generation still binds the lock fingerprint, lsof
264
+ pid/uid/command and `ps lstart` (1-second resolution). The kernel tick start
265
+ time and flock holder are checked within each probe invocation, not against
266
+ the original send, and the TUI writer's executable bytes are not pinned
267
+ (only the owned queue child's artifact is). PID reuse within the same second
268
+ by another `codex` that re-acquires the unchanged lock inode would not be
269
+ detected. A retained Linux kernel identity needs a ledger-schema field and
270
+ is a follow-up; generation compatibility was kept.
271
+ - External review inputs received summaries of the native send/status/wait
272
+ JSON and generation values, not the raw records; the root review audited the
273
+ raw private records separately.
274
+
275
+ Activation decision (review round 2): the row is not activated because (1)
276
+ only the owned queue child's executable is digest-pinned, while the original
277
+ TUI writer is checked by lsof command/pid/uid and `ps lstart`, so a
278
+ different-version or gnu writer holding the lock beside a pinned musl queue
279
+ binary is not distinguished; and (2) the writer's kernel start time is not
280
+ retained across send and independent wait. Safely closing (2) needs an
281
+ optional private ledger field owned by the ledger, so both are frozen as the
282
+ follow-up design in PARITY.md rather than pushed as an unreviewed schema
283
+ change. Recorded artifact/schema/injection evidence and the procfs machinery
284
+ remain; SSH destination requests can never select a Linux row. The worker
285
+ comment now limits its hard bound to the worker's supervisor refusal;
286
+ caller-side `realpath`/`stat`/`lstat` stay synchronous with deadline checks
287
+ only.
288
+
289
+ Full suites at the `dd21302` source checkpoint (candidate not activated): on
290
+ Darwin 27.0 arm64 / Node 24.16 the full `npm test` (with the pinned Python
291
+ reference) passed 400, failed 0, skipped 8 (5 Windows-only, 3 Linux-only). On
292
+ the Linux arm64 test host it passed 376, failed 0, skipped 28
293
+ (Darwin-qualified and Windows-only), with every Linux-only native case
294
+ passing; that run used only fixtures in a private prefix, with no
295
+ credentials, model turn or install change. The raw Linux log has no HEAD
296
+ marker; it is tied to the checkpoint by the executor's run record. Earlier
297
+ checkpoints' counts (`b804115`, `2f3b35d`) are superseded.
298
+
299
+ Later documentation/comment/evidence-description commits (`ffe8afc` and the
300
+ following one) changed no runtime statement. At those heads only light gates
301
+ ran: `npm run build`, `npm run test:types`, the related linux-observation,
302
+ app-server and metadata-observation tests (80 pass, 0 fail, 3 skipped),
303
+ `node scripts/check-repository.mjs` and `git diff --check`. No new full-suite,
304
+ Linux-host or live-model run was performed at those heads.
305
+ Queued/delivered remain distinct from receipt ACK or work completion.
306
+
307
+ ## Public 0.4.0 — 2026-10-18 KST
308
+
309
+ `session-peer@0.4.0` is public. Registry checks confirmed `latest=0.4.0` and
310
+ unchanged `preview=0.1.0-preview.1`. The publication source is
311
+ `dde3923efe116f87f38b1639b29b889d2b832e44`, merged from
312
+ [PR #151](https://github.com/abruption/session-peer-ts/pull/151). Its complete tree
313
+ matched reviewed head `bfbadfa42513791899fc8d2b5441238bbe5b2c4e`.
314
+ Exact-main [CLI run 39076708873](https://github.com/abruption/session-peer-ts/actions/runs/39076708873)
315
+ and [CodeQL run 39076708830](https://github.com/abruption/session-peer-ts/actions/runs/39076708830)
316
+ passed.
317
+
318
+ [Publication workflow 39077096491](https://github.com/abruption/session-peer-ts/actions/runs/39077096491)
319
+ completed successfully on attempt 1 for that exact source. Its Ubuntu preparation
320
+ job passed **383 total / 355 passed / 0 failed / 28 skipped**; these are the
321
+ actual platform-scoped counts, not the macOS preparation counts below. Build,
322
+ types, repository checks, reproducible package smoke, isolated installation and
323
+ removal, and npm audit passed. The uploaded artifact ID was `12117507059`, with
324
+ ZIP SHA-256 `b4eb62a6c68be0319d5d7013f11d11e9b438866f3a63359cc1808c91cbe61494`.
325
+ The ZIP digest identifies the artifact container, not the package tarball.
326
+
327
+ The reviewed, local, Actions, staged and public `session-peer-0.4.0.tgz` bytes
328
+ matched. The public tarball is 321,256 bytes and contains the exact 71-file
329
+ allowlist. All 18 packaged Markdown documents matched the publication source.
330
+ The release helper validated the exact downloaded artifact rather than a later
331
+ rebuild. Package hashes are:
332
+
333
+ - SHA-256: `84adc8b50ef8f03a2c2170e3c36a97b573f28a6bcbeb7dbc965e16c3b37a57c9`.
334
+ - npm integrity: `sha512-mMNJ118atoflhpFTkf2+DtO7MRf7FQnPK3lKWbq/vd8Xvb5DsjUtAgydIBOcd3Xj9BCYGqM50aFhzUr4dDGHSw==`.
335
+
336
+ Registry signature audit passed. Public attestation subjects matched the exact
337
+ tarball SHA-512, and the SLSA payload bound the repository, `refs/heads/main`,
338
+ `.github/workflows/publish.yml`, source `dde3923efe116f87f38b1639b29b889d2b832e44`,
339
+ `workflow_dispatch`, and run `39077096491/attempts/1`. This was also verified
340
+ cryptographically with npm 11.15.0's bundled Sigstore verifier, including the
341
+ certificate/transparency material and the exact workflow identity
342
+ `https://github.com/abruption/session-peer-ts/.github/workflows/publish.yml@refs/heads/main`
343
+ with issuer `https://token.actions.githubusercontent.com`. These cryptographic
344
+ checks are distinct from merely decoding and comparing the payload. A separate
345
+ fresh isolated package installation, CLI/list check and removal passed; no user
346
+ installation was replaced.
347
+
348
+ Fresh authenticated checks confirmed no conflicting pending stage and the
349
+ Trusted Publisher's stage-only permission. The user explicitly waived this
350
+ release's separate web **publish 2FA policy inspection**; that policy was not
351
+ freshly audited. The protected GitHub `npm` environment required reviewer
352
+ `abruption`, disallowed administrator bypass, and allowed only `main`; environment
353
+ and repository Actions secret counts were both zero. The environment approval
354
+ and final npm 2FA approval were completed by the user. The approved stage was
355
+ `414547b1-1b55-45dc-a0a4-9ca40407beec`. OIDC staging used no token fallback or
356
+ protection bypass. Staging success was not treated as publication before registry
357
+ verification.
358
+
359
+ The annotated `v0.4.0` tag object is
360
+ `7aad7bc6400499fbc1c323bd62f2210b3507fc9a`, peeled to the exact publication source
361
+ `dde3923efe116f87f38b1639b29b889d2b832e44`.
362
+ [GitHub release v0.4.0](https://github.com/abruption/session-peer-ts/releases/tag/v0.4.0)
363
+ was published as the latest release. No replacement source was assigned to the
364
+ published package or tag.
365
+
366
+ Publication added no new native/model, remote-host delivery or ACK qualification.
367
+ Native observation retains the previously recorded exact Codex 0.160.1/0.162.1
368
+ and macOS arm64 scope; explicit `operator_confirmed` receipts on supported POSIX
369
+ ledgers remain separate from automatic ACK collection. Linux observation,
370
+ Windows observation/private storage, and authenticated automatic receipt
371
+ producer/collector bootstrap remain follow-ups #130, #131 and #132. Queue
372
+ acceptance, injection, turn completion and plain replies do not automatically
373
+ establish receipt ACK; unknown outcomes never authorize a resend.
374
+
375
+ The published TS skill remains 0.2.1 at immutable source
376
+ `0f494cabd05901c03161dc91792dcf89f8e96631`, with SKILL SHA-256
377
+ `8c3520f95e0d6807303be96bfa06df69887ddaf76be05f1905505d0a956820c3`.
378
+ The separate skill 0.3.0 candidate and finite runtime/profile review do not
379
+ publish, install or adopt a new skill pin. Skill finalization and publication
380
+ require their separate approval and exact artifact checks.
2
381
 
3
382
  ## 0.4.0 preparation checks — 2026-10-18 KST
4
383
 
@@ -1,4 +1,6 @@
1
1
  import type { Readable, Writable } from 'node:stream';
2
+ import { type NativeProfile } from './native-profiles.js';
3
+ import { type ProcReader } from './linux-proc.js';
2
4
  export declare const APP_SERVER_EVIDENCE: Readonly<{
3
5
  version: "0.160.1";
4
6
  inspectedPlatform: "darwin-arm64";
@@ -27,6 +29,15 @@ export declare const APP_SERVER_QUEUE_EVIDENCE: readonly (Readonly<{
27
29
  queueAddResponseSha256: "c11b9772788427b19c9f9decf0765e2b41cbdead1aa9c3d39f42fdd70b339314";
28
30
  itemStartedSha256: "692c5876f44a4c12a9b9211912860ceddb65d34497ab4fe9aa46cbebe1a63166";
29
31
  turnCompletedSha256: "69413578ec3ecd02691424bdeb9d640c7244b4ca4c5c3ef26f69a2efe7c37db8";
32
+ }> | Readonly<{
33
+ version: "0.162.1";
34
+ inspectedPlatform: "linux-arm64";
35
+ officialSourceCommit: "092d3acd6bec3e3a14bdc7e7a2810ab628ab759d";
36
+ scope: "generated_schema_only";
37
+ queueAddParamsSha256: "60f25b7d3e3357c215bef9d2fe7047200f545e030dca9e00527ac0620cd0c88f";
38
+ queueAddResponseSha256: "c11b9772788427b19c9f9decf0765e2b41cbdead1aa9c3d39f42fdd70b339314";
39
+ itemStartedSha256: "692c5876f44a4c12a9b9211912860ceddb65d34497ab4fe9aa46cbebe1a63166";
40
+ turnCompletedSha256: "69413578ec3ecd02691424bdeb9d640c7244b4ca4c5c3ef26f69a2efe7c37db8";
30
41
  }>)[];
31
42
  export declare const APP_SERVER_LIMITS: Readonly<{
32
43
  frameBytes: 65536;
@@ -157,8 +168,8 @@ export declare class BoundedAppServerClient implements AppServerPort {
157
168
  private readonly timer;
158
169
  private constructor();
159
170
  static connectMetadataFixture(scope: AppServerScope, transport: MetadataOnlyTransport, deadlineMs: number, verifyOwner: (scope: AppServerScope) => Promise<boolean>): Promise<BoundedAppServerClient>;
160
- static connectNativeQueueFixture(scope: AppServerScope, transport: MetadataOnlyTransport, deadlineMs: number, verifyOwner: (scope: AppServerScope) => Promise<boolean>, beforeEffect: () => Promise<void>, nativeVersion?: string): Promise<NativeQueuePort>;
161
- static connectNativeQueueWire(scope: AppServerScope, transport: NativeQueueTransport, deadlineMs: number, verifyOwner: (scope: AppServerScope) => Promise<boolean>, beforeEffect: () => Promise<void>, nativeVersion?: string): Promise<NativeQueuePort>;
171
+ static connectNativeQueueFixture(scope: AppServerScope, transport: MetadataOnlyTransport, deadlineMs: number, verifyOwner: (scope: AppServerScope) => Promise<boolean>, beforeEffect: () => Promise<void>, nativeVersion?: string, platform?: string, profiles?: readonly NativeProfile[]): Promise<NativeQueuePort>;
172
+ static connectNativeQueueWire(scope: AppServerScope, transport: NativeQueueTransport, deadlineMs: number, verifyOwner: (scope: AppServerScope) => Promise<boolean>, beforeEffect: () => Promise<void>, profile: NativeProfile): Promise<NativeQueuePort>;
162
173
  private static connectWire;
163
174
  private check;
164
175
  private owner;
@@ -182,9 +193,15 @@ export declare class BoundedAppServerClient implements AppServerPort {
182
193
  private fail;
183
194
  close(): Promise<void>;
184
195
  }
196
+ export declare function artifactDigest(path: string, deadlineMs: number, maxBytes?: number): Promise<string>;
197
+ export declare function verifyProcfsSqliteBinding(pid: number | undefined, home: string, deadlineMs: number, binary: string, reader?: ProcReader): Promise<void>;
185
198
  export declare function nativeQueueOnce(options: NativeQueueOptions): Promise<{
186
199
  queueId: string;
187
200
  clientUserMessageId: string;
188
201
  }>;
202
+ export declare function nativeQueueOnceWithProfiles(options: NativeQueueOptions, table: readonly NativeProfile[]): Promise<{
203
+ queueId: string;
204
+ clientUserMessageId: string;
205
+ }>;
189
206
  export declare function spawnOwnedMetadataFixture(binary: string, args: string[], env: NodeJS.ProcessEnv): MetadataOnlyTransport;
190
207
  export {};