Parent
#2 (ADR 0001)
What to build
Apply the same fix from #3 (Style C) to Style A's template. The go() function in assets/template.html has the identical lock=true;setTimeout(()=>lock=false,700); pattern, so the change is mechanical.
Code change
Add deckLockMs() helper just above go() (same snippet as #3). Replace setTimeout(()=>lock=false, 700) in go() with setTimeout(()=>lock=false, deckLockMs()).
Files
assets/template.html — go() function and add deckLockMs() helper
references/checklist.md — add a self-check item in the Style A section. Note: this file covers both Style A and Style B; place the new item where Style A rules are clustered (look for "## 🔴 P0" header and any Style A specific section). The exact location should be a new subsection; consult the file's existing organization.
Verification
Style A has no generated example in this repo, so the regression test is: build a tiny throwaway Style A deck (1 cover + 1 content page) following references/components.md and references/layouts.md, run agent-browser against it, and confirm the same behavior as #3's verification steps. The throwaway deck does not need to be committed.
Acceptance criteria
Blocked by
Parent
#2 (ADR 0001)
What to build
Apply the same fix from #3 (Style C) to Style A's template. The
go()function inassets/template.htmlhas the identicallock=true;setTimeout(()=>lock=false,700);pattern, so the change is mechanical.Code change
Add
deckLockMs()helper just abovego()(same snippet as #3). ReplacesetTimeout(()=>lock=false, 700)ingo()withsetTimeout(()=>lock=false, deckLockMs()).Files
assets/template.html— go() function and add deckLockMs() helperreferences/checklist.md— add a self-check item in the Style A section. Note: this file covers both Style A and Style B; place the new item where Style A rules are clustered (look for "## 🔴 P0" header and any Style A specific section). The exact location should be a new subsection; consult the file's existing organization.Verification
Style A has no generated example in this repo, so the regression test is: build a tiny throwaway Style A deck (1 cover + 1 content page) following
references/components.mdandreferences/layouts.md, run agent-browser against it, and confirm the same behavior as #3's verification steps. The throwaway deck does not need to be committed.Acceptance criteria
assets/template.htmlgo()usesdeckLockMs()instead of literal700assets/template.htmlno longer contains the literalsetTimeout(()=>lock=false,700)references/checklist.mdhas a new item covering this regression (Style A section)Blocked by