Purpose
Script Path:
bones/scripts/rc-bless.sh
- Compare the current
asset-manifest.yamlwith the blessedasset-manifest.yaml.prev. - Emit ritual violation entries into
CHANGELOG.md. - Update the blessed manifest to the latest state.
CLI Interface
rc-bless.sh [--dry-run] [--verbose] [--help]Supported flags: - --help, -h Show usage
information and exit. - --dry-run Preview changelog
update without writing to file. - --verbose Show detailed
logs during blessing.
Workflow Steps
- Dependency Check
check_deps git date.
- Prepare Logs
- Ensure
bones/logs/changelog.mdexists.
- Ensure
- Generate Changelog Entry
- Run
git diffbetween HEAD~1 and HEAD, append or preview under dry-run.
- Run
- Finalize Blessing
- Copy current changelog into archive if configured.
Exit Codes
0— Completed blessing (even if no violations).1— Usage error or missing flags.2— Dependency missing (e.g.,yqnot found).
Examples
# Standard blessing
./bones/scripts/rc-bless.sh
# Preview blessing without writing
./bones/scripts/rc-bless.sh --dry-run --verbose
# Show help
./bones/scripts/rc-bless.sh --help