~cytrogen/gstack

ref: aa7daf052ece077ab3d05da3834ad7a029b79bc9 gstack/bin/gstack-review-log -rwxr-xr-x 411 bytes
aa7daf05 — Garry Tan fix: Codex description limit + wrong-repo bug (v0.11.19.0) (#471) a month ago
                                                                                
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
# gstack-review-log — atomically log a review result
# Usage: gstack-review-log '{"skill":"...","timestamp":"...","status":"..."}'
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
eval "$("$SCRIPT_DIR/gstack-slug" 2>/dev/null)"
GSTACK_HOME="${GSTACK_HOME:-$HOME/.gstack}"
mkdir -p "$GSTACK_HOME/projects/$SLUG"
echo "$1" >> "$GSTACK_HOME/projects/$SLUG/$BRANCH-reviews.jsonl"