Architectural Intent
This report details the findings from auditing the folder-level .soul.md coverage in relation to the rc-glue.sh dynamic index generator.
Findings: Ambiguities and Fallthrough Conflicts
-
Root Directory Fallthrough Mapping The
rc-glue.shlookup logic relies on parsing subdirectories from$CONTENT_DIR(home/content). When evaluating a directory outside of$CONTENT_DIR, such asbones/orhome/assets/, the$REL_DIR_PATHextraction yields the full absolute directory path or fails to trim properly. This ultimately triggers the fallback conditionSOUL_FILE="$META_DIR/rotkeeper.soul.md". This means all external directories currently share the same rootrotkeeper.soul.mdmetadata, losing their distinct folder context in auto-generated indices. -
Mirrored vs. Flattened Paths The prompt requested folder souls for
home/assets/subdirectories to follow a flattened convention (e.g.,homeassetscss.soul.mdinstead ofhome/assets/css.soul.md). However,rc-glue.shinherently expects path mirroring inside the$CONTENT_DIRboundary (e.g.,docs/bones.soul.mdcorresponding tohome/content/docs/bones/). -
Misaligned Documentation Roots Pre-existing souls for the
bones/subdirectories (likebones/config.soul.mdandbones/templates.soul.md) were placed mirroring the literal repository root. However, sincerc-glue.shoperates insidehome/content/, when rendering indices forhome/content/docs/bones/, it expects the sidecar path to bedocs/bones/config.soul.md. Thus, the literal root souls were disconnected from therc-glue.shdocumentation generation run. These have been repaired and moved inside thedocs/mirror withinbones/meta/.