Skip to content

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 #6402

Closed

Description

@dezren39

Problem

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)

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.

Activity

  1. added
    kind/ciCI/CD pipelines, workflows, and build automation
    task/triageQueue packet kind: verify, reproduce, and route this item
    source/creatorFiled by the new-issue-creator job
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 6, 2026
  2. developing-today commented on Nov 6, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · filed

  4. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 6, 2026
  5. dezren39 commented on Nov 6, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  6. 112 remaining items

  7. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 8, 2026
  8. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor
    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.
  9. added
    priority/lowNice to have; do when convenient
    and removed
    priority/normalOrdinary priority (the default)
    on Nov 11, 2026
  10. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (already_done) — task 10829, lane code-c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/ciCI/CD pipelines, workflows, and build automationpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions