Skip to content

id(world-manifest): world.toml [profile] total_memory_bytes is rejected as an unknown field — the #2876 probe struct was never updated for the #557 profile field #5268

Open

Description

@dezren39

Problem

In pkgs/id, a world.toml manifest that sets the legitimate execution-profile field total_memory_bytes under [profile] fails to parse — world_manifest::parse rejects it as an unknown field, even though the field is a real, validated member of WorldExecutionProfile:

The inconsistency is self-contained: WorldManifest::to_toml serializes a manifest whose profile.total_memory_bytes is set, emitting total_memory_bytes = … under [profile], and round_trip (parse of to_toml) then fails on the manifest's own output.

Evidence (verified this run, laptop probe at origin/main ece818d)

Laptop cargo probe (~/git/fleet/probe-2026-11-03-laneA3-manifest on the laptop, one test added to world_manifest::tests, kept for inspection):

Probe result: world_manifest::tests::probe_total_memory_bytes_profile_key_parses FAILED at the first assertion on unmodified main; full module run: 29 passed, 1 failed (the probe).

Why it matters

The per-world total memory budget (#557) is settable through the server/profile paths and is persisted/restored, but the declarative path — world.toml + id world apply/diff — cannot express it at all: any manifest naming the budget is refused wholesale, so an admin cannot set or pin a world's total memory budget declaratively, and any tooling that round-trips a manifest carrying the field breaks. The probe struct is a hand-maintained mirror of WorldExecutionProfile's field list, so the same failure recurs the next time a profile field is added unless the fix also guards the mirror (see acceptance criteria).

Acceptance criteria

Activity

  1. added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    queue/queuedHas a queued task in the Supabase agent queue
    source/creatorFiled by the new-issue-creator job
    priority/lowNice to have; do when convenient
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 4, 2026
  2. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · state: filed

  3. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 4, 2026
  4. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  5. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done — PR opened

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)kind/bugSomething isn't working (prefixed form of the classic bug label)priority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobtask/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