[{"data":1,"prerenderedAt":1035},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"project-tab-workflows":116,"project-readme-wp-editor":136},{"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",{"developer-portal":117,"huella-legal":123,"marina-roustan":132},[118],{"id":119,"title":107,"to":108,"percent":120,"done":121,"left":122},"developer-portal-front-door",94,15,1,[124,128],{"id":125,"title":110,"to":111,"percent":126,"done":126,"left":127},"huella-legal-editorial",0,11,{"id":41,"title":101,"to":102,"percent":129,"done":130,"left":131},91,43,4,[133],{"id":46,"title":104,"to":105,"percent":134,"done":127,"left":135},27,30,{"id":137,"title":138,"body":139,"description":1026,"extension":1027,"kind":1028,"meta":1029,"navigation":1030,"path":1031,"seo":1032,"stem":1033,"url":1028,"verdict":1028,"__hash__":1034},"docs\u002Fapps\u002Fwp-editor\u002FREADME.md","🤖 @joinery\u002Fwp-editor",{"type":140,"value":141,"toc":1012},"minimark",[142,146,155,167,172,297,311,315,490,495,510,564,578,589,593,669,679,683,693,710,714,724,937,941,956,962,966,991,995],[143,144,138],"h1",{"id":145},"joinerywp-editor",[147,148,149,150,154],"p",{},"A local tool for bulk edits to WordPress posts and pages. Claude proposes edits through the\n",[151,152,153],"code",{},"pnpm editor"," CLI; you review each as a diff in the app, apply it, and can restore it later. It keeps\nits own backup of every article, since WordPress's REST API can't restore a revision.",[147,156,157,158,161,162,166],{},"Runs on ",[151,159,160],{},"127.0.0.1"," only and ",[163,164,165],"strong",{},"never deploys",".",[168,169,171],"h2",{"id":170},"structure","Structure",[173,174,175,188],"table",{},[176,177,178],"thead",{},[179,180,181,185],"tr",{},[182,183,184],"th",{},"Path",[182,186,187],{},"Holds",[189,190,191,218,231,244,257,270,285],"tbody",{},[179,192,193,203],{},[194,195,196],"td",{},[197,198,200],"a",{"href":199},"repo:apps\u002Fwp-editor\u002Fshared",[151,201,202],{},"shared\u002F",[194,204,205,206,209,210,213,214,217],{},"The pure rules, types and the HTML diff, imported by ",[151,207,208],{},"app\u002F",", ",[151,211,212],{},"server\u002F"," and ",[151,215,216],{},"tools\u002F"," alike",[179,219,220,228],{},[194,221,222],{},[197,223,225],{"href":224},"repo:apps\u002Fwp-editor\u002Fserver\u002Fadapters",[151,226,227],{},"server\u002Fadapters\u002F",[194,229,230],{},"The fs store and the WordPress REST client, plain Node with no Nitro globals",[179,232,233,241],{},[194,234,235],{},[197,236,238],{"href":237},"repo:apps\u002Fwp-editor\u002Fserver\u002Fservices\u002Foperations.ts",[151,239,240],{},"server\u002Fservices\u002Foperations.ts",[194,242,243],{},"Open, apply, bulk apply, restore, restore all, re-pull: the rules run against both adapters",[179,245,246,254],{},[194,247,248],{},[197,249,251],{"href":250},"repo:apps\u002Fwp-editor\u002Fserver\u002Fplugins\u002FstoreLock.ts",[151,252,253],{},"server\u002Fplugins\u002FstoreLock.ts",[194,255,256],{},"Claims the store at server start, so only one server writes to it",[179,258,259,267],{},[194,260,261],{},[197,262,264],{"href":263},"repo:apps\u002Fwp-editor\u002Fserver\u002Fapi",[151,265,266],{},"server\u002Fapi\u002F",[194,268,269],{},"Thin routes over the operations; a broken rule comes back as a 409 with its reason",[179,271,272,280],{},[194,273,274],{},[197,275,277],{"href":276},"repo:apps\u002Fwp-editor\u002Ftools\u002Fcli",[151,278,279],{},"tools\u002Fcli\u002F",[194,281,282,284],{},[151,283,153],{},", which imports the same adapters and operations",[179,286,287,294],{},[194,288,289],{},[197,290,292],{"href":291},"repo:apps\u002Fwp-editor\u002Fapp",[151,293,208],{},[194,295,296],{},"Registry, review screen and settings, on Nuxt UI",[147,298,299,300,302,303,213,305,307,308,310],{},"The CLI imports from ",[151,301,212],{},", never the reverse (lint forbids ",[151,304,208],{},[151,306,212],{}," importing ",[151,309,216],{},").",[168,312,314],{"id":313},"development","Development",[173,316,317,327],{},[176,318,319],{},[179,320,321,324],{},[182,322,323],{},"Command",[182,325,326],{},"What it does",[189,328,329,347,364,377,395,405,415,429,439,449,459],{},[179,330,331,336],{},[194,332,333],{},[151,334,335],{},"pnpm dev",[194,337,338,339,342,343],{},"The review app on ",[151,340,341],{},"http:\u002F\u002F127.0.0.1:3100",", against the ",[197,344,346],{"href":345},"#dev-mocks","fake WordPress and store",[179,348,349,354],{},[194,350,351],{},[151,352,353],{},"pnpm dev:api",[194,355,356,357,360,361],{},"The same against the real WordPress and ",[151,358,359],{},"NUXT_EDITOR_STORE"," from ",[151,362,363],{},".env",[179,365,366,371],{},[194,367,368],{},[151,369,370],{},"pnpm mocks:reset",[194,372,373,374,376],{},"Drops the mock state, so the next start begins from the fixtures again; ",[151,375,335],{}," runs it first",[179,378,379,384],{},[194,380,381],{},[151,382,383],{},"pnpm editor new \"\u003Ctitle>\" [--instructions=…] [--override] [--ids=posts-12,…]",[194,385,386,387,390,391,394],{},"Opens a changeset and pulls ",[151,388,389],{},"base"," for every published post and page, or only ",[151,392,393],{},"--ids"," (drafts allowed)",[179,396,397,402],{},[194,398,399],{},[151,400,401],{},"pnpm editor todo [--limit=15]",[194,403,404],{},"The next unscanned base files of the open changeset",[179,406,407,412],{},[194,408,409],{},[151,410,411],{},"pnpm editor scanned \u003Ckeys…>",[194,413,414],{},"Marks keys processed, with or without a proposal",[179,416,417,422],{},[194,418,419],{},[151,420,421],{},"pnpm editor validate",[194,423,424,425,428],{},"Deletes no-op proposals and warns where the ",[151,426,427],{},"\u003C!-- wp:… -->"," marker sequence changed",[179,430,431,436],{},[194,432,433],{},[151,434,435],{},"pnpm editor status",[194,437,438],{},"Counts per state, per changeset",[179,440,441,446],{},[194,442,443],{},[151,444,445],{},"pnpm editor probe",[194,447,448],{},"Step 0 below; creates and force-deletes one draft",[179,450,451,456],{},[194,452,453],{},[151,454,455],{},"pnpm editor:dev \u003Ccommand>",[194,457,458],{},"Any of the above against the mocks, never the live site",[179,460,461,466],{},[194,462,463],{},[151,464,465],{},"pnpm exec nx nuxt-prepare @joinery\u002Fwp-editor",[194,467,468,469,472,473,476,477,209,480,209,483,213,486,489],{},"Generates ",[151,470,471],{},".nuxt\u002F",", which ",[151,474,475],{},"tsconfig.json"," points into; ",[151,478,479],{},"lint",[151,481,482],{},"typecheck",[151,484,485],{},"test",[151,487,488],{},"build"," depend on it",[491,492,494],"h3",{"id":493},"dev-mocks","Dev mocks",[147,496,497,213,499,502,503,509],{},[151,498,335],{},[151,500,501],{},"editor:dev"," preload ",[197,504,506],{"href":505},"repo:apps\u002Fwp-editor\u002Fmocks\u002Fserver.ts",[151,507,508],{},"mocks\u002Fserver.ts",", which overrides the env\nand fakes WordPress with MSW. Nothing reaches the network.",[173,511,512,521],{},[176,513,514],{},[179,515,516,519],{},[182,517,518],{},"Fixture",[182,520,187],{},[189,522,523,536],{},[179,524,525,533],{},[194,526,527],{},[197,528,530],{"href":529},"repo:apps\u002Fwp-editor\u002Fmocks\u002Fwordpress.json",[151,531,532],{},"mocks\u002Fwordpress.json",[194,534,535],{},"Six posts and one page, in the state the two changesets left them",[179,537,538,546],{},[194,539,540],{},[197,541,543],{"href":542},"repo:apps\u002Fwp-editor\u002Fmocks\u002Fstore",[151,544,545],{},"mocks\u002Fstore\u002F",[194,547,548,551,552,555,556,559,560,563],{},[151,549,550],{},"0001-ortografia",", closed: two applied, one rejected. ",[151,553,554],{},"0002-limpiar-encabezados",", open: a confirmed, a seen and two unreviewed proposals, one with a dropped block for ",[151,557,558],{},"validate",", and ",[151,561,562],{},"posts-105",", which drifts on apply because WordPress moved after the pull",[147,565,566,567,570,571,574,575,577],{},"Writes go to a copy in the gitignored ",[151,568,569],{},".data\u002Fmocks\u002F",". The two fixtures must agree on content and\n",[151,572,573],{},"modified_gmt"," for every article but ",[151,576,562],{},", so edit them together.",[147,579,580,581,588],{},"Claude's batch loop is the ",[197,582,584,587],{"href":583},"\u002Fwiki\u002F.claude\u002Fskills\u002Fwp-bulk-edit\u002Fskill",[151,585,586],{},"wp-bulk-edit"," skill",".\nClaude never drives the UI.",[168,590,592],{"id":591},"environment","Environment",[173,594,595,605],{},[176,596,597],{},[179,598,599,602],{},[182,600,601],{},"Var",[182,603,604],{},"Why",[189,606,607,624,634,660],{},[179,608,609,614],{},[194,610,611],{},[151,612,613],{},"NUXT_WORDPRESS_BASE_URL",[194,615,616,617,620,621],{},"The WordPress site root, with scheme and ",[163,618,619],{},"without"," ",[151,622,623],{},"\u002Fwp-json",[179,625,626,631],{},[194,627,628],{},[151,629,630],{},"NUXT_WORDPRESS_USERNAME",[194,632,633],{},"The account the Application Password belongs to",[179,635,636,641],{},[194,637,638],{},[151,639,640],{},"NUXT_WORDPRESS_APPLICATION_PASSWORD",[194,642,643,644,647,648,209,651,209,654,213,657],{},"A ",[163,645,646],{},"new"," one, never the comments password; the account needs ",[151,649,650],{},"edit_others_posts",[151,652,653],{},"edit_published_posts",[151,655,656],{},"edit_pages",[151,658,659],{},"unfiltered_html",[179,661,662,666],{},[194,663,664],{},[151,665,359],{},[194,667,668],{},"Absolute path to the store, outside the repo",[147,670,671,672,675,676,166],{},"Checked when used, never at build. Give Claude access to the store through ",[151,673,674],{},"additionalDirectories","\nin the gitignored ",[151,677,678],{},".claude\u002Fsettings.local.json",[168,680,682],{"id":681},"the-store","The store",[684,685,690],"pre",{"className":686,"code":688,"language":689},[687],"language-text","settings.json                   reviewGate, bulkApplyMinLevel, requireDryRun, dryRun, pauseMs\n.server.lock                    pid and start time of the server using the store\nchangesets\u002F0001-ortografia\u002F\n    changeset.json              id, title, instructions, createdAt, status, keys, scanned\n    base\u002Fposts-123.html         content.raw at pull time\n    base\u002Fposts-123.json         title, excerpt, modifiedGmt, date, author, image, link, status\n    proposed\u002Fposts-123.html     absent means no change\n    proposed\u002Fposts-123.json     optional { title?, excerpt?, reviewRequested? }\n    state\u002Fposts-123.json        level, rejected, drift, applied { at, modifiedGmt }, restored\n    runs\u002F\u003Cat>-apply.json        one per bulk run: ok, refused, failed, warnings, stopped, incomplete\n    runs\u002F\u003Cat>-restore.json      the same, for Restore all\n    runs\u002F\u003Cat>-dry-run.json      the same, plus the fingerprint of every article it cleared\n","text",[151,691,688],{"__ignoreMap":692},"",[147,694,695,696,209,699,213,702,705,706,709],{},"JSON is written with sorted keys so the store can be a git repo; the tool never runs git. Only\n",[151,697,698],{},"title.raw",[151,700,701],{},"excerpt.raw",[151,703,704],{},"content.raw"," are edited — writing ",[151,707,708],{},"rendered"," back breaks the blocks.",[168,711,713],{"id":712},"rules","Rules",[147,715,716,717,723],{},"All of them live in ",[197,718,720],{"href":719},"repo:apps\u002Fwp-editor\u002Fshared\u002Frules.ts",[151,721,722],{},"shared\u002Frules.ts"," and are pinned by its spec.",[173,725,726,736],{},[176,727,728],{},[179,729,730,733],{},[182,731,732],{},"Rule",[182,734,735],{},"Consequence",[189,737,738,756,764,786,813,829,840,851,863,871,882,896,909,917,925],{},[179,739,740,743],{},[194,741,742],{},"One open changeset",[194,744,745,747,748,751,752,755],{},[151,746,646],{}," is refused while one is open; ",[151,749,750],{},"--override"," marks it ",[151,753,754],{},"abandoned",", keeping its applied items restorable",[179,757,758,761],{},[194,759,760],{},"Open until done",[194,762,763],{},"A changeset closes once every key is scanned and every proposal is applied or rejected",[179,765,766,769],{},[194,767,768],{},"Review levels",[194,770,771,774,775,778,779,782,783,785],{},[151,772,773],{},"unreviewed"," → ",[151,776,777],{},"seen"," on open → ",[151,780,781],{},"confirmed","; a hand edit or Unconfirm drops back to ",[151,784,777],{},", and a reject can be undone unless it would leave two changesets open",[179,787,788,791],{},[194,789,790],{},"Bulk apply gate",[194,792,793,796,797,800,801,804,805,808,809,812],{},[151,794,795],{},"reviewGate"," picks who must reach ",[151,798,799],{},"bulkApplyMinLevel"," first: ",[151,802,803],{},"all"," pending articles, only the ",[151,806,807],{},"requested"," ones, or ",[151,810,811],{},"none",". The screen says how many fall short",[179,814,815,818],{},[194,816,817],{},"Review requested",[194,819,820,821,824,825,828],{},"The change-maker sets ",[151,822,823],{},"reviewRequested"," in ",[151,826,827],{},"proposed\u002F\u003Ckey>.json"," with the reason; the UI flags it and can't remove it",[179,830,831,834],{},[194,832,833],{},"Dry-run mode",[194,835,836,839],{},[151,837,838],{},"dryRun"," refuses every WordPress write; Apply checks drift and block markers instead, and Restore is disabled",[179,841,842,845],{},[194,843,844],{},"Mandatory dry run",[194,846,847,850],{},[151,848,849],{},"requireDryRun"," keeps bulk apply shut until the last dry run finished and cleared every pending article; an edit, re-pull or restore after it invalidates that article",[179,852,853,856],{},[194,854,855],{},"Bulk reports",[194,857,858,859,862],{},"Saved as the run goes; a WordPress error marks that article ",[151,860,861],{},"failed"," and continues",[179,864,865,868],{},[194,866,867],{},"Repeated failures",[194,869,870],{},"Three in a row stop the run",[179,872,873,876],{},[194,874,875],{},"Pause",[194,877,878,881],{},[151,879,880],{},"pauseMs"," (0–2000, default 500) between articles in a bulk run",[179,883,884,887],{},[194,885,886],{},"Drift",[194,888,889,890,892,893,895],{},"Every write compares live ",[151,891,573],{}," with ",[151,894,389],{},"; a mismatch refuses the item and flags it for re-pull",[179,897,898,901],{},[194,899,900],{},"Restore",[194,902,903,904,906,907],{},"Writes N's ",[151,905,389],{}," back; blocked while a later changeset still has the article applied. Refused if WordPress moved since the tool's last write. The article goes back to ",[151,908,777],{},[179,910,911,914],{},[194,912,913],{},"Restore all",[194,915,916],{},"Restores every applied article, like a bulk apply in reverse",[179,918,919,922],{},[194,920,921],{},"Lost response",[194,923,924],{},"If WordPress saved a write but the connection dropped, the next apply or restore records it instead of calling it drift",[179,926,927,930],{},[194,928,929],{},"One server",[194,931,932,933,936],{},"The first server locks the store (",[151,934,935],{},".server.lock","); a second shows only an error. A dead pid's lock is taken over. The CLI takes no lock",[168,938,940],{"id":939},"step-0","Step 0",[147,942,943,945,946,949,950,952,953,166],{},[151,944,445],{}," checks what the tool assumes about the site: block vs classic markup, revisions,\nwhether a draft keeps custom classes and ",[151,947,948],{},"\u003Cstyle>",", and that ",[151,951,573],{}," moves on ",[151,954,955],{},"PUT",[147,957,958,961],{},[163,959,960],{},"Not yet run against the live site."," The output goes here once it has been.",[168,963,965],{"id":964},"known-caveats","Known caveats",[967,968,969,985],"ul",{},[970,971,972,975,976,978,979,981,982,984],"li",{},[163,973,974],{},"Custom CSS may not survive."," WordPress strips ",[151,977,948],{}," without ",[151,980,659],{},", and Huella\nLegal's sanitizer strips ",[151,983,948],{}," and unknown classes.",[970,986,987,990],{},[163,988,989],{},"LiteSpeed"," is expected to purge its cache on save. Verify it once on the first real apply.",[168,992,994],{"id":993},"boundaries","Boundaries",[147,996,997,209,1000,1003,1004,1007,1008,1011],{},[151,998,999],{},"type:app",[151,1001,1002],{},"scope:internal","; depends on ",[151,1005,1006],{},"@joinery\u002Fconfigs"," only. It has its own WordPress client\nbecause ",[151,1009,1010],{},"@joinery\u002Fcontent"," is read-only and anonymous.",{"title":692,"searchDepth":1013,"depth":1013,"links":1014},2,[1015,1016,1020,1021,1022,1023,1024,1025],{"id":170,"depth":1013,"text":171},{"id":313,"depth":1013,"text":314,"children":1017},[1018],{"id":493,"depth":1019,"text":494},3,{"id":591,"depth":1013,"text":592},{"id":681,"depth":1013,"text":682},{"id":712,"depth":1013,"text":713},{"id":939,"depth":1013,"text":940},{"id":964,"depth":1013,"text":965},{"id":993,"depth":1013,"text":994},"A local tool for bulk edits to WordPress posts and pages. Claude proposes edits through the\npnpm editor CLI; you review each as a diff in the app, apply it, and can restore it later. It keeps\nits own backup of every article, since WordPress's REST API can't restore a revision.","md",null,{},true,"\u002Fapps\u002Fwp-editor\u002Freadme",{"title":138,"description":1026},"apps\u002Fwp-editor\u002FREADME","F7xVZOo2f68rg-mCfxVASMKBHlOYJzQ6QK44AwMzioY",1795478395815]