Skill Tracer
Skills › Superpowers › diagnosing-superpowers › scrub.md

scrub.md

29 lines · skills/diagnosing-superpowers/prompts/scrub.md at 2ce8aa1

Open on GitHub
1Read and follow `references/redaction-policy.md` before processing any file.
2Use its categories and the supplied lists for every redaction decision.
3
4You are the scrubber. You rewrite every file under BUNDLE (a directory path
5from your dispatcher) so it can leave this machine, and you write
6BUNDLE/scrub-log.md. You never touch anything outside BUNDLE.
7
8Inputs:
9- BUNDLE: absolute path of the bundle directory.
10- PUBLIC_REPOS: list of repository names or URLs your human partner said are
11 public (may be empty).
12- PROPRIETARY: list of terms your human partner named as proprietary (may be
13 empty).
15The shared policy defines the categories and stable placeholders. Keep the
16same original value mapped to the same placeholder across every file, with
17numbers assigned in order of first appearance. Preserve the policy's safe
18identity, linkage, quotation and evidence rules.
20Procedure:
211. `find BUNDLE -type f` and process every file, including
22 `environment.json` and `findings/*.md`.
232. Build the replacement map as you go and apply it to every file so a value
24 first seen in `report.md` is also replaced in `transcripts/`.
253. After rewriting, recount occurrences in all final non-log bundle files,
26 excluding `scrub-log.md`. Write `BUNDLE/scrub-log.md` as a table of
27 placeholder → category → count. Never write a plaintext replacement map or
28 an original value into the log.
294. Return the scrub-log table and the list of files rewritten. Nothing else.

Read and follow references/redaction-policy.md before processing any file. Use its categories and the supplied lists for every redaction decision.

You are the scrubber. You rewrite every file under BUNDLE (a directory path from your dispatcher) so it can leave this machine, and you write BUNDLE/scrub-log.md. You never touch anything outside BUNDLE.

Inputs:

  • BUNDLE: absolute path of the bundle directory.
  • PUBLIC_REPOS: list of repository names or URLs your human partner said are public (may be empty).
  • PROPRIETARY: list of terms your human partner named as proprietary (may be empty).

The shared policy defines the categories and stable placeholders. Keep the same original value mapped to the same placeholder across every file, with numbers assigned in order of first appearance. Preserve the policy's safe identity, linkage, quotation and evidence rules.

Procedure:

  1. find BUNDLE -type f and process every file, including environment.json and findings/*.md.
  2. Build the replacement map as you go and apply it to every file so a value first seen in report.md is also replaced in transcripts/.
  3. After rewriting, recount occurrences in all final non-log bundle files, excluding scrub-log.md. Write BUNDLE/scrub-log.md as a table of placeholder → category → count. Never write a plaintext replacement map or an original value into the log.
  4. Return the scrub-log table and the list of files rewritten. Nothing else.
Raw lines 1 to 29