Skip to content

docs: compress SKILL.md change logs + compact April PM runs#408

Merged
jjackson merged 1 commit into
mainfrom
docs/skill-changelog-and-pm-compact
May 22, 2026
Merged

docs: compress SKILL.md change logs + compact April PM runs#408
jjackson merged 1 commit into
mainfrom
docs/skill-changelog-and-pm-compact

Conversation

@jjackson
Copy link
Copy Markdown
Owner

Summary

Both deferred items from PR #406, shipped together.

1. SKILL.md Change Log compression (28 files)

Per-skill ## Change Log sections were carrying 5-13 historical entries that bloat the skill's context every time it dispatches. Compressor:

  • Drops Initial version entries unconditionally (pure noise)
  • Keeps the most recent 3 substantive entries per skill
  • Drops the entire section if only Initial version was there (4 such sections)

The remaining 3 entries are what an agent needs to understand current behavior. Older entries are preserved in git history under each skill's blame log.

Top trims:

Skill Before → After
idea-to-pdd 14 → 3
ocs-chatbot-qa 11 → 3
connect-opp-setup 10 → 3
llo-launch 9 → 3
ocs-agent-setup 9 → 3
pdd-to-deliver-app 7 → 3
pdd-to-learn-app 7 → 3
ocs-chatbot-eval 7 → 3

~25KB of historical narrative removed across 28 files. The other ~55 skills with change logs already had ≤3 substantive entries (no compression needed).

2. .claude/pm/runs/ April compaction (10 files → 1 learning)

The April PM scout cycles documented the platform's pre-0.13 evolution: 10 lens-by-lens runs from Apr 8 → Apr 29 covering archetype-as-first-class, real-run-beats-spec-review, class-level preventers, doctor-probes-as-invariant-enforcement, operator-can-fix vs can't, and stale-metadata-is-dangerous.

Distilled into docs/learnings/2026-04-pm-runs-compacted.md with:

  • Cross-cycle patterns + which Conventions / Gotchas they hardened into
  • Shipped-findings table (10 rows linking April cycle → current platform feature)
  • Dropped-items list (fgd-synthesis, per-cycle self-improvement notes, confidence-on-validation meta-prompts)

Originals preserved in git history. The May 10 perf-lens run is recent enough to keep as-is.

Test plan

  • clean-install status check
  • Spot-read a few SKILL.md files to confirm the trimmed change logs still parse as valid markdown (idea-to-pdd, ocs-chatbot-qa, connect-opp-setup — biggest trims)
  • Spot-check docs/learnings/2026-04-pm-runs-compacted.md reads coherently

🤖 Generated with Claude Code

Two cleanup items deferred from PR #406:

1. SKILL.md ## Change Log compression (28 files)
   - Drop "Initial version" entries (pure noise)
   - Keep most recent 3 substantive entries per change log
   - Drop entire section if only "Initial version" remained (4 sections)
   - ~25KB of historical narrative removed
   - Top trims: idea-to-pdd 14→3, ocs-chatbot-qa 11→3,
     connect-opp-setup 10→3, llo-launch 9→3, ocs-agent-setup 9→3
   - Older entries preserved in git history; the most recent 3
     entries are what an agent needs to understand current behavior.

2. .claude/pm/runs/ April logs compacted (10 files → 1 learning)
   - Apr 8 → Apr 29 covered 10 PM scout cycles that shaped the
     0.13.x platform: archetypes-as-first-class, real-run-beats-
     spec-review, class-level preventers, doctor-probes-as-
     invariant-enforcement, operator-can-fix vs can't, stale-
     metadata-is-dangerous.
   - Distilled into docs/learnings/2026-04-pm-runs-compacted.md
     (cross-cycle patterns + shipped-findings table + dropped-
     items list). Each pattern points at the Convention/Gotcha
     it hardened into.
   - May 10 perf-lens run kept as-is (recent enough to read raw).
   - Originals preserved in git history.

Files changed: 39 (28 SKILL.md compressions + 10 PM deletions +
1 new learning + 4 version files).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jjackson jjackson enabled auto-merge May 22, 2026 09:08
@jjackson jjackson merged commit 052d79e into main May 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant