Skip to content

Route Claude prompt events to bounded Rust guidance - #3

Merged
loong10k merged 3 commits into
mainfrom
feat/rust-hook-prompt-guidance
Sep 29, 2026
Merged

loong10k merged 3 commits into
mainfrom
feat/rust-hook-prompt-guidance

Conversation

@loong10k

Copy link
Copy Markdown
Contributor

Claude Code prompt events previously had a core routing plan but no Rust execution or host mapping. UserPromptSubmit now returns bounded, constant timing guidance without reading prompt content as authority, running a checker, or claiming delivery approval. The hook execution report advances to 0.5, with the 0.4 schema retained for historical reports. Bilingual architecture and command documentation and the active OpenSpec change describe the candidate behavior.

Validation: full cargo test --workspace --all-features -- --test-threads=1 -q; final-source Hook CLI tests (12+18 passed, 3 ignored); one explicit real Ruff event test; workspace Clippy with -D warnings; touched-file rustfmt; OpenSpec strict validation; JSON parsing and diff checks. The plugin default Hook and strict Git/CI delivery gates remain outside this candidate.

@loong10k
loong10k merged commit 6d660cd into main Sep 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant