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 — Phase 2: create of an existing group is first-arrival-wins, not fold-based · Issue #165 · developing-today/code

Phase 2: create of an existing group is first-arrival-wins, not fold-based #165

New issue
Copy link
New issue
Copy link
Closed
Closed
Phase 2: create of an existing group is first-arrival-wins, not fold-based#165
Copy link
Assignees
dezren39
Labels
status:in-review

Description

@dezren39
dezren39
opened on Oct 12, 2026
Issue body actions

The wiring fix refuses a create naming an existing group, by arrival order. Two concurrent creates still settle by arrival, so replicas can diverge, and an attacker's create that arrives first can claim a derived friendship ID. The correct check belongs in the groups fold (src/groups/fold.rs), which is not wired into ingest yet. Needed before group creation is considered secure.

Activity

Next
  1. github-actions
    assigned
    dezren39
    on Oct 12, 2026
  2. dezren39 commented on Oct 24, 2026

    @dezren39
    dezren39
    on Oct 24, 2026
    MemberAuthor
    More actions

    id train triage (2026-10-24): too-big-needs-design — fold-based group create; the correct check belongs in src/groups/fold.rs, which is not wired into ingest yet.

  3. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Oct 29, 2026
  4. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), Lane A shift
    • Session / ID: queue task 2014
    • Found via: queue claim · repo-health-code-pilot
    • Task: Triage Phase 2: create of an existing group is first-arrival-wins, not fold-based #165 — verify at current main whether create-of-an-existing-group is still refused by arrival order outside the groups fold (replica divergence / friendship-ID claim), or whether the fold is now wired into ingest and settles concurrent creates deterministically; route a scoped fix or close with evidence.
    • Expectation: effort s — done = triage verdict posted, follow-up enqueued or issue closed with evidence, task 2014 completed.
    • Links: issue Phase 2: create of an existing group is first-arrival-wins, not fold-based #165
  5. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (triage verdict: CONFIRMED)

    • Agent: queue worker (repo-worker-code), Lane A shift
    • Session / ID: queue task 2014 (triage)
    • Found via: queue claim · repo-health-code-pilot
    • Task: Triage complete — CONFIRMED at current main (HEAD 2953f27), routed to a scoped fix packet (queue task 2950).
    • Evidence:
      • The "wiring fix" is commit d5ec382 ("a create may not take over an existing group [P2.3]") and it is unchanged at HEAD: pkgs/id/src/membership/gate.rs:53-63 — for a create, admit() scans the operations applied so far and rejects GroupExists only if one names the same group; the doc comment (gate.rs:26-28) says it plainly: "The first create stands."
      • pkgs/id/src/membership/layer.rs:130-166: Membership::receive decides in arrival order (held only for missing causal dependencies). Two concurrent creates for one group — neither causally before the other — are settled by whichever arrives first at that node. No event-ID tie-break exists in this path.
      • The deterministic replays that do exist do not agree on a tie-break, and neither is consulted at admission: the groups fold orders concurrent events by smaller event ID (fold.rs header), while the event store's resolve.rs:108,186-213 replays a fresh membership layer in stored position-key order (author||seq||id, event_store/mod.rs:26) — for the same concurrent pair the two paths can crown different creates. Ingest stores and resolve replays; it never consults groups/fold.rs.
      • The friendship-ID claim is reachable: layer.rs:692 pins that a create may name a derived friendship group ID, so a stranger's create naming that ID is admitted whenever it is processed first. The only GroupExists test (layer.rs:725) is sequential — create, then stranger — and no test feeds concurrent creates in both arrival orders.
    • Expectation: fix task 2950 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:165) — done = one canonical rule (causal order, smaller event ID wins, matching the fold) decides concurrent creates on the membership layer, the fold, and resolve; convergence tests in both arrival orders; CI green.
    • Links: follow-up task 2950 · gate https://github.com/developing-today/code/blob/main/pkgs/id/src/membership/gate.rs
  6. dezren39
    added
    queue/queuedHas a queued queue task
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  7. 287 remaining items

    Load more actions
  8. dezren39
    added
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 2, 2026
  9. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    agent-note:v1 — state: parked (task 2950, OpenChamber scheduled lane)\n- Agent: repo-worker-code.\n- Fresh metadata-only evidence: #165 remains OPEN/assigned to Drew; canonical PR #4099 remains OPEN/authored by Drew. I did not inspect PR contents, checks, reviews, branch, or worktree.\n- Disposition: parked 30 minutes; no competing work. Parked labels restored; work/assigned remains.\n- Resume: only after explicit ownership release or handoff; then revalidate before work.\n

  10. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 2, 2026
  11. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane D shift
    • Session / ID: task 2950
    • Found via: queue claim
    • Task: Correction to the metadata-only parks on task 2950: PR fix(id): canonical winner for concurrent group creates (#165) #4099's head branch is queue/2950-165-concurrent-create-winner — PR fix(id): canonical winner for concurrent group creates (#165) #4099 is task 2950's OWN fleet PR, not a Drew-owned PR (the author login is the shared fleet account). The ownership stop does not apply. This shift verifies head 441f857 (Codex P1 already fixed in d307468; remaining P2 dispositioned deferred by lane A) and merges if tests pass.
    • Expectation: effort/s; done = PR fix(id): canonical winner for concurrent group creates (#165) #4099 merged, issue Phase 2: create of an existing group is first-arrival-wins, not fold-based #165 closed, task 2950 completed fixed_merged.
    • Links: PR fix(id): canonical winner for concurrent group creates (#165) #4099
  12. dezren39
    added a commit that references this issue on Nov 2, 2026

    fix(id): canonical winner for concurrent group creates (#165) (#4099)

    c9c2578
  13. dezren39 commented on Nov 2, 2026

    @dezren39
    dezren39
    on Nov 2, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane D shift
    • Session / ID: task 2950
    • Found via: queue claim
    • Task: Task 2950 complete: PR fix(id): canonical winner for concurrent group creates (#165) #4099 MERGED (squash, merge commit c9c2578), issue Phase 2: create of an existing group is first-arrival-wins, not fold-based #165 closed. Concurrent group creates now resolve by deterministic canonical order instead of first arrival.
    • Expectation: Verified fresh this shift: PR fix(id): canonical winner for concurrent group creates (#165) #4099 is task 2950's own fleet PR (head queue/2950-165-concurrent-create-winner @ 441f857) — the earlier Drew-owned parks were the author-login metadata over-fire, corrected on the pickup note. Codex findings all dispositioned (P1 winner-ordering fixed in d307468; rescan P2 fixed; replay-indexing P2 deferred to tracked issue perf(id): index membership replay outcomes instead of scanning (PR #4099 Codex follow-up) #4128). Laptop tests at head: id-core membership 98 passed; id lib resolve (causal_order) 20 passed. PR CI still queued at merge (Actions runner backlog); main CI is the backstop.
    • Links: PR fix(id): canonical winner for concurrent group creates (#165) #4099; follow-up issue perf(id): index membership replay outcomes instead of scanning (PR #4099 Codex follow-up) #4128
  14. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 2, 2026
  15. dezren39
    closed this as completedon Nov 2, 2026
  16. developing-today
    added
    status:in-review
    on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

status:in-review

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.