Skip to content

v2.0.0: Continual Learning System

Choose a tag to compare

@harperaa harperaa released this 31 Dec 17:07
· 334 commits to main since this release

🧠 Continual Learning System

Secure Vibe Coding OS now includes a self-improving learning system that gets smarter over time.

Major Features

  • Dynamic Lessons Library: Grows with every session at .claude/skills/lessons/
  • /advise Command: Search past learnings before starting work
    • ✨ IMPROVED: Uses progressive disclosure for efficient skill discovery
    • No manual searching - Claude's built-in skill system finds matches automatically
    • Reads <100 lines total instead of 1200+ lines
  • /retrospective Command: Capture session insights with workflow choice
    • ✨ NEW: Automatically identifies and updates existing skills based on your learnings
    • Creates compound learning effect - skills improve with real-world data
    • User controls which skills get updated (approve all, review individually, or skip)
    • ✨ IMPROVED: Uses progressive disclosure for efficient skill updates
    • Reads <200 lines total instead of reading entire skill files
  • Git Status Validation: Ensures clean, isolated retrospective commits
  • Smart Pull Commands: Selective updates with conflict detection
    • /pull-repo-safe - Full repo with preview
    • /pull-security-skills - Security skills only
    • /pull-commands - Commands only
    • /pull-agents - Agents only

Benefits Over Time

  • Week 1: Empty lessons, learning as you go
  • Week 2: 3-5x faster on similar tasks
  • Month 3: Institutional knowledge base established
  • Compound Learning: Each session improves both lessons AND existing skills

What's Included

This release bundles four commits:

  • 74584fe: Add continual learning system with dynamic lessons and update commands
  • 2100324: Update retrospective command to ask user for workflow preference
  • 0e82ea7: Enhance retrospective with git status check and skill updates
  • 232f30d: Improve /advise and /retrospective efficiency with progressive disclosure

Files Changed:

  • ➕ Added: 7 new command files
  • ➖ Deleted: pull-subtree.md
  • 🔄 Renamed: push-subtree.md → push-security-skills.md
  • ✏️ Updated: README.md, CLAUDE.md, SKILL_DEPENDENCIES.md, advise.md, retrospective.md

🔄 Feedback Loop

The retrospective now creates a compound learning system:

  1. Session Work → You solve a problem
  2. New Lesson Created → Documents your specific experience
  3. Existing Skills Updated → Improves general best practices with real-world findings
  4. Future Sessions → Everyone benefits from both the lesson AND improved skills

Example:

  • You discover CSRF validation order matters
  • /retrospective creates lesson + updates csrf-protection skill with new "Failed Attempt"
  • Team member uses csrf-protection skill tomorrow → Avoids your mistake immediately
  • Knowledge compounds, mistakes aren't repeated

⚡ Efficiency Improvements

Both /advise and /retrospective now use progressive disclosure:

Before:

  • Manually searched files with Glob/Grep
  • Read entire 398-line skill files
  • Used 1200+ lines of context for 3 skills

After:

  • Claude's built-in skill system finds matches automatically
  • Reads only requested sections (10-50 lines each)
  • Uses <100 lines total for /advise, <200 lines for /retrospective

Key Principle: Let Claude's progressive disclosure do the heavy lifting - don't manually search or read entire files.


📥 How to Update

Initial Setup (First Time Only)

If you cloned this template and are working in your own repo, add the template as a remote:

git remote add template https://github.com/harperaa/secure-vibe-coding-OS.git
git remote -v

Expected output:

origin    https://github.com/YOUR-USERNAME/your-repo.git (fetch)
origin    https://github.com/YOUR-USERNAME/your-repo.git (push)
template  https://github.com/harperaa/secure-vibe-coding-OS.git (fetch)
template  https://github.com/harperaa/secure-vibe-coding-OS.git (push)

You only need to do this once. After that, you can pull updates anytime.


Option 1: Pull ONLY These Changes (Recommended)

Get just the continual learning features without other updates:

git fetch template --tags
git cherry-pick 74584fe 2100324 0e82ea7 232f30d
git push origin main

This will:

  • ✅ Add new files automatically
  • ✅ Delete old files automatically
  • ✅ Rename files automatically
  • ✅ Update modified files automatically

Option 2: Pull Everything Up to v2.0.0

Get all updates from your current state to v2.0.0:

git fetch template --tags
git merge template/main
# Or merge specific tag: git merge v2.0.0

# Resolve any conflicts if they occur, then push
git push origin main

Option 3: Use the Pull Commands

After updating, use the built-in commands for future updates:

/pull-repo-safe
# Then follow the on-screen instructions to merge

🔄 Future Updates

After initial setup, getting future updates is easy:

git fetch template --tags
git log HEAD..template/main --oneline
git cherry-pick <commit-hash> <commit-hash>
# Or: git merge template/main
git push origin main

Remember: Every session you complete makes the NEXT session faster! 🚀