Skip to content

Make --files flag enabled by default with --no-files opt-out#262

Merged
alexkroman merged 1 commit into
mainfrom
claude/wonderful-franklin-i17mnl
Jun 23, 2026
Merged

Make --files flag enabled by default with --no-files opt-out#262
alexkroman merged 1 commit into
mainfrom
claude/wonderful-franklin-i17mnl

Conversation

@alexkroman

Copy link
Copy Markdown
Collaborator

Changes the --files option for the assembly live command from opt-in (default False) to opt-out (default True), making filesystem access available to the agent by default.

Changes

  • Command option: Updated files parameter in live() command to default to True and use --files/--no-files boolean flag syntax instead of just --files
  • Help text: Updated help documentation to clarify that filesystem access is enabled by default and --no-files disables it
  • Example command: Changed the example in help output from demonstrating --files to demonstrating --no-files (the less common case)
  • Documentation: Updated REFERENCE.md and aai_cli/AGENTS.md to reflect that filesystem access is on by default
  • Test coverage: Added parametrized test test_files_flag_resolves_into_options() to verify the flag behavior at the argv→options boundary, ensuring the default isn't silently mutated

Implementation details

The test uses CliRunner to invoke the command with different argv combinations ([], ["--no-files"], ["--files"]) and verifies that the resulting opts.files value matches expectations. This pins the default at the CLI seam rather than relying on the Option default alone.

https://claude.ai/code/session_01RQzGo8b3DKLg9aCYp9k32M

Filesystem access (read/write/run in the launch directory, sandboxed with
write/run confirmation) is now on by default for the live voice agent; pass
`--no-files` to opt out. Previously the agent silently ran against an empty
in-memory filesystem unless `--files` was passed, so it would report the
working directory as empty even when real files were present.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RQzGo8b3DKLg9aCYp9k32M
@alexkroman alexkroman enabled auto-merge June 23, 2026 14:03
@alexkroman alexkroman added this pull request to the merge queue Jun 23, 2026
Merged via the queue into main with commit 0929d3f Jun 23, 2026
20 checks passed
@alexkroman alexkroman deleted the claude/wonderful-franklin-i17mnl branch June 23, 2026 14:12
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.

2 participants