GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(session): implement the documents/document frame pair (D1-040, from #535) · Issue #3762 · developing-today/code

id(session): implement the documents/document frame pair (D1-040, from #535) #3762

New issue
Copy link
New issue
Copy link
Closed
#7678
Closed
id(session): implement the documents/document frame pair (D1-040, from #535)#3762
#7678
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)queue/needs-reviewQueue task finished and is awaiting reviewsource/creatorFiled by the new-issue-creator jobstatus/needs-reviewReady for reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 1, 2026
Issue body actions

What

Implement the D1-040 design: a documents/document ClientFrame/ServerFrame pair in the world-session protocol, modelled on records, so web and CLI clients can read the public documents — today reachable only from the SSH shell, which reads the shared server blob store directly. Scope is server-wide parity (the design's Decision 1): the frames expose exactly the set SSH exposes today; per-world scoping waits on the deferred per-world document store and is out of scope here.

Design

doc/2026-11-01T16-05-00Z_design_documents_session_frames/2026-11-01T16-05-00Z_design_documents_session_frames.md (lands with PR #3760; tracker #535 item D1-040). The design is decided — frame shapes, authorization, bounds, the serving-logic move, and test expectations are all pinned there. Read it first; this issue is the delivery vehicle, not a second design pass.

Acceptance criteria

  • ClientFrame::Documents { capability, prefix, after } and ClientFrame::Document { capability, name } in pkgs/id/src/world_session/types.rs; ServerFrame::Documents { names, next_after } and ServerFrame::Document { name, size, text } per the design (no sequence on the list frame — the design records why)
  • Serving logic (list_public_documents / read_public_document and their name/bounds rules) lives in the session layer next to records_session; authorization is the records rule (join capability → participant_id, else join denied); the design's one structural unknown — how the session layer reaches the blob store the SSH shell holds today — is resolved and noted on this issue
  • SSH shell is frame-backed: command_frame gains documents / documents_continue / document arms mirroring records; rendered SSH output (public named files: listing, [listing truncated], --- {name} ({size} bytes; read-only) --- header, /help) is byte-identical to before
  • Contract updated on both sides: frames named in pkgs/id/src/shell_contract and the shared frame contract; web contract tests extended; web client gains the minimal list + read documents panel the design specifies
  • Tests per the design's test expectations: session tests mirroring records_session (paging, prefix, after exclusivity, oversized/non-viewable/missing refusals, join denied), contract accept/refuse cases, existing SSH document shell tests passing against the frame-backed path
  • Existing mcpx/id CI green in GitHub Actions on the PR (note: pkgs/mcpx conformance has a pre-existing compile break on main — features_test.go:308 — do not chase it here)

Out of scope

  • Document writes/publishing (unchanged), a documents_ticket replication frame (design non-goal), any change to which documents are public (id(ssh): fix #211 reconciliation gaps: total records cap, document output through send, per-world document store #548 owns the store).

Links

  • Tracker: id(ssh): input and presentation designs #535 (D1-040). Design PR: docs(id): D1-040 documents frame-pair design + D1-045 command-toggle research (#535) #3760. Prerequisite: id(ssh): fix #211 reconciliation gaps: total records cap, document output through send, per-world document store #548 (closed).
  • Model: records frames in pkgs/id/src/world_session/types.rs, records_session in pkgs/id/src/world_session/mod.rs.

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/mMedium: expected under 1 day of work
    on Nov 1, 2026
  2. developing-today commented on Nov 1, 2026

    @developing-today
    developing-todayBot
    on Nov 1, 2026 – with developing.today
    Contributor
    More actions

    CODE-1521

  3. github-actions
    assigned
    dezren39
    on Nov 1, 2026
  4. dezren39
    added
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    status/needs-triageNot yet triaged; needs a first look
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  5. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    Contributor
    More actions

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  6. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  7. 44 remaining items

  8. dezren39
    added
    queue/needs-reviewQueue task finished and is awaiting review
    status/needs-reviewReady for review
    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
  9. dezren39
    added 2 commits that reference this issue on Nov 8, 2026

    id(session): update shell-contract conformance expectations for docum…

    ddff046

    id(session): budget document pages by serialized size, bound enumerat…

    6036e6f
  10. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane code-f
    • Session / ID: task 13221
    • Found via: queue claim (direct lane)
    • Task: task 13221 for issue id(session): implement the documents/document frame pair (D1-040, from #535) #3762 completed as pr_opened per lane code-k's plan (their note at 2026-11-08T12:22:00Z: "if another lane claims it first, this note + PR id(session): implement the documents/document frame pair (D1-040) #7678 carry the outcome"). Verified fresh by this lane: PR id(session): implement the documents/document frame pair (D1-040) #7678 OPEN, MERGEABLE, no hold labels, branch queue/13221-3762-documents-frames. Both Codex P2 findings were dispositioned by lane code-k — fixed in commit 6036e6f with on-thread replies. CI: all 4 basic checks QUEUED (repo-wide runner backlog, not a code failure).
    • Expectation: PR id(session): implement the documents/document frame pair (D1-040) #7678 merges under the standing criteria once CI runs; the minimal web documents panel + web contract tests named in PR id(session): implement the documents/document frame pair (D1-040) #7678's body remain as the follow-up slice for issue id(session): implement the documents/document frame pair (D1-040, from #535) #3762.
    • Links: task 13221 · issue id(session): implement the documents/document frame pair (D1-040, from #535) #3762 · PR id(session): implement the documents/document frame pair (D1-040) #7678
  11. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    and removed
    work/assignedQueue worker lifecycle state
    status/triagedTriaged and routed (see agent note)
    on Nov 8, 2026
  12. dezren39
    added 3 commits that reference this issue on Nov 16, 2026

    id(session): implement the documents/document frame pair (D1-040) (#3762

    2f76243

    id(session): update shell-contract conformance expectations for docum…

    2f78741

    id(session): budget document pages by serialized size, bound enumerat…

    e5e2d96
  13. dezren39
    closed this as completedin #7678on Nov 16, 2026
  14. dezren39 commented on Nov 16, 2026

    @dezren39
    dezren39
    on Nov 16, 2026
    MemberAuthor
    More actions

    Agent note — documents/document frame pair landed via crate-split port (PR shepherd task 17302, lane any-b, 2026-11-16)

    State: done (fixed_merged). PR #7678 is MERGED as c88a55e23594ccba43ab9cac63ad64aec0c56ce3 and this issue auto-closed. The PR had been stranded since 2026-11-08: its base predated the crate split by ~3,280 commits and all six touched paths had moved (pkgs/id/src/world_session/* → pkgs/id/crates/id-worlds/src/world_session/*, world_ssh.rs likewise). The feature had not landed by any other route (verified: no documents frame pair on main).

    What the shepherd did: cherry-picked the PR's three commits onto current main with rename detection (the frame-pair implementation, the shell-contract conformance update, and the Codex P2 fixes — page budgeting by serialized size, bounded enumeration) and resolved eight conflict hunks, all as additive unions with the work main gained in the interval: the joined() signature and both call sites now carry both resume_token and documents_store; the SSH session path keeps main's terminal probe and runs the session with the documents-store config; the conformance test's expected frame sequence is the true merged order (documents, document, records, form_result, documents). The port was force-pushed to the PR branch and the full suite re-run on the ported tree: cargo test -p id-worlds — 418 lib tests passed, 0 failed, plus directory_auth_smoke (3), session_frames (6), shell_contract (11), and world_store_integration (11) all green.

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

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)queue/needs-reviewQueue task finished and is awaiting reviewsource/creatorFiled by the new-issue-creator jobstatus/needs-reviewReady for reviewtask/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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.