Skip to content

compress skill: output unchanged, backup written empty #237

@broxamson

Description

@broxamson

Bug

/caveman:compress runs, reports success, but:

  1. File content unchanged (nearly identical to input — articles not dropped, fragments not used)
  2. Backup .original.md written as empty file

Repro

/caveman:compress .github/prompts/task.md

Output: Validation passed / Compression completed successfully

Actual file: unchanged prose, full articles still present.
Backup: 0 bytes / 1 line empty.

Expected

Compressed caveman output overwrites original. Backup contains original content.

Environment

  • Plugin version: 84cc3c14fa1e
  • OS: Windows 11
  • Shell: bash (Git Bash)
  • Python: python3 via bash

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions