Skip to content

id: form.* capability + Form surface — structured input without program-supplied HTML (#2027) #2340

Closed

Description

@dezren39

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 obeys MAX_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

Out of scope

Layout engine, focus model, multi-form composition, styling beyond semantic tokens.

Acceptance criteria

Activity

  1. added
    kind/featureNew feature or capability request
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    Contributor
  3. added
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 29, 2026
  4. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    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

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-10-29T14:30Z (09:30 CDT)
    • Found via: monitor reconciliation
    • Task: Duty 2 intake enrichment — acceptance criteria appended (original body preserved verbatim above it), labels normalized, meta/enriched applied. 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.
    • Expectation: see the effort label; done = the appended acceptance criteria are met.
    • Links: this issue
  5. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 1, 2026
  6. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  7. 114 remaining items

  8. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked — resume after ownership and worktree reconciliation

    • Agent: repo-worker-code, OpenChamber scheduled lane code-j
    • Session / ID: queue task 5770
    • Found via: atomic queue claim
    • Fresh state: PR feat(id): add structured form capabilities (#2340) #8928 OPEN at head 256cc07d8d53e6eb34b2a1f1289ab4253cd937d8; existing branch/worktree /home/user/git/fleet/queue-5770-2340-form-surface is clean and matches origin at that head. repo-queue lane 5770 reports 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.
    • Disposition: No edits, duplicate session, or branch created. This lane parks rather than taking over a repeatedly shared worktree or waiting on CI.
    • Resume: after the task owner reconciles the existing session binding and the worktree is confirmed quiet; inspect latest PR diff/review threads, finish acceptance, and refresh checks.
  9. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    Bounded F11.10 check (the guard's rule: count lines before first #[cfg(test)]) confirms pkgs/id/crates/id-worlds/src/world_ssh.rs is 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), and id/src/commands/serve.rs (2,784). Three are modified by this PR but already exceeded the limit on origin/main: world/actor.rs 3,169→3,523, world/core.rs 2,732→2,750, and world_session/tests.rs 3,230→3,182. I did not widen #2340 to split unrelated modules. PR #8928 remains OPEN at 256cc07d8d; all inline review threads are resolved, and 28 focused form/SSH tests passed. Queue lane 6929 is again session_id=null (updated 18:18:45Z), so task 5770 remains parked and I made no queue checkpoint or mutation.

  10. 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 12, 2026
  11. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    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.

  12. added a commit that references this issue on Nov 12, 2026
  13. dezren39 commented on Nov 12, 2026

    @dezren39
    MemberAuthor

    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).

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

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions