Repository navigation
docs(sdk): the project skills say how a field shows the look's invalid state - #691
Merged
Merged
Conversation
Owner
Author
|
GPT 6.1 Sol (xhigh) reviewed this. It found nothing high or medium. Its four low/nit findings:
Sol found no contradictions elsewhere in the project skills, no analogies to other products, and no test that pins the wording. |
…d state The tier 1 constraint told patches to keep validation with reportValidity(), which never sets aria-invalid, the attribute the company look styles invalid fields by. patchy-look now says the look styles aria-invalid="true" and disabled fields, that reportValidity() sets no aria-invalid, that a failing field gets aria-invalid="true" until its value changes, and that bare :invalid isn't the hook. The tier 1 line points there. Closes #621 Co-Authored-By: Claude Opus 5.5 <[email protected]>
allisonmahmood
force-pushed
the
fix/621-skills-aria-invalid
branch
from
October 15, 2026 20:05
d8d312c to
fb2dcbd
Compare
allisonmahmood
added a commit
that referenced
this pull request
Oct 16, 2026
…u when they fail (#720) Release 13's What's new entry, written from `c9b8fc4`, ahead of deploying it. `patchy` and `CURRENT_RELEASE` move to `0.13.0`, so CLIs and patch repos installed before this deploy are told to upgrade. | Change | PRs | | --- | --- | | New: Home puts the patches you use first | #713, #716, #719 | | New: Every patch in one list | #715 | | Improved: Each patch's page leads with Open | #717 | | New: See when your tools are failing | #718 | | Fixed: Everyone has a name | #687 | | Improved: Your company's look is easier to get right | #697, #696, #703, #688 | | Improved: Forms follow your look's error states | #691, #692 | | Improved: Clearer answers when a publish goes wrong | #686, #685, #689 | | Fixed: Your agent's Patchy commands are steadier | #695, #704, #680, #681 | | Behind the scenes: stricter checks on static pages and tools' database requests; malformed requests are logged | #682, #693, #683 | | Behind the scenes: usage numbers count every publish, sharing change and restore | #698, #699, #700, #690 | | Test and tooling only, no line | #705, #702, #701, #694, #684, #607 | Made by Claude Opus 5.5 in Claude Code, running in T3 Code. Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
The tier 1 constraints in
patchy-looptold patches to "keep validation withreportValidity()".reportValidity()never setsaria-invalid, and a company look styles invalid fields byaria-invalid="true". A patch that followed the skill never showed its company's invalid state.patchy-looknow says that the look styles invalid fields byaria-invalid="true"and disabled ones bydisabled, and thatreportValidity()sets noaria-invalid. It says a failing field getsaria-invalid="true"until its value changes, and that bare:invalidisn't the hook. The tier 1 line still hasreportValidity()check fields and points atpatchy-look. No code changed.What I verified
look.cssinlined. On an emptyrequiredinput,:invalidalready matches at load. Afterinput.reportValidity()orform.reportValidity()(both return false), and after a click on atype="button"in the form,aria-invalidis still absent and:user-invalidstill doesn't match. Settingaria-invalid="true"turns the border to--look-danger(rgb(180, 34, 15)), anddisabledgives a dashed muted border.:user-invalidmatched only after an edit and a blur.pnpm dev up brightline, thenpatchy refreshin the tier 1kudosrepo through the environment's CLI. I ran it once withmain's skill text inpackages/sdk/skillsand once with this branch's. The second refresh listedpatchy-lookandpatchy-loopas changed, and the repo's copies gained exactly the new lines. That repo'slook.css(the Patchy look) styles[aria-invalid="true"]and:disabledfields.SdkApi.test.ts(generation, and the packed-release tests),initProject.test.ts,skillLock.test.tsandcliRepoRecovery.test.tspass.cliRepoBuild.test.ts's company-look publish test timed out at 30s when run beside other suites, and passed in 18s on its own. An earlier full localpnpm verifygot through format, lint, typecheck and synth before a restart killed it; its test stage only timed out under load. CI is the gate.Surfaces
packages/sdk/skillson every request, so there's nothing to regenerate.SdkApi.test.tschecks the skills' presence, their markers and the injected look;skillLock.test.tscovers the global skill, which this PR doesn't touch.Closes #621
Made by Claude Opus 5.5 in Claude Code, running in T3 Code.