Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/ai-brain-core / status_all.sh |
| Date | Not specified in source |
| Repository | Janady13/ai-brain-core |
| Revision | f7275582f13ada80bfb3b1008089800ca26f4a23 |
| Branch | main |
| Path or archive member | status_all.sh |
| Original SHA-256 | 19337bc14ad53177281943f437889dd9dda02b122b7fb761c7416390f186d3d4 |
| Git blob SHA | be89090b06b202b1ef65dc7ba8404313dc82850f |
| Reading-copy SHA-256 | 19337bc14ad53177281943f437889dd9dda02b122b7fb761c7416390f186d3d4 |
Every recorded occurrence
These 3 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-core / status_all.sh | main | f7275582f13ada80bfb3b1008089800ca26f4a23 | Open original |
| Janady13/ai-brain-core / status_all.sh | claude/agi-architecture-diagram-01GJ7CohfKvLb77yiKpHqd6d | 365850e27004318edd582881225024026b118c2d | Open original |
| Janady13/ai-brain-core / status_all.sh | healer-core | 0fe4cbbaa91912149f1a8e32205371ff67017268 | Open original |
Recovered source transcript
Download complete source text ↓41 lines · 1.0 KB
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
AI_BRAIN_DIR="${1:-$HOME/Desktop/AI_Brain}"
LOG_DIR="$AI_BRAIN_DIR/logs"
ADAPTER_PID="$AI_BRAIN_DIR/adapter.pid"
ORCH_PID="$AI_BRAIN_DIR/orchestrator.pid"
echo "Status for AI_BRAIN_DIR: $AI_BRAIN_DIR"
if [ -f "$ADAPTER_PID" ]; then
pid=$(cat "$ADAPTER_PID")
if kill -0 "$pid" 2>/dev/null; then
echo "Adapter: RUNNING (pid $pid)"
else
echo "Adapter: PIDFILE present but process not running"
fi
else
echo "Adapter: not running (no pidfile)"
fi
if [ -f "$ORCH_PID" ]; then
pid=$(cat "$ORCH_PID")
if kill -0 "$pid" 2>/dev/null; then
echo "Orchestrator: RUNNING (pid $pid)"
else
echo "Orchestrator: PIDFILE present but process not running"
fi
else
echo "Orchestrator: not running (no pidfile)"
fi
echo
echo "Last adapter log lines (if exist):"
[ -f "$LOG_DIR/adapter.log" ] && tail -n 30 "$LOG_DIR/adapter.log" || echo "(no adapter.log)"
echo
echo "Last orchestrator log lines (if exist):"
[ -f "$LOG_DIR/worker.log" ] && tail -n 30 "$LOG_DIR/worker.log" || echo "(no worker.log)"
exit 0