Add cleanup script, version tracking, and changelog

New files:
- automation/clean.sh: Clean up old logs, reports, backups (with --dry-run)
- VERSION: Tracks configuration version (1.0.0)
- CHANGELOG.md: Documents all changes in this refactor

The cleanup script handles:
- Old workflow logs (>30 days)
- Old health reports (>30 days)
- Excess backups (keeps last 10)

Respects managed directories (projects/, stats-cache.json).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OpenCode Test
2026-01-01 12:12:48 -08:00
parent f682d781a0
commit 84fe45f4dc
3 changed files with 178 additions and 0 deletions

57
CHANGELOG.md Normal file
View File

@@ -0,0 +1,57 @@
# Changelog
All notable changes to this Claude Code configuration.
## [1.0.0] - 2026-01-01
### Added
#### Plugin Structure
- `.claude-plugin/plugin.json` - Plugin manifest for distribution
- `.claude-plugin/marketplace.json` - Local development marketplace
#### Hooks
- `SessionStart` hook - Loads context, checks pending items
- `PreCompact` hook - Reminds to preserve context before compaction
- `hooks/scripts/session-start.sh` - Session initialization script
- `hooks/scripts/pre-compact.sh` - Pre-compaction handler
#### Commands
- `/help` - Show available commands and skills
- `/status` - Dashboard overview across all domains
- `/summarize` - Save session to memory
- `/maintain` - Configuration maintenance operations
#### Skills (Resources Pattern)
All skills refactored to use scripts + references pattern:
- `gmail/scripts/` - check_unread.py, check_urgent.py, search.py
- `gmail/references/` - query-patterns.md
- `gcal/scripts/` - agenda.py, next_event.py
- `k8s-quick-status/scripts/` - quick-status.sh
- `sysadmin-health/scripts/` - health-check.sh
- `usage/scripts/` - usage_report.py
#### Automation Scripts
- `validate-setup.sh` - Validate configuration
- `quick-status.sh` - Dashboard status
- `backup.sh` - Create configuration backup
- `restore.sh` - Restore from backup
- `clean.sh` - Clean up old files
#### Documentation
- README.md in every directory
- Top-level README.md with quick start guide
- CHANGELOG.md (this file)
- VERSION file
### Changed
- CLAUDE.md streamlined, references directory READMEs
- Skills use `allowed-tools` for capability restrictions
- Component registry includes script paths
- Expanded trigger phrases for better skill matching
### Technical Details
- 34 files changed
- +2500 lines added
- Full documentation coverage
- Validation script passes all checks