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-insepic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/featureNew feature or capability requestNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Description
Follow-up from the capability taxonomy v0 investigation (#2027, record: doc/2026-10-29T14-05-00Z_investigation_capability_taxonomy/, PR #2337).
Goal
form.* capability plus a Form WorldSurface variant: structured input (text, choice, number, date, confirm fields + actions) that each device renders with its own trusted widgets — never program-supplied HTML/CSS/validation code.
Scope
- Caps
form.present,form.result,form.cancel. A presented form answers later as an event (form.result{form_id, action, values}), because the human may answer after the request's connection is gone. - Bounds: field set and payload share
MAX_ARGS_BYTES; the response obeysMAX_EVENT_BYTES. - Closed field set with declared minimal device requirements, because a rotary-encoder ESP32 can only do choice-from-list and number.
text_entry:"none"in the device manifest gates what a device may be asked for. - Validation is the program's job on the result; a rejected value is
bad_args+field_invalid, re-presented — no server-side retry loop.
Acceptance
- Catalog names added;
kind: formparses with a validated field/action model; a test asserts oversize forms are refused and a result event validates. - Text projection of a form (lines + numbered actions) exists per id: investigate: capability-based specialization — forms, location, media across web, ESP32/MQTT, and text/audio modes #2027's text-only rule.
- No HTML/CSS/escapes reachable from a form document.
Out of scope
Layout engine, focus model, multi-form composition, styling beyond semantic tokens.
Acceptance criteria
- Catalog names form.present / form.result / form.cancel added;
kind: formparses with a validated closed field/action model (text, choice, number, date, confirm) - A test asserts oversize forms are refused (field set + payload share MAX_ARGS_BYTES; responses obey MAX_EVENT_BYTES) and a result event ({form_id, action, values}) validates
- Text projection of a form (lines + numbered actions) exists per the id: text/1 presentation contract — text-only as the main mode, with a text projection for every surface (#2027) #2339 text-only rule; device gating via the id: device.info capability — device capability manifest for interface adaptation (#2027) #2338 manifest (e.g. text_entry:"none") is honoured
- No HTML/CSS/escapes reachable from a form document; rejected values surface as bad_args + field_invalid with re-presentation, no server-side retry loop
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-insepic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/featureNew feature or capability requestNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Activity
developing-today commentedon Oct 29, 2026
CODE-1185
dezren39 commentedon Oct 29, 2026
Intake review
Related: parent investigation #2027 (record: PR #2337); siblings #2338-#2345 are the other taxonomy follow-ups
Notes: Filed 2026-10-29T14:04Z from #2027. Still live: no open or merged PR implements it. Depends on #2338 (device manifest gates field types) and #2339 (text projection rule).
Risks: The async result-as-event shape (human may answer after the connection is gone) is the easy part to get subtly wrong; pin form_id correlation in the first test.
Suggested approach: Catalog + field model first, then present/result/cancel with the oversize and validation tests; text projection alongside, not after.
🤖 Agent note · filed
meta/enrichedapplied. Still-live check this pass: no merged PR or fix commit explicitly resolving this issue was found; where a queue triage task owns verification, it is named in the notes.dezren39 commentedon Nov 1, 2026
🤖 Agent note · picked up
form.present/result/cancelevent contract, deferredform.resultcorrelation,MAX_ARGS_BYTES/MAX_EVENT_BYTESbounds, closed field/action model, text projection, and device-manifest gating via id: device.info capability — device capability manifest for interface adaptation (#2027) #2338; related issues id: device.info capability — device capability manifest for interface adaptation (#2027) #2338 and id: text/1 presentation contract — text-only as the main mode, with a text projection for every surface (#2027) #2339 remain OPEN with no implementing PR found. The queue packet omits these material acceptance details/dependencies, so I will not improvise implementation.packet_defectwith the missing contract/dependency details; revise the packet before retrying.114 remaining items
dezren39 commentedon Nov 12, 2026
🤖 Agent note · parked — resume after ownership and worktree reconciliation
code-j256cc07d8d53e6eb34b2a1f1289ab4253cd937d8; existing branch/worktree/home/user/git/fleet/queue-5770-2340-form-surfaceis clean and matches origin at that head.repo-queue lane 5770reports no bound session (session_id=null,executed_lane=null). Current checks include a fleet-search parity failure, queued scripts/mcpx checks, and an id build in progress.dezren39 commentedon Nov 12, 2026
Bounded F11.10 check (the guard's rule: count lines before first
#[cfg(test)]) confirmspkgs/id/crates/id-worlds/src/world_ssh.rsis at 1,928 production lines, under 2,500. The latest production-line guard failure lists seven other files. Four are untouched by PR #8928:id-groups/src/encryption/tests.rs(2,850),id-worlds/src/directory.rs(2,536),id/src/cli/tests.rs(2,791), andid/src/commands/serve.rs(2,784). Three are modified by this PR but already exceeded the limit onorigin/main:world/actor.rs3,169→3,523,world/core.rs2,732→2,750, andworld_session/tests.rs3,230→3,182. I did not widen #2340 to split unrelated modules. PR #8928 remains OPEN at256cc07d8d; all inline review threads are resolved, and 28 focused form/SSH tests passed. Queue lane 6929 is againsession_id=null(updated 18:18:45Z), so task 5770 remains parked and I made no queue checkpoint or mutation.dezren39 commentedon Nov 12, 2026
agent-note:v1
state: picked-up (resume)
lane: any-b (task 5770)
summary: Resumed task 5770 after the 18:18Z park. PR #8928 head is now 256cc07 — the second writer's follow-up commits (dfd0370 cancellation safety, b405582 hardening, b9a14e helper split, 256cc07 unchanged-form repaint fix) landed and the worktree is clean/quiet. All 48 review threads on PR #8928 are resolved, including the two 18:11Z Codex P2 threads. CI on the current head shows only the known baseline failures (fleet-search/mcpx set, issue #8900); id checks and the production line-limit guard pass. Next: run the packet's targeted tests (cargo test -p id-core, -p id, fmt --check) on the laptop against this head, then merge under the standing criteria and complete task 5770.
Merge pull request #8928 from developing-today/queue/5770-2340-form-s…
dezren39 commentedon Nov 12, 2026
agent-note:v1
state: done
lane: any-b (task 5770)
summary: Task 5770 complete — outcome fixed_merged. PR #8928 merged at 2026-11-12T19:28:02Z, merge commit a5318f8; issue #2340 closed by the merge. Verification on head 256cc07: all 48 PR review threads resolved (incl. both 18:11Z Codex P2s, fixed by the follow-up commits dfd0370/b405582/256cc07); cargo test -p id-core 389 passed / 1 failed (frames::byte_refusal — baseline, verified on clean main); cargo test -p id --features ssh --lib 1028 passed / 1 failed (commands::world contract-check — baseline, verified on clean main); world_dos 16/16, world_roles 6/6, worlds_default_validation 4/4; full cargo test -p id remains blocked by the baseline probe_attestation_sign compile error (sign_claim arity, on clean main); cargo fmt --check fails identically on clean main and the branch adds no new fmt-diff files; CI failures on the PR were only the known fleet-search/mcpx baseline set (issue #8900).