Skip to content

Commit 15ced2d

Browse files
committed
plan: add gRPC debug server (bin/grpc.rs:29) to BindSpace nudge target list
Codex P2: the repo-wide BindSpace::zeros(4096) search also finds bin/grpc.rs:29 (gRPC debug server), identical to bin/serve.rs:29 (REST). Both must move to per-mailbox SoA together; the audit previously named only serve.rs, which would leave the gRPC singleton behind. https://claude.ai/code/session_0147hSzjmWZDuy2MSQNrhEK5
1 parent 2e54385 commit 15ced2d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.claude/plans/singleton-to-snapshot-nudge-v1.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ singletons the architecture dissolves into per-owner SoA + snapshot.
6868
| Construct | Home | Nudge | Owning plan |
6969
|---|---|---|---|
7070
| `ShaderDriver.bindspace: Arc<BindSpace>` | cognitive-shader-driver | Dissolve into per-mailbox `MailboxSoA<N>`; driver holds a sea-star of mailboxes | `bindspace-singleton-to-mailbox-soa-v1` (D-MBX-3/5) |
71-
| `BindSpace::zeros(4096)` in `bin/serve.rs` | cognitive-shader-driver | Delete; mailboxes allocate their own SoA | `bindspace-singleton-to-mailbox-soa-v1` (D-MBX-5) |
71+
| `Arc::new(BindSpace::zeros(4096))` in `bin/serve.rs:29` (REST debug server) | cognitive-shader-driver | Delete; mailboxes allocate their own SoA | `bindspace-singleton-to-mailbox-soa-v1` (D-MBX-5) |
72+
| `Arc::new(BindSpace::zeros(4096))` in `bin/grpc.rs:29` (gRPC debug server) | cognitive-shader-driver | Delete; same nudge as `serve.rs` — both debug-server entry points must move together or one singleton is left behind | `bindspace-singleton-to-mailbox-soa-v1` (D-MBX-5) |
7273
| `AttentionMatrix.gestalt` (shared mutable summary, drifting via `unbundle_from`) | `lance-graph-planner::cache::kv_bundle` | Either rebuild-from-scratch or raw-sum+count; the gestalt is a snapshot read, not an incrementally-mutated singleton | THIS PLAN (D-SNGL-3) + TD-UNBUNDLE-FROM-1 |
7374
| `ATTENTION_CACHE` / `LINEAR_CACHE` `LazyLock<RwLock<…>>` | `ndarray/crates/burn::ops::matmul` | Audit: is this a JIT-kernel cache (keep, like UDFs) or runtime belief state (nudge)? | THIS PLAN (D-SNGL-4) |
7475
| any `Arc<RwLock<…>>` / `Arc<Mutex<…>>` runtime caches surfaced by the audit | workspace-wide | Classify codebook-vs-singleton; nudge only the latter | THIS PLAN (D-SNGL-2) |

0 commit comments

Comments
 (0)