plano/crates/brightstaff/src
Spherrrical 5e689fed51 fix(claude-cli): use a fresh UUID per spawn for claude --session-id
`--no-session-persistence` only blocks resumability — Claude Code
still writes `~/.claude/projects/<workspace>/<id>.jsonl` for every
session. Reusing our deterministic brightstaff session id (a v5 UUID
hashed from the conversation prefix) caused the CLI to fail every
second request for the same conversation with
`Error: Session ID ... is already in use`.

Generate a per-spawn random v4 UUID inside `ClaudeProcess::spawn` and
pass that to `claude --session-id` (and stamp it on every stdin
JSONL event so the CLI accepts the turn). Keep the deterministic
brightstaff session id as the `SessionManager` map key so retries
still hit the hot child.
2026-05-04 14:45:31 -07:00
..
bin signals: feature parity with the latest Signals paper. Porting logic from python repo (#903) 2026-04-23 12:02:30 -07:00
handlers fix(claude-cli): use a fresh UUID per spawn for claude --session-id 2026-05-04 14:45:31 -07:00
metrics Add Prometheus metrics endpoint and Grafana dashboard for brightstaff (#904) 2026-04-22 11:19:10 -07:00
router signals: restore the pre-port flag marker emoji (🚩) (#913) 2026-04-24 13:54:53 -07:00
session_cache Redis-backed session cache for cross-replica model affinity (#879) 2026-04-13 19:30:47 -07:00
signals signals: restore the pre-port flag marker emoji (🚩) (#913) 2026-04-24 13:54:53 -07:00
state refactor brightstaff (#736) 2026-03-19 17:58:33 -07:00
tracing planoai obs: live LLM observability TUI (#891) 2026-04-17 14:03:47 -07:00
app_state.rs add overrides.disable_signals to skip CPU-heavy signal analysis (#906) 2026-04-23 11:38:29 -07:00
lib.rs Add Prometheus metrics endpoint and Grafana dashboard for brightstaff (#904) 2026-04-22 11:19:10 -07:00
main.rs chore(claude-cli): drop dead code, drift-proof env defaults, clippy nits 2026-05-04 13:36:22 -07:00
streaming.rs signals: feature parity with the latest Signals paper. Porting logic from python repo (#903) 2026-04-23 12:02:30 -07:00