[{"data":1,"prerenderedAt":1411},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"wiki":116,"doc-\u002Fdocs\u002Faudits\u002F2026-10-21-monorepo":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":1393,"extension":1401,"kind":1402,"meta":1403,"navigation":1406,"path":1407,"seo":1408,"stem":1409,"url":1402,"verdict":1402,"__hash__":1410},"docs\u002Fdocs\u002Faudits\u002F2026-10-21-monorepo.md","🔎 Architecture follow-ups across the workspace",{"type":433,"value":434,"toc":1392},"minimark",[435,439,444,461,487,490,564,568,651,655,913,917,1352,1356],[436,437,431],"h1",{"id":438},"architecture-follow-ups-across-the-workspace",[440,441,443],"h2",{"id":442},"context","Context",[445,446,447,448,452,453,456,457,460],"p",{},"This audit holds what was left over from a macro architecture review of the whole workspace on\n2026-10-21, after the owner's answers removed what was intended. It is not a full read of one\nproject. Every file it cites was read, and so was each project's ",[449,450,451],"code",{},"package.json",", README and\n",[449,454,455],{},"AGENTS.md",", along with the workflows, the hooks and ",[449,458,459],{},"nx.json",".",[445,462,463,467,468,471,472,475,476,479,480,483,484,460],{},[464,465,466],"strong",{},"Confirmed"," means checked against the cited files, and for a missing gate, a grep showing that\nnothing in ",[449,469,470],{},".husky\u002F",", ",[449,473,474],{},".github\u002F"," or ",[449,477,478],{},"infrastructure\u002Fscripts\u002F"," runs it. ",[464,481,482],{},"Likely"," means reasoned\nabout a host or a run that wasn't exercised. Line numbers are as of ",[449,485,486],{},"commit",[445,488,489],{},"Several things are deliberately left out:",[491,492,493,500,503,506,509,520],"ul",{},[494,495,496,499],"li",{},[449,497,498],{},"packages\u002Fui",", which is intended boilerplate.",[494,501,502],{},"The design lab.",[494,504,505],{},"The Google Cloud move, which is decided and pending.",[494,507,508],{},"The release flow, which is intended.",[494,510,511,512,515,516,519],{},"The boundary model's ",[449,513,514],{},"scope:*"," and ",[449,517,518],{},"type:integration"," rework, already under way.",[494,521,522,523],{},"Work tracked elsewhere:\n",[491,524,525,538,546,554],{},[494,526,527,534,535,460],{},[528,529,533],"a",{"href":530,"rel":531},"https:\u002F\u002Fgithub.com\u002Fxfontr\u002Fjoinery\u002Fissues\u002F280",[532],"nofollow","#280"," covers ",[449,536,537],{},"@joinery\u002Fobservability",[494,539,540,545],{},[528,541,544],{"href":542,"rel":543},"https:\u002F\u002Fgithub.com\u002Fxfontr\u002Fjoinery\u002Fissues\u002F281",[532],"#281"," covers docs drift.",[494,547,548,553],{},[528,549,552],{"href":550,"rel":551},"https:\u002F\u002Fgithub.com\u002Fxfontr\u002Fjoinery\u002Fissues\u002F282",[532],"#282"," covers naming and folder conventions.",[494,555,556,557,534,561,460],{},"The ",[528,558,560],{"href":559},"\u002Fwiki\u002Fdocs\u002Faudits\u002F2026-10-09-content","content audit",[449,562,563],{},"@joinery\u002Fcontent",[440,565,567],{"id":566},"bugs","Bugs",[569,570,571,593],"table",{},[572,573,574],"thead",{},[575,576,577,581,584,587,590],"tr",{},[578,579,580],"th",{},"ID",[578,582,583],{},"Where",[578,585,586],{},"What goes wrong",[578,588,589],{},"Fix",[578,591,592],{},"Status",[594,595,596],"tbody",{},[575,597,598,602,611,639,644],{},[599,600,601],"td",{},"B1",[599,603,604,607,608],{},[449,605,606],{},"apps\u002Fhuella-legal\u002Fmodules\u002FrequiredEnv.ts:21",", the module's ",[449,609,610],{},"setup",[599,612,613,616,617,620,621,625,626,629,630,633,634,638],{},[464,614,615],{},"Likely."," The gate throws only when ",[449,618,619],{},"process.env.CONTEXT === \"production\"",", a variable only Netlify sets. On the host ",[528,622,624],{"href":623},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0030-huella-legal-rendering-hosting-and-cost","0030"," decided on (Cloud Run, ",[449,627,628],{},"node-server","), ",[449,631,632],{},"CONTEXT"," is unset, so a production build with every required variable missing passes without a word, and the first sign is a page failing at runtime. The check also reads the ",[635,636,637],"em",{},"build"," environment, while the app's README says every variable is read at startup so one artifact runs anywhere; on a container host those are two different environments",[599,640,641,642],{},"Check the same lists in a Nitro startup plugin, so the runtime environment is what gets checked on any host, and key the build-time failure to a flag the deploy sets rather than to ",[449,643,632],{},[599,645,646,647,650],{},"wont-fix — the gate now keys on ",[449,648,649],{},"NUXT_SITE_ENV",", which the deploy sets on any host, and a build-time check is enough on a host that shares build and runtime settings; whether the next host does is tracked in #244",[440,652,654],{"id":653},"duplication","Duplication",[569,656,657,671],{},[572,658,659],{},[575,660,661,663,666,669],{},[578,662,580],{},[578,664,665],{},"Copies",[578,667,668],{},"Consolidate into",[578,670,592],{},[594,672,673,713,820,860],{},[575,674,675,678,695,702],{},[599,676,677],{},"D1",[599,679,680,681,684,685,688,689,691,692,694],{},"The repo invariants, three times: ",[449,682,683],{},".claude\u002Fhooks\u002Fcheck-invariants.sh"," (blocking, Claude only), ",[449,686,687],{},"apps\u002Fdeveloper-portal\u002Ftools\u002Flib\u002Finvariants.ts"," (advisory; its header says it is \"Duplicated from ",[449,690,683],{},"\"), and the prose rules in the root ",[449,693,455],{}," under \"Things that look reasonable and are wrong here\"",[599,696,697,698,701],{},"One check under ",[449,699,700],{},"infrastructure\u002Fscripts"," (Q1). The hook shells out to it, and the portal reports its result",[599,703,704,705,708,709,712],{},"fixed #405: ",[449,706,707],{},"pnpm invariants:check"," holds the bans; the hook runs it and the portal reports its ",[449,710,711],{},"--json"," findings",[575,714,715,718,807,817],{},[599,716,717],{},"D2",[599,719,720,515,722,724,725,728,729,471,732,735,736,739,740,743,744,515,747,728,750,471,753,629,756,759,760,763,764,767,768,471,771,774,775,778,779,782,783,515,785,782,788,790,791,794,795,798,799,801,802,782,805],{},[449,721,72],{},[449,723,76],{}," repeat ",[449,726,727],{},"toWordChars"," (",[449,730,731],{},"packages\u002Fcontent\u002Fsrc\u002Fcore\u002FcontentKey.ts:5",[449,733,734],{},"packages\u002Fi18n\u002Fsrc\u002Fcore\u002FtranslationsKey.ts:5",") and ",[449,737,738],{},"rethrowAsUpstreamError"," (both ",[449,741,742],{},"src\u002Fcore\u002Fadapters\u002Fclients\u002FOfetchHttpClient.ts:5","). They also repeat ",[449,745,746],{},"rethrowAsHttpError",[449,748,749],{},"throwUnavailableError",[449,751,752],{},"packages\u002Fcontent\u002Fsrc\u002Fnuxt\u002Fruntime\u002Fserver\u002Futils\u002FuseContent.ts:37,51",[449,754,755],{},"packages\u002Fi18n\u002Fsrc\u002Fnuxt\u002Fruntime\u002Fserver\u002Ftranslations.get.ts:45,51",[449,757,758],{},"registry.ts",", the vendor errors with ",[449,761,762],{},"assertConfigured",", and the ",[449,765,766],{},"baseURL"," check (",[449,769,770],{},"WordpressProvider.ts:17",[449,772,773],{},"TranslationProvider.ts:31","). Around the copies the contracts disagree: ",[449,776,777],{},"HttpClient.get"," returns ",[449,780,781],{},"{ data, headers }"," in ",[449,784,72],{},[449,786,787],{},"T",[449,789,76],{},", and an upstream ",[449,792,793],{},"400","\u002F",[449,796,797],{},"404"," passes through in ",[449,800,72],{}," but is always a ",[449,803,804],{},"502",[449,806,76],{},[599,808,809,810,813,814,816],{},"First align the two contracts in place. Then extract a small vendor kit as a leaf both may depend on: the generic errors, the ",[449,811,812],{},"HttpClient"," port and ofetch adapter, a registry factory, ",[449,815,762],{},", the h3 error mapping and the key helper. Each package keeps its own domain errors. The kit needs its own tag row",[599,818,819],{},"wont-fix — the contracts were aligned in #283, and the shared kit waits for a third vendor package, per the deferred tables in the content and i18n READMEs",[575,821,822,825,849,855],{},[599,823,824],{},"D3",[599,826,827,828,831,832,831,835,838,839,842,843,515,846],{},"The checkout → ",[449,829,830],{},"pnpm\u002Faction-setup"," → ",[449,833,834],{},"actions\u002Fsetup-node",[449,836,837],{},"pnpm install --frozen-lockfile --ignore-scripts"," sequence in ",[449,840,841],{},".github\u002Fworkflows\u002Fci.yml"," (two jobs), ",[449,844,845],{},"developer-portal-deploy.yml",[449,847,848],{},"release.yml",[599,850,851,852],{},"One composite action under ",[449,853,854],{},".github\u002Factions\u002F",[599,856,704,857],{},[449,858,859],{},".github\u002Factions\u002Finstall",[575,861,862,865,899,906],{},[599,863,864],{},"D4",[599,866,867,868,870,871,471,873,876,877,471,880,471,883,471,886,471,889,471,892,895,896],{},"Ten root ",[449,869,451],{}," scripts (",[449,872,316],{},[449,874,875],{},"test:coverage",", the three ",[449,878,879],{},"issue:*",[449,881,882],{},"agents:sync",[449,884,885],{},"docs:drift",[449,887,888],{},"docs:map",[449,890,891],{},"package:check",[449,893,894],{},"review:version",") each spell out ",[449,897,898],{},"pnpm --dir infrastructure\u002Fscripts exec node --disable-warning=ExperimentalWarning src\u002F\u003Cname>\u002Findex.ts",[599,900,901,902,905],{},"One entry point in ",[449,903,904],{},"@joinery\u002Fscripts"," that the root scripts call by name, so the Node flags live in one place",[599,907,908,909,912],{},"fixed #405: the scripts package's ",[449,910,911],{},"cli"," script holds the Node flags",[440,914,916],{"id":915},"quality","Quality",[569,918,919,934],{},[572,920,921],{},[575,922,923,925,927,930,932],{},[578,924,580],{},[578,926,583],{},[578,928,929],{},"Issue",[578,931,589],{},[578,933,592],{},[594,935,936,1008,1043,1109,1159,1212,1255,1295,1329],{},[575,937,938,941,950,982,999],{},[599,939,940],{},"Q1",[599,942,943,471,945,471,948],{},[449,944,683],{},[449,946,947],{},".husky\u002Fpre-commit",[449,949,841],{},[599,951,952,955,956,959,960,962,963,965,966,969,970,973,974,977,978,981],{},[464,953,954],{},"Confirmed."," Only the Claude ",[449,957,958],{},"PostToolUse"," hook enforces the code bans in the root ",[449,961,455],{},": no lifecycle script, no ",[449,964,637],{}," script in ",[449,967,968],{},"packages\u002F*",", no hand-edited ",[449,971,972],{},"version",", no real URL. No Git hook or CI job checks them. A Codex or human edit that adds a ",[449,975,976],{},"postinstall"," passes every gate, and it works locally while doing nothing in CI, which is the failure the ban exists to prevent. ",[449,979,980],{},"docs\u002Fconcepts\u002Fagent-setup.md"," says these checks also run in scripts and CI",[599,983,984,985,987,988,515,991,994,995],{},"Port the bans into an ",[449,986,700],{}," check, run it in ",[449,989,990],{},"pre-commit",[449,992,993],{},"ci.yml",", and have the hook call it. Docs checks stay advisory, per ",[528,996,998],{"href":997},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0025-check-docs-removal","0025",[599,1000,704,1001,1003,1004,515,1006],{},[449,1002,707],{}," runs in the Claude hook, ",[449,1005,990],{},[449,1007,993],{},[575,1009,1010,1013,1022,1031,1038],{},[599,1011,1012],{},"Q2",[599,1014,1015,1018,1019,1021],{},[449,1016,1017],{},"infrastructure\u002Fscripts\u002Fsrc\u002Fpackage-contracts",", the root ",[449,1020,891],{}," script",[599,1023,1024,1026,1027,1030],{},[464,1025,954],{}," ",[449,1028,1029],{},"pnpm package:check"," validates every manifest's name, version, module type, exports and peers. No hook, CI job or Nx target runs it, so it only catches what someone remembers to run it for",[599,1032,1033,1034,515,1036],{},"Run it beside Q1's check in ",[449,1035,990],{},[449,1037,993],{},[599,1039,1040,1041],{},"fixed #405: the package contracts are part of ",[449,1042,707],{},[575,1044,1045,1048,1077,1090,1102],{},[599,1046,1047],{},"Q3",[599,1049,1050,728,1053,471,1056,471,1059,471,1062,629,1065,471,1068,471,1071,471,1074],{},[449,1051,1052],{},"packages\u002Fconfigs\u002Fsrc\u002Feslint\u002Flib\u002F",[449,1054,1055],{},"boundaries.ts",[449,1057,1058],{},"coreIsolation.ts",[449,1060,1061],{},"layerIsolation.ts",[449,1063,1064],{},"templateCalls.ts",[449,1066,1067],{},"src\u002Fvitest\u002Fsetup\u002FprepareNuxt.mjs",[449,1069,1070],{},"src\u002Fvitest\u002Fsetup\u002FconsoleGuard.ts",[449,1072,1073],{},"src\u002Fplaywright\u002Fserver.ts",[449,1075,1076],{},"src\u002Fplaywright\u002Fteardown.ts",[599,1078,1079,1081,1082,1085,1086,1089],{},[464,1080,954],{}," Every other project's lint, test and e2e gates come from this package, and it has no spec at all. A regression in the boundary table, the custom ",[449,1083,1084],{},"templateCalls"," rule or ",[449,1087,1088],{},"prepareNuxt"," weakens every project silently: lint and tests still pass, they just check less",[599,1091,1092,1093,1096,1097,782,1100],{},"Add ",[449,1094,1095],{},"RuleTester"," specs for the custom rules, and a fixture spec proving the boundary config rejects a forbidden edge. Add unit specs for the setup and Playwright helpers, which needs a ",[449,1098,1099],{},"vitest.config.ts",[449,1101,67],{},[599,1103,1104,1105,1108],{},"fixed #231\u002F#232: rule and factory specs, and #405 adds ",[449,1106,1107],{},"boundaries.spec.ts"," rejecting a forbidden edge",[575,1110,1111,1114,1124,1137,1153],{},[599,1112,1113],{},"Q4",[599,1115,1116,471,1119,1123],{},[449,1117,1118],{},"infrastructure\u002Fscripts\u002Feslint.config.ts",[528,1120,1122],{"href":1121},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0004-scripts-architecture","0004"," lines 111–116",[599,1125,1126,1128,1129,1132,1133,1136],{},[464,1127,954],{}," 0004 names an import-direction rule for ",[449,1130,1131],{},"**\u002Fdomain\u002F**"," (no ",[449,1134,1135],{},"fs",", no subprocess, no prompts) as its follow-up. It never landed, and the package's ESLint config is the plain node preset. All nine script folders keep to the layout today, by convention only",[599,1138,1139,1140,1143,1144,1146,1147,1149,1150,1152],{},"Add a ",[449,1141,1142],{},"no-restricted-imports"," block for ",[449,1145,1131],{}," to ",[449,1148,67],{},", shaped like ",[449,1151,1061],{},", and apply it in the scripts config",[599,1154,704,1155,1158],{},[449,1156,1157],{},"eslint.pureDomain",", appended by the scripts config",[575,1160,1161,1164,1172,1203,1209],{},[599,1162,1163],{},"Q5",[599,1165,1166,471,1169],{},[449,1167,1168],{},"packages\u002Fconfigs\u002Fsrc\u002Feslint\u002Flib\u002Fignores.ts:1",[449,1170,1171],{},"baseIgnores",[599,1173,1174,1026,1176,1179,1180,471,1183,471,1185,475,1188,1191,1192,1194,1195,1198,1199,1202],{},[464,1175,954],{},[449,1177,1178],{},"\"*.config.ts\""," is in the base ignore list, so no project's ",[449,1181,1182],{},"nuxt.config.ts",[449,1184,1099],{},[449,1186,1187],{},"eslint.config.ts",[449,1189,1190],{},"playwright.config.ts"," is ever linted or formatted. Some carry real logic: huella-legal's ",[449,1193,1182],{}," holds inline modules and ",[449,1196,1197],{},"pages:extend"," hooks. The entry came in with ",[449,1200,1201],{},"da93fcf"," (\"fix: Eslint configs\") and no stated reason",[599,1204,1205,1206],{},"Lint them with a block that isn't type-checked, or write the reason for excluding them into ",[449,1207,1208],{},"ignores.ts",[599,1210,1211],{},"fixed #405: root config files are linted with the type-aware rules off",[575,1213,1214,1217,1233,1245,1248],{},[599,1215,1216],{},"Q6",[599,1218,1219,471,1222,515,1225,1228,1229,1232],{},[449,1220,1221],{},"apps\u002Fhuella-legal\u002Fnuxt.config.ts:38-44",[449,1223,1224],{},":89",[449,1226,1227],{},":101-102",", the ",[449,1230,1231],{},"requiredEnv"," blocks",[599,1234,1235,1237,1238,471,1241,1244],{},[464,1236,954],{}," The app lists the packages' own runtime keys (",[449,1239,1240],{},"NUXT_CONTENT_VENDOR_BASE_URL",[449,1242,1243],{},"NUXT_TRANSLATIONS_VENDOR_*","). Which keys a vendor needs is package knowledge. Every new app copies the list, and a key renamed inside a package leaves each app checking the old name",[599,1246,1247],{},"Have each package's Nuxt module declare and check the keys its configured vendor needs, so the app lists only its own. Do it together with B1",[599,1249,1250,1251,1254],{},"fixed #252: dropping ",[449,1252,1253],{},"@joinery\u002Fi18n"," and hardcoding the WordPress root left the app no package keys to list",[575,1256,1257,1260,1265,1289,1292],{},[599,1258,1259],{},"Q7",[599,1261,1262],{},[449,1263,1264],{},".github\u002Fworkflows\u002Fdeveloper-portal-deploy.yml:44",[599,1266,1267,1269,1270,1273,1274,1277,1278,1281,1282,1284,1285,1288],{},[464,1268,615],{}," Every push to ",[449,1271,1272],{},"master"," runs the whole-workspace ",[449,1275,1276],{},"pnpm test:coverage",", with no ",[449,1279,1280],{},"paths"," filter, right after ",[449,1283,993],{}," has tested the affected projects of the same commit. The workflow passes no ",[449,1286,1287],{},"NX_CLOUD_ACCESS_TOKEN",", so unless the remote cache answers anyway, a docs-only merge re-runs every suite in the repo",[599,1290,1291],{},"Pass the cache token, or path-filter the workflow to what the portal renders",[599,1293,1294],{},"fixed daac93e (#330)",[575,1296,1297,1300,1308,1320,1326],{},[599,1298,1299],{},"Q8",[599,1301,1302,471,1305],{},[449,1303,1304],{},"renovate.json",[449,1306,1307],{},".github\u002Fdependabot.yml",[599,1309,1310,1312,1313,1316,1317,1319],{},[464,1311,954],{}," Both dependency bots are configured. Renovate has authored no commit in the history; Dependabot has authored 18, and ",[449,1314,1315],{},"dependabot-auto-merge.yml"," is built around it. ",[449,1318,1304],{}," reads as active config, and it isn't",[599,1321,1322,1323,1325],{},"Delete ",[449,1324,1304],{},", or retire Dependabot if Renovate is the intent",[599,1327,1328],{},"fixed",[575,1330,1331,1334,1342,1347,1350],{},[599,1332,1333],{},"Q9",[599,1335,1336,471,1339],{},[449,1337,1338],{},"apps\u002Fhuella-legal\u002Fpackage.json:52",[449,1340,1341],{},"idb",[599,1343,1344,1346],{},[464,1345,954],{}," It is declared as a dependency, and nothing in the app imports it",[599,1348,1349],{},"Remove it",[599,1351,1328],{},[440,1353,1355],{"id":1354},"order","Order",[1357,1358,1359,1368,1374,1380,1386],"ol",{},[494,1360,1361,1364,1365,1367],{},[464,1362,1363],{},"Q1, Q2 and D1 together."," One gate in ",[449,1366,90],{}," makes the bans hold for every author. D1\ndisappears once the hook and the portal both call it.",[494,1369,1370,1373],{},[464,1371,1372],{},"Q3 next."," It pins the presets every other project's gates depend on. Q4 adds a rule, which\nshould arrive with its spec.",[494,1375,1376,1379],{},[464,1377,1378],{},"B1 and Q6 before the Cloud Run move."," They touch the same module, and Q6 decides where B1's\nlists come from.",[494,1381,1382,1385],{},[464,1383,1384],{},"D2 when the next vendor package or a second consumer appears."," The contract alignment can go\nfirst, on its own.",[494,1387,1388,1391],{},[464,1389,1390],{},"Q7, D3, Q8, D4, Q5 and Q9"," are independent and small, so take them in any order.",{"title":1393,"searchDepth":1394,"depth":1394,"links":1395},"",2,[1396,1397,1398,1399,1400],{"id":442,"depth":1394,"text":443},{"id":566,"depth":1394,"text":567},{"id":653,"depth":1394,"text":654},{"id":915,"depth":1394,"text":916},{"id":1354,"depth":1394,"text":1355},"md",null,{"scope":1404,"commit":1405},"@joinery","7458180",true,"\u002Fdocs\u002Faudits\u002F2026-10-21-monorepo",{"title":431,"description":1393},"docs\u002Faudits\u002F2026-10-21-monorepo","HtrFfl6KYZI14wTDAJENk8rlffhiq-CDK8BlwqLaOk0",1795478403538]