AI Work Auditor
AWA proposes file scope for Claude Code tasks and shows a VS Code warning when
saved or staged changes reach a file outside the confirmed scope.
Install the AWA CLI with npm install -g ai-work-auditor. See the
installation guide
for prerequisites. Open the Git worktree root in
local desktop VS Code and run AWA: Hubungkan Claude Code. On Windows, the
extension can find the default standalone Node and per-user npm installation.
For other layouts set Awa: Node Path and Awa: Cli Path in user settings
to the absolute Node executable and installed AWA index.js.
Generate the Claude Code configuration with awa claude config. Keep it
outside the worktree and pass it to a new session with
claude --settings /absolute/path/to/awa-claude.json. To use the Claude Code
chat panel, add the generated hook to the project-local
.claude/settings.local.json while preserving any existing hooks. Claude Code
2.1.295 or later is needed for onFailure: "block". Inspect the loaded hook
under Customize → Hooks in the Claude Code panel.
- Start the task instruction in Claude Code with
AWA:.
- Select Tinjau batas in VS Code, check the proposed files and confirm.
The file picker can add files when the instruction is too broad.
- AWA captures the baseline before releasing the marked prompt. The VS Code
status bar and warnings show subsequent findings. Lihat hasil opens the
output panel.
- Use AWA: Akhiri Tugas Claude before starting a new task. AWA: Putuskan
Integrasi Claude disables VS Code monitoring for the connected workspace.
Remove the hook from Claude Code settings or omit the session flag to stop
receiving marked prompts.
The bridge uses local path and filename matching. It holds a marked prompt for
up to about 85 seconds and asks for clarification if it cannot suggest a clear
scope. AWA stores proposed path metadata and file fingerprints locally. AWA
does not persist the prompt text or open Claude conversation history. Claude
Code's own history still follows its settings.
The warning describes observed file paths. Review the actual diff and tests to
check instruction meaning. The VS Code window must remain open to show live
notifications. Ignored, unsaved, and transient changes between scans may not
appear. Local confirmation does not authenticate the identity of a user or
contain other software running as the same operating-system account.