dejima-audit: open the current file in an editor before approving it #196
Closed
opened 2026-08-23 03:20:52 -07:00 by dejima-agent
·
0 comments
No Branch/Tag Specified
main
development
loadscale-measured
share-isolated
session-switcher
attach-counts
proxy-expect-100
web-reconnect
mirror-dotgithub
no-ai-attribution
mirror-strip-attribution
release-2026.10.14
github-mirror
release-2026.10.13
release-blockers
isolated-mode
standalone-posture
allow-multi
claude-json-scope
reliability
remote-teardown
egress-subject
ci-sh-fix
meta-cache
review-sec
review-docs
review-tests
guard-boundary
review-1007
guards-365
docs-contradictions
checks-364
review-checks
report-high
web-favicon
briefing-refusal
release-followups
cred-expiry
verify-entries
approval-fix
release-docs
token-message
revert-singlelabel
boot-regressions
release-fixes
ci-timings
cleanroom-image
cleanroom-egress
nat-flush
release-pass-check
rw-per-project
filter-container
tini-kill
allow-pair
review-fixes
reconcile
caps-split
firewall-up
run-id
caps-floor
update-notice-visibility
ci-green
release-pass-base
secreview
subscription-gating
proxy-log2
proxy-log
release-pass-scope
pinned-defaults
scroll-step
mounts-guard
config-ref
model-id
guards-check
why-not-vm
docs-prose
hooks-overlay
cline-configs
startup-ux
release-docs-drift
release-pass-keys
flaky-tests
provider-axis
parallel-dep
anthropic-api-key
credential-scan
cline-openrouter
shipper-fix
share-per-project
fast-test-lane
generic-proxy
runtime-reap
stack-table
local-tags
ci-image-tag
ntfy-argv
suspend-test-scope
gh-guard-spellings
suspend-harness
sshfs-docs
auth-alternatives
web-theme
one-palette
startup-banner
picker-clear
test-hardening
block-merge-default
release-2026-08-27
ssh-key-identity
prose-economy
cache-home
identity-docs
doc-fixes
allow-picker
fixture-update
notify-once
marker-boundary
doubled-headers
swap-flake
update-check
harness-neutral-docs
port22-rests-on-two
remote-access-egress
readme-positioning
idempotent-disclosure
resize-hold
real-resize-on-resume
credential-argv
release-doc-fix
vm-layer-bounds
what-is-not-sandboxed
ipv6-no-inference
capability-floor
tool-env-namespace
optional-tools
config-identities
container-tool-ux
branch-push-merge-block
per-launch-flags
github-forge-parity
epitaph-interface
ctrlz-sigstop
release-2026-08-24
ctrlz-revert
reconcile-main
release-policy
playwright-discoverable
webui-button-colors
gitea-pr-base
shellcheck-covers-tests
audit-retire-reports
forge-guard-body-checks
ctrlz-suspend
forge-maturity-doc
forge-disclosure
forge-github-shadow
webui-toolbar
install-config-diagnosis
ship-argv
release-cline
cli-help
harness-flag
cline-provider-updatedat
corpus-declaration
cline-local-endpoint
main-without-cline
plugin-state
launch-perf
cline-harness
harness-transcripts
briefing-delivery-dev
briefing-delivery
harness-tool-egress
harness-agnostic-guards
cline-harness-assessment
declare-opencode-dep
harness-coupling-audit
harness-decoupling
review-133-fixes
audit-drift-fixes
voice-audit
audit-p13-p14
audit-tooling
audit-forge
audit-p28-p5
emit-mount-target
harness-staged-config
comment-archaeology
dejima-md-replaced-rule
harness-epitaph-format
harness-config-parity
harness-api-domains
allow-internal-domain-message
harness-credentials
harness-plugins
harness-guard-registration
harness-host-exec
docs-host-prerequisite
harness-guards
harness-wrapper
epitaph-guarded-mount
harness-capability-bar
security-doc-structure
threat-model
dev-environment-framing
verbose-exit
epitaph-empty-dirs
compaction-summaries
development-branch-process
audit-usability
dejima-md-brevity
require-harness
runtime-github-flake
writing-note
github-push-why
github-push-briefing
comment-slim
maturity-disclaimer
launch-progress
worktree-config-briefing
nvim-volumes-per-project
extra-mount-flags
file-history-scope
approval-store-mount-guard
lineage-ssh-warning
test-audit-stub
projects-slug-mount
branding
org-move
tier-vocabulary
readme-hierarchy
gitea-pr-resolved
gitea-pr-hunks
audit-ux
gitea-actions-scope
gitea-tools
readme-ci-bullet
extra-domains-github-split
revert-88
dns-forward-egress
wf-comment
sandbox-identity
notify-dir-check
trigger-followup
ci-final
ci-firewall-unit
ci-dns-scope
ci-runner-tests
ci-hardening-config
image-trim
tarball-deps
allowlist-trim
ci-hardening-docs
allow-project-cli
new-providers
gitea-actions
hook-registration
docs-remote-access-diagram
provider-axes
config-provider-axes
ttyd-mobile-client
firewall-fetch-timeout
pr-autonomy
anthropic-tls-transport
validate-host-settings
settings-via-flag
enumerate-claude-mounts
audit-alerting
audit-followups
issue-close-keywords
ci-build-perf
ci-actions
readme-perspective-revisions
readme-agent-perspective
context-framing
gitea-issue
docs-split
build-retries
attach-branding
remote-access-followups
remote-access
add-gpl-license
rename-dejima
per-project-config
proxy-client-disconnect
gitea-pr-token
container-init
fix-runtime-tests-default-bridge
sandbox-improvements
credential-proxy
host-persistence-hardening
fix-nvim-config-mounts
fix-claude-sandbox-symlink-resolution
worktree-security-review-fixes
2026.10.14
2026.10.13
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Low
4
The priority is low
Priority
Medium
3
The priority is medium
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: dejima/dejima#196
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Filed by LLM agent
When
ackpresents a finding it shows the changed content and, for a new file, the full text - but only inline, and only what the report captured. There is no way to open the file as it is now and read around the change before deciding.That matters most for the decision
ackactually asks for. "Approve this exact content" is a judgement about a file, and the part of the file the report shows is chosen by what changed, not by what a person needs to see to judge it. A hook script whose diff is three lines can only be judged by reading the whole script.Ask
A key at the approve prompt that opens the current file in an editor, returning to the same prompt afterwards. Alongside
[a] approve/[s] skip/[q] quit.Things it has to get right
$VISUAL, then$EDITOR, then a fallback - and this runs host-side, where the operator's own editor config applies.ackreads the report on stdin and the operator on fd 3 (see the comment in the ack loop). An editor invoked from there needs the terminal, not fd 0, or it will consume report lines or fail to start.