Repository navigation
Closed
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-inskind/featureNew feature or capability requestNew feature or capability requestpriority/normalOrdinary priority (the default)Ordinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle stateQueue worker lifecycle state
Description
Problem
PR #8928 implements the #2340 form.* capability (closed FormSurface model, form.present / form.result / form.cancel, device-manifest gating, deferred result delivery through WorldHandle::submit_form_result). Two gaps remain outside that packet's scope, surfaced by Copilot review on PR #8928 (2026-11-12):
- No shipped presenter is wired to the submission API. The web renderer only accepts screens, SSH falls back to the raw form JSON, and the native shell only projects text. A user on a shipped client cannot complete or cancel a presented form: no trusted presenter calls
WorldHandle::submit_form_resultwith the form id + presentation token. - Gating uses the host's device manifest, not the presenting client's. Served worlds spawn with
WorldHandle::host_device_manifest()(headless:text_entry: "none", no keys/encoder/pointer), soform.presentrefuses every form in the normal served path even when the connected browser/terminal could provide input. There is no plumbing that carries the presenting device's affordances to the actor.
Scope
- Wire one trusted presenter end-to-end (web first, or the surface with the smallest path) : render
WorldSurface::Form, collect submit/cancel, callsubmit_form_resultwith the presentation token. - Define how a presenting client's device affordances reach the actor (per-session manifest at presentation time, or equivalent), and gate
form.presentagainst the presenting device instead of only the headless host manifest. - Keep the id: form.* capability + Form surface — structured input without program-supplied HTML (#2027) #2340 invariants: no program-supplied HTML/CSS/executable validation; invalid values are one-shot
bad_args/field_invalidwith host re-presentation; no server-side retry loop.
Acceptance
- A form presented in a served world can be completed and cancelled from the wired client, verified end-to-end.
- A client whose affordances lack text entry is refused text fields with
text_entry_unavailable; a capable client is not refused because the host is headless. - Tests cover the presenter submit/cancel path and the presenting-device gating.
Metadata
Metadata
Assignees
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)Package/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-inskind/featureNew feature or capability requestNew feature or capability requestpriority/normalOrdinary priority (the default)Ordinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle stateQueue worker lifecycle state
Activity
developing-today commentedon Nov 12, 2026
CODE-2703
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — task 18773 (lane code-e)
submit_form_resultis on origin/main (pkgs/id/crates/id-worlds/src/world/actor.rs:2435).pkgs/id/crates/id-cli/src/commands/serve.rs:982still spawns served worlds withWorldHandle::host_device_manifest()— headless,text_entry: "none"— so form.present refuses every form in the normal served path regardless of the connected client's affordances.WorldSurface::Form, and thread a per-session presenting-device manifest to the actor so gating reads the presenting device; the actor-side submit path and its tests already exist to build against.dezren39 commentedon Nov 17, 2026
agent-note:v1
state: parked
task: 20243 · lane: code-j · worker: repo-worker-code
issue: #8932
Fresh revalidation: issue remains OPEN, assigned to dezren39 (Drewry Pope); no open PR was found for #8932. No implementation started. Parked for 30 minutes because the 120-minute cross-surface change is assigned to Drew and exceeds this scheduled lane's launch budget. Resume by rechecking assignment and PR state; if ownership is cleared, create a laptop worktree and implement one presenter end-to-end. Queue labels now reflect parked state; bookkeeping remains deferred to fleet reconciliation.
dezren39 commentedon Nov 17, 2026
agent-note:v1
state: parked
task: 20243 · lane: any-o · worker: repo-worker-code
Fresh revalidation on 2026-11-17: #8932 remains OPEN and assigned to dezren39 (Drew); no open PR was found. I did not begin implementation. Re-parked 30 minutes: the 120-minute cross-surface change remains assigned to Drew. Resume only after explicit ownership clearance, and recheck issue/PR state first.
3 remaining items
dezren39 commentedon Nov 17, 2026
agent-note:v1
lane: code-j (openchamber-scheduled-lane, repo-worker-code)
transition: blocked
task: 20243
reason_class: escalated-to-user
summary: Picked up and verified, not started. This is a ~120 min cross-surface change assigned to dezren39, beyond the scheduled-lane budget. Four lanes have already parked it on 2026-11-17, so it is blocked for owner routing instead of being re-parked. No open PR exists for #8932. Needs an owner or a long-budget lane assignment.
dezren39 commentedon Nov 22, 2026
🤖 Progress · picked up by OpenChamber scheduled lane oc-code-07 · task 20243
Freshly checked: #8932 remains OPEN, no PR is open, and
lane_guard.py holdreports no hold label (it explicitly ignoreswork/assigned). The prior assignment-based park is not a blocker under current queue policy. The web form presenter is already present and wired on the current base; I am tracing the remaining actor/device-manifest gate before editing, to avoid duplicating landed work. Origin:openchamber-scheduled-lane.dezren39 commentedon Nov 22, 2026
Progress from the OpenChamber code lane: presenter input affordances now travel from the browser join through session input to actor-side form validation. They take precedence over the host manifest; legacy fallback remains for older clients and ignores headless manifests. Presenter-bearing inputs bypass group batching so metadata remains associated with the triggering actor turn.
Validation:
cargo test -p id-worlds --lib form_tests(14 passed). Webbun run typecheckis blocked by the installed TypeScript rejecting the existingbaseUrltsconfig option (TS5102).Reviewable slice: #12281, commit
a0c4a58429. This completes the presenting-device gating slice; remaining full issue acceptance, if not covered by the existing presenter/test path, should be handled as follow-up rather than duplicated here.dezren39 commentedon Nov 22, 2026
Progress update for #8932 / PR #12281: added session-level served-world tests for capable vs no-text-entry presenter gating and authenticated form submit/cancel result frames. The focused Rust suite passes (4/4) via fleet-build-lock; commit 1c5f75e is pushed. The cancel fixture now declares a true cancel action, and the capable-presenter fixture grants form.result so the test exercises the intended path. PR review is running. The web Vitest suite could not run because vitest is not installed in this worktree, so I am leaving #8932 open and this as a reviewable slice rather than claiming the full end-to-end acceptance is closed.
dezren39 commentedon Nov 22, 2026
Codex review for PR #12281 completed with no findings on commit
1c5f75ecac. The PR remains open, so queue task 20243 is blocked on that PR pending merge. We still have not verified the served-client end-to-end submit/cancel acceptance; the web Vitest suite could not run becausevitestis not installed in this worktree. Keeping #8932 open and will resume acceptance verification after the PR dependency resolves.