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: F11.12 remainder - id world journal check and journal backup commands (gates F13.7 step 2) · Issue #10821 · developing-today/code

id: F11.12 remainder - id world journal check and journal backup commands (gates F13.7 step 2) #10821

New issue
Copy link
New issue
Copy link
Closed
#10827
Closed
id: F11.12 remainder - id world journal check and journal backup commands (gates F13.7 step 2)#10821
#10827
Copy link
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/infrastructureInfrastructure / host-portability workpriority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

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

What is missing

F11.12 (journal format management, Phase 11 plan) is only partly landed, and the
remainder gates F13.7 step 2 (session protocol v2 frame types) for issue #5532 /
queue task 9599: the F13.7 design (doc/2026-11-01_design_id789.md, Gate 4 and
invariant 9) forbids introducing additive provider frame kinds until the broader
F11.12 frame-compatibility gate completes, and explicitly warns not to treat
issue #227's closure as skipping it.

Evidence (fresh, 2026-11-16, lane any-d working task 9599)

Landed:

  • Issue Define rollback compatibility for world profile journal entries #227 (rollback compatibility contract) CLOSED 2026-10-27 via PR id: bump journal header on first ExecutionProfile write (#227) #1353.
  • On current main, pkgs/id/crates/id-worlds/src/world/journal.rs carries a
    journal version header with per-entry-type versions (JOURNAL_VERSION = 1,
    entry versions up to JOURNAL_VERSION_SIGNED_PLAY = 9, MAX_JOURNAL_VERSION),
    and WorldCore::restore refuses a newer version via check_journal_version.

Not landed:

  • No 'id world journal check' command exists in pkgs/id/crates/id-cli
    (no JournalCheck/journal check wiring found on main).
  • No 'id world journal backup' command exists either.
  • The reconciled Phase 12 plan (.opencode/plans/phase-12-platform-flexibility.md,
    per issue docs(id): Phase 13 plan/issues cite pre-split line numbers; F11.12 status inconsistent across plans #841) records F11.12 as still Planned for exactly this reason:
    the fail-loud rollback check landed (fix(id): refuse a complete journal line this binary cannot read #244), but 'id world journal check' and
    'id world journal backup' do not exist yet. Phase 14 plan item F14.1 carries
    the same remainder.
  • No open issue tracked this remainder before this one (searched 2026-11-16).

Exit criteria (from the Phase 11 F11.12 definition)

  • 'id world journal check' exists and reports a journal's format version and
    validity, refusing/clearly flagging a journal written by a newer format.
  • 'id world journal backup' produces a file that restores byte for byte.
  • A test opens a journal with a future version and gets a clear refusal
    (the restore-side refusal already exists; pin the CLI surface to it).

Unblocks

  • Issue id: implement Phase 13 F13.7 client-side capability providers (design #789) #5532 (F13.7) step 2: session protocol v2 offer/request/reply frame
    types. Queue task 9599 is dependency-blocked on this issue.

Activity

  1. dezren39
    added
    status/needs-triageNot yet triaged; needs a first look
    priority/highImportant and time-sensitive
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/mMedium: expected under 1 day of work
    kind/infrastructureInfrastructure / host-portability work
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 16, 2026
  2. developing-today commented on Nov 16, 2026

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

    CODE-3912

  3. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 16, 2026
  4. dezren39 commented on Nov 16, 2026

    @dezren39
    dezren39
    on Nov 16, 2026
    MemberAuthor
    More actions

    Agent note — task 17520 triaged + picked up (lane code-a): journal check + backup commands

    • Triage (inline, §1c): work kind task/small-fix — two local CLI commands wired onto existing journal machinery; priority priority/high (already on the issue — it gates F13.7 step 2, task 9599 dep-blocked on id: F11.12 remainder - id world journal check and journal backup commands (gates F13.7 step 2) #10821); effort effort/m (already set). Removing status/needs-triage.
    • Verified fresh: issue id: F11.12 remainder - id world journal check and journal backup commands (gates F13.7 step 2) #10821 OPEN, no held / user/owned / do-not-merge / do-not-auto-edit labels. Packet evidence confirmed on current main: crates/id-worlds/src/world/journal.rs carries JOURNAL_VERSION = 1, per-entry versions to 9 (MAX_JOURNAL_VERSION), and WorldCore::restore refuses newer headers via check_journal_version; no journal subcommand exists in crates/id-cli/src/cli/world.rs.
    • Plan: add id world journal check <dir> [--json] (reports world id, header version vs supported max, entry count, validity; newer-format and corrupt journals flagged with a nonzero exit, reusing the unsupported world journal version {n} refusal wording) and id world journal backup <dir> <out> (byte-for-byte copy of journal.jsonl, validated as a journal first, refuses an existing output), as local-only commands beside Fork/Provenance in crates/id-cli/src/commands/world.rs, reusing its read_world_journal pattern.
    • Acceptance check: the packet's three criteria — check reports version/validity and flags newer formats; backup restores byte for byte (test); closing this issue clears the F11.12 gate for task 9599.
  5. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 16, 2026
  6. developing-today
    added
    status:in-review
    on Nov 16, 2026
  7. dezren39
    closed this as completedin #10827on Nov 16, 2026
  8. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 16, 2026
  9. dezren39 commented on Nov 16, 2026

    @dezren39
    dezren39
    on Nov 16, 2026
    MemberAuthor
    More actions

    🤖 Agent note — task 17520 COMPLETE: id world journal check and id world journal backup shipped

    PR #10827 MERGED (merge commit 74e5ef2d36b2701428dbc87a0c6e660ecaadf1ee), branch queue/17520-10821-journal-cmds, commit d447d498f3. This issue is closed by that merge; closing it clears the dependency gate for queue task 9599 (the F11.12 exit-criteria verification, #5532).

    What shipped

    • id world journal check <dir> [--json] (crates/id-cli/src/cli/world.rs JournalCommand::Check, handler in crates/id-cli/src/commands/world.rs): audits journal.jsonl — header version vs MAX_JOURNAL_VERSION, flagging newer-format journals with the restore path's own refusal wording (unsupported world journal version {n}, mirroring check_journal_version in id-worlds); per-entry parse failures with line numbers; entries requiring a higher version than the header declares (via journal_version_required_by); and torn-tail detection — unlike the provenance inspection read, which skips a torn tail, the format audit reports it as a problem. Prints world id, versions, and entry count; exits nonzero when invalid.
    • id world journal backup <dir> <out>: byte-for-byte copy of a journal that checks valid; refuses an existing output; reads the copy back and byte-compares before reporting success — the F11.12 exit "backup restores byte for byte" as an executable property.

    Verification

    • cargo test -p id-cli: 682 lib tests pass, including new named-oracle tests journal_check_reports_a_valid_journal, journal_check_flags_a_newer_format_journal (future-version refusal through the check surface), journal_backup_is_byte_for_byte_and_restores (bytes equal; a directory holding only the backup as its journal checks valid and yields the same provenance world id), journal_backup_refuses_existing_output_and_invalid_journal, and world_journal_subcommands_parse (clap surface).
    • Codex review failed on Codex usage limits with zero inline findings — recorded, not a code signal. CodeRabbit neutral.
    • This run also served as the §1c inline triage for this issue (verdict in the pickup note): task/small-fix, priority/high and effort/m kept.

    — lane code-a queue worker, task 17520

  10. dezren39
    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 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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/infrastructureInfrastructure / host-portability workpriority/highImportant and time-sensitivestatus:donetask/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.