Skip to content

id: --json transcript output in world line mode #563

Closed

Description

@dezren39

What and why

Deterministic machine-readable replies in line mode, so scripted round-trips against a running world need no terminal; useful for smoke tests and fixtures. Agents and CI currently have to scrape terminal text to script a world.

Source

  • RPT §6 'Agents and CI'
  • RPT §7 Step 3.3
  • RPT §12 Later

RPT = doc/2026-10-18T18-40-00Z_report_platform_world_state/2026-10-18T18-40-00Z_report_platform_world_state.md, REF = doc/2026-10-18T00-00-00Z_reference_platform_state/2026-10-18T00-00-00Z_reference_platform_state.md. Both are uncommitted reports in the platform-world-apps-migration worktree.

Current status

Not started. World line mode prints terminal text only (pkgs/id/src/world_ssh.rs:525-600 send). The --json flags in pkgs/id/src/cli.rs (:1047-1079) belong to group/doc commands, not worlds.

Acceptance criteria

  • Line mode can emit deterministic machine-readable replies (--json)
  • A smoke test drives a running world through it with no terminal
  • The output schema is documented

Size

M

Prerequisites

Activity

  1. dezren39 commented on Oct 24, 2026

    @dezren39
    MemberAuthor

    id train triage (2026-10-24): too-big-needs-design — deterministic --json transcript shape for world line mode.

  2. added
    kind/featureNew feature or capability request
    source/humanFiled directly by a human
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day 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
  3. dezren39 commented on Oct 26, 2026

    @dezren39
    MemberAuthor

    Intake review

    Fleet-monitor intake pass (2026-10-26). Body already carries a full ## Acceptance criteria section, so this pass is label normalization plus a liveness check — no body edit.

    Verified live on main e3467560 (2026-10-26): no --json transcript path exists for world line mode. The JSON in pkgs/id/src/world_ssh.rs is internal frame encoding (input/chat frames), not a user-facing transcript format, and the --json flags in cli.rs belong to group/doc commands. (The transcript contract at cli.rs:1785 covers records verification, a different surface.)

    Related: prerequisite #546 (one shared line grammar) is still open and unenriched — the output schema should be defined against that grammar, not invented independently. Sibling terminal-output work: #562, #561.

    Risks / notes: schema stability is the real decision here; once scripts consume the format it is a contract. Deterministic ordering and stable field names should be acceptance-tested, not just eyeballed.

    Suggested approach: define the reply schema alongside #546's grammar, emit it behind --json in line mode only, and add the no-terminal smoke test from the acceptance criteria in the same PR.

  4. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 1, 2026
  5. 144 remaining items

  6. added
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 2, 2026
  7. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked — Drew ownership stop remains

  8. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — holder: repo-worker-code (OpenChamber scheduled lane), at 2026-11-02T13:50:53Z. event: picked-up; task: 4838; queue: repo-health-code-pilot.

  9. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — holder: repo-worker-code (OpenChamber scheduled lane), at 2026-11-02T13:51:01Z. event: parked; task: 4838; queue: repo-health-code-pilot. Canonical PR #3776 remains open and Drew-owned; hard stop. Resume after it closes/merges or explicit ownership release, then revalidate fresh. PR internals, checks, reviews, branch, worktree and source were not inspected or touched.

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

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

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

    @dezren39
    MemberAuthor

    🤖 Agent note · done

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/mMedium: expected under 1 day of workenhancementNew feature or requestkind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmode/onlineFully doable remotely: design, config, code, cloudpriority/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