mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-25 17:41:35 +01:00
Fix eight problems users reported in skill instructions (#4686)
Fixes eight user-reported problems in skill text agents follow: Aside asks you to open the app when it's closed, /test-audit finds your branch's test plan, and /codex reads your repo's own `agents/` folder. Goal: gstack skills do what their docs promise. Nothing to do as a user; it arrives with the next gstack update. Co-authored-by: thehashrocket <342353+thehashrocket@users.noreply.github.com> Co-authored-by: ElNeMeR70 <83190847+ElNeMeR70@users.noreply.github.com> Co-authored-by: szsunyuan <3579304+szsunyuan@users.noreply.github.com> Co-authored-by: atharva081106 <176514655+atharva081106@users.noreply.github.com> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/specialist-batched#1 reader=red-team Review-Finding: p2/outside-voice#1 reader=outside-voice Review-Finding: p2/outside-voice#3 reader=outside-voice
This commit is contained in:
53 files changed
+224
-114
No files matched your search
+2
-1
@@ -155,7 +155,8 @@ Some steps require action on a site the user controls: registering an API key, c
|
||||
125) echo "ASIDE_UNAVAILABLE: bounded probe unavailable" ;;
|
||||
0) if printf '%s\n' "$_o" | grep -q '^ASIDE_READY '; then echo "READY: $_A"
|
||||
else echo "ASIDE_NOT_RUNNING: no readiness marker"; fi ;;
|
||||
*) echo "ASIDE_CLI_ERROR: exit $_rc; inspect aside --help locally" ;;
|
||||
*) case "$_o" in *"isn't running"*) echo "ASIDE_NOT_RUNNING: app not running" ;;
|
||||
*) echo "ASIDE_CLI_ERROR: exit $_rc; inspect aside --help locally" ;; esac ;;
|
||||
esac
|
||||
unset _o
|
||||
fi
|
||||
|
||||
@@ -330,7 +330,10 @@ TITLE_FILE="$(git rev-parse --show-toplevel 2>/dev/null || pwd)/.gstack/tmp/<tit
|
||||
With open gate findings the same command carries `--draft` before `--title-file`.
|
||||
|
||||
Branch on the exit code of either block:
|
||||
- **0** posted. Remove `$PR_BODY_FILE` and the title file.
|
||||
- **0** posted. If `pr-body` printed `kept` sections, open each in the PR: keep one a person
|
||||
wrote. One an earlier /ship run wrote is stale: put the live body (it keeps the run history)
|
||||
minus those sections in `$PR_BODY_FILE`. Read the live body again: if it changed, stop and report;
|
||||
else rerun the body command with `--replace`. When unsure, keep it and name it in Step 22's report. Then remove `$PR_BODY_FILE` and the title file.
|
||||
- **4** nothing was posted, title and body checked in one pass. For each `PLAIN_TITLE:` line, rewrite the
|
||||
title file's front the way it says (Step 18 item 5); for each `PLAIN_BODY:` line, rewrite `$PR_BODY_FILE`
|
||||
the way it says (docs/troubleshooting.md#plain-body-refused). Then rerun the same block.
|
||||
|
||||
@@ -313,7 +313,10 @@ TITLE_FILE="$(git rev-parse --show-toplevel 2>/dev/null || pwd)/.gstack/tmp/<tit
|
||||
With open gate findings the same command carries `--draft` before `--title-file`.
|
||||
|
||||
Branch on the exit code of either block:
|
||||
- **0** posted. Remove `$PR_BODY_FILE` and the title file.
|
||||
- **0** posted. If `pr-body` printed `kept` sections, open each in the PR: keep one a person
|
||||
wrote. One an earlier /ship run wrote is stale: put the live body (it keeps the run history)
|
||||
minus those sections in `$PR_BODY_FILE`. Read the live body again: if it changed, stop and report;
|
||||
else rerun the body command with `--replace`. When unsure, keep it and name it in Step 22's report. Then remove `$PR_BODY_FILE` and the title file.
|
||||
- **4** nothing was posted, title and body checked in one pass. For each `PLAIN_TITLE:` line, rewrite the
|
||||
title file's front the way it says (Step 18 item 5); for each `PLAIN_BODY:` line, rewrite `$PR_BODY_FILE`
|
||||
the way it says (docs/troubleshooting.md#plain-body-refused). Then rerun the same block.
|
||||
|
||||
Reference in new issue
Block a user