[{"data":1,"prerenderedAt":833},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"audit-2026-10-09-content":116},{"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",{"id":117,"title":118,"body":119,"description":815,"extension":823,"kind":824,"meta":825,"navigation":828,"path":829,"seo":830,"stem":831,"url":824,"verdict":824,"__hash__":832},"docs\u002Fdocs\u002Faudits\u002F2026-10-09-content.md","🔎 Content: readiness for a second WordPress app",{"type":120,"value":121,"toc":814},"minimark",[122,126,131,160,184,192,196,338,342,432,436,780,784],[123,124,118],"h1",{"id":125},"content-readiness-for-a-second-wordpress-app",[127,128,130],"h2",{"id":129},"context","Context",[132,133,134,135,139,140,143,144,147,148,155,156,159],"p",{},"A static read of ",[136,137,138],"code",{},"packages\u002Fcontent",", covering every non-spec file under ",[136,141,142],{},"src\u002F",". It also covers the\none consumer, ",[136,145,146],{},"apps\u002Fhuella-legal\u002Flayers\u002Farticles",", where the package's shape shows up as app code.\nThe question is whether the package works as a plug-and-play WordPress reader for the next app\nrather than for Huella only. ",[149,150,152],"a",{"href":151},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0031-content-server-accessor",[136,153,154],{},"0031"," settled the\ntopology (one cached server ",[136,157,158],{},"useContent(event)",", no public route), and this audit takes it as\ngiven: the findings are about the domain model and the cache contract.",[132,161,162,163,167,168,171,172,175,176,179,180,183],{},"A finding marked ",[164,165,166],"strong",{},"Confirmed"," was reproduced by feeding a hand-built WordPress post to ",[136,169,170],{},"toEntry","\nfrom a scratch spec (B1, Q2), or by grepping the tree (D1). ",[164,173,174],{},"Likely"," means reasoned from the code\nand not reproduced. Line numbers are from the working tree at ",[136,177,178],{},"commit",", which differs only by\ndeleted comments in ",[136,181,182],{},"useContent.ts",".",[132,185,186,187,191],{},"Several findings are rows in the package README's\n",[149,188,190],{"href":189},"\u002Fwiki\u002Fpackages\u002Fcontent\u002Freadme#known-gaps","deferred table",". They are filed here\nbecause \"more WordPress apps soon\" is the trigger those rows were waiting for.",[127,193,195],{"id":194},"bugs","Bugs",[197,198,199,221],"table",{},[200,201,202],"thead",{},[203,204,205,209,212,215,218],"tr",{},[206,207,208],"th",{},"ID",[206,210,211],{},"Where",[206,213,214],{},"What goes wrong",[206,216,217],{},"Fix",[206,219,220],{},"Status",[222,223,224,301],"tbody",{},[203,225,226,230,246,284,294],{},[227,228,229],"td",{},"B1",[227,231,232,236,237,239,240,239,243],{},[149,233,235],{"href":234},"repo:packages\u002Fcontent\u002Fsrc\u002Fcore\u002Fadapters\u002Fproviders\u002Fwordpress\u002FWordpressHelpers.ts","WordpressHelpers.ts:45-59"," ",[136,238,170],{},", ",[136,241,242],{},"toTerm",[136,244,245],{},"toAuthor",[227,247,248,251,252,255,256,259,260,262,263,239,266,239,269,272,273,276,277,280,281],{},[164,249,250],{},"Confirmed."," A post titled ",[136,253,254],{},"Ley &#8220;Org&aacute;nica&#8221; &amp; c"," by ",[136,257,258],{},"J &amp; M"," comes out of ",[136,261,170],{}," with both strings still entity-escaped. ",[136,264,265],{},"title",[136,267,268],{},"Term.name",[136,270,271],{},"Author.name"," and ",[136,274,275],{},"bio"," are typed ",[136,278,279],{},"string"," but hold WP-rendered HTML, so every app either decodes them or prints ",[136,282,283],{},"&amp;",[227,285,286,287,289,290,293],{},"Decode to plain text in the WordPress mapper, so ",[136,288,279],{}," means text. Huella's ",[136,291,292],{},"toText"," calls on these fields (D2) then go",[227,295,296,297,300],{},"fixed #405: ",[136,298,299],{},"toPlainText"," in the WordPress provider",[203,302,303,306,322,332,335],{},[227,304,305],{},"B2",[227,307,308,239,312,236,316,239,319],{},[149,309,311],{"href":310},"repo:packages\u002Fcontent\u002Fsrc\u002Fnuxt\u002Fconfig.ts","config.ts:3-7",[149,313,315],{"href":314},"repo:packages\u002Fcontent\u002Fsrc\u002Fnuxt\u002Fruntime\u002Fserver\u002Futils\u002FuseContent.ts","useContent.ts:16-48",[136,317,318],{},"readList",[136,320,321],{},"readItem",[227,323,324,327,328,331],{},[164,325,326],{},"Likely."," One post is cached twice: inside every list page (1 h window) and as an item (6 h window). After an edit, ",[136,329,330],{},"\u002Fpublicaciones\u002F"," and the related band show the new title within the hour, while the article page serves the old one for up to 6 h",[227,333,334],{},"One window for both families, or let the purge in Q6 clear both on a post change",[227,336,337],{},"wont-fix — huella refreshes by rebuilding, not by purging Nitro's cache (#236), so the two windows never meet a reader",[127,339,341],{"id":340},"duplication","Duplication",[197,343,344,358],{},[200,345,346],{},[203,347,348,350,353,356],{},[206,349,208],{},[206,351,352],{},"Copies",[206,354,355],{},"Consolidate into",[206,357,220],{},[222,359,360,401],{},[203,361,362,365,389,396],{},[227,363,364],{},"D1",[227,366,367,369,370,373,374,239,378,239,382,239,385],{},[164,368,250],{}," The ",[136,371,372],{},"format === \"blocks\""," branch for a format no provider produces (Q4): ",[149,375,377],{"href":376},"repo:apps\u002Fhuella-legal\u002Flayers\u002Farticles\u002Fserver\u002Fmappers\u002Farticle.ts","article.ts:18",[149,379,381],{"href":380},"repo:apps\u002Fhuella-legal\u002Flayers\u002Farticles\u002Fserver\u002Fmappers\u002FarticleSummary.ts","articleSummary.ts:64",[149,383,384],{"href":380},"articleSummary.ts:77",[149,386,388],{"href":387},"repo:packages\u002Fcontent\u002Fsrc\u002Ftesting\u002Fwordpress.ts","testing\u002Fwordpress.ts:93",[227,390,391,392,395],{},"Nowhere: narrowing ",[136,393,394],{},"RichText"," (Q4) deletes all four",[227,397,296,398,400],{},[136,399,394],{}," is HTML only",[203,402,403,406,423,429],{},[227,404,405],{},"D2",[227,407,408,409,236,412,414,415,239,417,272,420,422],{},"WordPress entity decoding, in the app: ",[149,410,411],{"href":380},"articleSummary.ts:71",[136,413,292],{},", applied to ",[136,416,265],{},[136,418,419],{},"name",[136,421,275],{},". Every future WordPress app needs the same function",[227,424,425,428],{},[136,426,427],{},"WordpressHelpers.ts",", as part of B1",[227,430,431],{},"fixed #405: huella reads the decoded fields as they come",[127,433,435],{"id":434},"quality","Quality",[197,437,438,453],{},[200,439,440],{},[203,441,442,444,446,449,451],{},[206,443,208],{},[206,445,211],{},[206,447,448],{},"Issue",[206,450,217],{},[206,452,220],{},[222,454,455,496,535,582,612,630,660,680,726,752],{},[203,456,457,460,472,486,493],{},[227,458,459],{},"Q1",[227,461,462,236,466,239,469],{},[149,463,465],{"href":464},"repo:packages\u002Fcontent\u002Fsrc\u002Fcore\u002Fdomain\u002Fcontent.ts","content.ts:1-9",[136,467,468],{},"ENTRY_RESOURCES",[136,470,471],{},"TERM_RESOURCES",[227,473,474,475,239,478,481,482,485],{},"The resources are two closed unions holding WordPress's defaults. An app with a custom post type (",[136,476,477],{},"events",[136,479,480],{},"products",") can't read it without editing the shared package, and ",[136,483,484],{},"query.ts"," rejects its taxonomy with a 404. The package is generic over vendors, of which there is one, and hard-coded over each site's schema, which is what the next app will change",[227,487,488,489,492],{},"Declare resources in module options (",[136,490,491],{},"{ events: { kind: \"entry\", path: \"event\" } }","), keep today's four as the default, and infer the resource type from config",[227,494,495],{},"wont-fix — no app reads more than WordPress's four defaults; the package README's deferred row says where to open the unions",[203,497,498,501,516,529,532],{},[227,499,500],{},"Q2",[227,502,503,236,507,239,510,236,513],{},[149,504,506],{"href":505},"repo:packages\u002Fcontent\u002Fsrc\u002Fcore\u002Fadapters\u002Fproviders\u002Fwordpress\u002FWordpressConfigs.ts","WordpressConfigs.ts:8-11",[136,508,509],{},"TAXONOMIES",[149,511,512],{"href":234},"WordpressHelpers.ts:62",[136,514,515],{},"toEmbeddedTerm",[227,517,518,520,521,524,525,528],{},[164,519,250],{}," A post embedding a term from the custom taxonomy ",[136,522,523],{},"jurisdiccion"," comes out with that term gone from ",[136,526,527],{},"Entry.terms",", and nothing logs it",[227,530,531],{},"Build the taxonomy map from the same config as Q1",[227,533,534],{},"wont-fix — goes with Q1, since Huella embeds no custom taxonomy",[203,536,537,540,548,565,579],{},[227,538,539],{},"Q3",[227,541,542,236,545],{},[149,543,544],{"href":464},"content.ts:54-66",[136,546,547],{},"Entry",[227,549,550,551,236,554,557,558,239,561,564],{},"There is no slot for ACF or post meta. Huella already routes around it: ",[149,552,553],{"href":380},"articleSummary.ts:36",[136,555,556],{},"toFormat"," derives an article's format from magic tag slugs (",[136,559,560],{},"trabajos-de-fin-de-grado",[136,562,563],{},"jurisprudencia-*",")",[227,566,567,570,571,574,575,578],{},[136,568,569],{},"fields?: Record\u003Cstring, unknown>"," filled from ",[136,572,573],{},"acf"," \u002F ",[136,576,577],{},"meta"," when the site exposes them, typed by each app at its mapper",[227,580,581],{},"fixed db5bf75 (#343)",[203,583,584,587,594,603,609],{},[227,585,586],{},"Q4",[227,588,589,236,592],{},[149,590,591],{"href":464},"content.ts:19-21",[136,593,394],{},[227,595,596,272,599,602],{},[136,597,598],{},"markdown",[136,600,601],{},"blocks"," exist for vendors that don't exist, and the cost is paid by every consumer (D1)",[227,604,605,608],{},[136,606,607],{},"{ format: \"html\", value: string }"," until a second vendor ships, and widen it then",[227,610,611],{},"fixed #405",[203,613,614,617,621,624,627],{},[227,615,616],{},"Q5",[227,618,619],{},[149,620,311],{"href":310},[227,622,623],{},"The cache windows are constants. A news-like app and an evergreen one can't tune them without forking the package",[227,625,626],{},"Module options, with the current values as defaults",[227,628,629],{},"fixed 2b58e9e (#304)",[203,631,632,635,643,646,657],{},[227,633,634],{},"Q6",[227,636,637,236,640],{},[149,638,639],{"href":314},"useContent.ts:50-64",[136,641,642],{},"useContent",[227,644,645],{},"There is no purge, and only the package knows the key format, so an app can't write one either. A correction to a legal article takes up to 6 h to show (#236)",[227,647,648,649,652,653,656],{},"A secret-guarded purge handler or ",[136,650,651],{},"useContent(event).invalidate(resource, slug?)"," for a WP webhook, clearing the item key and the ",[136,654,655],{},"content-list"," group",[227,658,659],{},"wont-fix — Nitro's cache is per instance and huella's pages are prerendered, so a rebuild is the refresh (#236)",[203,661,662,665,671,674,677],{},[227,663,664],{},"Q7",[227,666,667,236,669],{},[149,668,639],{"href":314},[136,670,642],{},[227,672,673],{},"Every read is cached and anonymous, so there is no way to preview a draft. That's the first thing an editor on a second WP site will ask for",[227,675,676],{},"An uncached, authenticated read (application password from env), enabled per request by the app",[227,678,679],{},"wont-fix — no editor has asked, and a preview needs a runtime route and a credential next to a prerendered site; a deferred row in the package README",[203,681,682,685,694,706,720],{},[227,683,684],{},"Q8",[227,686,687,236,691],{},[149,688,690],{"href":689},"repo:packages\u002Fcontent\u002Fsrc\u002Fcore\u002Fadapters\u002Fproviders\u002Fwordpress\u002FWordpressProvider.ts","WordpressProvider.ts:12-23",[136,692,693],{},"listEntries",[227,695,696,698,699,702,703],{},[164,697,326],{}," A list fetches and caches full ",[136,700,701],{},"content.rendered"," for every item (about 53 KB a post on the 0027 corpus), which is mostly unused by a listing. Huella reads the body there only for ",[136,704,705],{},"readingMinutes",[227,707,708,709,712,713,716,717,719],{},"A ",[136,710,711],{},"_fields"," projection on lists, plus an optional ",[136,714,715],{},"wordCount"," on ",[136,718,547],{}," computed in the provider",[227,721,722,723,725],{},"wont-fix — #405 adds ",[136,724,715],{},", and the provider needs the body on lists to count it, so lists keep fetching it",[203,727,728,731,736,746,749],{},[227,729,730],{},"Q9",[227,732,733],{},[149,734,735],{"href":314},"useContent.ts:16-62",[227,737,738,739,742,743],{},"One cached function serves both entries and terms, so its return is ",[136,740,741],{},"Page\u003CEntry> | Page\u003CTerm>",", and the four accessors cast it back with ",[136,744,745],{},"as",[227,747,748],{},"One cached function per kind, or a generic one, so the casts go",[227,750,751],{},"fixed #405: one cached reader per kind and shape",[203,753,754,757,762,765,775],{},[227,755,756],{},"Q10",[227,758,759],{},[136,760,761],{},"pages\u002Farticles\u002Findex.vue:18-23",[227,763,764],{},"WordPress answers a page past the end with a 400, which passes through as if the query were malformed. Each app has to learn that WP quirk and turn it into a 404",[227,766,767,768,771,772],{},"The provider maps ",[136,769,770],{},"rest_post_invalid_page_number"," to ",[136,773,774],{},"NotFoundError",[227,776,296,777],{},[136,778,779],{},"PageNotFoundError",[127,781,783],{"id":782},"order","Order",[785,786,787,794,800,805,811],"ol",{},[788,789,790,793],"li",{},[164,791,792],{},"Q1, Q2 and Q3 first, together."," They decide whether a second WordPress app can plug in\nwithout editing the package, and they share one config shape.",[788,795,796,799],{},[164,797,798],{},"B1 with D2."," Decoding moves into the provider and the app's copy is deleted in the same\nchange.",[788,801,802],{},[164,803,804],{},"Q4, which closes D1 for free.",[788,806,807,810],{},[164,808,809],{},"Q6, which also settles B2"," if the purge clears both key families. Q5 belongs in the same\nchange, since both touch the module options.",[788,812,813],{},"Q7–Q10 are independent and can go in any order.",{"title":815,"searchDepth":816,"depth":816,"links":817},"",2,[818,819,820,821,822],{"id":129,"depth":816,"text":130},{"id":194,"depth":816,"text":195},{"id":340,"depth":816,"text":341},{"id":434,"depth":816,"text":435},{"id":782,"depth":816,"text":783},"md",null,{"scope":826,"commit":827},"@joinery\u002Fcontent","3b67d7f",true,"\u002Fdocs\u002Faudits\u002F2026-10-09-content",{"title":118,"description":815},"docs\u002Faudits\u002F2026-10-09-content","xjWdcRkq83ZhMPIIvnvJEaPrvKS7NdhnLInAmrCk5Ls",1795478398716]