docs(prompts,skills): scope cleanup to own files; dedupe JSONL by URL

Address Greptile review:
- system_prompt: only clean up your own task's files; don't delete
  another agent's files in the shared workspace unless confirmed unused.
- katana.md: extract+dedupe URLs with jq before removing raw .jsonl
  (sort -u on JSONL compares whole records, not URLs).
This commit is contained in:
Ahmed Allam
2026-07-16 04:47:56 -07:00
committed by Ahmed Allam
parent 4b619d57a0
commit 98990bae45
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ DISK & SCRATCH HYGIENE:
- /workspace is a shared, finite disk used by all agents at once — be a considerate tenant
- Prefer bounded recon: scope crawls and scans by depth, duration, and target rather than "collect everything"
- Send large tool output to /workspace/scratch/, and once you've extracted what you need (e.g. a URL/endpoint list), remove the raw output
- If disk gets tight or a write fails for space, check what's large under /workspace and clean up before continuing
- If disk gets tight or a write fails for space, check what's large under /workspace and clean up files from your own task; leave another agent's files unless you've confirmed they're no longer in use
MANDATORY INITIAL PHASES: