Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/AI_Brain / scripts/hive_master_start.sh |
| Date | Not specified in source |
| Repository | Janady13/AI_Brain |
| Revision | d6c309d3fa439714ca46b9d3bb94caf478ea5376 |
| Branch | main |
| Path or archive member | scripts/hive_master_start.sh |
| Original SHA-256 | 3cf7fcc2104a2f3c27421b04006ee62760256101e830a701322c9f40da17cc2e |
| Git blob SHA | 812637b8728bd25a532e55b3072f4c2380200fd2 |
| Reading-copy SHA-256 | 3cf7fcc2104a2f3c27421b04006ee62760256101e830a701322c9f40da17cc2e |
Every recorded occurrence
These 2 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 / scripts/hive_master_start.sh | main | d6c309d3fa439714ca46b9d3bb94caf478ea5376 | Open original |
| Janady13/AI_Brain / scripts/hive_master_start.sh | claude/binary-helix-fibonacci-hive-011CUj7dx1WWJLVYcWCjBbYv | 527d4882c71eb041393f9d8945996177c5ac9e86 | Open original |
Recovered source transcript
Download complete source text ↓40 lines · 1.1 KB
#!/usr/bin/env bash
set -Eeuo pipefail
IFS=$'\n\t'
NAME="Brain"
ROOT="/Volumes/${NAME}/HiveExpansion"
LOGFILE="${ROOT}/hive_startup.log"
log() { printf '%s\n' "$*"; }
log_err() { printf 'ERR: %s\n' "$*" >&2; }
if [[ ! -d "$ROOT" ]]; then
log_err "HiveExpansion not found at $ROOT"
exit 1
fi
if pgrep -f "hive_master_controller" >/dev/null 2>&1; then
log "hive_master_controller already running"
exit 0
fi
cd "$ROOT"
# Check for C++ executable first, then .NET, then Go
if [[ -f "hive_master_controller" ]]; then
nohup ./hive_master_controller >> "$LOGFILE" 2>&1 &
log "Started hive_master_controller (C++, log: $LOGFILE)"
elif [[ -f "hive_master_controller.dll" ]]; then
nohup dotnet hive_master_controller.dll >> "$LOGFILE" 2>&1 &
log "Started hive_master_controller (.NET, log: $LOGFILE)"
elif [[ -f "hive_master_controller.go" ]]; then
go build -o hive_master_controller hive_master_controller.go
nohup ./hive_master_controller >> "$LOGFILE" 2>&1 &
log "Started hive_master_controller (Go, log: $LOGFILE)"
else
log_err "hive_master_controller executable not found"
exit 1
fi