1.9.1 — sdd compact command
⚠️ Superseded by v1.9.2 —sdd preflightwas added there. Users on 1.9.1 should upgrade to@applica-software-guru/sdd@latest(1.9.2) to get bothcompactandpreflight.
Added
sdd compactcommand: archive or delete closed change requests (status: applied) and bugs (status: resolved) to keep the project lean. Terminal elements accumulate over time and add noise tocr list,bug list, and the agent's context —compactclears them without affecting the current documentation or code.- Default mode archives files to
change-requests/archive/andbugs/archive/. These subdirectories are invisible to the existing parsers (the*.mdglob does not recurse), so compacted elements immediately drop out of every command and the sync prompt while remaining on disk and in git history. --purgedeletes files permanently.--dry-runpreviews what would be compacted without touching the filesystem.- Safe by design: only
appliedCRs andresolvedbugs are touched.draft,pending, andopenelements are never compacted. - Local-only operation: the remote (SDD Flow) is not affected.
- New
SDD.compact()method on the core facade and newCompactMode/CompactResulttypes exported from@applica-software-guru/sdd-core.
- Default mode archives files to
Documentation
- New "Compacting closed elements" section in
docs/concepts.mdexplaining the lifecycle and the archive subdirectories - Updated
docs/cli-reference.md,docs/change-requests.md, anddocs/bugs.mdwith the new command - Project structure in
docs/concepts.mdnow shows thearchive/subdirectories - Updated
sddskill (SKILL.md + references) and Claude Code plugin skill files
Full Changelog: v1.9.0...v1.9.1