~cytrogen/gstack

ref: 25e971bc5e8fa566981ec851438b77e196b324de gstack/bin/gstack-review-log -rwxr-xr-x 411 bytes
25e971bc — Garry Tan feat: voice directive for all skills (v0.12.3.0) (#520) 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"