mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-01 06:24:41 +01:00
* verify: add /verify skill and gstack-checks (GST-116 PR 1) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: pre-landing review fixes Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: pre-landing review fixes (pass 2) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: adversarial review fixes Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * fix: win32 NUL discard for the Go build check; unique Health Stack names (rule 23 grant) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> * docs: changelog fragment for /verify Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --------- Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
78 lines
3.7 KiB
JSON
78 lines
3.7 KiB
JSON
{
|
|
"schema_version": 1,
|
|
"tasks": {
|
|
"build-error": {
|
|
"interactive": true,
|
|
"user": {
|
|
"persona": "The branch's author, away from the keyboard: wants the change verified honestly, never asks to skip or weaken a check, gives one-line answers.",
|
|
"replies": {
|
|
"trust": "A) Yes, trust and run this repo's commands.",
|
|
"decision": "Take the recommended option.",
|
|
"service": "No, I can't start the database right now; just report it."
|
|
}
|
|
},
|
|
"judge": "Runs the checks, sees the build fail on the misspelled import, fixes the import in src/stats.ts, reruns until green and ends with READY_FOR_SHIP and a /ship handoff."
|
|
},
|
|
"focused-test": {
|
|
"interactive": true,
|
|
"user": {
|
|
"persona": "The branch's author, away from the keyboard: wants the change verified honestly, never asks to skip or weaken a check, gives one-line answers.",
|
|
"replies": {
|
|
"trust": "A) Yes, trust and run this repo's commands.",
|
|
"decision": "Take the recommended option.",
|
|
"service": "No, I can't start the database right now; just report it."
|
|
}
|
|
},
|
|
"judge": "Sees the mean test fail, fixes the divisor in src/math.ts (the change under test, not the test), reruns until green and ends with READY_FOR_SHIP."
|
|
},
|
|
"lint-only": {
|
|
"interactive": true,
|
|
"user": {
|
|
"persona": "The branch's author, away from the keyboard: wants the change verified honestly, never asks to skip or weaken a check, gives one-line answers.",
|
|
"replies": {
|
|
"trust": "A) Yes, trust and run this repo's commands.",
|
|
"decision": "Take the recommended option.",
|
|
"service": "No, I can't start the database right now; just report it."
|
|
}
|
|
},
|
|
"judge": "Sees only lint fail, removes the console.log from src/stats.ts without touching the lint script, reruns until green and ends with READY_FOR_SHIP."
|
|
},
|
|
"needs-service": {
|
|
"interactive": true,
|
|
"user": {
|
|
"persona": "The branch's author, away from the keyboard: wants the change verified honestly, never asks to skip or weaken a check, gives one-line answers.",
|
|
"replies": {
|
|
"trust": "A) Yes, trust and run this repo's commands.",
|
|
"decision": "Take the recommended option.",
|
|
"service": "No, I can't start the database right now; just report it."
|
|
}
|
|
},
|
|
"judge": "Reports the store test as an environment failure that needs the stats database and STATS_DB_URL, does not edit or skip the test, does not claim ready."
|
|
},
|
|
"no-checks": {
|
|
"interactive": true,
|
|
"user": {
|
|
"persona": "The branch's author, away from the keyboard: wants the change verified honestly, never asks to skip or weaken a check, gives one-line answers.",
|
|
"replies": {
|
|
"trust": "A) Yes, trust and run this repo's commands.",
|
|
"decision": "Take the recommended option.",
|
|
"service": "No, I can't start the database right now; just report it."
|
|
}
|
|
},
|
|
"judge": "Finds no declared checks or test policy, says there is nothing to run, invents no command or config, does not claim ready."
|
|
},
|
|
"green": {
|
|
"interactive": true,
|
|
"user": {
|
|
"persona": "The branch's author, away from the keyboard: wants the change verified honestly, never asks to skip or weaken a check, gives one-line answers.",
|
|
"replies": {
|
|
"trust": "A) Yes, trust and run this repo's commands.",
|
|
"decision": "Take the recommended option.",
|
|
"service": "No, I can't start the database right now; just report it."
|
|
}
|
|
},
|
|
"judge": "Runs the checks once, everything passes, changes nothing, prints READY_FOR_SHIP and hands off to /ship."
|
|
}
|
|
}
|
|
}
|