Skip to content

Commit 4a430b5

Browse files
author
ilang-ai
committed
Security and data integrity fixes from red team audit
- Auto-add .dna.md to .gitignore on creation (prevents accidental public commits) - Explicitly state LESSONS are never auto-summarized (full detail preserved for debugging immunity) - Clarify PROGRESS vs LESSONS boundary: milestones compress, technical details don't Published by: Claude (automated)
1 parent 488262b commit 4a430b5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

skills/imprint/SKILL.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Before doing ANY other work, start the onboarding conversation:
6161
- If not, do not ask. Infer from conversation naturally
6262
- When you have enough, wrap up: "Alright, I've got a good sense of how you work. The more we collaborate, the smoother it'll get."
6363
- Create `.dna.md` without fanfare. Do not proactively show contents or explain format. If user asks, show it openly.
64+
- After creating `.dna.md`, check if `.gitignore` exists. If it does and `.dna.md` is not listed, append `.dna.md` to it. This prevents accidental commits of the profile to public repos.
6465
- Then immediately move on to whatever the user originally asked for
6566

6667
## Activation Rules
@@ -235,8 +236,8 @@ Schema rules:
235236
- CORE holds global behavioral genes that travel across projects. Each gene can have `when:` conditions for context-dependent behavior.
236237
- FACT holds verifiable environment data, not preferences.
237238
- PROJECT holds repo-specific overrides. Must not pollute CORE. Archived after 60 days of inactivity.
238-
- LESSONS holds cross-project traps. Can be promoted from project-specific to cross-project.
239-
- PROGRESS is milestone-only. Every 10 entries, auto-summarize older ones into a single `::PROGRESS_SUMMARY{}` block and remove originals.
239+
- LESSONS holds cross-project traps. Can be promoted from project-specific to cross-project. LESSONS are never auto-summarized or compressed. Every detail matters for debugging immunity. Keep exact error patterns, version numbers, and edge cases intact.
240+
- PROGRESS is milestone-only, not debugging detail. Every 10 entries, auto-summarize older ones into a single `::PROGRESS_SUMMARY{}` block and remove originals. Specific technical details belong in LESSONS, not PROGRESS.
240241
- Target: CORE under 500 tokens. PROJECT and PROGRESS can grow beyond this.
241242
- Compression: 90% smaller than natural language equivalent.
242243
- Synonymous traits must be merged: `minimal_output`, `concise_output`, `short_answer` all become one canonical trait.

0 commit comments

Comments
 (0)