Skip to content

slice 1.0.2: write_file tool with workspace-root path validation #23

@sausi-7

Description

@sausi-7

Phase 1.0 demo slice · Difficulty: D2

Scope

write_file(path, content) tool. Path resolved against the demo workspace root; reject .., absolute paths, symlink escape.

Acceptance criteria

  • Creates parent dirs as needed.
  • Emits a file_changed event after a successful write.
  • Unit tests for traversal / absolute / symlink-escape rejection.

Same code as full Phase 1 issue 1.1.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    D2Intermediate — touches one subsystemepic:agent-coreLives under packages/agent-corephase-1.0Phase 1.0 — demo-ready vertical slice (launch gif)slice:demoPart of the launch-day demo-gif slice

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions