- New script: scripts/extract_exemplar.py
Extracts style fingerprints from human-written articles (opening hook,
emotional peak, transition/self-correction, closing) with statistical
analysis (sentence stddev, vocab temperature, negative ratio, paragraph CV).
Auto-detects category, supports batch import.
- SKILL.md: Add Step 4.4 exemplar injection
Loads matching exemplars by category before writing, injects segments
as few-shot style examples in the prompt.
- learn_edits.py: Auto-grow exemplar library
After user edits, auto-extracts the final version into the exemplar
library if humanness_score <= 50.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
learn_edits.py: patterns now have type/key/description/rule fields,
confidence auto-computed from occurrences + recency with 30-day decay.
--summarize --json outputs aggregated patterns sorted by confidence.
learn-edits.md: playbook.md format changed from free text to structured
YAML rules with confidence levels. Rules with confidence ≥ 5 become
hard constraints in Step 4, < 5 are soft references, < 2 get pruned.
SKILL.md Step 4: playbook priority now confidence-gated.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Reorganize anti-AI rules into 3 tiers mapped to detector signals:
- Tier 1 (Statistical): sentence variance, vocab temperature, paragraph
rhythm, emotion polarity, adverb density, style drift
- Tier 2 (Linguistic): banned words, broken sentences, unexpected words,
coherence breaking
- Tier 3 (Content): real data anchoring, specificity, density waves,
dimension randomization
New rules added: emotion polarity distribution (1.4), adverb density
control (1.5), inter-paragraph style drift (1.6), unexpected word
usage (2.3). Each rule now references the detection signal it counters.
writing-config.example.yaml updated with corresponding new parameters.
SKILL.md Step 5 checklist aligned to new structure.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>