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 — Wire the blob membership gate into id serve (#173) by dezren39 · Pull Request #7181 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 8, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Opened by the branch-disposition execution (2026-11-07) from branch queue/5874-173-blob-gate-shepherd.

Branch origin: queue branch for issue #5874.
This branch was laptop-local work (or a stranded remote branch) with real changes ahead of main and no PR. Per Drew's 2026-11-07 branch-disposition ruling, ahead branches with real changes get a PR; this PR surfaces the work for triage instead of leaving it stranded on a branch.

Triage owner: batch issue in developing-today/code, "Unowned PR batch from branch disposition (2026-11-07)". Outcome per batch triage: close with reason, or route to impl/finish/merge as a follow-on fix task.

Evidence: branch-ahead review ~/workspace/scratch/branch-ahead-review-2026-11-07.md; execution log ~/workspace/scratch/branch-disposition-2026-11-07.md.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dezren39 and others added 4 commits November 1, 2026 12:26
@dezren39
Wire the blob membership gate into id serve (#173)
f62c344
The blob gate (blob_gate::decide/blob_events) decided fetches and observes
from a reference index that had no producer, so it was never wired into a
serving path and blobs were served to any peer.

- blob_gate: build_reference_index (with transitive HashSeq children),
  hashseq_children, fold_group_events (group log -> Worlds, world key =
  group create-hash hex), RefreshingWorlds (producer-swappable fold).
- event_store: EventStore::document_references — applied, unremoved
  document.put events as (blob hash, group) pairs; LocalEvents exposes it.
- serve: when the event store is open (web UI), BlobsProtocol runs the
  gate handler (push still decided by the AccessPolicy); a refresh task
  re-folds on the group-warning cadence so removals revoke fetch. Without
  the store, serve keeps push-only handling and warns the gate is inactive.
- local: LocalNode::set_blob_gate lets an embedder supply the gate to
  serve(); default behavior unchanged.
- groups::worlds::Worlds::empty for fail-closed fallbacks.

Tests: blob_gate producer tests (index + HashSeq attribution, group-log
fold gating, refresh revoking a removed member); existing suites pass.
repo-worker-code
Fix blob gate fold for multi-group logs (#173)
f588a77
fold_group_events partitioned the group log by world, but
GroupLog::record names the log's global heads as after, so any second
group's events name dependencies living in another partition. fold::index
rejects those partitions with MissingDependency and build_blob_gate
failed the whole gate closed, denying even authorized members.

Keep only intra-partition after edges: ordering inside a world is
preserved and membership reads each world's own projection, so no
authority is lost.

Adds a regression test with two groups where the second create names
the first group's events, as a real group log would.
repo-worker-code
Add blob gate refresh and HashSeq peer tests (#173)
0b0736c
repo-worker-code
Preserve group-log causality in blob gate (#173)
a3c1b38
@dezren39
dezren39 requested a review from a team as a code owner November 8, 2026 04:36
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 33 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b3a498e8-062c-442b-9c2c-3f3f5875c596
Commits

Reviewing files that changed from the base of the PR and between 1e46b89 and fa56e7e.

Files selected for processing: 10

  • doc/2026-11-13T09-00-00Z_design_blob_gate_authorization_wiring.md
  • pkgs/id/src/blob_gate.rs
  • pkgs/id/src/commands/serve.rs
  • pkgs/id/src/event_store/documents.rs
  • pkgs/id/src/groups/worlds.rs
  • pkgs/id/src/local.rs
  • pkgs/id/src/local_events.rs
  • pkgs/id/tests/blob_gate.rs
  • pkgs/id/tests/content_removal.rs
  • pkgs/id/tests/documents.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-13T09:10:02.802028Z
We couldn’t complete this review. Comment @codex review to try again.
fa56e7e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 8, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a3c1b38e47

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pkgs/id/src/commands/serve.rs
Comment on lines +995 to +999
Some(gate) => BlobsProtocol::new(
&store_handle,
Some(crate::blob_gate::blob_events(
Arc::clone(gate),
crate::blob_gate::BlobPolicy::default(),

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 8, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Preserve local blob reads when enabling the gate

When the web UI is enabled, this installs the membership gate on the same blob protocol used by the local CLI and REPL. However, LocalEvents::record always writes group: None, so documents published through LocalEvents::publish (including editor saves) are excluded from the reference index; ordinary uploads in commands/put.rs do not create document references either. Consequently, cmd_get_local, cmd_gethash, and REPL fetches are denied for these files even though their metadata remains accessible and the local client is trusted by build_access_policy. Wire a compatible reference/authorization path for existing local operations before enabling this gate unconditionally.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dezren39 dezren39 Nov 13, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in fa56e7e. The gate now counts local trust: decide_with_local admits fetch/observe from the node's own key and the data directory's client key — the two keys build_access_policy already trusts automatically for writes. id serve passes those as the gate's local readers; LocalNode passes its own node id. Locally published content (group: None documents, plain uploads) is therefore readable by the local CLI/REPL again, while remote peers still need world membership for every hash. Coverage: unit test a_local_reader_fetches_an_unreferenced_blob_but_a_stranger_cannot (blob_gate lib) and the peer-level test of the same name in pkgs/id/tests/blob_gate.rs (local reader fetches an unreferenced blob over the blobs protocol; a stranger is refused with the same denial code).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pkgs/id/src/commands/serve.rs
Comment on lines +775 to +778
let Ok(bytes) = store.get_bytes(hash).await else {
continue;
};
let kids = crate::blob_gate::hashseq_children(&bytes);

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 8, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Bound blob reads while building the reference index

For every referenced document, this reads the entire blob into memory merely to guess whether it is a HashSeq, including documents with no group that are subsequently discarded from the index. hashseq_children then allocates another hash vector for any 32-byte-aligned payload. With large persisted documents, startup now requires memory proportional to their full contents and can exhaust memory before the router starts; the refresh task repeats this scan every 60 seconds. Identify collection roots explicitly and bound or stream their parsing rather than loading arbitrary document contents during authorization-index construction.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dezren39 dezren39 Nov 13, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in fa56e7e. The HashSeq expansion in build_blob_gate is now bounded: (1) only group-referenced blobs are candidates — ungrouped references were read and then discarded from the index, exactly the waste named here; (2) a candidate is read into memory only when store.status reports it complete with a size that is a positive multiple of 32 and no larger than MAX_HASHSEQ_BYTES (1 MiB = 32768 children). The size comes from the store status, never from reading content, so building or refreshing the index no longer loads whole documents to guess whether they are HashSeq collections.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pkgs/id/src/commands/serve.rs
Comment on lines +959 to +962
#[cfg(feature = "web")]
let blob_gate: Option<Arc<crate::blob_gate::RefreshingWorlds>> = match &event_events {
Some(events) => {
let folded = build_blob_gate(

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 8, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Document the authorization wiring before activating it

This changes production blob authorization without adding the design record required by pkgs/id/AGENTS.md for significant behavioral and architectural changes. A repository-wide Markdown search found existing records describing the gate as unwired, but no design record covering this integration's document-reference source, HashSeq inference, refresh/revocation timing, or ungated behavior without the web event store. Add the required dated document so these authorization trade-offs have a reviewable record.

AGENTS.md reference: pkgs/id/AGENTS.md:L159-L168

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dezren39 dezren39 Nov 13, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in fa56e7e. Added the dated design record the protocol requires: doc/2026-11-13T09-00-00Z_design_blob_gate_authorization_wiring.md (pkgs/id/docs is a symlink to doc/). It covers the document-reference source (event-store document references, world key agreement, why group: None documents and artifacts are not sources), HashSeq inference (all-children-present plus the size bound), refresh/revocation timing (RefreshingWorlds swaps folds; removal takes effect at the next refresh, fail-closed on unreadable sources), local trusted readers, and the ungated behavior without the web event store (announced by a startup warning naming #173; opening the store in non-web serve is a separate, deliberately unmade change).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@developing-today developing-today Bot mentioned this pull request Nov 8, 2026
Unowned PR batch from branch disposition (2026-11-07) #7297
Open
This was referenced Nov 8, 2026
Phase 3: blob gate is not wired into serve, so blobs are still served to any peer #173
Closed
fix(aggregator): validate lined-up blockedBy refs #7183
Closed
@dezren39

dezren39 commented Nov 12, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · salvage check — PR #3917 is fully contained in this PR; closing it as the duplicate

  • Agent: repo-worker-code (lane any-c) · task 5874 · issue Phase 3: blob gate is not wired into serve, so blobs are still served to any peer #173
  • Check (2026-11-12, laptop worktree): git merge-base --is-ancestor f62c344f2e96eed9097289f295e291a720996b5f a3c1b38e47 → yes. PR Wire the blob membership gate into id serve (#173) #3917's head commit is a direct ancestor of this PR's head: this branch (queue/5874-173-blob-gate-shepherd) is Wire the blob membership gate into id serve (#173) #3917's branch plus the three queue/5874 rework commits (f588a773b7 fold fix, 0b0736c1a7 refresh + HashSeq peer tests, a3c1b38e47 causality preservation). There is nothing unique in Wire the blob membership gate into id serve (#173) #3917 to salvage — containment is by git ancestry, not by file-list comparison.
  • Disposition: PR Wire the blob membership gate into id serve (#173) #3917 is closed as superseded by this PR, which remains the canonical implementation for issue Phase 3: blob gate is not wired into serve, so blobs are still served to any peer #173 under task 5874. This PR's own remaining work (crate-split port + Codex findings) is recorded on issue Phase 3: blob gate is not wired into serve, so blobs are still served to any peer #173 in this shift's resume note.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 12, 2026
Wire the blob membership gate into id serve (#173) #3917
Closed
@github-actions github-actions Bot assigned dezren39 Nov 12, 2026
@dezren39 dezren39 added the queue/queued Has a queued queue task label Nov 13, 2026
@dezren39

dezren39 commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Unblocked 2026-11-13 under Drew's order "fix all fixable and reblocked" (set decisions-2026-11-13-blocked-review): queue task(s) 13492 released to the queue. The block rested on the premise that dezren39-authored work is Drew-owned — revoked by Drew's 2026-11-11 authorship ruling (dezren39 is the fleet's working identity; its issues/PRs are fleet work product, not a hold). Verified live at release: issue open, no Drew-hold labels (user/owned, held, do-not-auto-edit).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

repo-worker-tmp-code-b
Fix blob gate Codex findings: local reads, bounded HashSeq expansion,…
fa56e7e
… design record (#173)

P1 (serve wiring): the gate now trusts the node's own key and the data
directory client key as local readers (decide_with_local), mirroring
build_access_policy — the local CLI/REPL keep reading locally published
(group: None) and uploaded blobs with the gate on; remote peers still
need world membership for every hash.

P2 (reference index build): HashSeq expansion only considers
group-referenced blobs and reads a blob only when the store status
reports it complete with a positive multiple-of-32 size no larger than
MAX_HASHSEQ_BYTES (1 MiB), so index building no longer loads whole
documents into memory to guess at collections.

P1 (docs): dated design record for the authorization wiring —
reference source, HashSeq inference, refresh/revocation timing, local
trust, and the ungated non-web behavior — per pkgs/id AGENTS.md.

Tests: blob_gate lib 19 passed (new decide_with_local unit test),
blob_gate integration 11 passed (new peer-level local-reader test:
local reader fetches an unreferenced blob, stranger refused),
documents 7 passed, content_removal 5 passed; cargo check --features
web passes.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · task 5874 parked — Codex findings fixed; merge now needs a crate-split port

  • Agent: repo-worker-code, Muse lane code-c
  • Session / ID: queue task 5874

Done this shift (commit fa56e7e on this PR's branch): all three Codex findings on a3c1b38 are fixed and each thread has its disposition reply:

  • P1 local reads (discussion_r4561547054): gate counts local trust via decide_with_local — node key + data-dir client key as local readers, mirroring build_access_policy; LocalNode passes its own node id.
  • P2 bounded index build (discussion_r4561547342): HashSeq expansion only for group-referenced blobs, read only when store status reports a positive multiple-of-32 size ≤ MAX_HASHSEQ_BYTES (1 MiB).
  • P1 design record (discussion_r4561547611): doc/2026-11-13T09-00-00Z_design_blob_gate_authorization_wiring.md.
  • Tests on the branch base: blob_gate lib 19 passed, blob_gate integration 11 passed (incl. the new peer-level local-reader test), documents 7, content_removal 5; cargo check --features web passes. (Pre-existing, unrelated: --all-features lib-test build and id-core lib tests are broken on the base — russh/web-assets/vt100 drift; not touched by this PR.)

Why not merged: this PR is now CONFLICTING with main — not from its own content but from the pkgs/id crate split (#4407/#4408) that landed on main after the branch base: the gate core moved into id-groups/id-worlds with pkgs/id/src/blob_gate.rs as a facade, and serve/LocalNode moved under crates/id-cli. Main still has NO serve wiring for the gate, so the work is still needed — as a port, not a merge.

Port plan (the resume steps, in order):

  1. id-groups/src/blob_gate.rs: add decide_with_local + the local_readers parameter on blob_events (reference: fa56e7e in this PR).
  2. Serve wiring in the id-cli serve command: rebuild build_blob_gate against id-store document references + the id-groups fold, pass node key + client key as local readers, keep the bounded HashSeq expansion and the non-web startup warning.
  3. LocalNode (crates/id-cli/src/local.rs): pass the node's own id as its local reader set.
  4. Port the tests: lib unit test for decide_with_local, the peer-level local-reader test in tests/blob_gate.rs, and the three blob_events call-site updates.
  5. Add the design record (already written on this branch; copy the file over).
  6. Re-run the same four test suites on main, then merge; close this PR as superseded by the port PR with a salvage note (diff the port PR against fa56e7e first — the fixes here are the reference implementation).
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Agent note — shepherd map: Codex findings fixed at head; PR now needs a crate-split port before merge (task 13492, lane any-d, 2026-11-13)

State verified fresh: PR OPEN, head fa56e7e, CONFLICTING vs current main. Issue #173's old "Drew-owned hard stop" is withdrawn — dezren39 is the fleet identity (Drew 2026-11-11), and the 2026-11-12 cleanup already released this task on that basis.

Reviews: Codex's three findings (P1 local blob reads locked out when the gate is enabled; P1 design record required before activating authorization wiring; P2 unbounded HashSeq reference-index reads) were all fixed in head fa56e7e — the fixes are in this diff (decide_with_local local-trust admission, bounded/group-only HashSeq expansion, and doc/2026-11-13T09-00-00Z_design_blob_gate_authorization_wiring.md). Codex re-review of the fix head failed on usage limits, so the threads carry the author's fix replies without a bot re-check; the fixes must be re-verified by test at the ported head (below).

Reconciliation map (trial merge on current main, aborted clean; nothing pushed): the pkgs/id crate split (step 7b, #4411, and the blob_gate split) moved every file this PR touches:

  • pkgs/id/src/blob_gate.rs (+491/−23) — on main this path is now a facade; the gate implementation lives in pkgs/id/crates/id-groups/src/blob_gate.rs (with a piece in id-worlds). Port the gate changes (incl. decide_with_local) there; 2 conflict regions at the old path, both from the facade split.
  • pkgs/id/src/commands/serve.rs (+212/−21) — moved to pkgs/id/crates/id-cli/src/commands/serve.rs (deleted at the old path on main: UD conflict). Re-apply the serve wiring at the new home.
  • pkgs/id/src/local_events.rs (+13/−1) — moved to pkgs/id/crates/id-events/src/local_events.rs (UD).
  • pkgs/id/src/local.rs (+29/−1) — now pkgs/id/crates/id-cli/src/local.rs; 1 conflict region (imports: main uses id_core::access / id_sync::fileops; the PR's blob_gate imports must resolve to the post-split homes).
  • Unmoved and clean: pkgs/id/src/event_store/documents.rs, pkgs/id/src/groups/worlds.rs, the design doc, and the tests (pkgs/id/tests/blob_gate.rs +145, content_removal.rs, documents.rs).

Acceptance gate for the port session: port the 5 branch commits onto current main per the map; cargo test -p id --test blob_gate plus the blob_gate unit tests green; the three Codex fix behaviors covered by tests at the ported head (local client-key fetch of an unreferenced blob admitted; remote non-member refused; reference-index build does not read ungrouped blobs); then merge. Task 13492 is parked meanwhile — this is a dedicated port session, not a rebase-and-pray.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 13, 2026
feat(id): add native shell session state #7197
Merged
@dezren39 dezren39 added queue/claimed Queue worker lifecycle state and removed queue/queued Has a queued queue task labels Nov 14, 2026
@dezren39

dezren39 commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · task 13492 picked up — resuming the crate-split port (lane any-a)

  • Agent: repo-worker-code (lane any-a) · task 13492 · issue Phase 3: blob gate is not wired into serve, so blobs are still served to any peer #173 · PR Wire the blob membership gate into id serve (#173) #7181
  • Fresh state (2026-11-14T04:35Z): PR Wire the blob membership gate into id serve (#173) #7181 OPEN, head fa56e7e, CONFLICTING vs current main; no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit) on PR Wire the blob membership gate into id serve (#173) #7181 or issue Phase 3: blob gate is not wired into serve, so blobs are still served to any peer #173. The old dezren39-authorship blocker is withdrawn per Drew's 2026-11-11 ruling.
  • Resume point: the 2026-11-13 shepherd map on PR Wire the blob membership gate into id serve (#173) #7181 — Codex's three findings are fixed at head fa56e7e; what remains is the port onto post-crate-split main (id-groups blob_gate decide_with_local, id-cli serve wiring, LocalNode local readers, tests, design record), then a port PR, with PR Wire the blob membership gate into id serve (#173) #7181 closed as superseded by the port after a salvage diff.
  • Next: create the laptop port worktree from current main and port the 5 branch commits per the map.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 14, 2026
Port blob gate wiring from #7181 onto the pkgs/id crate split (#173) #9723
Merged
dezren39 added a commit that referenced this pull request Nov 14, 2026
@dezren39
Merge pull request #9723 from developing-today/queue/5874-173-blob-ga…
3b8741d
…te-port

Port blob gate wiring from #7181 onto the pkgs/id crate split (#173)
@dezren39

dezren39 commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

agent-note:v1 — PR #7181 closed as superseded by PR #9723 (task 5874, lane code-b)

Salvage check (required before closing a duplicate): PR #9723 is a final-state port of this PR's five commits (f62c344, f588a77, 0b0736c, a3c1b38, fa56e7e) onto current main after the pkgs/id crate split, done as a per-file 3-way merge against the split's new homes and verified file by file. Nothing unique to this PR was left behind:

  • All gate code, serve/local wiring, the reference index with HashSeq expansion, the group-projection fold, and the peer tests are in Port blob gate wiring from #7181 onto the pkgs/id crate split (#173) #9723, at their post-split homes (id-groups / id-worlds / id-cli, with in-crate facades at the historical paths).
  • All three Codex findings fixed at this PR's head (local reads, bounded HashSeq expansion, design record) are in Port blob gate wiring from #7181 onto the pkgs/id crate split (#173) #9723 and re-verified by tests at the ported head (see the disposition comment on Port blob gate wiring from #7181 onto the pkgs/id crate split (#173) #9723).
  • Deliberate deviations from this PR's diff, all forced by main's evolution since the branch: (1) file homes per the crate split; (2) the gate verdict composes main's block list (id(comms): operator block list by public key, with one-button block in the web UI (P0 of #2032) #2245) with this PR's local trust in decide_gated — a definite block refuses everyone, otherwise local trust, then decide_with_blocks; (3) this PR's second MetaProtocol construction was dropped (main's, with the abuse handle, is the live one); (4) world-side unit tests live in id-worlds, gate tests in id-groups.

PR #9723 merged 2026-11-14T04:47:24Z (merge commit 3b8741d). Closing this PR as superseded; its branch can be deleted.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 closed this Nov 14, 2026
@dezren39
dezren39 deleted the queue/5874-173-blob-gate-shepherd branch November 14, 2026 04:48
@blacksmith-sh blacksmith-sh Bot mentioned this pull request Nov 14, 2026
Wire the blob membership gate into id serve (#173) — crate-split port of #7181 #9734
Closed
@dezren39

dezren39 commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · task 13492 — this PR is superseded by the crate-split port, PR #9734

  • Agent: repo-worker-code (lane any-a) · task 13492 · issue Phase 3: blob gate is not wired into serve, so blobs are still served to any peer #173
  • Salvage check (diffed, not file-listed): every change in this PR's diff (head fa56e7e7d1, +1042/−47 over 10 files) is carried into PR Wire the blob membership gate into id serve (#173) — crate-split port of #7181 #9734 (+1032/−56 over 12 files) at its post-split home:
    • pkgs/id/src/blob_gate.rs → gate core in id-groups/src/blob_gate.rs (decide_with_local, build_reference_index, hashseq_children, local_readers on blob_events), folded-worlds adapter in id-worlds/src/blob_gate.rs (group-projection FoldedWorlds, fold_group_events, world_key, RefreshingWorlds), facade re-exports at pkgs/id/src/blob_gate.rs.
    • pkgs/id/src/commands/serve.rs → id-cli/src/commands/serve.rs (build_blob_gate, gated BlobsProtocol, refresh task; main's abuse_handle MetaProtocol argument and resolved groups-log path kept).
    • pkgs/id/src/local.rs → id-cli/src/local.rs (LocalNode::set_blob_gate; main's with_origin FileOps and MetaProtocol arguments kept).
    • pkgs/id/src/local_events.rs → id-events/src/local_events.rs (document_references wrapper); event_store/documents.rs → id-events/src/event_store/documents.rs; groups/worlds.rs → id-worlds/src/groups/worlds.rs; tests and the design record unchanged at their paths.
    • Nothing unique to this PR remains unported: the five commits were cherry-picked verbatim and then relocated, and the three Codex fixes (local reads, bounded HashSeq expansion, design record) are present and test-covered at the ported head.
  • Verification at the ported head: cargo check --all-features for id-groups/id-worlds/id-events/id-cli/id pass; lib suites 118 + 637 + 289 + 671 passed; integration tests/blob_gate.rs 16, documents 10, content_removal 12 passed.
  • This PR will be closed as superseded once PR Wire the blob membership gate into id serve (#173) — crate-split port of #7181 #9734 merges; its branch is left in place for reference.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

🤖 Agent note · task 13492 — closing as superseded: the port merged as PR #9723

Update to the salvage note above: the canonical port is PR #9723 (merged 2026-11-14T04:47Z, commit 39b6187), built by the task 5874 lane in parallel with task 13492's identical port (PR #9734, now also closed as superseded). Verified fresh against origin/main: all of this PR's work is on main — gate core in id-groups, folded-worlds adapter in id-worlds, serve wiring in id-cli, document_references in id-events, facade re-exports, tests, and the design record. Nothing unique remains on this branch. Closing per the batch disposition rule (recorded reason + salvage verified by diff and symbol mapping, not file list alone).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 removed the queue/claimed Queue worker lifecycle state label Nov 14, 2026
@dezren39 dezren39 mentioned this pull request Nov 16, 2026
id: document publish signs events but does not store blob bytes #1008
Closed
@dezren39 dezren39 mentioned this pull request Nov 24, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.