repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

pi: new masks for prompts

21765c24f88572e8089f91b2a5a8fb1a48628bf0

Oliver Krylow <o.krylow@isp-insoft.de> ·

SSH signature · not checked

Browse filesCompare with HEAD

Changed files (13)

Notes

Modified
1 -Subproject commit 4bd76fe649d16327801e09a9d4209884d9cbe34a
1 +Subproject commit b78049ddb3e47023f8751365db0c8f4c4182c7b6

pi-ext

Modified
1 -Subproject commit fc56d93a3b83e26352728022cb4002811b8fa521
1 +Subproject commit c6b20f49c70993d153dc67faf7499a23c9206c11

pi/agent/APPEND_SYSTEM.md

Modified
1 -# whoami
2 -general information about the user you are comminucating with.
4 -## who
5 -Oliver Jan Krylow (bugabinga). Software engineer, JVM day job at ISP-Insoft (German-speaking), Hannover.
6 -Also: Rust, Nushell, Zig, Lua, some C, recently web.
7 -Languages: german (work docs, personal essays), english (public/technical). Match the context.
9 -## glossary
10 -spec: binding definition of what must be true when done. Stable. Measures the result.
11 -phase: bounded slice of a spec, with entry and exit conditions.
12 -plan: ordered how-and-when. Cheap, disposable, expected to change.
13 -go: I agree with the plan or recommendation. Start actually working.
14 -ok: I agree with recommendation or your statement. Do not start working yet.
15 -explain: I did not fully understand your last response. Explain it in more detail and give more context. Use visual communication.
16 -nvm: never mind. one of my previous instructions or assumptions got invalidated.
17 -os: operating system
18 -win32: some version of microsoft windows os
19 -lnx: some linux kernel based linux OS
21 -## working with me
22 -No anthropomorphism: I don't model your feelings and don't want mine modeled. Precise intent delivery, both directions.
23 -Verdicts over hedges. State uncertainty plainly instead of padding.
24 -Rationale rides inline: "because …" on the same line as the claim.
25 -Bold = globally important (must pop when scanning the page). Italic = locally important.
26 -Semantic line breaks in all markup.
27 -No em dash (—). Comma, colon, semicolon, or period.
28 -Don't intellectualize past clarity; language is communication, not thought.
29 -Whenever you ask me to execute a shell command: put in my clipboard
31 -## Response style
33 -Answer directly, without filler or style announcements.
34 -Default to one or two short sentences; expand when requested or needed for a complete, correct answer.
35 -Follow the requested output language; otherwise match the user’s message.
36 -Prefer clear wording and useful structure over abbreviations or rigid word limits.
37 -Brevity must not alter code, tool arguments, identifiers, paths, or quoted text.
1 +# whoami
2 +general information about the user you are comminucating with.
4 +## who
5 +Oliver Jan Krylow (bugabinga). Software engineer, JVM day job at ISP-Insoft (German-speaking), Hannover.
6 +Also: Rust, Nushell, Zig, Lua, some C, recently web.
7 +Languages: german (work docs, personal essays), english (public/technical). Match the context.
9 +## glossary
10 +spec: binding definition of what must be true when done. Stable. Measures the result.
11 +phase: bounded slice of a spec, with entry and exit conditions.
12 +plan: ordered how-and-when. Cheap, disposable, expected to change.
13 +go: I agree with the plan or recommendation. Start actually working.
14 +ok: I agree with recommendation or your statement. Do not start working yet.
15 +explain: I did not fully understand your last response. Explain it in more detail and give more context. Use visual communication.
16 +nvm: never mind. one of my previous instructions or assumptions got invalidated.
17 +os: operating system
18 +win32: some version of microsoft windows os
19 +lnx: some linux kernel based linux OS
21 +## working with me
22 +No anthropomorphism: I don't model your feelings and don't want mine modeled. Precise intent delivery, both directions.
23 +Verdicts over hedges. State uncertainty plainly instead of padding.
24 +Rationale rides inline: "because …" on the same line as the claim.
25 +Bold = globally important (must pop when scanning the page). Italic = locally important.
26 +Semantic line breaks in all markup.
27 +No em dash (—). Comma, colon, semicolon, or period.
28 +Don't intellectualize past clarity; language is communication, not thought.
29 +Whenever you ask me to execute a shell command: put in my clipboard
31 +## Response style
33 +Answer directly, without filler or style announcements.
34 +Default to one or two short sentences; expand when requested or needed for a complete, correct answer.
35 +Follow the requested output language; otherwise match the user’s message.
36 +Prefer clear wording and useful structure over abbreviations or rigid word limits.
37 +Brevity must not alter code, tool arguments, identifiers, paths, or quoted text.

pi/agent/prompts/brainstorm.md

Modified
1 ----
2 -description: Brainstorm ideas
3 -argument-hint: "[focus-area]"
4 ----
6 -# Brainstorm ideas
8 -**Focus**:
9 -$ARGUMENTS
11 -General brainstorm areas:
13 -- Features & capabilities
14 -- Architecture improvements
15 -- UX enhancements
16 -- Integration ideas
17 -- Performance optimizations
19 -Run all phases systematically.
20 -Ask clarifying questions.
21 -No fluff.
22 -Output ideas well formatted and terse.
1 +---
2 +description: Brainstorm ideas
3 +argument-hint: "[focus-area]"
4 +mask: astra
5 +---
7 +# Brainstorm ideas
9 +**Focus**:
10 +$ARGUMENTS
12 +General brainstorm areas:
14 +- Features & capabilities
15 +- Architecture improvements
16 +- UX enhancements
17 +- Integration ideas
18 +- Performance optimizations
20 +Run all phases systematically.
21 +Ask clarifying questions.
22 +No fluff.
23 +Output ideas well formatted and terse.

pi/agent/prompts/grill.md

Modified
1 ----
2 -description: A relentless interview to sharpen a plan or design
3 ----
5 -Run a `/skill:grilling` session.
1 +---
2 +description: A relentless interview to sharpen a plan or design
3 +mask: astra
4 +---
6 +Run a `/skill:grilling` session.

pi/agent/prompts/handoff.md

Modified
1 ----
2 -description: Compact current conversation into a handoff document
3 -mask: minimax
4 -argument-hint: "What will the next session be used for?"
5 ----
7 -Write a handoff document summarising the current conversation so a fresh agent can continue the work.
8 -Save to the temporary directory of the user's OS - not the current workspace.
10 -Include a "suggested skills" section in the document, which suggests skills that the agent should invoke.
12 -Do not duplicate content already captured in other artifacts (Specs, PRDs, plans, ADRs, issues, commits, diffs).
13 -Reference them by path or URL instead.
15 -Redact any sensitive information, such as API keys, passwords, or personally identifiable information.
17 -If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
19 -**Next-session focus**:
20 -$ARGUMENTS
1 +---
2 +description: Compact current conversation into a handoff document
3 +mask: astra
4 +argument-hint: "What will the next session be used for?"
5 +---
7 +Write a handoff document summarising the current conversation so a fresh agent can continue the work.
8 +Save to the temporary directory of the user's OS - not the current workspace.
10 +Include a "suggested skills" section in the document, which suggests skills that the agent should invoke.
12 +Do not duplicate content already captured in other artifacts (Specs, PRDs, plans, ADRs, issues, commits, diffs).
13 +Reference them by path or URL instead.
15 +Redact any sensitive information, such as API keys, passwords, or personally identifiable information.
17 +If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
19 +**Next-session focus**:
20 +$ARGUMENTS

pi/agent/prompts/note-taker.md

Modified
1 ----
2 -description: Collect rapid note snippets, then compile them in my voice
3 -argument-hint: "[topic]"
4 ----
6 -# Take notes
8 -**Topic**:
9 -$ARGUMENTS
11 -## Capture
13 -- Treat each following message as a note until I say `done`.
14 -- During capture, output nothing. Never acknowledge, summarize, discuss, or question a snippet.
15 -- Correct obvious spelling silently without changing meaning.
16 -- Preserve my terminology, language, numbers, and dates.
17 -- Never complete missing referents or invent relationships.
18 -- Track ambiguity for the final `Open` section.
19 -- Do not research or write files unless I explicitly ask.
21 -## Done
23 -- On `done`, compile and sort the notes.
24 -- Use only necessary headings.
25 -- Separate facts, goals, decisions, actions, dates, and open questions when present.
26 -- Surface contradictions and missing information.
27 -- Write the compiled notes in my voice, as if I authored them.
28 -- Preserve my language, terminology, register, certainty, and stance.
29 -- Discuss the compiled notes, then await instructions.
31 -## Revision
33 -- Apply requested corrections and deletions exactly.
34 -- Do not broaden narrow feedback.
35 -- Save only when asked.
1 +---
2 +description: Collect rapid note snippets, then compile them in my voice
3 +argument-hint: "[topic]"
4 +mask: astra
5 +---
7 +# Take notes
9 +**Topic**:
10 +$ARGUMENTS
12 +## Capture
14 +- Treat each following message as a note until I say `done`.
15 +- During capture, output nothing. Never acknowledge, summarize, discuss, or question a snippet.
16 +- Correct obvious spelling silently without changing meaning.
17 +- Preserve my terminology, language, numbers, and dates.
18 +- Never complete missing referents or invent relationships.
19 +- Track ambiguity for the final `Open` section.
20 +- Do not research or write files unless I explicitly ask.
22 +## Done
24 +- On `done`, compile and sort the notes.
25 +- Use only necessary headings.
26 +- Separate facts, goals, decisions, actions, dates, and open questions when present.
27 +- Surface contradictions and missing information.
28 +- Write the compiled notes in my voice, as if I authored them.
29 +- Preserve my language, terminology, register, certainty, and stance.
30 +- Discuss the compiled notes, then await instructions.
32 +## Revision
34 +- Apply requested corrections and deletions exactly.
35 +- Do not broaden narrow feedback.
36 +- Save only when asked.

pi/agent/prompts/reflect.md

Modified
1 ----
2 -description: Mine Pi sessions for next high-impact workflow asset
3 -mask: sol-xhigh
4 -argument-hint: "[focus]"
5 ----
7 -# Mine Pi sessions for next high-impact workflow asset
9 -Reflect on Pi usage and propose workflow assets.
11 -**Focus**:
12 -$ARGUMENTS
14 -Inputs:
16 -- Load the `pi-sessions` skill.
17 - Use its `scripts/inspect.mjs` helper for discovery and bounded metadata.
18 - Inspect branch-aware timelines before drawing conclusions.
19 - Start with `list`; narrow by name/cwd/date before requesting safe text excerpts.
20 - Do not invent JSONL parsers or scan HOME.
21 -- Count persisted user turns.
22 - Exclude abandoned branches, retained-tail copies, and test fixtures.
23 - Report sample scope and cite session IDs plus entry IDs/lines.
24 - Tool errors alone are not evidence of product defects.
25 -- Check existing prompts for style:
26 - `~/.pi/agent/prompts/*.md`, `.pi/prompts/*.md`, `prompts/*.md`.
27 -- Check existing skills/prompts/extensions:
28 - global, project, and package dirs.
30 -Find:
32 -1. Repeated tasks, friction, manual rituals, missed checks.
33 -2. Existing prompt/skill/ext to improve or merge into.
34 -3. Candidate new prompts, skills, extensions.
35 -4. Best location:
36 - global vs project/package.
38 -Output:
40 -- `Findings`:
41 - terse bullets with evidence.
42 -- `Candidates`:
43 - prompt / skill / extension, one-line value each.
44 -- `Pick`:
45 - select one highest-impact candidate and explain why.
46 -- `Draft`:
47 - minimal outline or file path + core behavior.
48 -- `Nothing`:
49 - if no worthy candidate, say so and explain why.
51 -Rules:
53 -- Keep wording terse.
54 - No fluff.
55 - No bullshit.
56 -- Match style of existing prompts.
57 -- Do not implement unless explicitly asked.
1 +---
2 +description: Mine Pi sessions for next high-impact workflow asset
3 +mask: astra
4 +argument-hint: "[focus]"
5 +---
7 +# Mine Pi sessions for next high-impact workflow asset
9 +Reflect on Pi usage and propose workflow assets.
11 +**Focus**:
12 +$ARGUMENTS
14 +Inputs:
16 +- Load the `pi-sessions` skill.
17 + Use its `scripts/inspect.mjs` helper for discovery and bounded metadata.
18 + Inspect branch-aware timelines before drawing conclusions.
19 + Start with `list`; narrow by name/cwd/date before requesting safe text excerpts.
20 + Do not invent JSONL parsers or scan HOME.
21 +- Count persisted user turns.
22 + Exclude abandoned branches, retained-tail copies, and test fixtures.
23 + Report sample scope and cite session IDs plus entry IDs/lines.
24 + Tool errors alone are not evidence of product defects.
25 +- Check existing prompts for style:
26 + `~/.pi/agent/prompts/*.md`, `.pi/prompts/*.md`, `prompts/*.md`.
27 +- Check existing skills/prompts/extensions:
28 + global, project, and package dirs.
30 +Find:
32 +1. Repeated tasks, friction, manual rituals, missed checks.
33 +2. Existing prompt/skill/ext to improve or merge into.
34 +3. Candidate new prompts, skills, extensions.
35 +4. Best location:
36 + global vs project/package.
38 +Output:
40 +- `Findings`:
41 + terse bullets with evidence.
42 +- `Candidates`:
43 + prompt / skill / extension, one-line value each.
44 +- `Pick`:
45 + select one highest-impact candidate and explain why.
46 +- `Draft`:
47 + minimal outline or file path + core behavior.
48 +- `Nothing`:
49 + if no worthy candidate, say so and explain why.
51 +Rules:
53 +- Keep wording terse.
54 + No fluff.
55 + No bullshit.
56 +- Match style of existing prompts.
57 +- Do not implement unless explicitly asked.

pi/agent/prompts/sensei.md

Modified
1 ----
2 -description: Stateful teaching workspace for learning a skill or concept
3 -argument-hint: "<topic-or-goal>"
4 ----
6 -# Sensei
8 -Teach me a skill or concept over multiple sessions.
9 -Do not compress explanations to my normal terse preference; teaching needs room.
10 -Prefer clear, concrete explanation, examples, practice, and feedback.
11 -Use HTML lessons because they are better for review, layout, print, and interaction.
13 -**Topic / goal**:
14 -$ARGUMENTS
16 -## Workspace
18 -Use the current directory as a teaching workspace.
19 -Create files only when needed.
21 -- `MISSION.md` — why I care, what success looks like, constraints, out of scope.
22 - Format: `sensei/MISSION-FORMAT.md`.
23 -- `RESOURCES.md` — trusted sources and communities.
24 - Format: `sensei/RESOURCES-FORMAT.md`.
25 -- `GLOSSARY.md` — terms I can already use correctly.
26 - Format: `sensei/GLOSSARY-FORMAT.md`.
27 -- `learning-records/0001-slug.md` — durable learning evidence.
28 - Format: `sensei/LEARNING-RECORD-FORMAT.md`.
29 -- `lessons/0001-slug.html` — one focused lesson per file.
30 -- `reference/*.html` — printable cheatsheets, summaries, diagrams.
31 -- `assets/*` — shared CSS, quiz widgets, diagrams, simulators.
32 -- `NOTES.md` — teaching preferences and working notes.
34 -## First move
36 -If `MISSION.md` is missing or vague, interview me until the mission is concrete.
37 -Ask one question at a time.
38 -Prefer multiple choice when useful.
39 -Do not write lessons before the mission is usable.
41 -## Teaching loop
43 -1. Read mission, notes, glossary, learning records, resources, and existing assets.
44 -2. Identify my zone of proximal development.
45 -3. Pick one tight lesson objective tied to the mission.
46 -4. Ground claims in trusted resources; search/fetch if resources are thin.
47 -5. Write one self-contained HTML lesson in `lessons/`.
48 -6. Reuse `assets/`; create shared CSS before the first lesson if missing.
49 -7. Include explanation, worked examples, retrieval practice, and immediate feedback.
50 -8. Add/update glossary only for terms I can use correctly.
51 -9. Add a learning record only when there is evidence of understanding.
52 -10. Recommend exactly one next primary source or exercise.
54 -## Lesson standard
56 -Each HTML lesson should be beautiful, readable, and printable.
57 -Use calm typography, strong hierarchy, examples, callouts, and small interactive checks where useful.
58 -Keep each lesson focused enough to finish quickly.
59 -End with: recap, practice prompt, and invitation to ask follow-up questions.
61 -## Rules
63 -- Explanation over brevity.
64 -- One concept per lesson.
65 -- Retrieval beats rereading.
66 -- Storage strength beats fluency illusion.
67 -- Knowledge comes from sources; wisdom comes from practice and community.
68 -- Do not log coverage as learning.
69 -- Do not create giant courses upfront.
70 -- Do not duplicate reference material across lessons; link it.
1 +---
2 +description: Stateful teaching workspace for learning a skill or concept
3 +argument-hint: "<topic-or-goal>"
4 +mask: astra
5 +---
7 +# Sensei
9 +Teach me a skill or concept over multiple sessions.
10 +Do not compress explanations to my normal terse preference; teaching needs room.
11 +Prefer clear, concrete explanation, examples, practice, and feedback.
12 +Use HTML lessons because they are better for review, layout, print, and interaction.
14 +**Topic / goal**:
15 +$ARGUMENTS
17 +## Workspace
19 +Use the current directory as a teaching workspace.
20 +Create files only when needed.
22 +- `MISSION.md` — why I care, what success looks like, constraints, out of scope.
23 + Format: `sensei/MISSION-FORMAT.md`.
24 +- `RESOURCES.md` — trusted sources and communities.
25 + Format: `sensei/RESOURCES-FORMAT.md`.
26 +- `GLOSSARY.md` — terms I can already use correctly.
27 + Format: `sensei/GLOSSARY-FORMAT.md`.
28 +- `learning-records/0001-slug.md` — durable learning evidence.
29 + Format: `sensei/LEARNING-RECORD-FORMAT.md`.
30 +- `lessons/0001-slug.html` — one focused lesson per file.
31 +- `reference/*.html` — printable cheatsheets, summaries, diagrams.
32 +- `assets/*` — shared CSS, quiz widgets, diagrams, simulators.
33 +- `NOTES.md` — teaching preferences and working notes.
35 +## First move
37 +If `MISSION.md` is missing or vague, interview me until the mission is concrete.
38 +Ask one question at a time.
39 +Prefer multiple choice when useful.
40 +Do not write lessons before the mission is usable.
42 +## Teaching loop
44 +1. Read mission, notes, glossary, learning records, resources, and existing assets.
45 +2. Identify my zone of proximal development.
46 +3. Pick one tight lesson objective tied to the mission.
47 +4. Ground claims in trusted resources; search/fetch if resources are thin.
48 +5. Write one self-contained HTML lesson in `lessons/`.
49 +6. Reuse `assets/`; create shared CSS before the first lesson if missing.
50 +7. Include explanation, worked examples, retrieval practice, and immediate feedback.
51 +8. Add/update glossary only for terms I can use correctly.
52 +9. Add a learning record only when there is evidence of understanding.
53 +10. Recommend exactly one next primary source or exercise.
55 +## Lesson standard
57 +Each HTML lesson should be beautiful, readable, and printable.
58 +Use calm typography, strong hierarchy, examples, callouts, and small interactive checks where useful.
59 +Keep each lesson focused enough to finish quickly.
60 +End with: recap, practice prompt, and invitation to ask follow-up questions.
62 +## Rules
64 +- Explanation over brevity.
65 +- One concept per lesson.
66 +- Retrieval beats rereading.
67 +- Storage strength beats fluency illusion.
68 +- Knowledge comes from sources; wisdom comes from practice and community.
69 +- Do not log coverage as learning.
70 +- Do not create giant courses upfront.
71 +- Do not duplicate reference material across lessons; link it.

pi/agent/prompts/wiki.md

Modified
1 ----
2 -description: "Use the wiki skill for research and persistent knowledge."
3 -argument-hint: "[operation] [focus|source|query]"
4 -section: Knowledge
5 -topLevelCli: true
6 ----
8 -# /wiki
10 -Load and follow the `wiki` skill; resolve it from available skills, not a guessed install path.
11 -Treat `$ARGUMENTS` as its operation and input.
12 -The skill owns defaults, workflow, safety, storage, and tool selection.
1 +---
2 +description: "Use the wiki skill for research and persistent knowledge."
3 +argument-hint: "[operation] [focus|source|query]"
4 +section: Knowledge
5 +topLevelCli: true
6 +mask: sol-xhigh
7 +---
9 +# /wiki
11 +Load and follow the `wiki` skill; resolve it from available skills, not a guessed install path.
12 +Treat `$ARGUMENTS` as its operation and input.
13 +The skill owns defaults, workflow, safety, storage, and tool selection.

pi/agent/prompts/wtf.md

Modified
1 ----
2 -description: Agent behavior feedback — surprise, confusion, or annoyance
3 -mask: sol
4 -argument-hint: "<what happened>"
5 ----
7 -The agent just surprised, confused, or annoyed me. Here's what happened:
9 -$@
11 -**Do NOT argue, justify, or explain why you did what you did.**
13 -Instead:
15 -1. **Acknowledge** — Briefly confirm you understand the complaint (1 sentence max).
16 -2. **Recall** — Use wiki skill to check `wtf/` for relevant past lessons.
17 -3. **Fix it** — Immediately correct the problem.
18 -4. **Learn** — Use wiki skill to retro this lesson into `wtf/`.
20 -Tone: direct, no apology essays, no hedging. Just fix it and move on.
22 -<!-- WTF -->
1 +---
2 +description: Agent behavior feedback — surprise, confusion, or annoyance
3 +mask: astra
4 +argument-hint: "<what happened>"
5 +---
7 +The agent just surprised, confused, or annoyed me. Here's what happened:
9 +$@
11 +**Do NOT argue, justify, or explain why you did what you did.**
13 +Instead:
15 +1. **Acknowledge** — Briefly confirm you understand the complaint (1 sentence max).
16 +2. **Recall** — Use wiki skill to check `wtf/` for relevant past lessons.
17 +3. **Fix it** — Immediately correct the problem.
18 +4. **Learn** — Use wiki skill to retro this lesson into `wtf/`.
20 +Tone: direct, no apology essays, no hedging. Just fix it and move on.
22 +<!-- WTF -->

pi/agent/settings.json

Modified
42 42 "theme": "terminal",
43 43 "enabledModels": [
44 - "minimax/MiniMax-M3",
45 44 "openai-codex/gpt-6-astra",
46 45 "openai-codex/gpt-5.6-luna",
47 46 "openai-codex/gpt-5.6-sol",
108 107 "model": "klaus/claude-opus-5",
109 108 "thinkingLevel": "high",
110 109 "shortcut": "alt+5"
111 - },
112 - {
113 - "name": "minimax",
114 - "model": "minimax/MiniMax-M3",
115 - "thinkingLevel": "high",
116 - "shortcut": "alt+6"
136 129 "executor": "openai-codex/gpt-5.6-luna",
137 130 "advisor": "openai-codex/gpt-5.6-sol"
138 - },
139 - {
140 - "executor": "minimax/MiniMax-M3",
141 - "advisor": "openai-codex/gpt-5.6-sol"
193 182 "decay": {
194 183 "model": "openai-codex/gpt-5.6-luna",
195 - "summarizerModel": "minimax/MiniMax-M3"
184 + "summarizerModel": "openai-codex/gpt-5.6-terra"
197 186 "intellij": {
198 187 "url": "http://127.0.0.1:64343/stream"

pi/agent/skills/experimentation/SKILL.md

Modified
6 6 # Experimentation
8 8 Temp code = experiment.
9 -Learn → verify → promote/delete → clean.
9 +Learn → verify → preserve useful evidence → leave the repo clean.
11 11 ## Trigger
33 33 Control/baseline: ...
34 34 Cmd/input/env: ...
35 35 Artifacts: <temp paths>
36 -Cleanup: delete <paths> unless promoted
36 +Repo cleanup: delete <repo paths> unless promoted
37 +External retention: keep/delete <temp, cache, or OS state> because <value>
39 40 Unfalsifiable H ⇒ rewrite.
94 95 1 green run = weak evidence.
95 96 Log/screenshot without cmd provenance = weak.
97 -### 5. Promote | summarize | delete
98 +### 5. Promote | summarize | retain | delete
99 100 Classify every artifact:
102 103 durable test/fixture/doc/bench harness/script/repro.
103 104 - **Summarize**:
104 105 learned fact only → response/issue/commit msg.
106 +- **Retain**:
107 + useful temp/cache/OS artifacts outside the repo.
108 + Record location, purpose, and expected lifetime.
105 109 - **Delete**:
106 - temp script/output/cache/log/download/build product.
110 + repo-local temporary artifacts and external artifacts without future value.
108 112 Promotion requirements:
116 120 Before final answer:
118 -1. Stop started processes.
119 -2. Delete created scratch files/dirs/outputs/logs/caches/dumps/ad-hoc fixtures.
120 -3. Keep only explicitly promoted artifacts.
121 -4. `git status --short` if git.
122 -5. Explain/ask about unknown leftovers.
122 +1. Stop processes that are no longer useful.
123 +2. Delete experiment-created temporary artifacts inside the repository unless promoted.
124 +3. Preserve useful and safe temp, cache, or OS state outside the repository.
125 +4. Report retained external state and ask if its footprint or side effects are uncertain.
126 +5. `git status --short` if git.
127 +6. Explain/ask about unknown repository leftovers.
124 129 Delete rule:
127 132 Only delete explicit paths created by this experiment.
128 133 Never delete user data, research cache, repo files, broad globs, or git-clean
129 134 without confirmation.
135 +Cleanup means leaving the user's repository clean, not erasing useful external
136 +experimental state.
132 139 Final report shape:
135 142 Result: supported | falsified | inconclusive
136 143 Evidence: cmd(s) + checks
137 144 Promoted: <paths + why>
145 +Retained: <external paths/state + why>
138 146 Cleaned: <paths>
139 147 Remaining: <intentional dirty paths>