GeezerVison is showing github.com — Append submission, mandatory pending gate and atomic approval · Issue #10237 · developing-today/code
Append submission, mandatory pending gate and atomic approval #10237DescriptionProblem and goal
Verify signatures before pending/admission; force every non-group submitter to Pending even when open; directly accept only eligible in-group submitters; approve by CAS after membership, policy and revocation recheck.
Version and design basis
Version: V2. 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#6-9127--user-attributes-and-append-list-protocol (section: 6. #9127 — user attributes and append-list protocol).
Tier: crucial.
Statement IDs: S5.20, S5.21, S5.22, S5.25, S5.26, S5.27, S5.28
Enables: The accepted list is published only after its signed-evidence and moderation gate, with immutable authoritative order.
Scope and ownership
Parent: #9127 (native component/meta parent).
pkgs/id/crates/id-core/src/graph/append_list.rs (new; owner: A-GRAPH-9127-02)
pkgs/id/crates/id-events/src/graph_admission.rs (new; owner: A-GRAPH-9127-02)
pkgs/id/crates/id-events/tests/append_list_state_machine.rs (new; owner: A-GRAPH-9127-02)
Hard dependencies (native blockers): A-GRAPH-9127-01 — Signed attribute and open/closed/moderated policy.; 9083 — Current tenant/membership authorization interface used by admission CAS; no policy is copied into graph code.
Soft sequencing (not blockers): none
Test / evidence first
Create or validate pkgs/id/crates/id-events/tests/append_list_state_machine.rs first. Proposed command: cargo test -p id-events --test append_list_state_machine
Oracle: model — expected Invalid signatures never enter pending/accepted; non-group submission remains pending on open attributes; approval CAS rechecks current membership/policy/revocation; same idempotency key with different bytes conflicts; order never rewrites or wraps.; verifier: Independent model-based state machine with concurrent policy changes, duplicate submissions, restart/replay and epoch/sequence exhaustion..
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 only the new append protocol adapter; retain validated signed submission evidence and never project Pending as accepted during rollback.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Activitydeveloping-today commented on Nov 14, 2026 dezren39 commented on Nov 14, 2026 agent-note:v1
state: blocked (dependency) — mandatory preflight result
task: 17078
issue: #10237 (ID/Atlas slice A-GRAPH-9127-02)
lane: code-c (repo-worker-code)
at: 2026-11-14T17:52Z
Preflight performed exactly as the A-GRAPH-9127-02 packet mandates (triage/preflight only; no implementation attempted, no production rollout authorized):
dezren39 commented on Nov 17, 2026
🤖 Agent note · triaged — hard dependencies unmet; task blocked on the primary one
- Agent: queue worker (repo-worker-code), lane any-g
- Session / ID: task 19173
- Found via: repo-health-code-pilot atomic claim (unfiltered, lane any-g); execution-lane assignment: direct (fix(queue): single-session by default — launch-on-handoff, lane works, inline triage (reverses #8097 Rule 3) #8187)
- Task: Triage issue Append submission, mandatory pending gate and atomic approval #10237: Append submission, mandatory pending gate and atomic approval (summit delivery slice A-GRAPH-9127-02, parent design(id): append-list user-attribute protocol — signed submission, server order, pending queue #9127, tier crucial)
- Blockers (both declared hard in the issue, both verified OPEN this run, 2026-11-17):
- Evidence: on origin/main,
pkgs/id/crates/id-core/src/graph/ holds only mod.rs (no append_list.rs) and pkgs/id/crates/id-events/src/ has no graph_admission.rs — the slice is unstarted, not partially landed. Issue Append submission, mandatory pending gate and atomic approval #10237 already carries queue/blocked + status/blocked and both blocked-by links; this triage confirms all of it is accurate today and leaves the labels as they are.
- Why the fleet cannot clear it from this task: both dependencies are the delivery plan's own sequencing — the policy slice defines what the gate enforces, and the tenancy interface is a separate program's design surface. Building the gate against invented policy or a copied authorization model is exactly what the issue forbids.
- Action: queue task 19173 blocked with reason-class dependency on Signed user-attribute definitions and policy #10222 (dep TTL 7 days), with design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 named here and in the blocker text. When both land, the slice is a self-contained small_fix against its model oracle (
cargo test -p id-events --test append_list_state_machine), with the manifest SHA-256 approval binding recorded in the issue body.
dezren39 commented on Nov 17, 2026 agent-note:v1
lane: openchamber-scheduled-lane (code-h), worker repo-worker-code, queue task 17078
state: blocked (reason_class: blocked)
preflight: native blockers checked 2026-11-17T17:55Z — #9083 OPEN, #10222 OPEN. No implementation started (A-GRAPH-9127-02 stays out of scope).
resume: when #9083 and #10222 are closed, requeue or re-claim task 17078 and re-run the preflight. dezren39 commented on Nov 20, 2026 agent-note:v1
lane: oc-code-05 · worker repo-worker-code · queue task 17078
kind: blocked
at: 2026-11-20T18:08Z
summary: Native-blocker preflight for slice A-GRAPH-9127-02 re-verified fresh: #9083 OPEN, #10222 OPEN. No implementation performed. Task self-blocked with blocked-by-issue on both blockers; returns to the pool when both close. dezren39 commented on Nov 23, 2026
Agent note — native dependency recheck and routing (2026-11-23).
Fresh GitHub checks show both declared hard dependencies are now closed:
The implementation slice remains unstarted and stays within the issue's approved scope: pkgs/id/crates/id-core/src/graph/append_list.rs, pkgs/id/crates/id-events/src/graph_admission.rs, and the model-based state-machine test. I re-ran the queue dependency check and unblocked existing preflight task 17078, which is now queued for the required preflight. No implementation or production rollout was performed by this triage task. dezren39 commented on Nov 23, 2026 Agent note — A-GRAPH-9127-02 native-blocker preflight verified (task 17078)
developing-today commented on Nov 23, 2026 Filed by pm-dispatch (bearer-token caller).
- Queue task: #21115 (repo-health-code-pilot, kind: small_fix, priority: 40)
- Status: queued
dezren39 commented on Nov 23, 2026 Implementation slice — A-GRAPH-9127-02 append admission
dezren39 commented on Nov 23, 2026
Lane MF claim — done-check / close verification for A-GRAPH-9127-02 (via parent chain #9129 → #10269 → #10252 → #10237)
Served #9129 from the shortlist; its remaining slice #10269 is natively blocked by #10252, whose last open native blocker is this issue. Implementation for this slice landed in PR #12932 (merged 2026-11-23T05:18:58Z, merge commit b25daaf3af5bd7a5d0117b2dd8fc90c66f0e9fb9), in exactly the declared scope, but the issue was never closed.
This lane is running the declared oracle fresh at current main — cargo test -p id-events --test append_list_state_machine (pkgs/id dev shell, laptop worktree) — and will close this issue with the evidence if it passes, then record the unblock downstream. dezren39 commented on Nov 23, 2026
Lane MF — HOLD (platform execution-risk flag on the working checkout)
Read-only verification is complete and the premise is confirmed:
What remains is only the fresh oracle re-run at current main and the close. That step is paused: creating the laptop worktree for this verification tripped a platform execution-risk check on the checkout's content, and per standing rules a flagged checkout is not executed in (no builds, tests, or git operations inside it) without Drew's own item-specific go-ahead for that content. The worktree ~/wt-lane-mf-10237 (branch lane-mf-10237, at main f69abc3afc81) is left untouched.
Downstream chain this unblocks once closed: #10252 (its other two native blockers #10196/#10222 are already closed), then #10269, the last remaining slice of #9129. dezren39 commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026
Done — fresh oracle re-run passes at current main; closing as completed.
Closing the loop on Lane MF's hold record (comment 7095131088) under Drew's batch approval of all flag holds (2026-11-23 07:35 CST, "Approve all the flag holds listed above"):
- Implementation: PR id: add append admission state machine #12932, merged 2026-11-23T05:18:58Z, merge commit
b25daaf3af5bd7a5d0117b2dd8fc90c66f0e9fb9, in exactly the declared scope (pkgs/id/crates/id-core/src/graph/append_list.rs, pkgs/id/crates/id-events/src/graph_admission.rs, pkgs/id/crates/id-events/tests/append_list_state_machine.rs, plus wiring/registry).
- Fresh oracle at main
1ccb4a19457 (laptop route, pkgs/id dev shell): cargo test -p id-events --test append_list_state_machine — 4 passed, 0 failed: approval_rechecks_membership_and_revocation, idempotency_conflict_and_order_are_deterministic, invalid_signatures_never_enter_pending_or_accepted, open_non_member_waits_but_member_can_be_accepted_directly.
- The implementation, test and attribute-vocabulary files are byte-identical between
1ccb4a19457 and current main e0c0851a77f (empty diff), so the evidence stands at current main.
- Routes tried first: remote dispatch (fleet-command run 45186419635) failed in the container's "Execute target command" step — the known fleet: fleet-command dispatch container cannot run nix develop out of the box (experimental features, nixbld group, homeless-shelter purity) #13159-family environment gap, not a test result. The laptop run initially queued behind a fleet-wide sccache stall (server executing ~9 compiles/min during the landing wave); the verifying run bypassed sccache (
RUSTC_WRAPPER=) and completed locally.
- Native blockers design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083 and Signed user-attribute definitions and policy #10222 are both closed.
Downstream: #10252's last open native blocker is now closed; the chain continues there, then #10269. Parent #9129 stays open.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|