Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/AI_Brain / daemon/seed_all.sh |
| Date | Not specified in source |
| Repository | Janady13/AI_Brain |
| Revision | 366ab848896ae49159cfb3f6c201b8c5a731e9c8 |
| Branch | codex/build-online-github-ani-hr4y0z |
| Path or archive member | daemon/seed_all.sh |
| Original SHA-256 | 70e7e23db8308065f044d21f795eda418285e173c2bd3c3817b8e8a04e795b52 |
| Git blob SHA | 4ce36b1054d9bb6973fd838df0431e2ba95376c9 |
| Reading-copy SHA-256 | 70e7e23db8308065f044d21f795eda418285e173c2bd3c3817b8e8a04e795b52 |
Every recorded occurrence
These 11 records contain identical original source bytes. Their paths and revisions remain part of the archive.
| Original record | Branch or archive | Revision / identifier | Original location |
|---|---|---|---|
| Janady13/AI_Brain / daemon/seed_all.sh | codex/build-online-github-ani-hr4y0z | 366ab848896ae49159cfb3f6c201b8c5a731e9c8 | Open original |
| Janady13/AI_Brain / daemon/seed_all.sh | codex/build-online-github-ani-i3cigl | 3a6e002311c48c27ffd41ef4a2a31c63947128cd | Open original |
| Janady13/AI_Brain / daemon/seed_all.sh | codex/build-online-github-ani | 49db80a641b10ab62d16cc7643bd0b367f93951c | Open original |
| Janady13/AI_Brain / daemon/seed_all.sh | codex/build-online-github-ani-nbgsix | 840945d70b88674d8f40d330001cc63d871dc8e2 | Open original |
| Janady13/AI_Brain / daemon/seed_all.sh | codex/build-online-github-ani-jf5olo | c6653627c453ab428d665226167fa5f4aa05e9a5 | Open original |
| Janady13/AI_Brain / daemon/seed_all.sh | codex/build-online-github-ani-7nmb21 | d0f50071c85cddaaebbf9c4dd1313bd7676986da | Open original |
| Janady13/AI_Brain / daemon/seed_all.sh | codex/build-online-github-ani-hr4y0z | 366ab848896ae49159cfb3f6c201b8c5a731e9c8 | Open original |
| Janady13/AI_Brain / daemon/seed_all.sh | codex/build-online-github-ani-i3cigl | 3a6e002311c48c27ffd41ef4a2a31c63947128cd | Open original |
| Janady13/AI_Brain / daemon/seed_all.sh | codex/build-online-github-ani-nbgsix | 840945d70b88674d8f40d330001cc63d871dc8e2 | Open original |
| Janady13/AI_Brain / daemon/seed_all.sh | codex/build-online-github-ani | 49db80a641b10ab62d16cc7643bd0b367f93951c | Open original |
| Janady13/AI_Brain / daemon/seed_all.sh | codex/build-online-github-ani-jf5olo | c6653627c453ab428d665226167fa5f4aa05e9a5 | Open original |
Recovered source transcript
Download complete source text ↓48 lines · 2.0 KB
#!/usr/bin/env bash
set -Eeuo pipefail
IFS=$'\n\t'
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
ROOT="${ROOT:-$SCRIPT_DIR}"
LOGDIR="${LOGDIR:-$SCRIPT_DIR/../logs/seeding}"
TS="$(date +%Y%m%d_%H%M%S)"
log() { printf '%s\n' "$*"; }
log_err() { printf 'ERR: %s\n' "$*" >&2; }
usage(){ cat <<USAGE
Usage: $0 [--dry-run] [--only categories] [--env FILE]
USAGE
}
CLI_DRY_RUN=0; ONLY=""; ENV_FILE=""
while [[ $# -gt 0 ]]; do
case "$1" in
--dry-run) CLI_DRY_RUN=1; shift ;;
--only) ONLY="${2:-}"; shift 2 ;;
--env) ENV_FILE="${2:-}"; shift 2 ;;
-h|--help) usage; exit 0 ;;
*) log_err "Unknown arg: $1"; usage; exit 2 ;;
esac
done
if [[ -n "$ENV_FILE" ]]; then set -a; source "$ENV_FILE"; set +a; fi
DRY_RUN="${DRY_RUN:-0}"; if [[ "$CLI_DRY_RUN" == "1" ]]; then DRY_RUN=1; fi
mkdir -p "$LOGDIR"
scripts=("seed_math_models.py:math" "seed_agents.py:agent" "seed_language.py:language" "seed_prophecy.py:prophecy" "seed_marketing.py:marketing")
selected=()
if [[ -n "$ONLY" ]]; then IFS=',' read -r -a filter <<<"$ONLY"; for pair in "${scripts[@]}"; do s="${pair%%:*}"; c="${pair##*:}"; for f in "${filter[@]}"; do [[ "$f" == "$c" ]] && selected+=("$pair"); done; done; else selected=("${scripts[@]}"); fi
command -v python3 >/dev/null 2>&1 || { log_err "python3 not found"; exit 127; }
log "=== 🧠 Hive Seeding Launcher ==="; log "All expansions will be ATOMICALLY HASHED and inserted into atomic_facts"
rc=0
for pair in "${selected[@]}"; do s="${pair%%:*}"; base="${s%.py}"; logfile="$LOGDIR/${base}_$TS.log";
if [[ -f "$ROOT/$s" ]]; then
log "➡️ Running $s (dry-run=${DRY_RUN})"
if [[ "$DRY_RUN" == "1" ]]; then DRY_RUN=1 python3 "$ROOT/$s" >>"$logfile" 2>&1 || rc=$?; else python3 "$ROOT/$s" >>"$logfile" 2>&1 || rc=$?; fi
[[ $rc -eq 0 ]] && log "✅ Completed $s (see: $logfile)" || log_err "❌ $s failed: $rc (see: $logfile)"
else log_err "⚠️ Missing $ROOT/$s"; rc=1; fi
done
[[ $rc -eq 0 ]] && log "=== ✅ Hive expansions seeded (atomically hashed) ===" || log_err "=== ⚠️ Hive seeding completed with errors ==="; exit "$rc"