Skip to content

id(phase-14): Creator tooling & insight v2 — Draft / published journal facts per program version #13742

Backlog

Description

@dezren39

Child of #6309 (cross-world creator tools v2 outline), core topic #6282, plan of record #6312.

Design: doc/2026-11-23T21-00-00Z_design_id6309_creator_cross_world_v2_outline.md (see its section 6 for this slice's place in the breakdown and its dependencies).

Scope: implementation only, per the design's slice above. Principles from #1240 apply: local-first, hostable by anyone, P2P identical to hosted, no hosted dependency.

Done check: the slice lands behind its own failing-first tests with the verification commands recorded on this issue.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T21:08:44Z",
    "session_id": "ses_e5df600b227ffe0Nu4DYnQUzKj",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code-wt-6309",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code-wt-6309",
      "repo": "developing-today/code",
      "branch": "code-i/6309-creator-v2-outline",
      "sha": "3273155a11580a7ac547ae57eccf636b43ed7ea5"
    },
    "auth_subject": "oc-code-02",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Triage verdict (coverage reconciliation pass 2, tracking #14158; task 22407, lane code-f):

    State (fresh pull 2026-11-24): OPEN, bot comment only, no linked PRs. Design of record doc/2026-11-23T21-00-00Z_design_id6309_creator_cross_world_v2_outline.md §6 item 2 scopes this slice. Dependencies discharged: #6309 CLOSED (design landed via PR #13749, merged 2026-11-23), #6278 CLOSED (publication-record shape available to consume). Siblings #13741 / #13743 / #13745 all OPEN.

    Code check: no draft/published journal fact exists in main — pkgs/id/crates/id-worlds/src/program_bundle.rs carries manifest/version/bundle signature but no such fact, and a repo-wide grep for ProgramPublished / publication_record finds no implementation. This slice is genuinely unimplemented.

    Routed: follow-on feature_slice packet enqueued as task 23248 (queue repo-health-code-pilot): new durable draft/published journal fact per program version in the owning world, published keyed to the #6278 record, explicit migration note for pre-fact worlds, no third scheduled state, failing-first tests, file ownership disjoint from slices 1/3. Packet carries payload.slice {parent_issue 13742, number 1, criterion, done_check, owned_paths}.

    #13742 stays OPEN — slices 1/3/4 land separately.

  3. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    Contributor

    Routing note (queue task 23254, coverage-reconciliation verify-and-route packet for this issue):

    This packet's acceptance — record a verdict and route a scoped follow-on, or close with evidence — is already discharged:

    Task 23254 is therefore completed as already-routed; it does no implementation (explicitly out of its scope) and does not touch task 23248's files. This issue stays open — slices 1/3/4 land separately, per the triage verdict.

  4. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    Contributor

    Slice 1 (task 23248) — implemented, verification gated on #14315

    Implemented on branch queue/23248-13742-publish-state, commit d4928a6abb2 (3 files, +411), worktree ~/wt-lane-23248-publish-state on the laptop:

    • New pkgs/id/crates/id-worlds/src/program_publish_state.rs: the durable draft/published fact per program version, carried as a world record under the program-publish/ key prefix (one record per D1 identity). Exactly two states — no scheduled state (outline §2). A published fact is keyed to the id(phase-14): Program ecosystem (share, fork, gallery) — core topic (research + design) #6278 record: it carries the BundleRecord and validates only while that record verifies and names this version's identity; wrong-program and forged records are refused. Migration note is in the module docs and enforced by the read path: a version with no fact reads as draft, no backfill is written, reads never mutate the records — pre-fact worlds lose nothing.
    • pkgs/id/crates/id-worlds/src/world_records.rs: program_publish_facts — the receipt-side scan that parses and validates every fact in a (possibly replicated) records set.
    • pkgs/id/crates/id-worlds/src/lib.rs: module registration.
    • Failing-first tests (5, in the new module): draft recorded with no published bundle; published recorded once the id(phase-14): Program ecosystem (share, fork, gallery) — core topic (research + design) #6278 record exists; wrong-program/forged-record refusals; pre-fact migration read with no data loss; fact enumeration through the records scan.

    Verification — BLOCKED by #14315, not by this change. The done-check command cargo test -p id-worlds (run from pkgs/id in nix develop, detached on the laptop, log /tmp/test-23248.log) fails while compiling the id-store dependency, before id-worlds is reached: exactly the 8 errors of #14315 — crates/id-store/src/tags.rs:870, 874, 1487, 1501 and crates/id-store/src/graph_index.rs:612 — ending error: could not compile 'id-store' (lib) due to 8 previous errors. Proven on this slice's pristine origin/main base (2f51a35e). The fix is in flight as PR #14325 (task 23352). This slice's own code is therefore unverified until the gate clears; no PR is opened yet, so nothing unverified is presented as mergeable.

    Wake protocol (task 23248 is structurally dep-blocked on #14315 with dep-recheck): when #14315 closes — (1) rebase queue/23248-13742-publish-state onto current main in ~/wt-lane-23248-publish-state, (2) run cargo test -p id-worlds from pkgs/id (full crate suite, per this slice's done check) and fix any failure in this slice's files only, (3) open the PR against main with no closing keywords and record the exact command + counts here, (4) complete task 23248 citing the PR. #13742 stays OPEN — slices 1/3/4 (#13741/#13743/#13745) land separately.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions