Site IA: broad sidebar, four spec families, one registry

Anthony: "that site needs better information architecture, it's impossible
to find anything", "start broad in sidebar and drill down with dedicated
pages, not all one page", and "I see none of our specs" on the home page.

One registry, lib/specs.ts, now lists every specification in four
families (people and agents; access and credentials; catalogs a site
serves about itself; agents and process), with a landing path, a
specification path and, for OpenServer's blocks, a parent. Everything
that lists specs reads it: the sidebar (lib/nav.ts, four groups: Start,
Specs, Tools, Company, rendered by SiteShell and by the home page string
from the same array), /specs and /specs/<family>, the home page's
Standards Surface grid (families with their specs, replacing the five
abstract primitives), /docs (grouped by family, then guides), the sitemap
and llms.txt. DOC_SLUGS is derived from the registry. Adding a spec is
one entry plus its files; the four hand-kept lists are gone.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014cmNRtR2vL1p89dbVQ7FZJ
This commit is contained in:
Anthony Ettinger 2026-09-13 03:35:05 +00:00
parent a005d7c716
commit 8756853e68
12 changed files with 553 additions and 219 deletions

View file

@ -0,0 +1,50 @@
import Link from "next/link";
import type { ReactNode } from "react";
import type { Metadata } from "next";
import { SiteShell } from "@/components/site-shell";
import { FAMILIES, familyTree } from "@/lib/specs";
export const metadata: Metadata = {
title: "Specs · LogicSRC",
description:
"Every LogicSRC specification in four families: people and agents, access and credentials, catalogs a site serves about itself, and agents and process. Each family drills down to its specs, each spec to an overview and the specification text.",
alternates: { canonical: "/specs" }
};
export default function SpecsIndex(): ReactNode {
return (
<SiteShell active="Specs">
<div className="band">
<div className="section-head">
<p className="eyebrow">LogicSRC standards surface</p>
<h2>Specs</h2>
<p>
Four families. Pick one, then a spec, then read its overview or the specification text.
Every spec is CC BY 4.0, every rule degrades, and a file at a well-known URL is the whole
protocol.
</p>
</div>
<div className="primitive-grid">
{FAMILIES.map((family) => (
<article key={family.slug} className="tile">
<h3>
<Link href={`/specs/${family.slug}`} style={{ color: "inherit", textDecoration: "none" }}>
{family.name}
</Link>
</h3>
<p>{family.line}.</p>
<p style={{ color: "#5b6b7a", fontSize: "0.9rem", marginTop: "0.5rem" }}>
{familyTree(family)
.map(({ spec }) => spec.name)
.join(" · ")}
</p>
<p style={{ marginTop: "0.5rem", fontSize: "0.9rem" }}>
<Link href={`/specs/${family.slug}`}>See the family</Link>
</p>
</article>
))}
</div>
</div>
</SiteShell>
);
}