Semantic brake for --auto
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start with the judge seam and [evaluate] table from #59, then inspect the ask arm in crates/ganja-core/src/session.rs:4843, the bypass answer in crates/ganja-core/src/engine.rs:525-579, and the frontends' answers. Implement scoring before automatic permission allows, showing a dialog for interactive irreversible or out-of-project calls and refusing headless calls with a reason. Measure accuracy as part of validating the behavior.
Written by the indexing model from the issue text.
Description
What it does
In a session that answers permission requests automatically (--auto, --yolo), scores each call before it is answered and withholds the automatic allow for a call scored irreversible or reaching outside the project: an interactive session shows the dialog, a headless run refuses with a reason. It guards against slips; it is not a security boundary.
Source
Outside beads: one of four proposals for using Jev judgments in ganja, carried into the map by its destination (#33, #34, #35).
File and line references in this issue are to main as of 75a7a92.
Against the three criteria
- Direction (README): The README does not mention Jev. The nearest passage is the isolation bullet's "blast radius of a poisoned prompt or a bad tool call" (
README.md:23-27). - Today's terminal users: A user who runs bypassed sessions keeps the speed of automatic answers and gets a dialog for the few calls that could not be taken back. A false positive costs a dialog that would have appeared anyway, except in a headless run, where it can stop unattended work.
- Evidence: Accuracy is unmeasured; measuring it is part of the work.
Depends on
Blocked by the judge seam and the [evaluate] table of #59. It touches three places: the ask arm (crates/ganja-core/src/session.rs:4843), the bypass answer (crates/ganja-core/src/engine.rs:525-579, where a bypassed session answers every permission request with allow), and the frontends' own answers.
Verdict
- Verdict: do
- Size: M — one plan and one decision number, a few waves.
- Exception to the probe rule: yes. #36 says an idea that needs a measurement or a probe first is not do; this one is an explicit exception: measuring accuracy is part of the work.
- Date: 2026-09-19
- Verdict ticket: #47
Theme: #50
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- Avg merge
- 1h
- Merged PRs (30d)
- 17
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from zchee/ganja-code
-
idea size:S verdict:do
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
zchee/ganja-code#83 ·
-
idea size:S verdict:do
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zchee/ganja-code#71 ·
-
idea
Difficulty 5/5 Over a week Newbie friendliness 30/100
zchee/ganja-code#101 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
zchee/ganja-code#100 ·
-
idea verdict:park
Difficulty 4/5 3-5 days Newbie friendliness 35/100
zchee/ganja-code#98 ·
All issues in zchee/ganja-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100