[{"data":1,"prerenderedAt":1193},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"wiki":116,"doc-\u002Finfrastructure\u002Fscripts\u002Freadme":429},{"value":4,"alert":5},"18%",false,[],[8,11,14,17,20],{"label":9,"to":10},"0041 The visitor view becomes its own app, and the portal reads only as a developer platform","\u002Fdecisions\u002F0041-personal-site-splits-from-developer-portal",{"label":12,"to":13},"0040 Visitors land on the front page and toggle to the developer view","\u002Fdecisions\u002F0040-developer-portal-visitor-structure",{"label":15,"to":16},"0039 The developer portal is redesigned for visitors, from a twelve-site benchmark","\u002Fdecisions\u002F0039-developer-portal-benchmark",{"label":18,"to":19},"0038 Marina Roustan's discovery","\u002Fdecisions\u002F0038-marina-roustan-discovery",{"label":21,"to":22},"0013 New linters: the robustness gap is tsconfig and enforcement, not plugins","\u002Fdecisions\u002F0013-linter-coverage",[24,29,60,83],{"labelKey":25,"icon":26,"to":27,"badge":28},"app.menu.allProjects","i-lucide-layers","\u002Fprojects","11",{"labelKey":30,"icon":31,"to":32,"badge":33,"children":34},"app.menu.kinds.apps","i-lucide-app-window","\u002Fprojects?kind=apps","5",[35,40,45,50,55],{"label":36,"icon":31,"to":37,"badge":38,"coverage":39},"developer-portal","\u002Fprojects\u002Fdeveloper-portal","94%",94.37,{"label":41,"icon":31,"to":42,"badge":43,"coverage":44},"huella-legal","\u002Fprojects\u002Fhuella-legal","97%",97.48,{"label":46,"icon":31,"to":47,"badge":48,"coverage":49},"marina-roustan","\u002Fprojects\u002Fmarina-roustan","100%",100,{"label":51,"icon":31,"to":52,"badge":53,"coverage":54},"portfolio","\u002Fprojects\u002Fportfolio","91%",91.31,{"label":56,"icon":31,"to":57,"badge":58,"coverage":59},"wp-editor","\u002Fprojects\u002Fwp-editor","50%",49.89,{"labelKey":61,"icon":62,"to":63,"badge":64,"children":65},"app.menu.kinds.packages","i-lucide-package","\u002Fprojects?kind=packages","4",[66,71,75,80],{"label":67,"icon":62,"to":68,"badge":69,"coverage":70},"configs","\u002Fprojects\u002Fconfigs","76%",75.7,{"label":72,"icon":62,"to":73,"badge":48,"coverage":74},"content","\u002Fprojects\u002Fcontent",99.58,{"label":76,"icon":62,"to":77,"badge":78,"coverage":79},"i18n","\u002Fprojects\u002Fi18n","99%",99.08,{"label":81,"icon":62,"to":82,"badge":48,"coverage":49},"observability","\u002Fprojects\u002Fobservability",{"labelKey":84,"icon":85,"to":86,"badge":87,"children":88},"app.menu.kinds.infrastructure","i-lucide-server","\u002Fprojects?kind=infrastructure","2",[89,94],{"label":90,"icon":85,"to":91,"badge":92,"coverage":93},"scripts","\u002Fprojects\u002Fscripts","79%",78.6,{"label":95,"icon":85,"to":96,"badge":97,"coverage":98},"translations","\u002Fprojects\u002Ftranslations","93%",93.33,[100,103,106,109,112],{"label":101,"to":102},"Huella Legal","\u002Fworkflows\u002Fhuella-legal",{"label":104,"to":105},"Marina Roustan","\u002Fworkflows\u002Fmarina-roustan",{"label":107,"to":108},"Developer portal front door","\u002Fworkflows\u002Fdeveloper-portal-front-door",{"label":110,"to":111},"Huella Legal editorial","\u002Fworkflows\u002Fhuella-legal-editorial",{"labelKey":113,"icon":114,"to":115},"app.menu.newProject","i-lucide-plus","\u002Fworkflows\u002Fnew",[117,134,210,255,291,352],{"id":118,"label":119,"icon":120,"blurb":121,"groups":122},"workspace","Workspace","i-lucide-home","The two files at the root, and the generated index of everything the repo can do.",[123],{"key":124,"label":125,"entries":126},"root","The root",[127,131],{"path":128,"label":129,"kind":130},"\u002Freadme","Joinery","readme",{"path":132,"label":133,"kind":130},"\u002Fsecurity","Security policy",{"id":135,"label":136,"icon":137,"blurb":138,"groups":139},"docs","Docs","i-lucide-library","Subjects no single project owns — the models, the procedures, the answered decisions.",[140,150,168,186,192,198,204],{"key":135,"label":141,"entries":142},"Start here",[143,147],{"path":144,"label":145,"kind":146},"\u002Fdocs\u002Freadme","Overview","doc",{"path":148,"label":149,"kind":146},"\u002Fdocs\u002Ffeatures","Features",{"key":151,"label":152,"entries":153},"concepts","Concepts",[154,156,159,162,165],{"path":155,"label":145,"kind":146},"\u002Fdocs\u002Fconcepts\u002Freadme",{"path":157,"label":158,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fversioning","How a version gets derived from a commit",{"path":160,"label":161,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fconventions","Naming and folder conventions",{"path":163,"label":164,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fagent-setup","The agent setup as one inspectable system",{"path":166,"label":167,"kind":146},"\u002Fdocs\u002Fconcepts\u002Fboundaries","Why the boundary system exists",{"key":169,"label":170,"entries":171},"guides","Guides",[172,174,177,180,183],{"path":173,"label":145,"kind":146},"\u002Fdocs\u002Fguides\u002Freadme",{"path":175,"label":176,"kind":146},"\u002Fdocs\u002Fguides\u002Fchange-lifecycle","A change, end to end",{"path":178,"label":179,"kind":146},"\u002Fdocs\u002Fguides\u002Fadding-a-locale","Adding a locale",{"path":181,"label":182,"kind":146},"\u002Fdocs\u002Fguides\u002Ffirst-hour","First hour in this repo",{"path":184,"label":185,"kind":146},"\u002Fdocs\u002Fguides\u002Frepo-secrets","Provisioning the repo secrets",{"key":187,"label":188,"entries":189},"decisions","Decisions",[190],{"path":191,"label":145,"kind":146},"\u002Fdocs\u002Fdecisions\u002Freadme",{"key":193,"label":194,"entries":195},"audits","Audits",[196],{"path":197,"label":145,"kind":146},"\u002Fdocs\u002Faudits\u002Freadme",{"key":199,"label":200,"entries":201},"workflows","Workflows",[202],{"path":203,"label":145,"kind":146},"\u002Fdocs\u002Fworkflows\u002Freadme",{"key":205,"label":206,"entries":207},"benchmarks","Benchmarks",[208],{"path":209,"label":145,"kind":146},"\u002Fdocs\u002Fbenchmarks\u002Freadme",{"id":211,"label":212,"icon":31,"blurb":213,"groups":214},"apps","Apps","Each app's own reference, colocated with its code so it changes in the same diff.",[215,220,233,240,245,250],{"key":36,"label":216,"entries":217},"Developer Portal",[218],{"path":219,"label":145,"kind":130},"\u002Fapps\u002Fdeveloper-portal\u002Freadme",{"key":41,"label":101,"entries":221},[222,224,227,230],{"path":223,"label":145,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Freadme",{"path":225,"label":226,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Fdesign","Huella Legal design",{"path":228,"label":229,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Flayers\u002Finterest\u002Freadme","layers\u002Finterest",{"path":231,"label":232,"kind":130},"\u002Fapps\u002Fhuella-legal\u002Flayers\u002Flegacy\u002Freadme","layers\u002Flegacy",{"key":46,"label":104,"entries":234},[235,237],{"path":236,"label":145,"kind":130},"\u002Fapps\u002Fmarina-roustan\u002Freadme",{"path":238,"label":239,"kind":130},"\u002Fapps\u002Fmarina-roustan\u002Fdesign","Marina Roustan design",{"key":51,"label":241,"entries":242},"Portfolio",[243],{"path":244,"label":145,"kind":130},"\u002Fapps\u002Fportfolio\u002Freadme",{"key":130,"label":246,"entries":247},"Readme",[248],{"path":249,"label":212,"kind":130},"\u002Fapps\u002Freadme",{"key":56,"label":251,"entries":252},"Wp Editor",[253],{"path":254,"label":145,"kind":130},"\u002Fapps\u002Fwp-editor\u002Freadme",{"id":256,"label":257,"icon":62,"blurb":258,"groups":259},"packages","Packages","Each package's own reference, colocated with its code so it changes in the same diff.",[260,268,276,282,287],{"key":67,"label":261,"entries":262},"Configs",[263,265],{"path":264,"label":145,"kind":130},"\u002Fpackages\u002Fconfigs\u002Freadme",{"path":266,"label":267,"kind":130},"\u002Fpackages\u002Fconfigs\u002Fsrc\u002Feslint\u002Flib\u002Freadme","eslint\u002Flib",{"key":72,"label":269,"entries":270},"Content",[271,273],{"path":272,"label":145,"kind":130},"\u002Fpackages\u002Fcontent\u002Freadme",{"path":274,"label":275,"kind":130},"\u002Fpackages\u002Fcontent\u002Fsrc\u002Fnuxt\u002Freadme","nuxt",{"key":76,"label":76,"entries":277},[278,280],{"path":279,"label":145,"kind":130},"\u002Fpackages\u002Fi18n\u002Freadme",{"path":281,"label":275,"kind":130},"\u002Fpackages\u002Fi18n\u002Fsrc\u002Fnuxt\u002Freadme",{"key":81,"label":283,"entries":284},"Observability",[285],{"path":286,"label":145,"kind":130},"\u002Fpackages\u002Fobservability\u002Freadme",{"key":130,"label":246,"entries":288},[289],{"path":290,"label":257,"kind":130},"\u002Fpackages\u002Freadme",{"id":292,"label":293,"icon":85,"blurb":294,"groups":295},"infrastructure","Infrastructure","Each service's own reference, colocated with its code so it changes in the same diff.",[296,300,347],{"key":130,"label":246,"entries":297},[298],{"path":299,"label":293,"kind":130},"\u002Finfrastructure\u002Freadme",{"key":90,"label":301,"entries":302},"Scripts",[303,305,308,311,314,317,320,323,326,329,332,335,338,341,344],{"path":304,"label":145,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Freadme",{"path":306,"label":307,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fbrand\u002Freadme","brand",{"path":309,"label":310,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fci-failures\u002Freadme","ci-failures",{"path":312,"label":313,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fcoverage-report\u002Freadme","coverage-report",{"path":315,"label":316,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdev\u002Freadme","dev",{"path":318,"label":319,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdrift\u002Freadme","drift",{"path":321,"label":322,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fenv-sync\u002Freadme","env-sync",{"path":324,"label":325,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Finvariants\u002Freadme","invariants",{"path":327,"label":328,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fissue\u002Freadme","issue",{"path":330,"label":331,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fmap\u002Freadme","map",{"path":333,"label":334,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fshared\u002Freadme","shared",{"path":336,"label":337,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fship\u002Freadme","ship",{"path":339,"label":340,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fusage\u002Freadme","usage",{"path":342,"label":343,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworkflow\u002Freadme","workflow",{"path":345,"label":346,"kind":130},"\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworktree\u002Freadme","worktree",{"key":95,"label":348,"entries":349},"Translations",[350],{"path":351,"label":145,"kind":130},"\u002Finfrastructure\u002Ftranslations\u002Freadme",{"id":353,"label":354,"icon":355,"blurb":356,"groups":357},"agents","Agent setup","i-lucide-bot","The skills and subagents an agent working in this repo loads.",[358,373],{"key":353,"label":359,"entries":360},"Subagents",[361,364,367,370],{"path":362,"label":363,"kind":130},"\u002F.claude\u002Fagents\u002Freview-architecture","Review Architecture",{"path":365,"label":366,"kind":130},"\u002F.claude\u002Fagents\u002Freview-correctness","Review Correctness",{"path":368,"label":369,"kind":130},"\u002F.claude\u002Fagents\u002Freview-tests","Review Tests",{"path":371,"label":372,"kind":130},"\u002F.claude\u002Fagents\u002Fticket-planner","Ticket Planner",{"key":374,"label":375,"entries":376},"skills","Skills",[377,381,384,387,390,393,396,399,402,405,408,411,414,417,420,423,426],{"path":378,"label":379,"kind":380},"\u002F.claude\u002Fskills\u002Fcontent-new-vendor\u002Fskill","Adding a content vendor","skill",{"path":382,"label":383,"kind":380},"\u002F.claude\u002Fskills\u002Fconfigs-new-rule\u002Fskill","Adding a lint rule",{"path":385,"label":386,"kind":380},"\u002F.claude\u002Fskills\u002Fscripts-new-script\u002Fskill","Adding a script",{"path":388,"label":389,"kind":380},"\u002F.claude\u002Fskills\u002Fi18n-new-vendor\u002Fskill","Adding a translations vendor",{"path":391,"label":392,"kind":380},"\u002F.claude\u002Fskills\u002Fnuxt-module-route\u002Fskill","Adding to a package's Nuxt module",{"path":394,"label":395,"kind":380},"\u002F.claude\u002Fskills\u002Fbenchmark\u002Fskill","Benchmarking a design",{"path":397,"label":398,"kind":380},"\u002F.claude\u002Fskills\u002Fwp-bulk-edit\u002Fskill","Bulk-editing WordPress through the editor",{"path":400,"label":401,"kind":380},"\u002F.claude\u002Fskills\u002Fdoc-drift-check\u002Fskill","Checking docs against code",{"path":403,"label":404,"kind":380},"\u002F.claude\u002Fskills\u002Fcomment-cleanup\u002Fskill","Comment cleanup",{"path":406,"label":407,"kind":380},"\u002F.claude\u002Fskills\u002Fgithub-issue\u002Fskill","Creating a GitHub issue",{"path":409,"label":410,"kind":380},"\u002F.claude\u002Fskills\u002Fproject-workflow\u002Fskill","Running a project through a workflow",{"path":412,"label":413,"kind":380},"\u002F.claude\u002Fskills\u002Fnew-package\u002Fskill","Scaffolding a workspace project",{"path":415,"label":416,"kind":380},"\u002F.claude\u002Fskills\u002Fstart-issue\u002Fskill","Starting work on a GitHub issue",{"path":418,"label":419,"kind":380},"\u002F.claude\u002Fskills\u002Fdecision-report\u002Fskill","Writing a decision report",{"path":421,"label":422,"kind":380},"\u002F.claude\u002Fskills\u002Faudit-report\u002Fskill","Writing an audit",{"path":424,"label":425,"kind":380},"\u002F.claude\u002Fskills\u002Fhouse-docs\u002Fskill","Writing docs here",{"path":427,"label":428,"kind":380},"\u002F.claude\u002Fskills\u002Fwriting-tests\u002Fskill","Writing specs here",{"id":430,"title":431,"body":432,"description":442,"extension":1187,"kind":1188,"meta":1189,"navigation":1033,"path":304,"seo":1190,"stem":1191,"url":1188,"verdict":1188,"__hash__":1192},"docs\u002Finfrastructure\u002Fscripts\u002FREADME.md","🤖 @joinery\u002Fscripts",{"type":433,"value":434,"toc":1180},"minimark",[435,439,443,446,454,459,462,472,787,791,802,832,836,867,881,898,901,908,955,1049,1112,1116,1176],[436,437,431],"h1",{"id":438},"joineryscripts",[440,441,442],"p",{},"The repo's CLI toolbox: dev startup, issue workflows, doc checks and repo gates. Nothing imports\nit; every script is run by hand, a hook or CI.",[440,444,445],{},"⚠️ This is a mostly vibe-coded app, with low human intervention. Why: it's purely a DX tool. I do not\nhave the resources to properly build and maintain this, so I went for the quick and easy shortcut.",[440,447,448,449,453],{},"One folder per script under ",[450,451,452],"code",{},"src\u002F",", each with its own README. This one covers what they share.",[455,456,458],"h2",{"id":457},"structure","Structure",[440,460,461],{},"Every script folder has the same four things:",[463,464,469],"pre",{"className":465,"code":467,"language":468},[466],"language-text","index.ts     the entry point. Hands its commands to run() and does nothing else\nmain.ts      the command — or one file per subcommand, named after it, the way issue\u002F has add + pick\nadapters\u002F    one file per boundary out: git.ts, gh.ts, nx.ts, files.ts, prompts.ts, io.ts\ndomain\u002F      pure functions and their types. No fs, no subprocess, no clack, no process\n","text",[450,470,467],{"__ignoreMap":471},"",[473,474,475,491],"table",{},[476,477,478],"thead",{},[479,480,481,485,488],"tr",{},[482,483,484],"th",{},"Script",[482,486,487],{},"Command",[482,489,490],{},"What it's for",[492,493,494,513,534,552,570,587,604,621,646,681,701,718,735,752,769],"tbody",{},[479,495,496,505,510],{},[497,498,499],"td",{},[500,501,503],"a",{"href":502},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdev\u002Freadme",[450,504,316],{},[497,506,507],{},[450,508,509],{},"pnpm dev",[497,511,512],{},"Picking which project to start, and installing the workspace first on a fresh clone",[479,514,515,523,528],{},[497,516,517],{},[500,518,520],{"href":519},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fissue\u002Freadme#pnpm-issueadd",[450,521,522],{},"issue add",[497,524,525],{},[450,526,527],{},"pnpm issue:add",[497,529,530,531],{},"Picking a project and label, then filing an issue with ",[450,532,533],{},"gh",[479,535,536,544,549],{},[497,537,538],{},[500,539,541],{"href":540},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fissue\u002Freadme#pnpm-issuepick",[450,542,543],{},"issue pick",[497,545,546],{},[450,547,548],{},"pnpm issue:pick",[497,550,551],{},"Picking an open issue off a project board, then branching off it and self-assigning",[479,553,554,562,567],{},[497,555,556],{},[500,557,559],{"href":558},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fissue\u002Freadme#pnpm-issuebrief",[450,560,561],{},"issue brief",[497,563,564],{},[450,565,566],{},"pnpm issue:brief",[497,568,569],{},"Printing an issue with its comments, blockers, decisions, projects and linked docs",[479,571,572,579,584],{},[497,573,574],{},[500,575,577],{"href":576},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fship\u002Freadme",[450,578,337],{},[497,580,581],{},[450,582,583],{},"pnpm issue:ship",[497,585,586],{},"Pushing the current branch, opening or reusing its PR, arming auto-merge, then blocking on checks",[479,588,589,596,601],{},[497,590,591],{},[500,592,594],{"href":593},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fci-failures\u002Freadme",[450,595,310],{},[497,597,598],{},[450,599,600],{},"pnpm ci:failures",[497,602,603],{},"Reporting a PR's failed checks, each Actions job cut to its error lines",[479,605,606,613,618],{},[497,607,608],{},[500,609,611],{"href":610},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworktree\u002Freadme",[450,612,346],{},[497,614,615],{},[450,616,617],{},"pnpm worktree:prepare",[497,619,620],{},"Copying env files into a linked worktree and installing it the way CI does",[479,622,623,630,635],{},[497,624,625],{},[500,626,628],{"href":627},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fenv-sync\u002Freadme",[450,629,322],{},[497,631,632],{},[450,633,634],{},"pnpm env:sync",[497,636,637,638,641,642,645],{},"Keeping each ",[450,639,640],{},".env"," in its ",[450,643,644],{},".env.example","'s order and comments, creating missing ones",[479,647,648,655,673],{},[497,649,650],{},[500,651,653],{"href":652},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fworkflow\u002Freadme",[450,654,343],{},[497,656,657,660,661,660,664,660,667,660,670],{},[450,658,659],{},"pnpm workflow:setup",", ",[450,662,663],{},"workflow:sync",[450,665,666],{},"workflow:next",[450,668,669],{},"workflow:file",[450,671,672],{},"workflow:drop",[497,674,675,676,680],{},"Managing a ",[500,677,679],{"href":678},"\u002Fwiki\u002Fdocs\u002Fworkflows\u002Freadme","workflow project",": set up, snapshot, list what's ready, file tickets, drop",[479,682,683,690,698],{},[497,684,685],{},[500,686,688],{"href":687},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fbrand\u002Freadme",[450,689,307],{},[497,691,692,660,695],{},[450,693,694],{},"pnpm brand:extract",[450,696,697],{},"brand:contrast",[497,699,700],{},"Reading a live site's brand, and checking a token file's contrast",[479,702,703,710,715],{},[497,704,705],{},[500,706,708],{"href":707},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fdrift\u002Freadme",[450,709,319],{},[497,711,712],{},[450,713,714],{},"pnpm docs:drift",[497,716,717],{},"Warning when a changed project's docs look stale, and offering to file it",[479,719,720,727,732],{},[497,721,722],{},[500,723,725],{"href":724},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fmap\u002Freadme",[450,726,331],{},[497,728,729],{},[450,730,731],{},"pnpm docs:map",[497,733,734],{},"Rendering the feature index, and asserting in CI that it's current",[479,736,737,744,749],{},[497,738,739],{},[500,740,742],{"href":741},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Finvariants\u002Freadme",[450,743,325],{},[497,745,746],{},[450,747,748],{},"pnpm invariants:check",[497,750,751],{},"The repo rules every author is held to, run by hooks and CI",[479,753,754,761,766],{},[497,755,756],{},[500,757,759],{"href":758},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fusage\u002Freadme",[450,760,340],{},[497,762,763],{},[450,764,765],{},"pnpm usage:flush",[497,767,768],{},"Moving the runs every script records into the committed log; the pre-commit hook runs it",[479,770,771,778,784],{},[497,772,773],{},[500,774,776],{"href":775},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fcoverage-report\u002Freadme",[450,777,313],{},[497,779,780,783],{},[450,781,782],{},"pnpm test:coverage"," (root)",[497,785,786],{},"Merging every project's coverage into one browsable HTML report",[455,788,790],{"id":789},"run-by-agents-not-only-by-people","Run by agents, not only by people",[440,792,793,794,797,798,801],{},"An agent's shell has no terminal, so ",[450,795,796],{},"isTTY"," is false and ",[450,799,800],{},"out"," prints plain lines. Two rules\nfollow for every script:",[803,804,805,827],"ul",{},[806,807,808,812,813,816,817,823,824,826],"li",{},[809,810,811],"strong",{},"A prompt never runs without a terminal."," Call ",[450,814,815],{},"requireTerminal(hint)"," from\n",[500,818,820],{"href":819},"repo:infrastructure\u002Fscripts\u002Fsrc\u002Fshared\u002Fadapters\u002Fio.ts",[450,821,822],{},"io.ts"," before the first one, with a hint naming the arguments\nthat make the prompt unnecessary. ",[450,825,548],{}," with no number fails that way at once; with a\nnumber it asks nothing.",[806,828,829],{},[809,830,831],{},"A command that reports a failure exits 1.",[455,833,835],{"id":834},"which-way-imports-go","Which way imports go",[440,837,838,849,850,854,855,858,859,862,863,866],{},[809,839,840,841,844,845,848],{},"index.ts → the command → ",[450,842,843],{},"adapters\u002F"," → ",[450,846,847],{},"domain\u002F","."," Never back up, and never sideways into another\nscript's folder. One scoped exception: a command may import another command ",[851,852,853],"em",{},"in the same folder",",\nwhich is what keeps ",[450,856,857],{},"add.ts"," calling ",[450,860,861],{},"pick.ts"," legal — the alternative puts that prompt in the\ndispatcher. ",[450,864,865],{},"shared\u002F"," is reachable from anywhere and reaches nothing.",[803,868,869,876],{},[806,870,871,872,875],{},"An adapter is named after the boundary it wraps, so ",[450,873,874],{},"git.ts"," in several folders isn't duplication.",[806,877,878,879,848],{},"Every side effect lives in ",[450,880,843],{},[440,882,883,889,890,892,893,897],{},[500,884,886],{"href":885},"repo:packages\u002Fconfigs\u002Fsrc\u002Feslint\u002Flib\u002FpureDomain.ts",[450,887,888],{},"eslint.pureDomain"," enforces the ",[450,891,847],{},"\nhalf; the rest is convention. ",[500,894,896],{"href":895},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0004-scripts-architecture","0004"," has the\nreasoning.",[455,899,386],{"id":900},"adding-a-script",[440,902,903,904,907],{},"The ",[450,905,906],{},"scripts-new-script"," skill has the steps. The rules:",[803,909,910,938],{},[806,911,912,913,915,916,660,919,660,922,660,924,926,927,930,931,933,934,937],{},"A folder under ",[450,914,452],{}," with ",[450,917,918],{},"index.ts",[450,920,921],{},"main.ts",[450,923,843],{},[450,925,847],{}," and a ",[450,928,929],{},"README.md",", a line\nin this package's ",[450,932,90],{}," (",[450,935,936],{},"pnpm --silent cli src\u002F\u003Cname>\u002Findex.ts",") and a row in the table above.",[806,939,940,941,943,944,950,951,954],{},"Every ",[450,942,918],{}," is the same five lines; only ",[500,945,947],{"href":946},"repo:infrastructure\u002Fscripts\u002Fsrc\u002Fdev\u002Findex.ts",[450,948,949],{},"dev\u002Findex.ts"," differs, since\nit runs before ",[450,952,953],{},"pnpm install",":",[463,956,960],{"className":957,"code":958,"language":959,"meta":471,"style":471},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","#!\u002Fusr\u002Fbin\u002Fenv node\nimport { run } from \"..\u002Fshared\u002Fcli.ts\";\nimport { main } from \".\u002Fmain.ts\";\n\nawait run(main);\n","ts",[450,961,962,971,1005,1028,1035],{"__ignoreMap":471},[963,964,967],"span",{"class":965,"line":966},"line",1,[963,968,970],{"class":969},"sHwdD","#!\u002Fusr\u002Fbin\u002Fenv node\n",[963,972,974,978,982,986,989,992,995,999,1002],{"class":965,"line":973},2,[963,975,977],{"class":976},"s7zQu","import",[963,979,981],{"class":980},"sMK4o"," {",[963,983,985],{"class":984},"sTEyZ"," run",[963,987,988],{"class":980}," }",[963,990,991],{"class":976}," from",[963,993,994],{"class":980}," \"",[963,996,998],{"class":997},"sfazB","..\u002Fshared\u002Fcli.ts",[963,1000,1001],{"class":980},"\"",[963,1003,1004],{"class":980},";\n",[963,1006,1008,1010,1012,1015,1017,1019,1021,1024,1026],{"class":965,"line":1007},3,[963,1009,977],{"class":976},[963,1011,981],{"class":980},[963,1013,1014],{"class":984}," main",[963,1016,988],{"class":980},[963,1018,991],{"class":976},[963,1020,994],{"class":980},[963,1022,1023],{"class":997},".\u002Fmain.ts",[963,1025,1001],{"class":980},[963,1027,1004],{"class":980},[963,1029,1031],{"class":965,"line":1030},4,[963,1032,1034],{"emptyLinePlaceholder":1033},true,"\n",[963,1036,1038,1041,1044,1047],{"class":965,"line":1037},5,[963,1039,1040],{"class":976},"await",[963,1042,985],{"class":1043},"s2Zo4",[963,1045,1046],{"class":984},"(main)",[963,1048,1004],{"class":980},[803,1050,1051,1068,1077,1088,1094],{},[806,1052,1053,1056,1057,1060,1061,1064,1065,848],{},[450,1054,1055],{},"run"," owns exit codes: ",[450,1058,1059],{},"CancelledError"," exits 0, ",[450,1062,1063],{},"ExpectedError"," prints its message and exits 1,\nanything else prints a stack. Never call ",[450,1066,1067],{},"process.exit",[806,1069,1070,1071,1076],{},"Code two scripts need moves to ",[500,1072,1074],{"href":1073},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fshared\u002Freadme",[450,1075,865],{},". Scripts never import each other.",[806,1078,1079,1080,1083,1084,1087],{},"Entries run on plain ",[450,1081,1082],{},"node"," with type stripping, so internal imports use the ",[450,1085,1086],{},".ts"," extension.",[806,1089,1090,1091,1093],{},"Real logic (parsers, diffs, formatting) goes in its own file with a spec; prompts and ",[450,1092,533],{}," calls\naren't unit-tested.",[806,1095,1096,1097,1100,1101,1104,1105,1111],{},"Don't name a folder ",[450,1098,1099],{},"coverage\u002F"," or ",[450,1102,1103],{},"types\u002F",": both are in ESLint's\n",[500,1106,1108],{"href":1107},"repo:packages\u002Fconfigs\u002Fsrc\u002Feslint\u002Flib\u002Fignores.ts",[450,1109,1110],{},"baseIgnores"," and would go unlinted.",[455,1113,1115],{"id":1114},"requirements","Requirements",[473,1117,1118,1127],{},[476,1119,1120],{},[479,1121,1122,1124],{},[482,1123,484],{},[482,1125,1126],{},"Needs",[492,1128,1129,1153,1166],{},[479,1130,1131,1148],{},[497,1132,1133,660,1136,660,1139,660,1142,660,1145],{},[450,1134,1135],{},"issue\u002F",[450,1137,1138],{},"ship\u002F",[450,1140,1141],{},"drift\u002F",[450,1143,1144],{},"workflow\u002F",[450,1146,1147],{},"ci-failures\u002F",[497,1149,1150,1152],{},[450,1151,533],{}," installed and logged in",[479,1154,1155,1159],{},[497,1156,1157],{},[450,1158,1138],{},[497,1160,1161,1162,1165],{},"The repo's ",[851,1163,1164],{},"Allow auto-merge"," setting on",[479,1167,1168,1173],{},[497,1169,1170],{},[450,1171,1172],{},"brand:extract",[497,1174,1175],{},"Playwright's Chromium and the network",[1177,1178,1179],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":471,"searchDepth":973,"depth":973,"links":1181},[1182,1183,1184,1185,1186],{"id":457,"depth":973,"text":458},{"id":789,"depth":973,"text":790},{"id":834,"depth":973,"text":835},{"id":900,"depth":973,"text":386},{"id":1114,"depth":973,"text":1115},"md",null,{},{"title":431,"description":442},"infrastructure\u002Fscripts\u002FREADME","GCNf3aCxb6ik5cSP2Ve7d-39r4twP_YFkbNPI_GawU4",1795478400210]