Skip to content

id phase-8/platform-completion: the 'id group join' CLI verb is declared but not wired #797

Closed

Description

@dezren39

Finding

The platform-completion acceptance brief lists the "group join CLI path" as an open gap, and it is tracked nowhere except that prose. The CLI already declares the verb but does not implement it.

Evidence

  • doc/2026-10-14T_platform_completion/acceptance-brief.md line 22 lists "the group-join CLI path and unsigned local group-log stand-ins" among gaps "tracked as follow-up scope rather than being represented as finished", and line 77 leaves "Finish or explicitly scope the group join CLI path" unchecked.
  • pkgs/id/src/cli.rs (GroupCommand enum, ~line 1337): Join { invite: String } with doc comment "Join a group with an invitation: a pasted ticket, or an id:join? link. Not wired yet."
  • The invite machinery exists (src/seitan/, src/invites/), so the join path is the missing surface, not the underlying protocol.

Why it matters

The command is visible to users (id group join) but does nothing, which misleads anyone following the CLI's help. The acceptance brief explicitly names it as unfinished.

Suggested scope

Wire id group join to the existing invite/Seitan accept path (or explicitly descope it and mark the verb hidden/experimental until it works). Reference #194 (Seitan V2) for the accept-bytes/Keybase verification still open on the invite path itself.

Acceptance criteria

  • id group join accepts an invitation (a pasted ticket or an id:join? link) and joins the group through the existing invite/Seitan accept path — OR the verb is explicitly descoped: hidden or marked experimental, with help text stating it is not wired yet.
  • Tests cover a successful join and refusal of an invalid invite (if the verb is wired).
  • CLI help no longer presents an unwired verb as functional.

Activity

  1. changed the title [-]id phase-8/platform-completion: is declared but not wired — joining a group by invite/link is unimplemented[/-] [+]id phase-8/platform-completion: the 'id group join' CLI verb is declared but not wired[/+] on Oct 24, 2026
  2. added
    kind/featureNew feature or capability request
    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

    Related: #194 (Seitan V2 — the accept-bytes / Keybase verification still open on the invite path itself, referenced in the body); platform-completion acceptance brief lines 22 and 77. The verb is declared in the GroupCommand enum in pkgs/id/src/cli.rs (~line 1337) with a "Not wired yet" doc comment; invite machinery lives in src/seitan/ and src/invites/. Sibling brief-gap issues: #798, #794.

    Still live (verified 2026-10-26): no merged PR references or resolves this issue; the verb remains declared-but-unwired. Not solved; do not close.

    Notes / risks: A user-visible CLI verb that does nothing is worse than no verb — it misleads anyone following --help. The fix-vs-descope choice should be made explicitly; note the join path depends on the invite accept path whose own verification work is tracked in #194, so wiring join may surface that dependency.

    Suggested approach: Wire Join { invite } to the existing invite accept path with success/invalid-invite tests; if #194 blocks a sound wiring, descope the verb (hidden/experimental help text) in the same PR and say why here.

    🤖 Agent note · intake enrichment

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run, 2026-10-26 00:19 CDT (05:19 UTC)
    • Found via: monitor reconciliation
    • Task: Intake enrichment (§5 pass): acceptance criteria appended, labels normalized, still-live verified.
    • Expectation: effort/m — wire one CLI verb to the existing invite path, or descope it honestly in help.
  4. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

    • Agent: repo-worker-code (openchamber scheduled lane)
    • Task: triage queue task 2231; verify current main and ownership.
  5. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 1, 2026
  6. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triage verdict: confirmed

  7. 95 remaining items

  8. developing-today commented on Nov 9, 2026

    @developing-today
    Contributor

    🤖 Agent note · handed off

  9. developing-today commented on Nov 9, 2026

    @developing-today
    Contributor

    🤖 Agent note · handed off

  10. developing-today commented on Nov 9, 2026

    @developing-today
    Contributor

    🤖 Agent note · handed off

  11. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  12. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  13. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

    • Agent: repo queue worker, lane code-n (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-n run 2026-11-08 20:07 CST; task 13210
    • Found via: claimed task 13210 this shift; execution-lane assignment returned opencode (lane row 4763)
    • Task: task 13210 for issue id phase-8/platform-completion: the 'id group join' CLI verb is declared but not wired #797 (small_fix). Fresh check: issue id phase-8/platform-completion: the 'id group join' CLI verb is declared but not wired #797 is OPEN, no hard-stop labels. It carries user/review — that label means a reviewer must look first, not a stop: the claimant session is that reviewer and should review the declared-but-unimplemented id group join verb scope before implementing, escalating to user/escalated only if a decision is genuinely Drews. Handed off to the opencode claimant; this lane does not work it directly.
    • Expectation: claimant session reviews and drives task 13210 to a terminal state; if it does not launch before the park expires, task 13210 returns to the queue.
  14. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    Handed off: Lane W (code-w) claimed task 13210; execution lane is opencode.

  15. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triage verdict: satisfied by landed work — closing

    What this issue asked (its own OR)

    1. Wire id group join or explicitly descope it — hidden or marked unavailable/experimental, with help text saying it is not wired yet.
    2. Tests for a successful join and refusal of an invalid invite, if wired.
    3. CLI help must stop presenting an unwired verb as functional.

    What landed

    PR #3782 — fix(id): mark group join unavailable (#797), merged 2026-11-02T15:53:27Z as e86afa8b8192fe564dcbabeb14f6ff6d117b0a3d:

    • pkgs/id/src/cli.rs:1626 — GroupCommand::Join help now reads "Unavailable: group admission and network joining are not implemented yet."
    • pkgs/id/src/commands/group.rs:480 — parses the paste, then refuses explicitly: "group join is unavailable: invitation parsing works, but admission and network acceptance are not implemented yet; no group membership was recorded".
    • pkgs/id/tests/cli_groups.rs:305 — test_group_join_help_says_unavailable asserts the help says "Unavailable" and "not implemented yet".
    • pkgs/id/tests/cli_groups.rs:318 — test_group_join_refuses_a_valid_invitation_and_records_nothing feeds a well-formed endpoint ticket, asserts non-zero exit, the exact refusal on stderr, and an empty group log.

    Criterion 1 (descope branch) and criterion 3 are satisfied; criterion 2 is conditional on wiring, so it does not apply. The user-visible defect in this issue — a verb advertised as functional that does nothing — is fixed and regression-tested.

    Why the "wire it" branch is not a queue-sized fix (verified, not assumed)

    The invitation primitives exist, but nothing joins them to the group log:

    • groups/mod.rs:104 — Body::Join only "accepts a friendship request, as its other side". There is no admission body for an invited joiner.
    • groups/fold.rs:833 — accept returns JoinNotSupported for any non-friendship, while Join::Invite exists as a policy value (groups/policy.rs:186) that no event can satisfy; fold.rs:89 says the other join modes "are not built yet".
    • seitan/admit.rs:28 — Admitted carries {uid, eldest_seqno} while group members are 32-byte Keys (groups/mod.rs:61); no caller posts the membership change.
    • invites/mod.rs:55 — join() hands accept bytes to an AcceptSender trait with no production implementation (only the test recorder), and no serve-side transport handler accepts seitan bytes.

    Wiring therefore needs a new admission event + fold rule, server-side invite persistence, a real accept sender/handler on the serve transport, and a uid → Key mapping decision. That is a design/implementation pass, not a small_fix, which is also the conclusion of the three earlier triages on this issue (tasks 2231, 11874, 12553).

    Where the remainder stays tracked (nothing is being dropped)

    Closing as completed: the issue's own acceptance criteria are met by merged PR #3782, with #194/#5751 carrying the protocol work that wiring depends on. No further queue packet is created — a new small_fix for this remainder would re-enter the same loop this audit exists to break.

  16. removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/claimedQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 9, 2026
  17. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · task 13210 already done — recording the landed outcome

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 workkind/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/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this itemuser/reviewNeeds a user-look: Muse reviews first and handles what it can

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions