[{"data":1,"prerenderedAt":683},["ShallowReactive",2],{"figure-telemetry":3,"menu-audits":6,"menu-decisions":7,"menu-projects":23,"menu-workflows":99,"decision-0001-feature-discoverability":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":664,"extension":672,"kind":673,"meta":674,"navigation":678,"path":679,"seo":680,"stem":681,"url":673,"verdict":673,"__hash__":682},"docs\u002Fdocs\u002Fdecisions\u002F0001-feature-discoverability.md","🧭 Making the repo's feature surface discoverable",{"type":120,"value":121,"toc":663},"minimark",[122,126,131,140,162,166,173,307,310,320,332,335,402,437,459,480,497,501,574,578,588,594,633,639,642,646],[123,124,118],"h1",{"id":125},"making-the-repos-feature-surface-discoverable",[127,128,130],"h2",{"id":129},"context","Context",[132,133,134,135,139],"p",{},"The repo keeps growing and nothing says what it contains. Land in\n",[136,137,138],"code",{},"infrastructure\u002Fscripts\u002Fsrc\u002Fdrift\u002F"," cold and there was no way to have known \"drift\" was a concept\nhere; the same holds for the other six projects and for the automation scattered across hooks and\nworkflows. The proposal was to grow a repo-scoped docs collection, with an internal app to render it\nlater.",[132,141,142,143,146,147,154,155,161],{},"What made it a decision rather than a ticket is that the tree already holds forty-three hand-written\nmarkdown files, with every one of the eight projects carrying both a README and a ",[136,144,145],{},"CLAUDE.md"," and\n",[148,149,151],"a",{"href":150},"\u002Fwiki\u002F.claude\u002Fskills\u002Fhouse-docs\u002Fskill",[136,152,153],{},"house-docs"," setting their voice. So the question was\nwhat a new collection holds that those don't — because anything that re-tells them is a second copy\nof content ",[148,156,158],{"href":157},"\u002Fwiki\u002Fdocs\u002Fdecisions\u002F0002-docs-drift-detection",[136,159,160],{},"0002-docs-drift-detection.md"," had just named as this\nrepo's standing failure mode.",[127,163,165],{"id":164},"result","Result",[132,167,168,172],{},[169,170,171],"strong",{},"READMEs are not enough, and they already aren't."," They are excellent at one genre — per-project\nreference, colocated with the code so it changes in the same diff — and structurally cannot hold a\nsubject that spans projects, because there is no project whose README owns it. That is not a volume\nproblem that better READMEs fix; it is a genre missing from the repo. Three subjects prove it:",[174,175,176,189],"table",{},[177,178,179],"thead",{},[180,181,182,186],"tr",{},[183,184,185],"th",{},"Subject nothing owns",[183,187,188],{},"Scattered across",[190,191,192,233,256,285],"tbody",{},[180,193,194,198],{},[195,196,197],"td",{},"The lifecycle of a change, end to end",[195,199,200,203,204,207,208,214,215,221,222,228,229,232],{},[136,201,202],{},"issue:pick"," → branch regex → the ",[136,205,206],{},"[50]"," subject injection in ",[148,209,211],{"href":210},"repo:.husky\u002Fcommit-msg",[136,212,213],{},"commit-msg"," → four ",[148,216,218],{"href":217},"repo:.husky\u002Fpre-push",[136,219,220],{},"pre-push"," gates → ",[148,223,225],{"href":224},"repo:.github\u002Fworkflows\u002Fpr-metadata.yml",[136,226,227],{},"pr-metadata.yml"," and its PAT → CI → ",[136,230,231],{},"nx release",". The root README carries fragments in two sections; the injection appears nowhere",[180,234,235,238],{},[195,236,237],{},"Why the boundary system exists at all",[195,239,240,241,247,248,251,252,255],{},"The tag table is in the root README and ",[148,242,244],{"href":243},"repo:packages\u002Fconfigs\u002Fsrc\u002Feslint\u002Flib\u002Fboundaries.ts",[136,245,246],{},"boundaries.ts",", and each project states its own tag — but nothing says why layering by tag rather than by folder, why ",[136,249,250],{},"type:feature"," and ",[136,253,254],{},"type:domain"," are reserved unused, or how to choose a tag for a new project",[180,257,258,261],{},[195,259,260],{},"Adding a locale",[195,262,263,266,267,269,270,276,277,280,281,284],{},[136,264,265],{},"nuxt.config.ts","'s ",[136,268,76],{}," block, the JSON in ",[148,271,273],{"href":272},"\u002Fwiki\u002Finfrastructure\u002Ftranslations\u002Freadme",[136,274,275],{},"infrastructure\u002Ftranslations",", and ",[136,278,279],{},"Locale"," in ",[136,282,283],{},"@joinery\u002Fi18n",". Each README covers its own half of it; the task has no home",[180,286,287,290],{},[195,288,289],{},"The agent setup as a thing a human can inspect",[195,291,292,293,296,297,300,301,303,304,306],{},"Twelve skills, two ",[136,294,295],{},"PostToolUse"," hooks, the ",[136,298,299],{},"deny"," list and four ",[136,302,145],{}," files, indexed only from the root ",[136,305,145],{}," — which is written for agents",[132,308,309],{},"So the collection is worth growing, and it earns its existence from one rule:",[311,312,313],"blockquote",{},[132,314,315,316,319],{},"A subject enters ",[136,317,318],{},"docs\u002F"," only if no single project owns it.",[132,321,322,323,327,328,331],{},"That rule is the whole design. It makes overlap with the READMEs impossible by construction rather\nthan by discipline, so the drift class 0002 is about cannot arise here: there is never a second copy\nbecause there was never a first one. Its corollary answers the growth worry directly — when one\nproject's docs outgrow a single file, they subdivide ",[324,325,326],"em",{},"inside that project"," (",[136,329,330],{},"apps\u002Fhuella-legal\u002Fdocs\u002F",",\nsub-READMEs beside the code), they do not migrate to the root tree. The root tree grows only when a\ngenuinely new cross-project subject appears, which is a much slower rate than the app grows.",[132,333,334],{},"Three homes, split by what a reader wants rather than by topic:",[174,336,337,350],{},[177,338,339],{},[180,340,341,344,347],{},[183,342,343],{},"Home",[183,345,346],{},"Holds",[183,348,349],{},"On day one",[190,351,352,369,385],{},[180,353,354,359,366],{},[195,355,356],{},[136,357,358],{},"docs\u002Fconcepts\u002F",[195,360,361,362,365],{},"The models that span projects — the ",[324,363,364],{},"why",", no procedure",[195,367,368],{},"The boundary model; how a version gets derived from a commit",[180,370,371,376,379],{},[195,372,373],{},[136,374,375],{},"docs\u002Fguides\u002F",[195,377,378],{},"Task-shaped, cross-project, procedural",[195,380,381,382,384],{},"First hour in this repo; adding a locale; what happens between ",[136,383,202],{}," and a merged PR",[180,386,387,392,395],{},[195,388,389],{},[136,390,391],{},"docs\u002FFEATURES.md",[195,393,394],{},"Generated index: every command, hook, workflow and skill, with the doc that explains it",[195,396,397,398,401],{},"Rendered by ",[136,399,400],{},"pnpm docs:map",", checked in CI",[132,403,404,406,407,409,410,266,413,251,415,418,419,422,423,251,426,429,430,436],{},[136,405,391],{}," is the only generated one, and it stays a pure index — what invokes a capability,\nwhere it lives, which doc explains it, and nothing else. The ",[324,408,364],{}," stays in the doc it points at, so\nthe map has no hand-written column to clobber on the next render. It enumerates what already\ndeclares the surface: each ",[136,411,412],{},"package.json",[136,414,90],{},[136,416,417],{},"nx.tags",", ",[136,420,421],{},".github\u002Fworkflows\u002F",",\n",[136,424,425],{},".husky\u002F*",[136,427,428],{},".agents\u002Fskills\u002F*",", from a new folder under\n",[148,431,433],{"href":432},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Freadme#adding-a-script",[136,434,435],{},"infrastructure\u002Fscripts\u002Fsrc\u002F",".",[132,438,439,440,443,444,447,448,454,455,458],{},"Implementing it settled one thing this record had wrong. The intended check was two assertions —\nthe map matches its render, ",[324,441,442],{},"and"," every capability resolves to a doc — but the second one has to be\na column rather than a gate: ",[136,445,446],{},"pnpm release"," is undocumented deliberately, because releases run from\nthe Release workflow and never locally, and a gate demanding a doc for it demands the wrong thing.\nSo ",[148,449,451],{"href":450},"\u002Fwiki\u002Finfrastructure\u002Fscripts\u002Fsrc\u002Fmap\u002Freadme",[136,452,453],{},"docs:map --check"," asserts the exact match\nonly, and a ",[136,456,457],{},"—"," row stays visible for a human to judge. The forcing function survives intact: a new\nscript, hook, workflow or skill changes the render and fails CI until the map is regenerated.",[132,460,461,462,464,465,468,469,472,473,476,477,479],{},"The first render found four capabilities no doc mentioned — the ",[136,463,213],{}," subject rewriting,\n",[136,466,467],{},"pnpm test:coverage",", the ",[136,470,471],{},"Release"," workflow file and the ",[136,474,475],{},"doc-drift-check"," skill, which was missing\nfrom the root ",[136,478,145],{}," skills table. All four were closed by writing into the doc that should\nhave had them, not into a new file, which is the behaviour the rule below is meant to produce.",[132,481,482,483,489,490,492,493,496],{},"AI carries the extraction and the audit on all three: enumerating the surface, diffing a render\nagainst what is checked in, and reporting which cross-project subject has no doc.\n",[148,484,486],{"href":485},"repo:infrastructure\u002Fscripts\u002Fsrc\u002Fdrift\u002Fdomain\u002Fdetect.ts",[136,487,488],{},"drift\u002Fdetect.ts"," already does the hard part of\nthe diff. What it does not do is author a concept doc unreviewed — ",[136,491,153],{}," names that as the\nanti-pattern because it yields text restating a signature where the constraint was the only thing\nworth reading, and the concepts tree is ",[324,494,495],{},"entirely"," constraint.",[127,498,500],{"id":499},"options-considered","Options considered",[174,502,503,513],{},[177,504,505],{},[180,506,507,510],{},[183,508,509],{},"Option",[183,511,512],{},"Why not",[190,514,515,523,535,546,554,562],{},[180,516,517,520],{},[195,518,519],{},"Per-project READMEs only",[195,521,522],{},"The status quo. No README can own a subject that spans projects, so the four rows above stay unwritten however good the READMEs get",[180,524,525,532],{},[195,526,527,528,531],{},"A generated ",[136,529,530],{},"FEATURES.md"," and nothing else",[195,533,534],{},"A table of contents is not documentation: it answers \"what exists\" and never \"how does this fit together\". It is necessary and it was too thin as the whole answer",[180,536,537,543],{},[195,538,539,540,542],{},"Consolidate prose into ",[136,541,318],{},", READMEs reduced to stubs",[195,544,545],{},"Moves canonical text away from the code, so a doc stops changing in the diff that changes its subject, and buys a drift pair per project to police what colocation was already preventing",[180,547,548,551],{},[195,549,550],{},"A folder per Diátaxis genre, all four",[195,552,553],{},"Reference is the genre the READMEs already are; a fourth folder for it would be the duplication this avoids. Three earn their existence, one doesn't",[180,555,556,559],{},[195,557,558],{},"A hand-written index",[195,560,561],{},"Cheapest to start, fastest to rot — nothing forces a row for the next script, which is how three of the four index gaps happened",[180,563,564,567],{},[195,565,566],{},"GitHub wiki",[195,568,569,570,573],{},"Outside the repo: no review, no ",[136,571,572],{},"docs:check",", and no way for a doc to land in the same PR as the code it describes — already rejected in #37",[127,575,577],{"id":576},"consequences","Consequences",[132,579,580,581,584,585,587],{},"Unlocks the two things a README cannot be: an ordered way in for someone who has never seen the\nrepo, and a home for the cross-project subjects that currently live only in whoever wrote them.\nBoth arrive with a gate rather than a good intention — once ",[136,582,583],{},"docs:map"," runs inside ",[136,586,572],{},",\nadding a capability without a doc becomes a CI failure.",[132,589,590,591,593],{},"Forecloses the option of ever consolidating the READMEs into ",[136,592,318],{},". The ownership rule cuts both\nways: it keeps the new tree free of duplicates, and it means a project's own docs stay in the\nproject forever, subdividing in place as they grow.",[132,595,596,597,600,601,605,606,609,610,613,614,617,618,621,622,625,626,628,629,632],{},"The internal app to render all of this is ",[169,598,599],{},"deferred out of this decision"," — it is a view over the\nsame sources and changes nothing about where they live. When it comes back it needs a boundary\ndecision before any scaffolding, and that is the reusable finding: it fits nowhere in the tag table\ntoday, since the ",[148,602,604],{"href":603},"\u002Fwiki\u002Freadme#architecture--boundaries","root README"," defines ",[136,607,608],{},"infrastructure\u002F","\nas what is neither released nor user-facing — a docs site exactly — while ",[136,611,612],{},"type:infra"," may depend\nonly on ",[136,615,616],{},"type:config"," and so could not import ",[136,619,620],{},"@joinery\u002Fui",". Filing it under ",[136,623,624],{},"apps\u002F"," contradicts\nthat same paragraph. Either ",[136,627,612],{}," widens or a ",[136,630,631],{},"type:docs"," tag lands in both copies of the\ntable.",[132,634,635,636,638],{},"Revisit the ownership rule if a subject arrives that one project mostly owns but not entirely. The\nrule has no tie-breaker by design, and inventing one per document is how a ",[136,637,318],{}," tree starts\nabsorbing prose that belonged next to the code.",[132,640,641],{},"#38 is a duplicate of #37 and closes with it. The map, the concepts tree and the guides tree are\nthree implementation issues; none has been filed.",[127,643,645],{"id":644},"confirmation","Confirmation",[132,647,648,651,652,655,656,418,658,251,660,662],{},[136,649,650],{},"pnpm docs:map --check"," in CI (",[136,653,654],{},"ci.yml",") fails the build the moment a capability is added without a\nre-render, and ",[136,657,358],{},[136,659,375],{},[136,661,391],{}," existing in the tree is the\nrest of the claim.",{"title":664,"searchDepth":665,"depth":665,"links":666},"",2,[667,668,669,670,671],{"id":129,"depth":665,"text":130},{"id":164,"depth":665,"text":165},{"id":499,"depth":665,"text":500},{"id":576,"depth":665,"text":577},{"id":644,"depth":665,"text":645},"md",null,{"issue":675,"status":676,"decision":677},37,"implemented","accepted",true,"\u002Fdocs\u002Fdecisions\u002F0001-feature-discoverability",{"title":118,"description":664},"docs\u002Fdecisions\u002F0001-feature-discoverability","fQ9cCyKxF4FhXMokfgwqkaxr4KanuTGP7YXaNIBgEvI",1795478398443]