gstack icon indicating copy to clipboard operation
gstack copied to clipboard

Anchor sanctioned write targets in plan harness

Open hiSandog opened this issue 5 months ago • 1 comments

Summary

  • replace substring-based sanctioned write matching with an anchored path predicate
  • allow only cwd/home-scoped sanctioned directories and top-level sanctioned files
  • add regression coverage for path-confused CHANGELOG.md and .gstack write targets

Validation

  • /Users/sandog/.real/.bin/bun test test/helpers/claude-pty-runner.unit.test.ts

hiSandog avatar Jun 13 '26 03:06 hiSandog

Merging to main in this repository is managed by Trunk.

  • [ ] To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

trunk-io[bot] avatar Jun 13 '26 03:06 trunk-io[bot]