GeezerVison is showing github.com — ci(id/worker-poc): participant-clamp.mjs — the #3726 clamp regression smoke — is not in the npm run smoke chain and absent from the README; the #6374 wiring pass missed it · Issue #6402 · developing-today/code
ci(id/worker-poc): participant-clamp.mjs — the #3726 clamp regression smoke — is not in the npm run smoke chain and absent from the README; the #6374 wiring pass missed it #6402DescriptionProblem
pkgs/id/worker-poc/smoke/participant-clamp.mjs — the regression pin for the Codex P2 on PR #3726 — is not run by the worker-poc's aggregate entry point and is not documented, so the pin executes only when someone remembers its private script name.
The pin: the native host clamps participant IDs to i32::MAX (sandbox.rs: i32::try_from(participant).unwrap_or(i32::MAX)); PlazaGuest used to wrap them with | 0, so participant 4294967296 became participant 0. roc-chat routes participant 0 through its host-event handler (input not appended) while any real participant appends, so the wrap is observable in the guest view. The smoke asserts 4294967296 behaves exactly as i32::MAX and differently from 0 (smoke/participant-clamp.mjs:1-28).
Evidence (verified this run, laptop primary @ origin/main 2fac2b7b0f)
pkgs/id/worker-poc/package.json — the smoke script is node smoke/counter-smoke.mjs && node smoke/post-update-failure.mjs && node smoke/participant-validation.mjs. participant-clamp has a script of its own (package.json:15) but is not in the smoke chain.
pkgs/id/worker-poc/README.md smoke section (lines 42-52) documents counter-smoke, post-update-failure, and participant-validation — participant-clamp is absent from the README.
- Repo-wide grep for
participant-clamp returns only the file itself and its own package.json script: no workflow, flake check, justfile, or NixOS module runs it (the poc smokes have no CI venue at all — established for the sibling in ci(id/worker-poc): participant-validation.mjs — the #4074 regression smoke — has no entry point: not in the smoke chain, no script of its own, absent from the README #6372).
- This is the leftover of the ci(id/worker-poc): participant-validation.mjs — the #4074 regression smoke — has no entry point: not in the smoke chain, no script of its own, absent from the README #6372 fix: PR ci(id/worker-poc): wire participant-validation smoke into entry points (#6372) #6374 (commit
8f2cf5dd62) added participant-validation to the smoke chain and the README, and participant-clamp — already present with its own script at that commit — was passed over by the same pass.
- The smoke itself is green: on the laptop (Node v24.21.0, files extracted verbatim from
origin/main), node smoke/participant-clamp.mjs exits 0 with participant-clamp: ok (i32::MAX view "chat seen=0 last= input=x"; participant 0 view "chat seen=0 last= input=").
Distinct from CLOSED #6372 (that was participant-validation.mjs, which had no script of its own and no chain entry; it is now wired). This file is the remaining orphan smoke in the same directory.
Why it matters
The clamp-vs-wrap difference is exactly the class of host/isolate divergence the worker-poc exists to catch (#2271), and it was a review-caught regression once already (Codex P2 on PR #3726). A pin that the documented aggregate command (npm run smoke) silently skips can regress again unnoticed — the same failure mode #6372 fixed for its sibling.
Acceptance criteria
-
npm run smoke in pkgs/id/worker-poc executes smoke/participant-clamp.mjs along with the other smokes, and the full chain is green.
- The README smoke section documents
participant-clamp (what it pins, how to run it alone via npm run participant-clamp), matching the treatment participant-validation got in ci(id/worker-poc): wire participant-validation smoke into entry points (#6372) #6374.
- No behavior change to
participant-clamp.mjs itself or to the guest/host code it pins.
Activityadded kind/ciCI/CD pipelines, workflows, and build automation task/triageQueue packet kind: verify, reproduce, and route this item app/idPackage/app: id (pkgs/ or apps/ in this repo) on Nov 6, 2026developing-today commented on Nov 6, 2026 dezren39 commented on Nov 6, 2026 dezren39 commented on Nov 6, 2026 developing-today commented on Nov 8, 2026 Lane code-u claimed task 10829 (issue #6402, small_fix). Fresh check: issue #6402 OPEN, no hard-stop labels. assigned_lane=opencode per lane ledger, so handed off to the opencode claimant per runbook 1b; checkpoint stage=handed_off recorded. dezren39 commented on Nov 11, 2026
🤖 Agent note · done (already_done) — task 10829, lane code-c
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|