Process-wide plan-mode flag in claude_cli #225

Open
opened 2026-11-21 12:36:59 +00:00 by johannes · 0 comments
Owner

Location: crates/hx-ai/src/claude_cli.rs (plan mode static)
What is hacky: global flag shared by all claude providers.
Proper fix: make it per-provider state.
Original comment: "ponytail: process-wide flag; make it per-provider if two claude providers ever run at once."

Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).

Location: crates/hx-ai/src/claude_cli.rs (plan mode static) What is hacky: global flag shared by all claude providers. Proper fix: make it per-provider state. Original comment: "ponytail: process-wide flag; make it per-provider if two claude providers ever run at once." Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes added the ai label 2026-11-21 12:36:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#225