Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix: address code review findings for glob, approval, and session error classification

8 months ago

180b6e2
Authored
mweinbach2/14/2026, 4:10:49 PM
- glob: validate each match against read-permitted roots to prevent symlink escape
- approval: canonicalize absolute command paths before scope checks
- session: tighten classifyTurnError order and remove broad backup keyword

Co-authored-by: Cursor <cursoragent@cursor.com>

Parent6e3e034

6 files changed
  • src/server/session.ts+4−4
  • src/tools/glob.ts+7−0
  • src/utils/approval.ts+45−2
  • test/approval.test.ts+29−0
  • test/session.test.ts+32−0
  • test/tools.test.ts+19−0