⚙️ Configuration Reference
Rotkeeper uses a structured configuration file to initialize the
project environment. This reference explains the available fields,
default values, and usage patterns for
init-config.yaml.
📄 File:
init-config.yaml
This YAML file is consumed by rc-init.sh (and
indirectly by rotkeeper init) to determine which
directories, templates, placeholders, and files to scaffold.
📁 Key Sections
dirs
A list of directories to create if they don’t exist.
dirs:
- content
- output
- logs
- templates
- scriptsplaceholders
Touch files added to empty directories to keep them in version control.
placeholders:
- logs/.keep
- output/.keeptemplates
Seed templates placed in templates/ during init. You
can customize or override them later.
templates:
- templates/stackburger.html
- templates/rot-notice.htmlyamls
YAML-based files to seed during init—includes config stubs and asset-metadata files.
yamls:
- init-config.yaml
- asset-manifest.yamlscripts
Scripts seeded during init—should match your rc-
naming convention.
scripts:
- scripts/rc-render.sh
- scripts/rc-pack.sh
- scripts/rc-bless.sh🧬 Asset-Meta Integration
All config files should include an embedded asset-meta block like:
# --- asset-meta ---
# file: init-config.yaml
# version: 0.1.3
# tomb-version: 0.1.7.5
# tracked: true
# updated: 2025-05-13
# --- end-meta ---These fields are used by rotkeeper,
rc-bless.sh, and rc-scan.sh to track decay,
update status, and log file lifecycle changes.
🪦 Example Full
init-config.yaml
dirs:
- content
- output
- logs
- templates
- scripts
placeholders:
- logs/.keep
- output/.keep
templates:
- templates/stackburger.html
- templates/rot-notice.html
yamls:
- init-config.yaml
- asset-manifest.yaml
scripts:
- scripts/rc-render.sh
- scripts/rc-pack.sh
- scripts/rc-bless.sh🧠 Tips
- Use
.keepfiles to preserve empty folders across tombs - Keep all paths relative to root unless otherwise noted
- The order of entries doesn’t matter, but grouping improves legibility
- You can override templates and scripts by placing newer files in
the tree before running
rotkeeper initagain
Back to Documentation Index Continue to Asset Pipeline