Cook execute 2/N: Iskra memory-sidecar client #50
No reviewers
Labels
No labels
cook/idea
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/judging-claw!50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude-cook2-sidecar"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Second execute step for Cook. Pure transport + tests, no live calls.
What
SidecarClient— thin stdlib client for the memory sidecar onvps1000:18791(the same brokerobsidian-write.pyuses). Cook reaches evidence and writes its grounding note through this one localhost service; the sidecar brokers Honcho on rs2000, so judging-claw never talks to rs2000 directly.search_events→/v1/events/search,query_honcho→/v1/honcho/query,continuity_pack→/v1/continuity/pack.write_grounding_note→/v1/obsidian/write, matching the real{title, noteType, root, filename, body}shape.base_urlfromISKRA_MEMORY_SIDECAR_URL, defaulthttp://127.0.0.1:18791.ADR-0023 boundaries baked in
01 Projects/Judging Claw/Cook;write_grounding_noterefuses a gold/Włóczykij-looking target defensively (gold isn't reachable through this sidecar anyway).has_hard_deny_marker/drop_deny_markedlet the runner drop any evidence carrying a hard-deny frontmatter marker (private: true,iskra_access: deny, …) before it enters prompt context.Boundaries
Pure transport —
request()is overridable, so tests cover paths/payloads/guards with no live sidecar call. Not wired into nightly. The runner (3/N) and nightly wiring + ration (4/N) are the production-touching, operator-gated steps.Suite: 157 tests OK (149 + 8),
py_compileclean.🤖 Generated with Claude Code
Thin stdlib client for the broker on vps1000:18791 — the same service obsidian-write.py uses. Cook reaches evidence and writes its grounding note through this one localhost sidecar; it brokers Honcho on rs2000, so we never talk to rs2000 directly. - SidecarClient: evidence reads (search_events -> /v1/events/search, query_honcho -> /v1/honcho/query, continuity_pack -> /v1/continuity/pack) and the staging grounding-note write (write_grounding_note -> /v1/obsidian/write, matching obsidian-write.py's {title,noteType,root,filename,body} shape). base_url from ISKRA_MEMORY_SIDECAR_URL, default http://127.0.0.1:18791. - ADR-0023 boundaries: writes default to the staging root '01 Projects/Judging Claw/Cook'; write_grounding_note refuses a gold/Wloczykij target defensively. has_hard_deny_marker / drop_deny_marked let the runner drop any evidence carrying a hard-deny frontmatter marker before ingest. - Pure transport: request() is overridable, so tests cover paths/payloads/guards with no live sidecar call. Scope: code landing only. No live calls, not wired into nightly. The runner (3/N) and nightly wiring (4/N) are the production-touching, operator-gated steps. Suite: 157 tests OK (149 + 8), py_compile clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>