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
@@ -1731,7 +1731,7 @@ describe('Codex skill', () => {
|
||||
// Do NOT "restore" the boundary by putting a prompt argument back on a
|
||||
// scoped `codex review` call: that combination fails to parse, and
|
||||
// dropping the scope flag to make it parse silently reviews the wrong diff.
|
||||
const boundaryLine = /do not read or execute any files under ~\/\.claude\/, ~\/\.agents\/, \.claude\/skills\/, or agents\//i;
|
||||
const boundaryLine = /do not read or execute any files under ~\/\.claude\/, ~\/\.agents\/, \.claude\/skills\/, (or agents\/|\.agents\/, or any agents\/openai\.yaml\.)/i;
|
||||
for (const rel of ['codex/SKILL.md', 'review/SKILL.md', 'ship/SKILL.md']) {
|
||||
// ship's AND review's codex/adversarial boundary lines moved into sections/adversarial.md.
|
||||
const content = rel === 'ship/SKILL.md' ? readShipUnion()
|
||||
|
||||
Reference in new issue
Block a user