~cytrogen/gstack

ref: 7ff0f84b1e37a792ef6127a91f8ba3f83e1e3913 gstack/bin/gstack-review-log -rwxr-xr-x 409 bytes
7ff0f84b — Garry Tan feat: test coverage catalog — shared audit across plan/ship/review (v0.10.1.0) (#259) 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"