Repository navigation
Conversation
The fake claude used so far runs its own tools, so no journey reached the engine's permission path. A small local fake of the Messages API now asks the engine for real Bash calls, and each decision is checked on screen, by whether the command ran, and by what the model was told. Covers Enter and Escape denying, keys typed as the panel arrives, allow once not carrying over, and an allow for the session staying out of settings and not covering a different command. Engine-local evidence only. Refs #411
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 4, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the real-terminal approval journey #411 asks for. Until now no journey reached the engine's own permission path, because the fake
clauderuns its own tools. A small local fake of the Messages API now asks the engine for real Bash calls.Context
Changes
fake_anthropic.py: standard library only, bound to127.0.0.1, with a fake key. It streams atool_usefor the prompt, then reports what the engine sent back, so the result is visible on screen. It logs each request's last message for checks.14_next_approval_journey.shchecks each decision three ways: on screen, by whether the command ran (a marker file), and by what the model was told.yas the panel arrivesyYValidation
scripts/tui-tests/run.sh approval: 25 passed, 0 failed, 3 runs in a row under bash and once under zsh.is_erroron success. The check now requires that it is nottrue.cargo fmt/check/clippy/test; no Rust changed.Refs #411