[{"data":1,"prerenderedAt":2440},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"wiki":116,"doc-\u002Fapps\u002Fhuella-legal\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":2432,"extension":2433,"kind":2434,"meta":2435,"navigation":2436,"path":223,"seo":2437,"stem":2438,"url":2434,"verdict":2434,"__hash__":2439},"docs\u002Fapps\u002Fhuella-legal\u002FREADME.md","📦 @joinery\u002Fhuella-legal",{"type":433,"value":434,"toc":2403},"minimark",[435,439,452,457,601,606,629,633,652,656,666,707,749,753,786,790,802,888,958,961,977,981,994,998,1012,1277,1287,1289,1314,1318,1413,1415,1430,1434,1449,1570,1574,1590,1685,1698,1902,1906,1921,2056,2060,2090,2092,2102,2143,2147,2230,2247,2249,2314,2318,2399],[436,437,431],"h1",{"id":438},"joineryhuella-legal",[440,441,442,443,451],"p",{},"A Nuxt 4 redesign of the Huella Legal law blog. Content comes from an external WordPress through\n",[444,445,447],"a",{"href":446},"\u002Fwiki\u002Fpackages\u002Fcontent\u002Freadme",[448,449,450],"code",{},"@joinery\u002Fcontent","; the site is Spanish-only.",[453,454,456],"h2",{"id":455},"development","Development",[458,459,460,473],"table",{},[461,462,463],"thead",{},[464,465,466,470],"tr",{},[467,468,469],"th",{},"Command",[467,471,472],{},"What it does",[474,475,476,492,502,516,526,540,556,570,587],"tbody",{},[464,477,478,484],{},[479,480,481],"td",{},[448,482,483],{},"pnpm dev",[479,485,486,487,491],{},"Dev server against the ",[444,488,490],{"href":489},"#dev-mocks","fake WordPress",", never huellalegal.com",[464,493,494,499],{},[479,495,496],{},[448,497,498],{},"pnpm dev:api",[479,500,501],{},"Dev server against the live WordPress. Only when the fakes can't show it",[464,503,504,509],{},[479,505,506],{},[448,507,508],{},"pnpm build",[479,510,511,512,515],{},"Production build into ",[448,513,514],{},".output\u002F",". Also typechecks, which is why it's slow",[464,517,518,523],{},[479,519,520],{},[448,521,522],{},"pnpm preview",[479,524,525],{},"Serve the production build",[464,527,528,533],{},[479,529,530],{},[448,531,532],{},"pnpm test",[479,534,535,536,539],{},"Vitest. ",[448,537,538],{},"pnpm test:coverage"," enforces the thresholds",[464,541,542,547],{},[479,543,544],{},[448,545,546],{},"pnpm test:e2e",[479,548,549,550,552,553],{},"Playwright against ",[448,551,514],{},". Build first, or run ",[448,554,555],{},"nx test:e2e",[464,557,558,563],{},[479,559,560],{},[448,561,562],{},"pnpm storybook",[479,564,565,566,569],{},"Storybook on port 6007; ",[448,567,568],{},"pnpm build:storybook"," for a static build",[464,571,572,577],{},[479,573,574],{},[448,575,576],{},"pnpm cache:clear",[479,578,579,580,583,584,586],{},"Empty the local ",[448,581,582],{},"articles"," and ",[448,585,72],{}," caches so the next request rereads WordPress",[464,588,589,594],{},[479,590,591],{},[448,592,593],{},"pnpm exec nx nuxt-prepare @joinery\u002Fhuella-legal",[479,595,596,597,600],{},"Regenerate ",[448,598,599],{},".nuxt"," by hand; Nx already runs it before lint, typecheck, test and build",[602,603,605],"h3",{"id":604},"dev-mocks","Dev mocks",[440,607,608,610,611,617,618,624,625,628],{},[448,609,483],{}," preloads ",[444,612,614],{"href":613},"repo:apps\u002Fhuella-legal\u002Fmocks\u002Fserver.ts",[448,615,616],{},"mocks\u002Fserver.ts",", an MSW fake of WordPress serving\n",[444,619,621],{"href":620},"repo:apps\u002Fhuella-legal\u002Fmocks\u002Fcontent.json",[448,622,623],{},"mocks\u002Fcontent.json",". The live host blacklists machines that read it too\noften. An unknown slug is a ",[448,626,627],{},"404","; any other request to huellalegal.com is an error in the dev log.\nKit, Turnstile and Resend stay inert without their keys.",[602,630,632],{"id":631},"api-reference","API reference",[440,634,635,636,639,640,643,644,647,648,651],{},"Every ",[448,637,638],{},"\u002Fapi"," route is documented at ",[448,641,642],{},"\u002F_openapi.json"," and browsable at ",[448,645,646],{},"\u002F_scalar",", in dev and on\nevery deploy. A route adds itself with ",[448,649,650],{},"defineRouteMeta({ openAPI })"," — literals only, since Nitro\nreads it from source and silently drops an imported constant.",[453,653,655],{"id":654},"deployment","Deployment",[440,657,658,659,665],{},"GitHub Actions builds, Netlify hosts\n(",[444,660,662],{"href":661},"repo:.github\u002Fworkflows\u002Fdeploy-huella-legal.yml",[448,663,664],{},"deploy-huella-legal.yml","). Netlify's own git\nbuilds stay off.",[458,667,668,678],{},[461,669,670],{},[464,671,672,675],{},[467,673,674],{},"Trigger",[467,676,677],{},"Deploys",[474,679,680,691,699],{},[464,681,682,688],{},[479,683,684,685],{},"Push to ",[448,686,687],{},"master",[479,689,690],{},"Production, then warms the listing caches",[464,692,693,696],{},[479,694,695],{},"Pull request",[479,697,698],{},"A preview, linked in one PR comment",[464,700,701,704],{},[479,702,703],{},"Monday 05:00 UTC, or by hand",[479,705,706],{},"Production. Also the way to purge the CDN after an urgent fix",[708,709,710,728,739],"ul",{},[711,712,713,714,716,717,723,724,727],"li",{},"The ",[448,715,41],{}," job is a required check, so it always reports and passes when\n",[444,718,720],{"href":719},"repo:apps\u002Fhuella-legal\u002Fnetlify-ignore.sh",[448,721,722],{},"netlify-ignore.sh"," finds nothing relevant changed. That list is kept by\nhand: a new runtime ",[448,725,726],{},"@joinery\u002F*"," import needs a line there.",[711,729,730,731,734,735,738],{},"Never split the deploy into ",[448,732,733],{},"netlify build"," + ",[448,736,737],{},"deploy --no-build",": the upload drops the image CDN\nconfig and every WordPress image breaks.",[711,740,741,744,745,748],{},[448,742,743],{},"NETLIFY_SITE_ID"," is a repo variable and ",[448,746,747],{},"NETLIFY_AUTH_TOKEN"," a secret. Fork and Dependabot PRs\nget neither and pass without a preview.",[602,750,752],{"id":751},"staging-login","Staging login",[440,754,755,758,759,762,763,769,770,773,774,777,778,781,782,785],{},[448,756,757],{},"staging.huellalegal.com"," and every ",[448,760,761],{},"*.netlify.app"," URL ask for Basic Auth; the public host doesn't.\n",[444,764,766],{"href":765},"repo:apps\u002Fhuella-legal\u002Fmodules\u002FstagingGate.ts",[448,767,768],{},"modules\u002FstagingGate.ts"," writes a Netlify edge function on production\nbuilds only. With ",[448,771,772],{},"STAGING_USERNAME"," or ",[448,775,776],{},"STAGING_PASSWORD"," unset, gated hosts answer ",[448,779,780],{},"401",". A new\nalias outside those two patterns stays open until it's added to ",[448,783,784],{},"GATED_HOSTS",".",[602,787,789],{"id":788},"rendering","Rendering",[440,791,792,793,796,797,801],{},"Pages that read no query string are prerendered; the rest are cached by Netlify's CDN through ",[448,794,795],{},"isr","\nroute rules. ",[444,798,800],{"href":799},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0033-huella-legal-hybrid-prerender","0033"," has the reasoning.",[458,803,804,814],{},[461,805,806],{},[464,807,808,811],{},[467,809,810],{},"Route",[467,812,813],{},"Served as",[474,815,816,846,865,877],{},[464,817,818,843],{},[479,819,820,821,824,825,824,828,824,831,824,834,824,837,824,840],{},"Articles, WordPress pages, ",[448,822,823],{},"\u002F",", ",[448,826,827],{},"\u002Fareas\u002F",[448,829,830],{},"\u002Fcolaboradores\u002F",[448,832,833],{},"\u002Fcontacto\u002F",[448,835,836],{},"\u002Fpublicar\u002F",[448,838,839],{},"\u002Fsobre\u002F",[448,841,842],{},"\u002Fcalculo-intereses\u002F",[479,844,845],{},"Prerendered",[464,847,848,860],{},[479,849,850,851,824,854,824,857],{},"Listings, ",[448,852,853],{},"\u002Fbuscar\u002F",[448,855,856],{},"\u002Ffeed\u002F",[448,858,859],{},"GET \u002Fapi\u002F*",[479,861,862,864],{},[448,863,795],{}," for a day, varying on their query keys",[464,866,867,872],{},[479,868,869],{},[448,870,871],{},"\u002Fapi\u002Farticles\u002F:slug\u002Fcomments",[479,873,874,876],{},[448,875,795],{}," for ten minutes",[464,878,879,885],{},[479,880,881,882],{},"Form routes, ",[448,883,884],{},"\u002Fsitemap.xml",[479,886,887],{},"Uncached function",[708,889,890,911,925,944],{},[711,891,892,893,895,896,899,900,906,907,910],{},"Each layer declares its own rules under ",[448,894,788],{}," in its ",[448,897,898],{},"nuxt.config.ts",";\n",[444,901,903],{"href":902},"repo:apps\u002Fhuella-legal\u002Fmodules\u002Frendering.ts",[448,904,905],{},"modules\u002Frendering.ts"," turns them into route rules. Prerendering only\nhappens when ",[448,908,909],{},"NUXT_SITE_ENV"," is set, so CI and e2e builds don't shadow the fakes.",[711,912,913,914,917,918,924],{},"A WordPress outage fails the build and the previous deploy stays live. A runtime ",[448,915,916],{},"5xx"," is never\ncached (",[444,919,921],{"href":920},"repo:apps\u002Fhuella-legal\u002Fserver\u002Fplugins\u002Fcdn.ts",[448,922,923],{},"server\u002Fplugins\u002Fcdn.ts",").",[711,926,927,928,931,932,938,939,943],{},"Hydration is deferred to ",[448,929,930],{},"load"," or the first interaction\n(",[444,933,935],{"href":934},"repo:apps\u002Fhuella-legal\u002Fserver\u002Fplugins\u002FdeferHydration.ts",[448,936,937],{},"deferHydration.ts","), and a click made before then is\nreplayed. ",[444,940,942],{"href":941},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0034-huella-legal-header-navigation","0034"," has the numbers.",[711,945,946,947,950,951,954,955,785],{},"An icon rendered client-side first (inside ",[448,948,949],{},"ClientOnly",", a lazy component, a client navigation)\nmust be listed in the design layer's ",[448,952,953],{},"icon.clientBundle.icons",". A miss shows in Netlify's log as\n",[448,956,957],{},"\u002Fapi\u002F_nuxt_icon\u002F…",[440,959,960],{},"Reproduce a deploy build locally (it reads the live WordPress):",[962,963,968],"pre",{"className":964,"code":965,"language":966,"meta":967,"style":967},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","NUXT_SITE_ENV=preview pnpm exec nx build @joinery\u002Fhuella-legal --skip-nx-cache\n","sh","",[448,969,970],{"__ignoreMap":967},[971,972,975],"span",{"class":973,"line":974},"line",1,[971,976,965],{},[602,978,980],{"id":979},"abuse-and-hardening","Abuse and hardening",[440,982,983,984,989,990,993],{},"Every BFF route is public, so input is capped and checked first: each free-text field has a maximum\nlength in the browser and the route, forms carry a honeypot and a Turnstile token, and\n",[444,985,987],{"href":986},"repo:apps\u002Fhuella-legal\u002Fnuxt.config.ts",[448,988,898],{}," sets the security headers and the ",[448,991,992],{},"robots.txt"," that turns away\nAI crawlers. The Turnstile site key's hostname list in Cloudflare is what ties tokens to our\ndomains. Abusive IPs are blocked by hand in Netlify's firewall, never in the repo.",[453,995,997],{"id":996},"environment","Environment",[440,999,1000,1001,1004,1005,1007,1008,1011],{},"A variable a feature can't work without goes under ",[448,1002,1003],{},"requiredEnv"," in its layer's ",[448,1006,898],{},".\nA production build fails naming each unset one; ",[448,1009,1010],{},"nuxt dev"," warns; other builds ignore them. Every\nvariable is read at startup, except that prerendered pages bake in what the build had — so Netlify\nmust expose them to builds too.",[458,1013,1014,1024],{},[461,1015,1016],{},[464,1017,1018,1021],{},[467,1019,1020],{},"Variable",[467,1022,1023],{},"What it is",[474,1025,1026,1044,1065,1075,1089,1099,1114,1127,1142,1152,1168,1178,1192,1209,1222,1235,1251,1261],{},[464,1027,1028,1033],{},[479,1029,1030],{},[448,1031,1032],{},"NUXT_CONTENT_VENDOR_BASE_URL",[479,1034,1035,1036,1040,1041],{},"WordPress site root, with scheme, ",[1037,1038,1039],"strong",{},"without"," ",[448,1042,1043],{},"\u002Fwp-json",[464,1045,1046,1050],{},[479,1047,1048],{},[448,1049,909],{},[479,1051,1052,773,1055,1058,1059,1061,1062],{},[448,1053,1054],{},"production",[448,1056,1057],{},"preview"," on deploys, unset elsewhere. Unset or ",[448,1060,1057],{}," means ",[448,1063,1064],{},"noindex",[464,1066,1067,1072],{},[479,1068,1069],{},[448,1070,1071],{},"NUXT_PUBLIC_SITE_URL",[479,1073,1074],{},"Optional. Overrides the public origin used for permalinks and canonicals",[464,1076,1077,1082],{},[479,1078,1079],{},[448,1080,1081],{},"NUXT_PUBLIC_PAGE_SLUGS",[479,1083,1084,1085,1088],{},"JSON array of WordPress page slugs served at ",[448,1086,1087],{},"\u002F:slug\u002F",". Leave unset for the default",[464,1090,1091,1096],{},[479,1092,1093],{},[448,1094,1095],{},"NUXT_ARTICLES_HIDDEN_TERMS",[479,1097,1098],{},"Optional. JSON array of category\u002Ftag slugs whose posts stay out of every listing",[464,1100,1101,1107],{},[479,1102,1103,824,1105],{},[448,1104,772],{},[448,1106,776],{},[479,1108,713,1109,1113],{},[444,1110,1112],{"href":1111},"#staging-login","staging login",". Needs Netlify's Functions scope",[464,1115,1116,1124],{},[479,1117,1118,824,1121],{},[448,1119,1120],{},"NUXT_NEWSLETTER_API_KEY",[448,1122,1123],{},"_FORM_ID",[479,1125,1126],{},"Kit API key and the form new readers join",[464,1128,1129,1134],{},[479,1130,1131],{},[448,1132,1133],{},"NUXT_NEWSLETTER_BASE_URL",[479,1135,1136,1137,1040,1139],{},"Optional. Kit API origin, ",[1037,1138,1039],{},[448,1140,1141],{},"\u002Fv4",[464,1143,1144,1149],{},[479,1145,1146],{},[448,1147,1148],{},"NUXT_MAIL_API_KEY",[479,1150,1151],{},"Resend API key for Contacto and Publicar",[464,1153,1154,1165],{},[479,1155,1156,824,1159,824,1162],{},[448,1157,1158],{},"NUXT_MAIL_BASE_URL",[448,1160,1161],{},"_FROM",[448,1163,1164],{},"_TO",[479,1166,1167],{},"Optional. Resend origin, sender and Contacto's inbox",[464,1169,1170,1175],{},[479,1171,1172],{},[448,1173,1174],{},"NUXT_PUBLIC_SUBMISSION_EMAIL",[479,1176,1177],{},"Optional. Publicar's editorial inbox",[464,1179,1180,1185],{},[479,1181,1182],{},[448,1183,1184],{},"NUXT_FORMS_SLOW_REPLIES_UNTIL",[479,1186,1187,1188,1191],{},"Optional ",[448,1189,1190],{},"YYYY-MM-DD",". Shows a \"replies will be slow\" notice on the forms until that day",[464,1193,1194,1202],{},[479,1195,1196,824,1199],{},[448,1197,1198],{},"NUXT_COMMENTS_USERNAME",[448,1200,1201],{},"_APPLICATION_PASSWORD",[479,1203,1204,1205,1208],{},"WordPress user that files comments. Needs Editor (",[448,1206,1207],{},"moderate_comments",")",[464,1210,1211,1219],{},[479,1212,1213,824,1216],{},[448,1214,1215],{},"NUXT_TURNSTILE_SECRET_KEY",[448,1217,1218],{},"NUXT_PUBLIC_TURNSTILE_SITE_KEY",[479,1220,1221],{},"Turnstile keys",[464,1223,1224,1232],{},[479,1225,1226,824,1229],{},[448,1227,1228],{},"NUXT_PUBLIC_OBSERVABILITY_URL",[448,1230,1231],{},"_APP_ENVIRONMENT",[479,1233,1234],{},"Faro collector. Unset, browser telemetry is off",[464,1236,1237,1248],{},[479,1238,1239,824,1242,824,1245],{},[448,1240,1241],{},"NUXT_OBSERVABILITY_URL",[448,1243,1244],{},"_INSTANCE_ID",[448,1246,1247],{},"_TOKEN",[479,1249,1250],{},"Grafana OTLP gateway and credentials. Unset, server telemetry is off",[464,1252,1253,1258],{},[479,1254,1255],{},[448,1256,1257],{},"NUXT_PUBLIC_TRACKERS_GOOGLE_ANALYTICS_ID",[479,1259,1260],{},"GA4 ID. Unset, no GA and no cookie banner",[464,1262,1263,1274],{},[479,1264,1265,824,1268,824,1271],{},[448,1266,1267],{},"NUXT_PUBLIC_SOCIAL_INSTAGRAM",[448,1269,1270],{},"_LINKEDIN",[448,1272,1273],{},"_X",[479,1275,1276],{},"Footer profile links. Each unset one is hidden",[440,1278,1279,1280,1282,1283,1286],{},"Public values that are the same everywhere (site URL, sender, inboxes) are literals in the\n",[448,1281,898],{}," of the layer that owns them; the matching ",[448,1284,1285],{},"NUXT_"," variable still overrides them.",[453,1288,76],{"id":76},[440,1290,1291,1292,1298,1299,1302,1303,1306,1307,1313],{},"Copy lives in ",[444,1293,1295],{"href":1294},"repo:apps\u002Fhuella-legal\u002Fi18n\u002Flocales\u002Fes-ES.json",[448,1296,1297],{},"i18n\u002Flocales\u002Fes-ES.json",", handed straight to\n",[448,1300,1301],{},"@nuxtjs\u002Fi18n"," with no TMS (Tolgee's 500-key cap was outgrown). One locale, ",[448,1304,1305],{},"no_prefix",", no browser\ndetection. Specs see keys, not copy: ",[444,1308,1310],{"href":1309},"repo:apps\u002Fhuella-legal\u002Fvitest.setup.ts",[448,1311,1312],{},"vitest.setup.ts"," empties the messages.",[602,1315,1317],{"id":1316},"copy-keys","Copy keys",[458,1319,1320,1330],{},[461,1321,1322],{},[464,1323,1324,1327],{},[467,1325,1326],{},"Rule",[467,1328,1329],{},"Example",[474,1331,1332,1352,1362,1375,1392,1405],{},[464,1333,1334,1341],{},[479,1335,1336,1337,1340],{},"First segment is the owner: ",[448,1338,1339],{},"app"," for the shell, a page, or a component in camelCase",[479,1342,1343,824,1346,824,1349],{},[448,1344,1345],{},"app.title",[448,1347,1348],{},"article.back",[448,1350,1351],{},"articleCard.readingTime",[464,1353,1354,1357],{},[479,1355,1356],{},"Then element and role, camelCase, nested objects",[479,1358,1359],{},[448,1360,1361],{},"app.footer.links.publishThesis",[464,1363,1364,1367],{},[479,1365,1366],{},"Name the role, never the wording",[479,1368,1369,1371,1372],{},[448,1370,1348],{},", not ",[448,1373,1374],{},"article.backToArticles",[464,1376,1377,1384],{},[479,1378,1379,1380,1383],{},"Named params; plurals use vue-i18n's ",[448,1381,1382],{},"|"," form",[479,1385,1386,824,1389],{},[448,1387,1388],{},"\"{page} de {total}\"",[448,1390,1391],{},"t(\"articleCard.minutes\", n)",[464,1393,1394,1400],{},[479,1395,1396,1399],{},[448,1397,1398],{},"common"," only for copy that means the same everywhere",[479,1401,1402],{},[448,1403,1404],{},"common.loading",[464,1406,1407,1410],{},[479,1408,1409],{},"Keys sorted alphabetically at every level",[479,1411,1412],{},"—",[453,1414,269],{"id":72},[440,1416,1417,1418,1420,1421,1424,1425,1429],{},"Only the ",[448,1419,582],{}," layer's server routes call ",[448,1422,1423],{},"useContent","; every page reads those routes. The\nroutes map WordPress entries into view models, so neither the CMS URL nor raw HTML reaches the\nbrowser. Listings, search suggestions and counts slice one cached index of every post (an hour in\nproduction, five minutes in dev), so a new post can take a couple of hours plus the CDN's day to\nlist. The ",[444,1426,1428],{"href":1427},"\u002Fwiki\u002Fpackages\u002Fcontent\u002Fsrc\u002Fnuxt\u002Freadme","module README"," has the cache options.",[602,1431,1433],{"id":1432},"the-body-pipeline","The body pipeline",[440,1435,1436,1439,1440,1443,1444,1448],{},[448,1437,1438],{},"toArticleBody"," turns a post's HTML into markup safe for ",[448,1441,1442],{},"v-html",", server-side.\n",[444,1445,1447],{"href":1446},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0027-huella-legal-content-model","0027"," has the corpus behind each rule.",[458,1450,1451,1460],{},[461,1452,1453],{},[464,1454,1455,1458],{},[467,1456,1457],{},"Step",[467,1459,472],{},[474,1461,1462,1486,1497,1516,1535,1547,1562],{},[464,1463,1464,1467],{},[479,1465,1466],{},"Class map",[479,1468,1469,1470,824,1473,824,1476,824,1479,824,1482,1485],{},"WordPress classes → ",[448,1471,1472],{},"hl-note",[448,1474,1475],{},"hl-quote",[448,1477,1478],{},"hl-quote-short",[448,1480,1481],{},"hl-callout",[448,1483,1484],{},"hl-highlight",". Everything else dropped",[464,1487,1488,1491],{},[479,1489,1490],{},"Sanitise",[479,1492,1493,1496],{},[448,1494,1495],{},"rehype-sanitize",", GitHub schema, ids unprefixed",[464,1498,1499,1502],{},[479,1500,1501],{},"Notes",[479,1503,1504,1507,1508,1511,1512,1515],{},[448,1505,1506],{},"#_ftnN"," \u002F ",[448,1509,1510],{},"#_ftnrefN"," links become ",[448,1513,1514],{},"notes","; any other shape renders as written",[464,1517,1518,1521],{},[479,1519,1520],{},"Bibliography",[479,1522,1523,1524,824,1528,773,1531,1534],{},"Split off at the last ",[1525,1526,1527],"em",{},"Bibliografía",[1525,1529,1530],{},"Fuentes",[1525,1532,1533],{},"Referencias"," heading",[464,1536,1537,1540],{},[479,1538,1539],{},"TOC",[479,1541,635,1542,823,1544,1546],{},[448,1543,453],{},[448,1545,602],{}," gets a unique ASCII id",[464,1548,1549,1552],{},[479,1550,1551],{},"Images",[479,1553,1554,1555,1558,1559],{},"Lazy, and ",[448,1556,1557],{},"\u002Fwp-content\u002F"," URLs repointed at ",[448,1560,1561],{},"content.vendor.baseURL",[464,1563,1564,1567],{},[479,1565,1566],{},"Lead",[479,1568,1569],{},"Up to the first paragraph; the featured image goes after it",[453,1571,1573],{"id":1572},"structure","Structure",[440,1575,1576,1579,1580,1586,1587,924],{},[448,1577,1578],{},"app\u002F"," is the thin shell: layout, header, footer, error page and client plugins. Domain code lives\nin Nuxt layers under ",[444,1581,1583],{"href":1582},"repo:apps\u002Fhuella-legal\u002Flayers",[448,1584,1585],{},"layers\u002F",", auto-registered (never add ",[448,1588,1589],{},"extends",[458,1591,1592,1605],{},[461,1593,1594],{},[464,1595,1596,1599,1602],{},[467,1597,1598],{},"Owner",[467,1600,1601],{},"Paths",[467,1603,1604],{},"May use",[474,1606,1607,1626,1645,1659,1674],{},[464,1608,1609,1612,1623],{},[479,1610,1611],{},"Shell",[479,1613,1614,1615,824,1617,824,1620],{},"The rest of ",[448,1616,1578],{},[448,1618,1619],{},"server\u002F",[448,1621,1622],{},"modules\u002F",[479,1624,1625],{},"Anything",[464,1627,1628,1631,1642],{},[479,1629,1630],{},"Kit",[479,1632,1633,824,1636,824,1639],{},[448,1634,1635],{},"app\u002Fcomponents\u002F{base,listing}",[448,1637,1638],{},"app\u002F{types,utils,composables}",[448,1640,1641],{},"i18n\u002F",[479,1643,1644],{},"The kit",[464,1646,1647,1650,1656],{},[479,1648,1649],{},"Core",[479,1651,1652,1655],{},[448,1653,1654],{},"layers\u002Farticles\u002F"," — owns all content reads",[479,1657,1658],{},"Itself, the kit",[464,1660,1661,1664,1672],{},[479,1662,1663],{},"Capability",[479,1665,1666,824,1669],{},[448,1667,1668],{},"layers\u002Fforms\u002F",[448,1670,1671],{},"layers\u002Fdesign\u002F",[479,1673,1658],{},[464,1675,1676,1679,1682],{},[479,1677,1678],{},"Feature",[479,1680,1681],{},"Every other layer",[479,1683,1684],{},"Itself, kit, core, capabilities. Its pages may render another feature's components",[440,1686,1687,1690,1691,1697],{},[448,1688,1689],{},"eslint.layerBoundaries"," in ",[444,1692,1694],{"href":1693},"repo:apps\u002Fhuella-legal\u002Feslint.config.ts",[448,1695,1696],{},"eslint.config.ts"," enforces the table, auto-imports\nincluded.",[458,1699,1700,1710],{},[461,1701,1702],{},[464,1703,1704,1707],{},[467,1705,1706],{},"Layer",[467,1708,1709],{},"Holds",[474,1711,1712,1724,1737,1750,1765,1778,1791,1804,1817,1837,1850,1866,1885],{},[464,1713,1714,1721],{},[479,1715,1716],{},[444,1717,1719],{"href":1718},"repo:apps\u002Fhuella-legal\u002Flayers\u002Farticles",[448,1720,582],{},[479,1722,1723],{},"View models, WordPress mappers, every content route, the cached index, comments, sitemap and RSS",[464,1725,1726,1734],{},[479,1727,1728],{},[444,1729,1731],{"href":1730},"repo:apps\u002Fhuella-legal\u002Flayers\u002Farchive",[448,1732,1733],{},"archive",[479,1735,1736],{},"Home, the four listings, áreas, colaboradores and the about page",[464,1738,1739,1747],{},[479,1740,1741],{},[444,1742,1744],{"href":1743},"repo:apps\u002Fhuella-legal\u002Flayers\u002Freading",[448,1745,1746],{},"reading",[479,1748,1749],{},"The article and WordPress-page views",[464,1751,1752,1760],{},[479,1753,1754],{},[444,1755,1757],{"href":1756},"repo:apps\u002Fhuella-legal\u002Flayers\u002Fsearch",[448,1758,1759],{},"search",[479,1761,1762,1764],{},[448,1763,853],{}," and the header's ⌘K palette",[464,1766,1767,1775],{},[479,1768,1769],{},[444,1770,1772],{"href":1771},"repo:apps\u002Fhuella-legal\u002Flayers\u002Fcomments",[448,1773,1774],{},"comments",[479,1776,1777],{},"The thread and form under an article; posts to WordPress held for moderation",[464,1779,1780,1788],{},[479,1781,1782],{},[444,1783,1785],{"href":1784},"repo:apps\u002Fhuella-legal\u002Flayers\u002Fnewsletter",[448,1786,1787],{},"newsletter",[479,1789,1790],{},"Kit signup, double opt-in",[464,1792,1793,1801],{},[479,1794,1795],{},[444,1796,1798],{"href":1797},"repo:apps\u002Fhuella-legal\u002Flayers\u002Fcontact",[448,1799,1800],{},"contact",[479,1802,1803],{},"Contacto, sent through Resend",[464,1805,1806,1814],{},[479,1807,1808],{},[444,1809,1811],{"href":1810},"repo:apps\u002Fhuella-legal\u002Flayers\u002Fpublish",[448,1812,1813],{},"publish",[479,1815,1816],{},"Publicar, with an optional draft attachment",[464,1818,1819,1827],{},[479,1820,1821],{},[444,1822,1824],{"href":1823},"repo:apps\u002Fhuella-legal\u002Flayers\u002Finterest",[448,1825,1826],{},"interest",[479,1828,1829,1830,1832,1833,1208],{},"The interest calculator at ",[448,1831,842],{}," (",[444,1834,1836],{"href":1835},"\u002Fwiki\u002Fapps\u002Fhuella-legal\u002Flayers\u002Finterest\u002Freadme","README",[464,1838,1839,1847],{},[479,1840,1841],{},[444,1842,1844],{"href":1843},"repo:apps\u002Fhuella-legal\u002Flayers\u002Ftracking",[448,1845,1846],{},"tracking",[479,1848,1849],{},"Consent banner and third-party scripts, loaded only when an ID is set",[464,1851,1852,1860],{},[479,1853,1854],{},[444,1855,1857],{"href":1856},"repo:apps\u002Fhuella-legal\u002Flayers\u002Flegacy",[448,1858,1859],{},"legacy",[479,1861,1862,1863,1208],{},"301s from old WordPress URLs (",[444,1864,1836],{"href":1865},"\u002Fwiki\u002Fapps\u002Fhuella-legal\u002Flayers\u002Flegacy\u002Freadme",[464,1867,1868,1876],{},[479,1869,1870],{},[444,1871,1873],{"href":1872},"repo:apps\u002Fhuella-legal\u002Flayers\u002Fforms",[448,1874,1875],{},"forms",[479,1877,1878,1879,824,1882],{},"Honeypot, Turnstile, ",[448,1880,1881],{},"assertForm",[448,1883,1884],{},"sendMail",[464,1886,1887,1895],{},[479,1888,1889],{},[444,1890,1892],{"href":1891},"repo:apps\u002Fhuella-legal\u002Flayers\u002Fdesign",[448,1893,1894],{},"design",[479,1896,1897,1898,1208],{},"Tokens and the Nuxt UI theme (",[444,1899,1901],{"href":1900},"\u002Fwiki\u002Fapps\u002Fhuella-legal\u002Fdesign","DESIGN.md",[602,1903,1905],{"id":1904},"links","Links",[440,1907,1908,1909,1912,1913,1916,1917,1920],{},"Components link by route name (",[448,1910,1911],{},"{ name: \"article\", params: { slug } }","), never by a built string.\nA page sets its path in ",[448,1914,1915],{},"definePageMeta","; ",[448,1918,1919],{},"typedPages"," fails typecheck on a wrong name.",[458,1922,1923,1933],{},[461,1924,1925],{},[464,1926,1927,1930],{},[467,1928,1929],{},"Name",[467,1931,1932],{},"Path",[474,1934,1935,1946,1958,1969,1986,1998,2015,2025,2036,2046],{},[464,1936,1937,1942],{},[479,1938,1939],{},[448,1940,1941],{},"index",[479,1943,1944],{},[448,1945,823],{},[464,1947,1948,1953],{},[479,1949,1950],{},[448,1951,1952],{},"publications",[479,1954,1955],{},[448,1956,1957],{},"\u002Fpublicaciones\u002F",[464,1959,1960,1965],{},[479,1961,1962],{},[448,1963,1964],{},"article",[479,1966,1967],{},[448,1968,1087],{},[464,1970,1971,1979],{},[479,1972,1973,824,1976],{},[448,1974,1975],{},"categories",[448,1977,1978],{},"category",[479,1980,1981,824,1983],{},[448,1982,827],{},[448,1984,1985],{},"\u002Fareas\u002F:slug\u002F",[464,1987,1988,1993],{},[479,1989,1990],{},[448,1991,1992],{},"tag",[479,1994,1995],{},[448,1996,1997],{},"\u002Fetiquetas\u002F:slug\u002F",[464,1999,2000,2008],{},[479,2001,2002,824,2005],{},[448,2003,2004],{},"authors",[448,2006,2007],{},"author",[479,2009,2010,824,2012],{},[448,2011,830],{},[448,2013,2014],{},"\u002Fcolaboradores\u002F:slug\u002F",[464,2016,2017,2021],{},[479,2018,2019],{},[448,2020,1759],{},[479,2022,2023],{},[448,2024,853],{},[464,2026,2027,2032],{},[479,2028,2029],{},[448,2030,2031],{},"about",[479,2033,2034],{},[448,2035,839],{},[464,2037,2038,2042],{},[479,2039,2040],{},[448,2041,1800],{},[479,2043,2044],{},[448,2045,833],{},[464,2047,2048,2052],{},[479,2049,2050],{},[448,2051,1813],{},[479,2053,2054],{},[448,2055,836],{},[453,2057,2059],{"id":2058},"storybook","Storybook",[440,2061,2062,2063,2066,2067,2070,2071,2077,2078,583,2081,2084,2085,2089],{},"Stories sit beside their component as ",[448,2064,2065],{},"*.stories.ts",". It's plain ",[448,2068,2069],{},"@storybook\u002Fvue3-vite"," (the Nuxt\nintegration stops at Nuxt 3), so ",[444,2072,2074],{"href":2073},"repo:apps\u002Fhuella-legal\u002F.storybook",[448,2075,2076],{},".storybook\u002F"," wires Nuxt UI, fonts, i18n,\nauto-imports and stubs for ",[448,2079,2080],{},"NuxtImg",[448,2082,2083],{},"NuxtTurnstile"," by hand. Its router repeats the\n",[444,2086,2088],{"href":2087},"#links","route table"," by hand too. The published copy lives on the developer portal.",[453,2091,283],{"id":81},[440,2093,2094,2095,2101],{},"Both halves come from ",[444,2096,2098],{"href":2097},"\u002Fwiki\u002Fpackages\u002Fobservability\u002Freadme",[448,2099,2100],{},"@joinery\u002Fobservability"," and are\noff when their URL is unset.",[708,2103,2104,2114,2124,2136],{},[711,2105,2106,2107,2113],{},"Browser: ",[444,2108,2110],{"href":2109},"repo:apps\u002Fhuella-legal\u002Fapp\u002Fplugins\u002Fobservability.client.ts",[448,2111,2112],{},"observability.client.ts"," loads Faro on the\nfirst interaction or after ten seconds.",[711,2115,2116,2117,2123],{},"Server: ",[444,2118,2120],{"href":2119},"repo:apps\u002Fhuella-legal\u002Fserver\u002Fplugins\u002Fobservability.ts",[448,2121,2122],{},"observability.ts"," wraps the Nitro handler itself and\nnames spans for the matched route, never the raw path. Off while prerendering.",[711,2125,2126,2132,2133,2135],{},[444,2127,2129],{"href":2128},"repo:apps\u002Fhuella-legal\u002Fserver\u002Fplugins\u002FerrorLog.ts",[448,2130,2131],{},"errorLog.ts"," logs every handled ",[448,2134,916],{}," with its cause.",[711,2137,2138,2139,2142],{},"Don't set ",[448,2140,2141],{},"NUXT_PUBLIC_OBSERVABILITY_APP_VERSION"," on Netlify; the build stamps the commit.",[453,2144,2146],{"id":2145},"testing","Testing",[458,2148,2149,2161],{},[461,2150,2151],{},[464,2152,2153,2156,2159],{},[467,2154,2155],{},"Project",[467,2157,2158],{},"Covers",[467,2160,469],{},[474,2162,2163,2187,2202,2218],{},[464,2164,2165,2170,2183],{},[479,2166,2167],{},[448,2168,2169],{},"node",[479,2171,2172,824,2174,824,2177,824,2179,2182],{},[448,2173,1619],{},[448,2175,2176],{},"shared\u002F",[448,2178,1622],{},[448,2180,2181],{},"tools\u002F"," in the app and each layer",[479,2184,2185],{},[448,2186,532],{},[464,2188,2189,2193,2198],{},[479,2190,2191],{},[448,2192,275],{},[479,2194,2195,2197],{},[448,2196,1578],{}," specs, one shared Nuxt environment",[479,2199,2200],{},[448,2201,532],{},[464,2203,2204,2209,2214],{},[479,2205,2206],{},[448,2207,2208],{},"nuxt-isolated",[479,2210,2211,2213],{},[448,2212,1578],{}," specs that mock a module",[479,2215,2216],{},[448,2217,532],{},[464,2219,2220,2223,2226],{},[479,2221,2222],{},"e2e",[479,2224,2225],{},"Playwright, Chromium, at 390, 768 and 1280 px",[479,2227,2228],{},[448,2229,546],{},[440,2231,2232,2233,2239,2240,2246],{},"Configs wrap the presets in ",[444,2234,2236],{"href":2235},"\u002Fwiki\u002Fpackages\u002Fconfigs\u002Freadme",[448,2237,2238],{},"@joinery\u002Fconfigs","; thresholds live\nin ",[444,2241,2243],{"href":2242},"repo:apps\u002Fhuella-legal\u002Fvitest.config.ts",[448,2244,2245],{},"vitest.config.ts"," and pages are left to Playwright.",[602,2248,2222],{"id":2222},[708,2250,2251,2265,2278,2290,2300],{},[711,2252,2253,2254,2260,2261,2264],{},"The built server runs with ",[444,2255,2257],{"href":2256},"repo:apps\u002Fhuella-legal\u002Fe2e\u002Fserver.ts",[448,2258,2259],{},"e2e\u002Fserver.ts"," preloaded: MSW fakes WordPress (from\n",[448,2262,2263],{},"@joinery\u002Fcontent\u002Ftesting","), Kit and Turnstile in-process. Nothing reaches the network.",[711,2266,2267,2268,2274,2275,2277],{},"Data is in ",[444,2269,2271],{"href":2270},"repo:apps\u002Fhuella-legal\u002Fe2e\u002Ffakes.ts",[448,2272,2273],{},"e2e\u002Ffakes.ts",". A route the fakes don't serve is a change to the\ncontent package's ",[448,2276,2145],{}," entry.",[711,2279,2280,2281,2284,2285,2289],{},"Every spec runs an axe scan. ",[1037,2282,2283],{},"No screenshot baselines"," while the design still moves —\n",[444,2286,2288],{"href":2287},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0037-huella-legal-e2e-and-visual-tooling","0037"," says when they return.",[711,2291,2292,2293,2296,2297,785],{},"Any console output, browser or server, fails the run. Import ",[448,2294,2295],{},"test"," from\n",[448,2298,2299],{},"@joinery\u002Fconfigs\u002Fplaywright\u002Futils\u002Ftest",[711,2301,2302,2303,2306,2307,2313],{},"Bumping ",[448,2304,2305],{},"@playwright\u002Ftest"," means moving the image tag in ",[444,2308,2310],{"href":2309},"repo:.github\u002Fworkflows\u002Fci.yml",[448,2311,2312],{},"ci.yml","\nin the same PR. Pre-push doesn't run e2e.",[453,2315,2317],{"id":2316},"known-gaps","Known gaps",[458,2319,2320,2330],{},[461,2321,2322],{},[464,2323,2324,2327],{},[467,2325,2326],{},"Gap",[467,2328,2329],{},"Note",[474,2331,2332,2347,2359,2370,2384],{},[464,2333,2334,2340],{},[479,2335,2336,2337,2339],{},"A new post reaches ",[448,2338,823],{}," only on the next build",[479,2341,2342,2343,1208],{},"WordPress has no webhooks (",[444,2344,2346],{"href":2345},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0030-huella-legal-rendering-hosting-and-cost","0030",[464,2348,2349,2356],{},[479,2350,2351,824,2353,2355],{},[448,2352,1475],{},[448,2354,1481],{}," and friends render unstyled",[479,2357,2358],{},"No design covers them yet",[464,2360,2361,2367],{},[479,2362,2363,2364],{},"Netlify image CDN answers ",[448,2365,2366],{},"max-age=0",[479,2368,2369],{},"Fix is on WordPress's side (LiteSpeed browser cache)",[464,2371,2372,2379],{},[479,2373,2374,2375,2378],{},"No ",[448,2376,2377],{},"script-src"," CSP",[479,2380,2381,2383],{},[448,2382,795],{},"-cached HTML rules out nonces",[464,2385,2386,2392],{},[479,2387,2388,2391],{},[448,2389,2390],{},"staging."," serves the production deploy",[479,2393,2394,2395,2398],{},"The login hides nothing ",[448,2396,2397],{},"www"," doesn't show",[2400,2401,2402],"style",{},"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":967,"searchDepth":2404,"depth":2404,"links":2405},2,[2406,2411,2416,2417,2420,2423,2426,2427,2428,2431],{"id":455,"depth":2404,"text":456,"children":2407},[2408,2410],{"id":604,"depth":2409,"text":605},3,{"id":631,"depth":2409,"text":632},{"id":654,"depth":2404,"text":655,"children":2412},[2413,2414,2415],{"id":751,"depth":2409,"text":752},{"id":788,"depth":2409,"text":789},{"id":979,"depth":2409,"text":980},{"id":996,"depth":2404,"text":997},{"id":76,"depth":2404,"text":76,"children":2418},[2419],{"id":1316,"depth":2409,"text":1317},{"id":72,"depth":2404,"text":269,"children":2421},[2422],{"id":1432,"depth":2409,"text":1433},{"id":1572,"depth":2404,"text":1573,"children":2424},[2425],{"id":1904,"depth":2409,"text":1905},{"id":2058,"depth":2404,"text":2059},{"id":81,"depth":2404,"text":283},{"id":2145,"depth":2404,"text":2146,"children":2429},[2430],{"id":2222,"depth":2409,"text":2222},{"id":2316,"depth":2404,"text":2317},"A Nuxt 4 redesign of the Huella Legal law blog. Content comes from an external WordPress through\n@joinery\u002Fcontent; the site is Spanish-only.","md",null,{},true,{"title":431,"description":2432},"apps\u002Fhuella-legal\u002FREADME","6m7NplMobdHw9HYBkfxrju8CfoFXdhMedJj-7GMHgp0",1795478399720]