feat: componentize GStack 2 runtime and release integrity

This commit is contained in:
Sinabina
2026-07-20 14:16:23 -07:00
parent b0ea2296d1
commit f14445bb00
270 changed files with 9681 additions and 51572 deletions
+3 -9
View File
@@ -1,21 +1,15 @@
<!-- GENERATED by scripts/gstack2/generate-skill-tree.ts; do not edit. -->
<!-- GSTACK2_PROVENANCE source=careful/SKILL.md.tmpl base=bb57306d98c97011b0919c6132705a15b1579781 blob=5c128a00e180bec4fad281486d3ca8c02dc67e7e baseline_render_sha256=e78a8aff9e6f53f497e4bdc1e15955df7d09333283a6133c9fb8bfacf98a692e ported_render_sha256=9c806d1102794aeab5c83990c72dcadc7bdad7134f3962da5609ab13bc7feb0f disposition=BUG_FIX -->
<!-- GSTACK2_PROVENANCE source=careful/SKILL.md.tmpl base=bb57306d98c97011b0919c6132705a15b1579781 blob=5c128a00e180bec4fad281486d3ca8c02dc67e7e baseline_render_sha256=e78a8aff9e6f53f497e4bdc1e15955df7d09333283a6133c9fb8bfacf98a692e ported_render_sha256=f5fe3aa0755e04ad328ed67a4e42c21d9f9b5509167a69d91158a59cce8111ea disposition=BUG_FIX -->
<!-- GSTACK2_ROUTING replacement=$debug --mode Diagnose-only --module careful visibility=internal depth=standard mutation=safety-policy web=none -->
<!-- GSTACK2_LEGACY_BODY_START source=careful -->
> **Safety Advisory:** This skill includes safety checks that check bash commands for destructive operations (rm -rf, DROP TABLE, force-push, git reset --hard, etc.) before execution. When using this skill, always pause and verify before executing potentially destructive operations. If uncertain about a command's safety, ask the user for confirmation before proceeding.
# /careful — Destructive Command Guardrails
# $debug --mode Diagnose-only --module careful — Destructive Command Guardrails
Safety mode is now **active**. Every bash command will be checked for destructive
patterns before running. If a destructive command is detected, you'll be warned
and can choose to proceed or cancel.
```bash
mkdir -p "${GSTACK_HOME:-$HOME/.gstack}"/analytics
echo '{"skill":"careful","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}' >> "${GSTACK_HOME:-$HOME/.gstack}"/analytics/skill-usage.jsonl 2>/dev/null || true
```
Canonical execution does not write engagement analytics or telemetry.
## What's protected