Skip to content

id: implement thread resolution & change proposals (per #5874 decision record) #7849

Open

Description

@developing-today

Implementation follow-on for the #5874 decision record (doc/2026-11-08_decision_id5874_thread_resolution.md, PR #7848). Timing is a separate prioritisation decision per #5874 (possibly months out); this issue is the tracked next action so the design does not sit silently.

Scope, per section 8 of the decision record:

  1. Event kinds and folds in pkgs/id: chat.resolution.v1, chat.proposal.v1, chat.proposal-rejection.v1, withdrawal; resolution and proposal projections with property tests on the section 5 invariants (fold determinism, no-leak filtering, concurrent-head behaviour).
  2. Acceptance plumbing in object editors: citing a proposal from an edit; stale-base presentation.
  3. Client surfaces: talk-page resolution markers and proposal review in the GUI; terminal flows (propose / resolve / accept) with textual rendering per parent id: design: Chat next steps — conversation↔object linking, talk pages, terminal participation #5682 section 3.

Invariants and rejected alternatives are in the decision record; do not re-decide them here. Parent: #5682. Design: #5874.

Acceptance criteria

  • Thread resolution and change proposals are implemented per the id: design: thread resolution & the discussion→edit loop (from #5682) #5874 decision record: fold-based resolution with property tests on the section 5 invariants (fold determinism, no-leak filtering, concurrent-head behaviour).
  • Acceptance plumbing in object editors works: citing a proposal from an edit, and stale-base presentation.
  • Client surfaces (talk-page resolution markers, proposal review in the GUI, terminal propose/resolve flows) are delivered or filed as linked follow-ons.

Activity

  1. added
    kind/feature
    task/triage
    app/id
    on Nov 8, 2026
  2. added
    epic/id-program
    on Nov 12, 2026
  3. added this to the ID platform program milestone on Nov 12, 2026
  4. added
    priority/low
    effort/l
    and removed
    task/triage
    on Nov 17, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    Member

    🤖 Agent note · triaged

  6. added
    work/assigned
    queue/claimed
    status/in-progress
    on Nov 17, 2026
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    Member

    🤖 Agent note · picked up

  8. dezren39 commented on Nov 17, 2026

    @dezren39
    Member

    🤖 Agent note · done

  9. 13 remaining items

  10. dezren39 commented on Nov 26, 2026

    @dezren39
    Member

    #15294 is merged (647b408). It lands the first two items of §8 for notes:

    1. Kinds and folds in the event store. Resolutions, proposals, rejections and withdrawals are carried as signed chain events, read group-scoped with the roster gate and history-policy join cut, and kept through compaction.
    2. Acceptance plumbing and stale-base presentation. A note revision that cites a proposal is the accepting edit. ThreadProjection::review marks an open proposal stale against the note's current heads.

    Item 3, the client surfaces, is still open. The CLI has no note create or revise commands yet for it to build on.


    Generated by Claude Code

  11. dezren39 commented on Nov 26, 2026

    @dezren39
    Member

    Lane 1 progress: PR #15292 merged as 97e9d51. It adds terminal lines for thread resolution and change proposals in the id store.

    Proof: remote run https://github.com/developing-today/code/actions/runs/45712400725 printed test result: ok. 23 passed; 0 failed.

    This issue stays open. Item 2 landed separately in #15294. What is left is the GUI half of item 3: talk-page resolution markers and proposal review.


    Generated by Claude Code

  12. dezren39 commented on Nov 26, 2026

    @dezren39
    Member

    Claimed by lane 1, 2026-11-26T02:51Z

    Item 3, terminal half, wired into the CLI: id talk subcommands to propose, resolve, reject, withdraw and accept, writing the checked thread events through the local event writer, and a read-back that prints the viewer's projection as the text lines from #15292. The GUI half stays open.


    Generated by Claude Code

  13. dezren39 commented on Nov 26, 2026

    @dezren39
    Member

    Lane 1: PR #15384 merged (8758d0d). id talk now has propose, resolve, reject, withdraw and accept, and id talk threads <GROUP> prints the viewer's projection with concurrent resolutions and stale proposals marked.

    Proof: remote run https://github.com/developing-today/code/actions/runs/45748087868 on the PR head: cli_talk_threads 3 passed, cli_talk 3 passed, id-cli cli::tests 150 passed, id-events lib 405 passed, all 0 failed, and cargo fmt --check clean.

    Items 1 and 2 and the terminal half of item 3 are on main. The GUI half of item 3 (talk-page resolution markers and proposal review) is what is left.


    Generated by Claude Code

  14. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · triaged — task 24817 (lane code-g)

  15. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · triage confirmation (lane 1922-E, queue task 25711)

  16. developing-today commented on Nov 27, 2026

    @developing-today
    ContributorAuthor

    Triage refresh (oc-code-01, task 25951, 2026-11-27): verified the remaining scope against the merged PRs. #14895 and #15294 deliver the event folds, acceptance and stale-base review; #15292 and #15384 deliver terminal text/CLI flows. Only the GUI half of §8 item 3 remains: talk-page resolution markers and proposal review, preserving concurrent heads and existing visibility rules. Filed the bounded implementation slice as queue task #26051 in repo-health-code-pilot; it builds on the merged projection and explicitly excludes completed work. Issue remains open for that GUI slice. No code changes.

  17. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Implementation packet checkpoint — GUI surface discovery (task 26051, 2026-11-27).

    The claimed slice requires rendering an existing ThreadProjection in GUI talk pages, but current pkgs/id/crates/id-web has no talk-page route or page, and pkgs/id/web has no talk-page UI. Existing GUI routes are file/editor and world surfaces. Domain APIs exist (LocalEvents::thread_projection, thread_view, talk_page; ThreadProjection::review), but they require a conversation group. LocalEvents exposes no index/discovery API mapping an object to its canonical talk conversation group. The group↔object binding is modeled by chat.anchor.v1 (anchor_projection(group)), which itself requires already knowing the group.

    Therefore the packet's stated use of the existing projection does not specify how the GUI reaches a group or how a talk page is entered from an object. A route that accepts arbitrary {group, object} without proving the canonical binding could risk displaying unrelated thread/proposal data; a component-only implementation would not satisfy GUI integration. No code changes made. Recommend re-scope the implementation contract around the canonical anchor lookup/entry path, then build page + projection integration and visibility tests.

  18. dezren39 commented on Nov 29, 2026

    @dezren39
    Member

    🤖 Census note — CEN-C05, 2026-11-29 (Drew's full issue census)

    State re-verified firsthand: most of the #5874 §8 scope has landed — event folds, acceptance and stale-base review (PRs #14895, #15294), terminal text/CLI flows (PRs #15292, #15384). The sole remainder is the GUI half of §8 item 3 (talk-page resolution markers + proposal review), and it currently has a detail gap that blocks implementation:

    • The filed slice (queue task 26051) assumed an existing GUI talk page. There isn't one: pkgs/id/crates/id-web has no talk-page route and pkgs/id/web has no talk-page UI (existing routes are file/editor and world surfaces).
    • The domain APIs exist (LocalEvents::thread_projection, thread_view, talk_page; ThreadProjection::review) but there is no index/discovery API mapping an object to its canonical talk conversation group; chat.anchor.v1 gives anchor_projection(group) only when the group is already known.

    What a picker-upper needs before coding: a re-scoped implementation contract that settles the canonical anchor lookup / entry path (how the GUI reaches the group from an object, with the binding proven — an arbitrary {group, object} route risks showing unrelated thread data), then the page + projection integration with visibility tests. The 2026-11-27 packet-defect note on this issue (lane oc-code-03) is the evidence of record. No blocker outside this re-scope; priority/low stands (timing was always a separate prioritisation decision per #5874).

  19. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix):

  20. added
    status/needs-triage
    on Nov 29, 2026
  21. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found: no lifecycle, effort is present but no source (lifecycle remedied this pass; filer not stated, source left unlabelled); no ## Acceptance criteria section (appended this pass, original body text unchanged).

    Strengths: linked to its epic/programme via epic/* labels.

    Actions taken: labels added this pass: status/needs-triage; appended ## Acceptance criteria (original body text unchanged above it)

    Priority: priority/low retained — matches the work's urgency as evidenced on the issue; no band change.

  22. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    Issue census follow-up — 2026-11-29 (untouched-items remediation)

    The Xaltha-seat census (lane CEN-C05) recorded this issue's remainder as carrying a detail gap that blocks implementation — the needs-detail verdict for this issue. Disposition: the owed detail is pinned exactly as the census established it. Most of the #5874 §8 scope has landed; the sole remainder is the GUI half of §8 item 3 (talk-page resolution markers + proposal review), and before coding, a picker-upper needs a re-scoped implementation contract that settles the canonical anchor lookup / entry path — how the GUI reaches the conversation group from an object, with the binding proven (an arbitrary {group, object} route risks showing unrelated thread data) — then the page + projection integration with visibility tests. The filed slice (queue task 26051) assumed an existing GUI talk page; none exists (pkgs/id/crates/id-web has no talk-page route), which is what the re-scope must correct. The 2026-11-27 packet-defect note on this issue (lane oc-code-03) is the evidence of record. The re-scope is design work for the owning lane; this follow-up records the gap as the issue's gating detail. Verdict recorded as owed detail, no external blocker.

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/ideffort/lepic/id-programkind/featurepriority/lowstatus/needs-triage

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions