Skip to content

Commit 0058a4b

Browse files
committed
docs(handoff): session resume prompt + agentbox bump (PRD-015 v1.2 Lightning-first, ADR-032 scheme grammar)
todo.md is a copy-paste resume prompt: state of all 2026-06-12 workstreams (graph pipeline, ACSP/elevation, XR, realtime, ecosystem diagram truth-up, PRD-015/ADR-032) plus the prioritised work queue and standing constraints. agentbox 83f59e1 -> 4ced53f: PRD-015 consumer & broadcast economy surfaces (re-applied from desktop 51be12d, augmented to v1.2 — Lightning-first, ACSP approval seam, ADR-031 gate anchor) + ADR-032 (402 challenge & scheme-detection grammar, proposed) + diagram truth-up. Co-Authored-By: jjohare <github@thedreamlab.uk>
1 parent 429691b commit 0058a4b

2 files changed

Lines changed: 105 additions & 1 deletion

File tree

todo.md

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
# Resume Prompt — 2026-06-12 session hand-off
2+
3+
> Copy-paste everything below this line into a fresh Claude Code session in
4+
> `/home/devuser/workspace/project` to pick up where we left off.
5+
6+
---
7+
8+
Resume the 2026-06-12 workstreams. First run
9+
`mcp__claude-flow__memory_search({query: "2026-06-12 shipped", namespace: "patterns", limit: 10})`
10+
and read `docs/adr/ADR-110-agentic-actors-acsp-control-surfaces.md` plus
11+
agentbox `docs/reference/prd/PRD-015-consumer-broadcast-economy.md` and
12+
`docs/reference/adr/ADR-032-402-scheme-grammar.md` for full context. State
13+
of the world at hand-off, then the work queue:
14+
15+
## Where everything stands (all committed and pushed)
16+
17+
- **Graph pipeline**: node-collapse fixed (SPARQL upsert + path-keyed SHA1 +
18+
EntityKind classifier); stub purge done; twin renames applied at source;
19+
`elevatedFrom::``elevated_from` bridge edges; corpus ≈ 196 working
20+
pages + ~5.9k authored classes + ~9.8k owl_class frontier stubs (the
21+
elevation queue — accepted as legitimate population).
22+
- **ACSP producer shipped (ADR-110)**: `src/services/acsp/{events,client}.rs`
23+
on nostr_sdk; `ElevationActor` (panel `vc-elevation`, cases `vc-elev-`,
24+
max 5 open) + voice-primary ranking via `elevation_voice.rs`;
25+
`VoiceInterfaceActor` routes spoken config to the settings assistant.
26+
Local Whisper in, Kokoro out.
27+
- **XR**: native Godot 4 + gdext client expanded (V3 52-byte wire incl.
28+
analytics tail, instanced edges, community/centrality/anomaly rendering,
29+
server-authoritative drag, NIP-98 WS auth, LOD by centrality, backoff).
30+
- **Realtime fixes**: reheat 0.997 + max(spring,repel) ratio; periodic full
31+
broadcast; worker tween loop restored; WS inbound watchdog; 2s subscribe
32+
rate-limit; SpaceMouse snap-to-level removed.
33+
- **Docs**: ecosystem-wide mermaid truth-up landed in ALL FIVE repos
34+
(VisionClaw `429691bd1`, agentbox `99dc2a19`, forum `98cf18e`,
35+
solid-pod-rs `fa84a12`, website `e828259`) — every diagram verified
36+
against code, aspirational designs labelled, audit snapshots banner-stamped.
37+
- **PRD-015 + ADR-032 (agentbox `82246b1f`, `4ced53fb`)**: consumer &
38+
broadcast economy surfaces, **Lightning-first** (operator decision: NWC/
39+
L402 native rail; NO native EVM/USDC — x402 detect-only, payable via C9
40+
delegation only). ADR-032 is the frozen 402 scheme grammar, status
41+
*proposed*, acceptance = fixture corpus green as merge gate.
42+
43+
## Work queue (rough priority order)
44+
45+
1. **PRD-015 Phase 1 implementation (agentbox)** — C1 `lib/pay402.js` pure
46+
classifier + `tests/contract/pay402/` captured-bytes fixture corpus
47+
(ADR-032 D2/D4 are the spec); C3 spend-policy middleware (fail-closed,
48+
`[payments.consumer]` keys + schema + validator); C2 native payer
49+
(NIP-98 ledger debit, idempotent single retry); C4 receipt/activity URNs
50+
via `lib/uris.js` on EVERY attempt; B2 additive `accepts[]` in
51+
`payment-gate.js` with byte-identical legacy regression; B1
52+
`/.well-known/x402.json` boot-time generator; C5 `skills/payment-router`
53+
skill; C6 estimate+hold. Exit: node-A-pays-node-B end to end, suites
54+
green in standalone + client modes. Then flip ADR-032 to accepted.
55+
2. **Spend-approval ACSP case (PRD-015 Open Q1, resolved design)**
56+
kind-31402 `abx-pay-` cases for above-threshold spends, kind-31403
57+
decisions; reuse the ElevationActor/AcspClient pattern (VisionClaw
58+
`src/actors/elevation_actor.rs` is the reference producer).
59+
3. **Elevation loop operations (VisionClaw)** — register the ACSP panel
60+
pubkey in the forum relay `agent_registry`
61+
(`POST /api/governance/agents/register`); set `ELEVATION_ACTOR_ENABLED=1`,
62+
`FORUM_RELAY_URL`, `ACSP_PANEL_NOSTR_PRIVKEY` in container env; then
63+
watch the first real frontier cases land. Follow-ups: durable rejection
64+
skip-list (currently session-scoped); bridge/retire the
65+
enrichment-proposals REST path into ACSP case types.
66+
4. **BC20 receipt/activity crossing (agentbox known gap)**
67+
`bc20-provenance-bridge.js` `crossOutbound` has no production caller;
68+
wire it so spend/elevation provenance reaches the host graph
69+
(economy-loop.md §What remains; PRD-015 §8 names it).
70+
5. **XR on-device validation** — Quest session against the dev stack
71+
(xr-runtime sidecar rebuild + headset run, PRD-019 #27); LiveKit Android
72+
AAR for voice media — also unlocks per-user/room voice attribution the
73+
VoiceDemandLedger already models (`speaker` arg).
74+
6. **Security follow-ups (from the diagram/QE sweeps)** — unauthenticated
75+
`GET /api/graph/data` (interface-sequences FINDING-1); no settings
76+
broadcast to other connected sessions (FINDING-6, we are multi-client);
77+
solid-pod-rs `PodError::PayloadTooLarge` falls through to 500 instead of
78+
413 (`server lib.rs:230-240`, found 2026-06-12, not yet fixed); forum
79+
search-worker admin set still env-only vs D1 (cartography Gap 2).
80+
7. **Doc debris (small)**`docs/reference/rest-api.md` still documents
81+
~30 broker/workflow REST endpoints that don't exist (decide: delete
82+
tables or implement); `docs/reference/protocols/protocol-matrix.md` +
83+
`glossary.md` still claim 0x42/36B wire (no mermaid, escaped the sweep);
84+
`docs/tutorials/installation.md` stale `docker ps` narrative;
85+
solid-pod-rs `docs/diagrams/rendered/*.png` stale vs corrected `.mmd`
86+
(mmdc broken in container — re-render elsewhere); agentbox should repin
87+
solid-pod-rs past `fa84a12` to pick up corrected upstream docs.
88+
8. **CUDA kernel-count truth** — docs variously claim 37/39/92 kernels;
89+
code has 82 `__global__` declarations. Pick a blessed counting method
90+
and align the claims.
91+
92+
## Constraints to honour (non-negotiable)
93+
94+
- Lightning/L402/NWC for real money; never build a native EVM/USDC rail.
95+
- RuVector MCP memory only; never file-based memory or raw SQL INSERT.
96+
- Never SSH to the host; host builds go via tmux tab 6
97+
(`tmux send-keys -t 6 './scripts/launch.sh up dev' Enter`) — tab 6 is
98+
currently attached to the compose log tail, don't Ctrl-C it.
99+
- agentbox repo: no host-project specifics (refer to "host project" by
100+
role); manifest-gate everything (Nix package set + supervisor block +
101+
schema + validator together).
102+
- Push with `env -u GITHUB_TOKEN git push …` (env token lacks access; the
103+
gh-auth credential works). VisionClaw pushes to `dreamlab-github`.
104+
- jjohare/logseq + personal-context-portfolio are PRIVATE.

0 commit comments

Comments
 (0)