Workshop material. This page records an investigation. A proposal here is not, by itself, an adopted Commonplace decision.
Initial analysis: accessing Commonplace via GitHub or the rendered HTML site
Captured 2026-11-26 from inspecting README.md, kb/index.md, kb/README.md, properdocs.yml, properdocs_hooks.py, site_links.py, and collection landings. Candidate changes below are options to evaluate, not adopted commitments.
1. Structural diagnosis
Commonplace's discovery model (ADR 025, ADR 140) rests on two local access paths: curated heads plus scoped rg over frontmatter for agents, and ProperDocs build-time listings plus browser find for humans. When accessed remotely without cloning or installing — the mode advertised in README.md — those assumptions break for both consumers.
A recursive count of Markdown files under kb/ (excluding kb/sources/.snapshots/ and kb/workflow-state/data/, measured 2026-11-26) shows 6,243 files:
- Core readable KB (~520 files):
theory/(464),tags/(35),articles/(13),notes/(7) - System and procedures (~410 files):
reference/(265),instructions/(126),types/(21) - Bulk, in-flight, or historical (~5,300 files):
agentic-system-analyses/(2,977),work/(1,090),sources/(631),reports/(272),agent-memory-systems/(175),agentic-systems/(156), plustasks/(5),workflow-state/(2),messages/(1), and top-levelindex.md,README.md,log.md
Both the GitHub repository and the rendered site expose the ~5,300 bulk, in-flight, or historical pages alongside the ~520 core pages, while offering no remote equivalent of rg over description: frontmatter.
2. External agents (web fetch or GitHub without cloning)
- Build-time
llms.txtat site root (https://zby.github.io/commonplace/llms.txt). - Currently absent. A compact (~2–5 KB) machine-oriented entry file could name:
- which collections carry transferable doctrine (
theory/,articles/,agentic-systems/comparisons/) vs. Commonplace-specific contracts (reference/,instructions/) vs. exploratory or historical material (work/,agent-memory-systems/); - where the topic index and metadata catalogs live;
- how to fetch raw Markdown instead of HTML, and when to prefer
git clone --depth 1plusrgif the agent has a shell.
- which collections carry transferable doctrine (
- Compact build-time metadata catalog for core collections.
- ProperDocs's stock
search/search_index.jsonis client-side JS and indexes full page bodies across thousands of pages, making it oversized and noisy for remote agent fetches. - Emitting a slim build-time catalog (for example
catalog/theory.tsvor.jsonwithpath,title,description,tags,type,user-verifiedfortheory/,articles/,tags/,reference/, andagentic-systems/) would total roughly 100 KB fortheory/and restoreADR 025's selectivetitle + descriptiontriage over HTTP. - Clean Markdown access from the rendered site.
- Fetching rendered HTML pages pulls navigation chrome, sidebars, and Giscus script markup into bounded agent context. Emitting raw
.mdcompanions at build time — or explicitly documenting theraw.githubusercontent.com/zby/commonplace/main/kb/...path mapping inllms.txtandREADME.md— reduces fetch overhead and preserves YAML frontmatter. - Keep rendered tag heads lightweight while keeping full membership one click away.
- properdocs_hooks.py appends the full
## Tagged artifacts by collectionlisting directly onto eachtags/<tag>-README.html. For tags with over 100 members, a web-fetching agent opening the curated head pays linear context cost on the entire generated tail. Splitting the generated listing onto a sibling page (linked from the head) preserves lightweight head reads for agents while keeping complete membership accessible to human browsers. - Strengthen the consultation protocol and signpost
AGENTS.md. - README.md currently offers one example prompt and four bullets, including "Browse ongoing investigations (
./kb/work/)" without warning thatwork/holds 1,090 exploratory or unadopted files. - A short consultation guide could provide problem-to-collection routing, evidence-weighting guidance (
theory/vs.reference/vs.agentic-system-analyses/vs.work/), and copy-pasteable prompts. - A two-line pointer at the top of AGENTS.md can route read-only consulting agents away from the 14 KB of maintainer rules when they clone or inspect the repository.
3. Human readers on https://zby.github.io/commonplace/
- Improve search and top-level navigation signal-to-noise.
- Search: properdocs.yml uses the stock
searchplugin with no collection weighting or faceting. Searches for terms like "memory" or "review" mix coretheory/andarticles/with 2,977 analysis sub-files, 1,090work/drafts, 631sources/ingests, 175 frozenagent-memory-systems/files, and potentiallyreports/(which is omitted from nav viaUNPUBLISHED_COLLECTIONSbut not listed inexclude_docs). Scoping default search exclusions or switching to a static faceted search index (such as Pagefind) would separate durable reading from bulk appendix material. - Top nav:
on_configin properdocs_hooks.py generates 11 flat top-level items in alphabetical order (Home,Tags,Agentic Systems,Articles,Instructions,Notes,Reference,Sources,Theory,Work,GitHub). Grouping into reader tiers — core reading (Tags,Articles,Theory,Agentic Systems), system docs (Reference,Instructions,Notes), and appendix (Sources,Work) — would make collection roles visible immediately. - Render build-time backlinks ("Referenced by") on each page.
- Already designed in backlink-surfacing.md based on inbound and outbound links serve asymmetric reader needs. Because
contradicts,contrasts, andextendslinks are often one-sided, build-time inbound links give web readers visibility into extensions and counterexamples without committing generated footers. - Add link hover previews from frontmatter
description. - Every note already carries a validated 50–250 character
description. Exposing that description on internal links (for example viasite_links.pyattributes or a small tooltip asset) applies agents navigate by deciding what to read next to human web reading by supplying information scent before a click. - Upgrade page framing, authority banners, and GitHub source links.
- Replace raw type paths (
**Type:** types/note.md) rendered byon_page_markdownin properdocs_hooks.py with readable labels, and surfacedescriptionas a subtitle and HTML<meta name="description">. - Render explicit collection banners on
kb/work/(exploratory, not adopted doctrine) andkb/agent-memory-systems/(historical and frozen) so visitors arriving via search or deep links know the page's status. - Configure
repo_urlor inject per-page "View source on GitHub" and "Open an issue" links so readers can inspect history or contest a claim directly. - Add problem-oriented entry paths alongside the tag index.
- kb/tags/README.md organizes 35 tags by Commonplace's own conceptual vocabulary (Constraining, Artifact analysis, Method-guided action). Pairing it with 4–5 task-oriented reading tracks on kb/index.md (such as designing agent memory, preventing prompt/instruction drift, building a project LLM wiki, and reading the continual-learning research) lowers entry friction for newcomers.
4. GitHub repository browsing (github.com/zby/commonplace)
- Fix build-time-only links that 404 on GitHub.
- kb/agentic-systems/README.md links to
../agentic-system-analyses/current-analyses.md, which is materialized only in ProperDocs memory (not present on disk) and returns 404 when clicked on GitHub. Audit other links to build-time-only pages (systems.md,dir-index.md) for the same failure. - Make kb/README.md navigable on GitHub.
- GitHub renders
kb/README.mdwhenever someone openskb/, whereas ProperDocs shadows it withkb/index.md. Currentlykb/README.mdlists collection paths in backticks with no clickable links and does not point to kb/index.md, kb/tags/README.md, or the rendered site. - Bridge selective tag heads on GitHub to full membership.
- Because
kb/tags/*-README.mdheads are selective (ADR 140) and lack build-time tails on GitHub, kb/tags/README.md can document how a remote GitHub reader enumerates a tag (either on the rendered site or via GitHub code search).
5. Suggested first empirical step
Before investing in larger ProperDocs changes, run a bounded diagnostic test: give a fresh external agent access only to https://zby.github.io/commonplace/ and https://github.com/zby/commonplace (no local clone), run the consultation prompt from README.md against a real target repository, and record where the agent stalls, burns context on HTML or tag tails, misses relevant theory, or misinterprets kb/work/ as settled doctrine. Use those observed failure modes to prioritize which fixes to implement first.