CI / build (push) Has been cancelled
- Archive 79 completed framework-dev tasks from tasks/ -> tasks/complete/ - status.py: add --cleanup-done and --install-cleanup-schedule commands - Add scripts/automaton-cleanup.sh for periodic task archiving - Dashboard: rename 'Background' tab -> 'Agent', 'Cleanup' agent -> 'Completed Task Archiver', remove redundant group headers and pill badges, dim inactive agent placeholders - .rules.md: add Self-Documenting UI Names rule - New tests: test_cleanup_done.py, expanded test_app.py and test_task.py
17 lines
565 B
Markdown
17 lines
565 B
Markdown
# Bug Report: fix-can-edit-path-prefix
|
|
|
|
## Summary
|
|
The fix correctly prevents sibling-directory bypass at all 5 locations in status.py.
|
|
|
|
## Bugs Found
|
|
No bugs found.
|
|
|
|
## Verification
|
|
- `str(file_path).startswith(proj_str + os.sep) or str(file_path) == proj_str` correctly handles both files inside the directory and the directory itself.
|
|
- All 5 locations use the same consistent pattern.
|
|
- `Path.resolve()` is called on `file_path`, so symlinks are resolved before comparison.
|
|
- 3 tests pass: sibling-rejection, subdirectory-acceptance, can-edit-task.
|
|
|
|
## Score
|
|
0
|