Repository navigation
v1.91.195.0 fix(skills): /health GBrain score in code, office-hours diff base, ios-qa demo rule, plan-design model name (#3347 #3350 #3351 #3352) - #3373
Merged
Conversation
… GPT-4o (#3350) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
garrytan
force-pushed
the
fix/skill-template-3350-3351-3352-3347
branch
2 times, most recently
from
October 24, 2026 20:22
482b833 to
fd337ea
Compare
…la can't disagree (#3351) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… skill's other rules (#3352) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…main with stderr hidden (#3347) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…Unreleased] Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
garrytan
force-pushed
the
fix/skill-template-3350-3351-3352-3347
branch
from
October 24, 2026 20:30
fd337ea to
535b8ee
Compare
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
12 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
#3351 /health: one GBrain rule, computed in code. The rubric row's 10/7/4 bands disagreed with the weighted formula (doctor ok, queue 50, pushed 2h: 7 vs 9.1) and overlapped. The row now points at the formula, and a


bun -esnippet computes it from numeric inputs (doctor 10/7/0, queue lines, hours since push), like the composite already was.#3347 /office-hours: context diff against origin/HEAD.
git diff origin/main --stat 2>/dev/nullexited 128 silently on a master-based clone, so the model read "no changes".origin/HEADis the remote's default branch, and errors now show.No
origin/HEADref.git clonesets it, and on git 2.48+ a plaingit fetchcreates it too. A repo made withgit initplusgit remote addwhere it was never set (older git, orremote.origin.followRemoteHEAD=never) fails loudly, exit 128, with the error in view instead of silenced:(reproduced on git 2.55.0 with


followRemoteHEAD=never). The model sees the failure and can pick the base itself; before, the same failure passed for "no diff".#3352 /ios-qa: demo mode no longer "overrides all other rules". Same UI-only rule, with its reason, and an explicit "all other rules in this skill still apply". The safety-rule registry row for this rule (

test/helpers/safety-rules.ts) moves its anchor to/drive every action through visible UI/iand its hash to the new paragraph in the same commit, as the registry requires.#3350 /plan-design-review: "OpenAI vision", not "GPT-4o vision". The design binary defaults to gpt-5.5 (

design/src/models.ts) and can't use gpt-4o with gpt-image-2.Why
dgrant filed four issues where a skill prompt contradicted itself or its code. The model followed whichever rule it read, so /health's score and trend moved with no change in the readings, /office-hours misread master-based repos, /ios-qa's demo mode read as permission to skip the lock and no-replay rules, and /plan-design-review reported the wrong model.
One deviation from the triage plan (#3347). The suggested
{{BASE_BRANCH_DETECT}}block adds 1,727 chars to office-hours. That's over the exact size-guard pins on codex, copilot, factory and opencode and over the parity suite's 95,900-byte skeleton cap (it would land at 96,730). Raising either is an owner call.origin/HEADfixes the reported failure in a same-length line, so office-hours stays at exactly its pinned size on every host. The #3350 swap is also the same length for the same reason.Approvals
| 2026-10-24 | Edit
test/helpers/safety-rules.ts(out of the assigned scope) | GStack Minder: "Do it. Change the one test/helpers/safety-rules.ts row as you described, fold it into the #3352 commit" | the ios-qa-demo-override anchor and hash | — || 2026-10-24 | One PR for all four; same-length origin/HEAD for #3347 | GStack Minder: "Both of your calls stand" | this PR | — |
Gate edit, weakening verdict: not weaker. The registry row for
safety-ios-demo-ui-onlyanchors on the reworded paragraph, which still requires visible UI overPOST /state/*writes. Negative controls: the registry's unique-anchor and rule-removed-arm test, and the paid case's rule-removed arm, which deletes the same paragraph. No threshold, budget, timeout, trial count or case kind changed.Evidence
Head
535b8ee66da81a6a444ae5a1127157578a718998.gen:skill-docs --dry-runis fresh for claude and codex, and the test-code typecheck ratchet reports none new.PREGATE_REMOTE: tree=be80bb6e tests=16553 failed=0, $0.05 on Ubicloud.test/qa-health-rubric.test.tstests fail on the old template (3 pass, 4 fail) and pass on the new one (7 pass).health-reporting, run at this head: $0.33 at fef0900 and again at 535b8ee.safety-ios-demo-ui-only, run at fd337ea: $0.10. Its inputs (ios-qa and test/helpers/safety-rules.ts) are unchanged since, so this is reused evidence.plan-design-review-no-ui-scope($0.10),office-hours-auto-mode(its PTY cost isn't recorded) and theplan-design-review/SKILL.md passesjudge ($0.06), run at fef0900. Their inputs are unchanged since, so this is reused evidence.<status>placeholder in the /health snippet. Both are fixed in their item's commit, and the snippet now takes only<N|null>inputs.Closes #3347
Closes #3350
Closes #3351
Closes #3352