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(world): result_too_large is an undocumented capability wire error code · Issue #837 · developing-today/code

id(world): result_too_large is an undocumented capability wire error code #837

New issue
Copy link
New issue
Copy link
Closed
#3786
Closed
id(world): result_too_large is an undocumented capability wire error code#837
#3786
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a human

Description

@dezren39
dezren39
opened on Oct 25, 2026
Issue body actions

result_event emits {"cap":"result",…,"ok":false,"error":"result_too_large"} (pkgs/id/src/world_caps.rs:325). That code is not a CapErrorCode variant, and it is missing from the module's refusal-code table (world_caps.rs:33-40). The module doc says codes are a stable wire contract that the DoS suite asserts, and F11.13's exit criterion is "every CapError carries a documented code". This one is outside both. Fix: add it to the enum and the table, or map it to failed with a reason.

Found while writing the F13.7 design (#789).

Acceptance criteria

  • result_too_large is either a CapErrorCode variant documented in the refusal-code table in world_caps.rs, or the emit site maps it to failed with a reason
  • The DoS suite's code assertions cover the result path (oversized result carries a documented code)
  • No other emit site in world_caps.rs produces an undocumented error string (grep audit recorded)

Activity

Next
  1. github-actions
    assigned
    dezren39
    on Oct 25, 2026
  2. dezren39
    added a commit that references this issue on Oct 25, 2026

    docs(id): design client-side capability providers under the ceiling m…

    9bf4f2f
  3. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    source/humanFiled directly by a human
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    effort/xsTrivial: expected under 30 minutes of work
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 26, 2026
  4. dezren39 commented on Oct 26, 2026

    @dezren39
    dezren39
    on Oct 26, 2026
    MemberAuthor
    More actions

    Intake review

    Still live: verified on current main (a2eef6f) — pkgs/id/src/world_caps.rs:325 still emits "error":"result_too_large" as a bare string; it is not in the refusal-code table (lines 33–40) and is not a CapErrorCode variant (enum at line ~359 has Denied/Unknown/BadArgs/Failed/ActorDenied/OutsideCeiling only).

    Related: #789 (found while writing the F13.7 design).

    Notes / risks: none material — the smallest item in this batch. Either resolution (new code vs map to failed + reason) is defensible; adding the variant keeps the oversized-result case distinguishable for clients and the DoS suite.

    Suggested approach: add the variant + table row, extend the existing assertion at world_caps.rs:860 (which already checks the string appears) to assert the documented code path.

    🤖 Fleet monitor intake enrichment — acceptance criteria appended to the body, labels normalized and meta/enriched applied this pass.

  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 1, 2026
  6. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane E
    • Session / ID: queue task 2261 (repo-health-code-pilot)
    • Found via: queue claim
    • Task: Triage issue id(world): result_too_large is an undocumented capability wire error code #837 — audit every error-code emit site in pkgs/id/src/world_caps.rs against the CapErrorCode enum and the refusal-code table at current HEAD, then route a scoped fix packet or close with evidence.
    • Expectation: effort xs; done = verdict note with the emit-site audit at HEAD plus a follow-up fix packet if confirmed.
    • Links: pkgs/id/src/world_caps.rs
  7. 1 remaining item

  8. dezren39
    added
    queue/queuedHas a queued queue task
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    queue/queuedHas a queued queue task
    on Nov 1, 2026
  9. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · state: picked up

    • Agent: Lane B queue worker (repo-worker-code)
    • Session / ID: queue task 4859
    • Found via: queue claim
    • Task: Implementing the triage-pinned fix (task 2261, option a): add CapErrorCode::ResultTooLarge (result_too_large), document it in the world_caps refusal-code table, route result_event's oversized fallback through the enum, and strengthen the bounded-result test to assert the parsed error equals the variant's code(). Wire string unchanged.
  10. dezren39
    added a commit that references this issue on Nov 1, 2026

    Merge pull request #3786 from developing-today/queue/4859-837-result-…

    a9e976a
  11. dezren39
    closed this as completedin #3786on Nov 1, 2026
  12. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 1, 2026
  13. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · state: done

    • Agent: Lane B queue worker (repo-worker-code)
    • Session / ID: queue task 4859
    • Result: fixed_merged — PR id(world): make result_too_large a documented CapErrorCode (#837) #3786 merged (a9e976a); id(world): result_too_large is an undocumented capability wire error code #837 closed by the merge. Codex review clean.
    • Fix: CapErrorCode::ResultTooLarge added with code() == "result_too_large", CapError::result_too_large() constructor, refusal-code table row in the world_caps module doc, and result_event's oversized fallback routed through the enum (wire string unchanged). Bounded-result test now asserts the parsed error equals the variant's code().
    • Tests: cargo test --features web --lib world_caps:: (laptop): 16 passed, 0 failed. (A bare world_caps filter also matches cli::tests::test_cli_parse_world_caps_ceiling, which stack-overflows pre-existing on clean main — covered by id(cli): test_cli_parse_cat stack-overflows in the pkgs/id test binary (pre-existing, parse path) #3438, data point added there.)
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/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a human

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.