2026-01-15 11:25:02 -08:00
|
|
|
#!/usr/bin/env bash
|
2026-03-09 11:59:43 -07:00
|
|
|
#MISE description="Prime AI context with key BlumeOps documentation"
|
2026-01-15 11:25:02 -08:00
|
|
|
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
2026-02-03 20:52:37 -08:00
|
|
|
DOCS_DIR="$(cd "$(dirname "$0")/.." && pwd)/docs"
|
2026-01-15 11:25:02 -08:00
|
|
|
|
2026-02-03 20:52:37 -08:00
|
|
|
# Key files for AI context priming, in order of importance
|
|
|
|
|
FILES=(
|
|
|
|
|
"$DOCS_DIR/tutorials/ai-assistance-guide.md"
|
2026-02-20 08:15:20 -08:00
|
|
|
"$DOCS_DIR/how-to/agent-change-process.md"
|
2026-02-14 12:08:22 -08:00
|
|
|
"$DOCS_DIR/index.md"
|
2026-02-17 07:32:54 -08:00
|
|
|
"$DOCS_DIR/how-to/operations/troubleshooting.md"
|
2026-02-03 20:52:37 -08:00
|
|
|
"$DOCS_DIR/explanation/architecture.md"
|
2026-02-24 21:17:34 -08:00
|
|
|
"$DOCS_DIR/reference/tools/mise-tasks.md"
|
2026-02-03 20:52:37 -08:00
|
|
|
)
|
2026-01-15 11:25:02 -08:00
|
|
|
|
2026-02-03 20:52:37 -08:00
|
|
|
# Concatenate files with headers showing paths
|
2026-02-25 17:42:47 -08:00
|
|
|
bat --style=header --color=never --decorations=always "$@" "${FILES[@]}"
|
2026-03-09 11:59:43 -07:00
|
|
|
|
|
|
|
|
# Documentation tree — replaces the old hand-curated index files
|
|
|
|
|
echo ""
|
|
|
|
|
echo "=== Documentation Structure ==="
|
|
|
|
|
echo "All docs under $DOCS_DIR (excluding changelog.d/):"
|
|
|
|
|
echo ""
|
|
|
|
|
find "$DOCS_DIR" -name '*.md' -not -path '*/changelog.d/*' | sort | sed "s|$DOCS_DIR/||"
|