You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[feature] Filesystem tools: add listing, range reads and conflict-aware patch edits #250
The canonical tool registry offers read_file, whole-file write_file and literal repo_search, but no directory listing or targeted patch operation. writeFile truncates the destination without an expected-version check. When a user edits files between model read and write, a stale whole-file replacement can overwrite that work.
Deliverable
Add bounded directory listing with path/type metadata and pagination, and integrate bounded/ranged reads from the companion read issue.
Add targeted patch edits with an expected content digest/version. Reject stale input with a clear conflict result; do not automatically force a replacement.
Show the exact affected diff before mutation approval. Stage and replace files safely where supported, preserve existing file permissions, and retain workspace/symlink checks.
Version/update the canonical protocol, registry, hosted/local tool declarations and headless allowlists deliberately. Do not assume adding a local executor case makes a tool callable everywhere.
Keep moves/deletes as separately scoped future work rather than implicitly adding them to this ticket.
Acceptance
Tests cover paginated listings, empty directories, Unicode/spaces in paths, edits at file boundaries, ambiguous or nonmatching hunks, user edits after model read, filesystem failure and permission preservation. A stale patch leaves the user's file unchanged; a successful patch changes only the intended range. Verify the installed local and hosted coding paths expose the same supported contract.
Priority: P2. Depends on bounded read support; coordinate with the shared shell session's cwd/workspace semantics.
Verification on the pinned PR heads: VPS 6 Agent full suite 2,965 passed, 0 failed, 11 skipped; typecheck, documentation check, production verification, release truth, supply-chain, CodeQL, and PyPI launcher passed. VPS 3 Python suite 667 passed, 3 skipped, with lint and mypy passing. Targeted tests cover listings, range reads, conflicts, patch boundaries, permissions, and approval preview.
CI exception: the Agent Linux job passed build/tests but later failed checking out private ATSv2 with the repository-scoped token; Windows could not start under the current GitHub billing lock. The tested commits were merged through the existing administrator PR bypass. AETHER_CI_SELF_HOSTED=1 remains enabled for VPS 6 runs.
Activity
feat(filesystem): bounded listing and conflict-aware patch edits (#250)
AetherAI3 commentedon Oct 5, 2026
Implemented and merged across the three coding paths:
Verification on the pinned PR heads: VPS 6 Agent full suite 2,965 passed, 0 failed, 11 skipped; typecheck, documentation check, production verification, release truth, supply-chain, CodeQL, and PyPI launcher passed. VPS 3 Python suite 667 passed, 3 skipped, with lint and mypy passing. Targeted tests cover listings, range reads, conflicts, patch boundaries, permissions, and approval preview.
CI exception: the Agent Linux job passed build/tests but later failed checking out private ATSv2 with the repository-scoped token; Windows could not start under the current GitHub billing lock. The tested commits were merged through the existing administrator PR bypass. AETHER_CI_SELF_HOSTED=1 remains enabled for VPS 6 runs.