Skip to content

Default ancestor-comment carry with origin marker #10269

Closed

Description

@dezren39

Problem and goal

In the V3 social projection, carry eligible ancestor comments into the default descendant view with an old-version marker and transitive origin while retaining the original target and branch identity.

Version and design basis

Version: V3. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-a-graph/versioned-design.md#8-9129--succeeds-versioning (section: 8. #9129 — succeeds versioning).
Tier: recommended.
Statement IDs: S5.44, S5.45
Enables: Social readers see historical discussion on v2 without implying comments were authored against revised content; V2 only stores/version-checks succeeds edges.

Scope and ownership

Parent: #9129 (native component/meta parent).

  • pkgs/id/crates/id-core/src/graph/comment_projection.rs (new; owner: A-GRAPH-9129-02)
  • pkgs/id/crates/id-core/tests/carried_comment_projection.rs (new; owner: A-GRAPH-9129-02)
    Hard dependencies (native blockers): A-GRAPH-9129-01 — Version DAG and selected branch ancestry.; A-GRAPH-9128-01 — Comment object identities and relation model.
    Soft sequencing (not blockers): none

Test / evidence first

Create or validate pkgs/id/crates/id-core/tests/carried_comment_projection.rs first. Proposed command: cargo test -p id-core --test carried_comment_projection
Oracle: model — expected Each eligible ancestor comment appears once with immutable original target/origin and old-version marker; access/moderation/deletion filters still apply and sibling branches do not leak.; verifier: Independent version-DAG comment projection model keyed by immutable comment ID..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: not applicable.
Rollback: Disable carried-comment view projection; retain comments on their original versions and leave all signed targets unchanged.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Activity

  1. developing-today commented on Nov 14, 2026

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

    @dezren39
    MemberAuthor

    Agent note — task 17108 preflight recorded (lane any-a): A-GRAPH-9129-02 native blockers #10223 + #10252 OPEN — task self-blocked

    Native-blocker preflight (fresh, 2026-11-14T17:59Z):

    Result: the blocker gate is NOT clear. Per the packet's mandatory preflight instruction, no implementation was performed and task 17108 is self-blocked as a broker dependency block on #10223 + #10252; the broker returns it to the pool automatically when both close, and the preflight then re-runs fresh.

  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — triage (lane any-j, task 19202)

    State: triaged — a fully specified granular slice (A-GRAPH-9129-02) from the #9106 ID/Atlas mill, already routed and dep-blocked under its own task (status/blocked + queue/blocked, left untouched by this triage). This lane read the slice's full body earlier this shift while triaging its parent #9129 (task 18873) and re-verified its state fresh now.

    Fresh evidence (checked 2026-11-17):

    • Issue Default ancestor-comment carry with origin marker #10269 is OPEN, labels status/blocked + queue/blocked + work/assigned from its own task lifecycle; no held / user/owned / do-not-merge / do-not-auto-edit labels, and no priority/effort labels yet.
    • The body specifies the slice completely: goal (default ancestor-comment carry with origin marker — each eligible ancestor comment appears once with immutable original target/origin and an old-version marker, with access/moderation/deletion filters still applying and no sibling-branch leakage); settled design basis (part-a-graph versioned design section 8, design(id): versioning — succeeds triples + carried-forward comments #9129 succeeds versioning, V3, tier recommended, statements S5.44/S5.45); owned files (pkgs/id/crates/id-core/src/graph/comment_projection.rs + tests/carried_comment_projection.rs, both new); a named oracle (model keyed by immutable comment ID; exact cargo test command given); and a rollback that disables the projection while retaining comments on their original versions.
    • Hard dependencies recorded in the body: A-GRAPH-9129-01 (version DAG + branch ancestry, issue Canonical v1-succeeds-v2 version DAG and branch projection #10223) and A-GRAPH-9128-01 (comment object identities + relation model). Parent: design(id): versioning — succeeds triples + carried-forward comments #9129 (triaged this shift, task 18873). The dep-block is consistent with those still being open.

    Triage verdict:

    • Work kind: design (id-core comment-projection slice) — no new packet: the slice IS the packet.
    • Priority: priority/high — the ID program's design tracks are band 2 in Drew's priorities brief (2026-11-07); this is the V3 half of the design(id): versioning — succeeds triples + carried-forward comments #9129 versioning pair.
    • Effort: effort/m — one module plus its model test, once the blockers land.
    • First concrete step for the claiming lane: re-check Canonical v1-succeeds-v2 version DAG and branch projection #10223 (9129-01) and the 9128-01 slice fresh, then create the test first per the body's test-first rule.
    • Acceptance check for this triage: this note + the slice spec + its recorded dependencies; task 19202 completes as triaged.

    Queue: task 19202 (lane any-j) — claimed, triaged inline per runbook §1c.

  4. added
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    on Nov 17, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    lane: openchamber-scheduled-lane (code-g) on repo-worker-code
    task: 17108 (triage/preflight, A-GRAPH-9129-02)
    state: blocked (reason_class=blocked)
    preflight (2026-11-17T18:0xZ): native blockers checked

  6. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    Triage — queue task 20542, openchamber scheduled lane (oc-code-03), 2026-11-18.

    Fresh GitHub state (08:48 UTC): #10269 OPEN, labels status/blocked, queue/blocked, work/assigned. Native blocked-by graph: #10223 OPEN, #10252 OPEN.

    Verdict: triaged, dependency-blocked. Existing disposition stands: work stays with task 17108 (A-GRAPH-9129-02), which resumes when #10223 and #10252 close. No duplicate follow-on packet enqueued.

  7. removed their assignment
    on Nov 20, 2026
  8. dezren39 commented on Nov 20, 2026

    @dezren39
    MemberAuthor

    Picked up — queue task 17108, scheduled lane code-g, 2026-11-20.

    Revalidated #10269 OPEN. Native blockers #10223 and #10252 are both OPEN. This is preflight only; no implementation or production rollout started.

  9. dezren39 commented on Nov 20, 2026

    @dezren39
    MemberAuthor

    Blocked — queue task 17108, scheduled lane code-g, 2026-11-20.

    Preflight complete. #10223 and #10252 remain OPEN. Task 17108 self-blocked; no implementation performed. Resume only after both native blockers close, then revalidate.

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Claim — landing lane (Archer-dispatched), under Drew's batch approval.

    Drew batch-approved all flag holds on 2026-11-23 07:35 CST ("Approve all the flag holds listed above"), including this chain. Both upstream issues are now closed as completed: #10252 (PR #13382, merge d41614008972; oracle 12/12) and #10237 (fresh oracle 4/4 at current main); #10223 was already closed. No native blockers remain.

    Plan, per this issue and design doc §8: implement old-version comment projection (S5.44–S5.45) in id-core over the version DAG and the social object model, with the named oracle cargo test -p id-core --test carried_comment_projection, PR + SHA-guarded merge, close on verification. Any other lane: this claim is a hard stop — please stand down and record it here.

  11. added a commit that references this issue on Nov 23, 2026
  12. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Done — implemented, verified, merged; closing as completed. The #10237 → #10252 → #10269 chain is fully landed.

    Under Drew's batch approval of all flag holds (2026-11-23 07:35 CST). Upstream #10252 closed as completed today (PR #13382, merge d41614008972, oracle 12/12) and #10237 before it (fresh oracle 4/4 at current main); #10223 was already closed.

    • Landed via PR feat(id): old-version comment projection over the version DAG (#10269) #13384, merged 2026-11-23, merge commit c8f3a5cf84023229865f7ee4f8fa2d1dbb34ba3e (head 9f69486af88, SHA-guarded).
    • Scope: new pkgs/id/crates/id-core/src/graph/comment_projection.rs — carried_comments() per S5.44–S5.45: BFS ancestry over the version DAG, eligibility = comment-kind + attached to the selected version or an ancestor + not hidden/deleted + authorized; sibling branches never leak; each carried comment reports its original target, its origin version (the original target, preserved transitively), the old_version mark, and the hop distance; duplicates appear once at the shortest distance; deterministic (distance, ref-order) output — plus the named oracle test and the graph/mod.rs / test-suite-registry wiring.
    • Verification (laptop route, pkgs/id dev shell): cargo test -p id-core --test carried_comment_projection — 6 passed, 0 failed, including a naive layered-expansion reference model compared on the chain and diamond fixtures. rustfmt applied; no warnings from the new files. (Laptop route with sccache bypassed, as on the earlier chain steps: remote dispatch hit the fleet: fleet-command dispatch container cannot run nix develop out of the box (experimental features, nixbld group, homeless-shelter purity) #13159-family container gap on Append submission, mandatory pending gate and atomic approval #10237, and the shared sccache server was stalled at ~9 compiles/min during the landing wave.)

    Parent #9129 stays open, per its own scope.

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

    effort/mMedium: expected under 1 day of workpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statestatus/blockedQueue or user escalation statestatus:donework/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions