MongLong0214/frontier-simplify / skills/frontier-simplify-review
frontier-simplify-review
UnverifiedReview a change for concrete defects, check them with a refuter and a reproducer, then check repairs and their regressions against the preserved review. Use for substantial PR reviews or repeated review rounds. Stops automatic review after at most three attempts per PR and names the calling agent's next action; does not guarantee safe merge convergence.
scripts/review-seal.sh
View on GitHub#!/bin/sh
set -eu
usage() {
echo "usage:" >&2
echo " review-seal.sh seal INVENTORY BASE_SHA ROUND1_HEAD_SHA" >&2
echo " review-seal.sh verify INVENTORY EXPECTED_SHA256 ROUND1_HEAD_SHA [ROUND2_HEAD_SHA]" >&2
exit 2
}
sha256_file() {
if command -v sha256sum >/dev/null 2>&1; then
sha256sum "$1" | awk '{print $1}'
elif command -v shasum >/dev/null 2>&1; then
shasum -a 256 "$1" | awk '{print $1}'
elif command -v openssl >/dev/null 2>&1; then
openssl dgst -sha256 "$1" | awk '{print $NF}'
else
echo "no SHA-256 implementation found" >&2
exit 2
fi
}
case "${1-}" in
seal)
[ "$#" -eq 4 ] || usage
inventory=$2
base=$(git rev-parse "$3^{commit}")
round1=$(git rev-parse "$4^{commit}")
checkout=$(git rev-parse HEAD)
[ -f "$inventory" ] || {
echo "inventory not found: $inventory" >&2
exit 1
}
[ "$checkout" = "$round1" ] || {
echo "checkout is not ROUND1_HEAD_SHA" >&2
exit 1
}
git merge-base --is-ancestor "$base" "$round1" || {
echo "BASE_SHA is not an ancestor of ROUND1_HEAD_SHA" >&2
exit 1
}
echo "review_protocol=frontier-simplify-review-v1"
echo "inventory_sha256=$(sha256_file "$inventory")"
echo "base_sha=$base"
echo "round1_head_sha=$round1"
;;
verify)
[ "$#" -eq 4 ] || [ "$#" -eq 5 ] || usage
inventory=$2
expected=$3
round1=$(git rev-parse "$4^{commit}")
round2=$(git rev-parse "${5:-HEAD}^{commit}")
checkout=$(git rev-parse HEAD)
[ -f "$inventory" ] || {
echo "inventory not found: $inventory" >&2
exit 1
}
[ "$(sha256_file "$inventory")" = "$expected" ] || {
echo "inventory digest mismatch" >&2
exit 1
}
[ "$checkout" = "$round2" ] || {
echo "checkout is not ROUND2_HEAD_SHA" >&2
exit 1
}
git merge-base --is-ancestor "$round1" "$round2" || {
echo "ROUND1_HEAD_SHA is not an ancestor of ROUND2_HEAD_SHA" >&2
exit 1
}
echo "inventory_integrity=VERIFIED"
echo "inventory_sha256=$expected"
echo "round1_head_sha=$round1"
echo "round2_head_sha=$round2"
;;
*)
usage
;;
esac
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |