[{"data":1,"prerenderedAt":1106},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"decision-0040-developer-portal-visitor-structure":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":1082,"extension":1094,"kind":1095,"meta":1096,"navigation":1101,"path":1102,"seo":1103,"stem":1104,"url":1095,"verdict":1095,"__hash__":1105},"docs\u002Fdocs\u002Fdecisions\u002F0040-developer-portal-visitor-structure.md","🧭 Visitors land on the front page and toggle to the developer view",{"type":120,"value":121,"toc":1081},"minimark",[122,126,131,140,144,164,175,246,252,257,285,659,663,666,817,820,824,868,872,888,919,924,983,987],[123,124,118],"h1",{"id":125},"visitors-land-on-the-front-page-and-toggle-to-the-developer-view",[127,128,130],"h2",{"id":129},"context","Context",[132,133,134,139],"p",{},[135,136,138],"a",{"href":137},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0039-developer-portal-benchmark","0039"," gave the portal a visitor view and a developer view,\nand left open how a visitor enters. #474 asks three things: whether a door (pick a view first) or\na toggle (visitor view by default, developer view one click away) gets readers to useful content\nsooner; how every page the portal has today shows to a visitor; and which sections the visitor\nfront page has, in order, and what data each reads.",[127,141,143],{"id":142},"result","Result",[132,145,146,150,151,155,156,159,160,163],{},[147,148,149],"strong",{},"The toggle."," ",[152,153,154],"code",{},"\u002F"," becomes the visitor front page. The current Overview moves to ",[152,157,158],{},"\u002Foverview"," as the\ndeveloper view's home, and every page shows a plain ",[152,161,162],{},"\u003Ca href>"," \"Developer view\" link to it.",[132,165,166,167,170,171,174],{},"Both entries were built as rough lab pages (",[152,168,169],{},"app\u002Fpages\u002Flab\u002Fdoor\u002F",", ",[152,172,173],{},"app\u002Fpages\u002Flab\u002Ftoggle.vue",") and\nmeasured with Playwright at 390 × 844 and 1280 × 800, with JavaScript on and off. The results were\nidentical in both modes.",[176,177,178,196],"table",{},[179,180,181],"thead",{},[182,183,184,190,193],"tr",{},[185,186,187,188],"th",{},"Reader, arriving at ",[152,189,154],{},[185,191,192],{},"Door",[185,194,195],{},"Toggle",[197,198,199,210,221,231],"tbody",{},[182,200,201,205,208],{},[202,203,204],"td",{},"Visitor: what this is (the W1 sentence)",[202,206,207],{},"0 clicks",[202,209,207],{},[182,211,212,215,218],{},[202,213,214],{},"Visitor: the first shipped app",[202,216,217],{},"1 click, on screen (top at 377 px at 390, 644 px at 1280)",[202,219,220],{},"0 clicks, one scroll (top at 889 px at 390, 1156 px at 1280)",[182,222,223,226,229],{},[202,224,225],{},"Developer: the Overview",[202,227,228],{},"1 click",[202,230,228],{},[182,232,233,240,243],{},[202,234,235,236,239],{},"Anyone on a deep link (",[152,237,238],{},"\u002Fdecisions\u002F\u003Cid>",")",[202,241,242],{},"0: the door is never seen",[202,244,245],{},"0",[132,247,248,249,251],{},"The door buys an on-screen app for one click, which the toggle gets for one scroll. Its own page\nholds nothing but the sentence and two choices, and it only exists at ",[152,250,154],{},". Shared links into the\nportal skip it, so it can't hold the choice anyway.",[253,254,256],"h3",{"id":255},"every-page-for-a-visitor","Every page, for a visitor",[132,258,259,260,263,264,267,268,170,271,170,274,170,277,280,281,284],{},"The nav key is the ",[152,261,262],{},"nav"," entry in each layer's ",[152,265,266],{},"app\u002Fapp.config.ts",". The visitor nav keeps\n",[152,269,270],{},"projects",[152,272,273],{},"graph",[152,275,276],{},"decisions",[152,278,279],{},"audits"," and ",[152,282,283],{},"workflows",". Nothing is removed. A re-presented page\nleaves detail out and never shows different facts (W7).",[176,286,287,303],{},[179,288,289],{},[182,290,291,294,297,300],{},[185,292,293],{},"Route",[185,295,296],{},"Page",[185,298,299],{},"Nav key",[185,301,302],{},"For a visitor",[197,304,305,330,348,371,393,410,432,448,474,490,510,526,546,563,582,601,620,639],{},[182,306,307,311,316,321],{},[202,308,309],{},[152,310,154],{},[202,312,313],{},[152,314,315],{},"app\u002Fpages\u002Findex.vue",[202,317,318],{},[152,319,320],{},"overview",[202,322,323,324,326,327,329],{},"Developer-only: moves to ",[152,325,158],{},"; ",[152,328,154],{}," is the front page",[182,331,332,336,341,345],{},[202,333,334],{},[152,335,27],{},[202,337,338],{},[152,339,340],{},"layers\u002Fprojects\u002Fapp\u002Fpages\u002Fprojects.vue",[202,342,343],{},[152,344,270],{},[202,346,347],{},"Re-presented: the showcase (W6) first, packages and tooling as index rows (W4)",[182,349,350,355,360,364],{},[202,351,352],{},[152,353,354],{},"\u002Fgraph",[202,356,357],{},[152,358,359],{},"layers\u002Fprojects\u002Fapp\u002Fpages\u002Fgraph.vue",[202,361,362],{},[152,363,273],{},[202,365,366,367,370],{},"Re-presented: \"How the pieces fit\" (",[152,368,369],{},"graph.vue:46",") only; the Nx graph and \"Tags and edges\" stay in the developer view",[182,372,373,378,383,387],{},[202,374,375],{},[152,376,377],{},"\u002Fdecisions",[202,379,380],{},[152,381,382],{},"layers\u002Fdecisions\u002Fapp\u002Fpages\u002Fdecisions\u002Findex.vue",[202,384,385],{},[152,386,276],{},[202,388,389,390,239],{},"Re-presented: index rows, without the search and three selects (",[152,391,392],{},"index.vue:23-50",[182,394,395,399,404,407],{},[202,396,397],{},[152,398,238],{},[202,400,401],{},[152,402,403],{},"…\u002Fdecisions\u002F[id].vue",[202,405,406],{},"—",[202,408,409],{},"Shown",[182,411,412,417,422,426],{},[202,413,414],{},[152,415,416],{},"\u002Faudits",[202,418,419],{},[152,420,421],{},"layers\u002Faudits\u002Fapp\u002Fpages\u002Faudits\u002Findex.vue",[202,423,424],{},[152,425,279],{},[202,427,428,429,239],{},"Re-presented: index rows with open of total, without the selects (",[152,430,431],{},"index.vue:30-50",[182,433,434,439,444,446],{},[202,435,436],{},[152,437,438],{},"\u002Faudits\u002F\u003Cid>",[202,440,441],{},[152,442,443],{},"…\u002Faudits\u002F[id].vue",[202,445,406],{},[202,447,409],{},[182,449,450,455,460,464],{},[202,451,452],{},[152,453,454],{},"\u002Fworkflows",[202,456,457],{},[152,458,459],{},"layers\u002Fworkflows\u002Fapp\u002Fpages\u002Fworkflows\u002Findex.vue",[202,461,462],{},[152,463,283],{},[202,465,466,467,470,471,239],{},"Re-presented: projects as rows, without ",[152,468,469],{},"WorkflowNewProjectCard"," (",[152,472,473],{},"index.vue:64",[182,475,476,481,486,488],{},[202,477,478],{},[152,479,480],{},"\u002Fworkflows\u002F\u003Cid>",[202,482,483],{},[152,484,485],{},"…\u002Fworkflows\u002F[id]\u002Findex.vue",[202,487,406],{},[202,489,409],{},[182,491,492,497,502,504],{},[202,493,494],{},[152,495,496],{},"\u002Fworkflows\u002F\u003Cid>\u002Fsettings",[202,498,499],{},[152,500,501],{},"…\u002Fworkflows\u002F[id]\u002Fsettings.vue",[202,503,406],{},[202,505,506,507],{},"Developer-only: prerendered, but saves only under ",[152,508,509],{},"pnpm dev",[182,511,512,516,521,523],{},[202,513,514],{},[152,515,115],{},[202,517,518],{},[152,519,520],{},"…\u002Fworkflows\u002Fnew.vue",[202,522,406],{},[202,524,525],{},"Developer-only: same",[182,527,528,533,538,543],{},[202,529,530],{},[152,531,532],{},"\u002Fdocs",[202,534,535],{},[152,536,537],{},"layers\u002Fwiki\u002Fapp\u002Fpages\u002Fdocs\u002Findex.vue",[202,539,540],{},[152,541,542],{},"docs",[202,544,545],{},"Developer-only",[182,547,548,553,558,560],{},[202,549,550],{},[152,551,552],{},"\u002Fdocs\u002F\u003Cpath>",[202,554,555],{},[152,556,557],{},"…\u002Fdocs\u002F[...slug].vue",[202,559,406],{},[202,561,562],{},"Shown when a visitor page links to it",[182,564,565,570,575,580],{},[202,566,567],{},[152,568,569],{},"\u002Fchangelog",[202,571,572],{},[152,573,574],{},"layers\u002Fprojects\u002Fapp\u002Fpages\u002Fchangelog.vue",[202,576,577],{},[152,578,579],{},"changelog",[202,581,545],{},[182,583,584,589,594,599],{},[202,585,586],{},[152,587,588],{},"\u002Fissues",[202,590,591],{},[152,592,593],{},"layers\u002Fhealth\u002Fapp\u002Fpages\u002Fissues.vue",[202,595,596],{},[152,597,598],{},"issues",[202,600,545],{},[182,602,603,608,613,618],{},[202,604,605],{},[152,606,607],{},"\u002Fcoverage",[202,609,610],{},[152,611,612],{},"layers\u002Fhealth\u002Fapp\u002Fpages\u002Fcoverage.vue",[202,614,615],{},[152,616,617],{},"coverage",[202,619,545],{},[182,621,622,627,632,637],{},[202,623,624],{},[152,625,626],{},"\u002Fdeps",[202,628,629],{},[152,630,631],{},"layers\u002Fhealth\u002Fapp\u002Fpages\u002Fdeps.vue",[202,633,634],{},[152,635,636],{},"deps",[202,638,545],{},[182,640,641,646,651,656],{},[202,642,643],{},[152,644,645],{},"\u002Ftelemetry",[202,647,648],{},[152,649,650],{},"layers\u002Ftelemetry\u002Fapp\u002Fpages\u002Ftelemetry.vue",[202,652,653],{},[152,654,655],{},"telemetry",[202,657,658],{},"Developer-only; its agent share feeds front-page section 3",[253,660,662],{"id":661},"the-front-page-in-order","The front page, in order",[132,664,665],{},"Numbers are read at build time and set inside sentences, never as a row of tiles (N3). No section\nwaits on JavaScript (N1). No label is under 12 px (N2), and no text sits on a screenshot (N4).",[176,667,668,690],{},[179,669,670],{},[182,671,672,675,678,681,684],{},[185,673,674],{},"#",[185,676,677],{},"Section",[185,679,680],{},"Reads",[185,682,683],{},"Supplied by",[185,685,686,687],{},"With no ",[152,688,689],{},".report\u002F",[197,691,692,711,728,771,797],{},[182,693,694,697,700,703,708],{},[202,695,696],{},"1",[202,698,699],{},"One sentence on what this is, at least 6× the body size (W1), and two lines under it",[202,701,702],{},"Visitor copy",[202,704,705],{},[152,706,707],{},"cap:visitor-copy",[202,709,710],{},"Unchanged",[182,712,713,715,718,721,726],{},[202,714,87],{},[202,716,717],{},"Shipped apps: a large screenshot, a caps label, one line, the live link (W6)",[202,719,720],{},"Showcase data",[202,722,723],{},[152,724,725],{},"cap:project-showcase",[202,727,710],{},[182,729,730,733,736,765,768],{},[202,731,732],{},"3",[202,734,735],{},"How it's built: one paragraph covering agent share of script runs, spec count, line coverage, decision and audit counts. One static figure of which app uses which package (W8)",[202,737,738,739,470,742,170,745,748,749,170,752,170,754,470,756,170,759,762,763],{},"Snapshot ",[152,740,741],{},"usage",[152,743,744],{},"scriptRows",[152,746,747],{},"sumDays","), ",[152,750,751],{},"metrics",[152,753,617],{},[152,755,542],{},[152,757,758],{},"useDecisionReports",[152,760,761],{},"useAuditReports","); the figure from ",[152,764,270],{},[202,766,767],{},"Existing",[202,769,770],{},"The paragraph without its numbers; no figure",[182,772,773,775,778,792,794],{},[202,774,64],{},[202,776,777],{},"How the work is run: the latest decisions and the active workflows as index rows (W4)",[202,779,738,780,470,782,785,786,470,789,239],{},[152,781,542],{},[152,783,784],{},"sortDecisions","); ",[152,787,788],{},"data\u002Fworkflows\u002F",[152,790,791],{},"activeProjects",[202,793,767],{},[202,795,796],{},"Workflows only",[182,798,799,801,804,812,814],{},[202,800,33],{},[202,802,803],{},"The developer view link and the snapshot's age",[202,805,738,806,470,809,239],{},[152,807,808],{},"manifest",[152,810,811],{},"SnapshotAge",[202,813,767],{},[202,815,816],{},"The link only",[132,818,819],{},"Sections 1 and 2 read data written for visitors, not the snapshot. That copy is approved by the owner,\nwhich 0039 allows.",[127,821,823],{"id":822},"options-considered","Options considered",[176,825,826,836],{},[179,827,828],{},[182,829,830,833],{},[185,831,832],{},"Option",[185,834,835],{},"Why not",[197,837,838,848,860],{},[182,839,840,842],{},[202,841,192],{},[202,843,844,845,847],{},"One click for every visitor at ",[152,846,154],{}," to save a scroll; a page with no content of its own; skipped by every deep link",[182,849,850,857],{},[202,851,852,853,856],{},"Toggle by ",[152,854,855],{},"?view="," query, as Cafeteria does",[202,858,859],{},"A prerendered site serves one HTML per route, so the query changes nothing with JavaScript off",[182,861,862,865],{},[202,863,864],{},"Remove developer-only pages from the visitor build",[202,866,867],{},"0039 keeps every route addressable, and #474 removes nothing",[127,869,871],{"id":870},"consequences","Consequences",[132,873,874,877,878,170,880,883,884,887],{},[152,875,876],{},"cap:scope-signoff"," approves this report, and ",[152,879,707],{},[152,881,882],{},"cap:view-switch"," and\n",[152,885,886],{},"cap:design-lab"," build on it.",[132,889,890,150,893,896,897,899,900,903,904,906,907,899,910,912,913,915,916,918],{},[147,891,892],{},"Order.",[152,894,895],{},"view-switch"," moves ",[152,898,315],{}," to ",[152,901,902],{},"app\u002Fpages\u002Foverview.vue"," and sets\n",[152,905,266],{},"'s ",[152,908,909],{},"overview.to",[152,911,158],{}," before the front page takes ",[152,914,154],{},". Otherwise ",[152,917,154],{}," has\nno developer home to link to while the front page is built.",[132,920,921],{},[147,922,923],{},"Tripwires.",[925,926,927,943,950,966],"ul",{},[928,929,930,931,934,935,938,939,942],"li",{},"The prerendered HTML has one nav per route, so it always renders the visitor nav plus the\ndeveloper-view link. A remembered developer choice can swap in the full nav only after mount, the\nway ",[152,932,933],{},"unfoldCurrent"," waits for ",[152,936,937],{},"onMounted"," in ",[152,940,941],{},"app\u002Flayouts\u002Fdefault.vue",". Swapping earlier is a\nhydration mismatch.",[928,944,945,946,949],{},"In the lab, the W1 sentence alone filled the first screen at 390 px and pushed the first app to\n889 px. ",[152,947,948],{},"design-lab"," has to keep the top of the first screenshot in the first screen at 390, or\nthe toggle loses its edge over the door.",[928,951,952,953,956,957,960,961,280,963,965],{},"Shipped apps are those tagged ",[152,954,955],{},"type:app"," without ",[152,958,959],{},"scope:internal",": Huella Legal and Marina Roustan\ntoday. ",[152,962,36],{},[152,964,56],{}," are internal.",[928,967,968,971,972,150,975,978,979,982],{},[152,969,970],{},"\u002Flab"," is dropped from the production build by a ",[152,973,974],{},"$production",[152,976,977],{},"pages:extend"," hook in\n",[152,980,981],{},"nuxt.config.ts",". A lab page that stops being dev-only would ship.",[127,984,986],{"id":985},"confirmation","Confirmation",[176,988,989,999],{},[179,990,991],{},[182,992,993,996],{},[185,994,995],{},"Claim",[185,997,998],{},"Check",[197,1000,1001,1018,1035,1049,1063],{},[182,1002,1003,1008],{},[202,1004,1005,1007],{},[152,1006,154],{}," is the visitor front page and the Overview lives on",[202,1009,1010,1013,1014,1017],{},[152,1011,1012],{},".output\u002Fpublic\u002Findex.html"," contains the W1 sentence; ",[152,1015,1016],{},".output\u002Fpublic\u002Foverview\u002Findex.html"," exists",[182,1019,1020,1023],{},[202,1021,1022],{},"The toggle reads with JavaScript off",[202,1024,1025,1026,1029,1030,1032,1033],{},"Playwright, ",[152,1027,1028],{},"javaScriptEnabled: false",": from ",[152,1031,154],{},", one click on \"Developer view\" reaches ",[152,1034,158],{},[182,1036,1037,1040],{},[202,1038,1039],{},"Developer-only pages leave only the visitor nav",[202,1041,1042,1043,938,1046],{},"Every route in the table still has an ",[152,1044,1045],{},"index.html",[152,1047,1048],{},".output\u002Fpublic",[182,1050,1051,1054],{},[202,1052,1053],{},"No lab page ships",[202,1055,1056,1059,1060],{},[152,1057,1058],{},"ls apps\u002Fdeveloper-portal\u002F.output\u002Fpublic\u002Flab"," fails after ",[152,1061,1062],{},"nx build-static",[182,1064,1065,1068],{},[202,1066,1067],{},"The front page renders without a snapshot",[202,1069,1070,1071,1073,1074,1077,1078,1080],{},"With ",[152,1072,689],{}," moved aside, ",[152,1075,1076],{},"build-static"," succeeds and ",[152,1079,154],{}," shows sections 1, 2 and 5",{"title":1082,"searchDepth":1083,"depth":1083,"links":1084},"",2,[1085,1086,1091,1092,1093],{"id":129,"depth":1083,"text":130},{"id":142,"depth":1083,"text":143,"children":1087},[1088,1090],{"id":255,"depth":1089,"text":256},3,{"id":661,"depth":1089,"text":662},{"id":822,"depth":1083,"text":823},{"id":870,"depth":1083,"text":871},{"id":985,"depth":1083,"text":986},"md",null,{"issue":1097,"status":1098,"decision":1099,"supersededBy":1100},474,"to-implement","superseded","0041-personal-site-splits-from-developer-portal.md",true,"\u002Fdocs\u002Fdecisions\u002F0040-developer-portal-visitor-structure",{"title":118,"description":1082},"docs\u002Fdecisions\u002F0040-developer-portal-visitor-structure","5tiDZ_r8n7zaWt3UyHaUabFN-du2A3jFGAiOzpLir5E",1795478396360]