Harden skill rigor constraints and sync reading quality tools

This commit is contained in:
732642856
2026-06-27 18:52:10 +08:00
parent 7600986e34
commit b884b8e7ea
30 changed files with 1262 additions and 56 deletions
+35
View File
@@ -0,0 +1,35 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT="/Users/wuyongnaren/Documents/印度占星"
FILES=(
"AGENTS.md"
"SKILL.md"
"references/technique_registry.json"
"references/quick-reference-guide.md"
"references/strict-workflow-router.md"
"skills/jyotish-engine-modules/SKILL.md"
"skills/jyotish-full-reading-integration/SKILL.md"
)
DRY_RUN="${1:-}"
echo "Skill truth whitelist sync set:"
for file in "${FILES[@]}"; do
echo " - $file"
done
echo
echo "Diff vs origin/main:"
git -C "$ROOT" diff --stat origin/main -- "${FILES[@]}"
if [[ "$DRY_RUN" == "--dry-run" ]]; then
echo
echo "Dry run only. No files copied or pushed."
exit 0
fi
echo
echo "This script is audit-only by default."
echo "Use it to inspect the exact whitelist before any manual git add/commit/push."