Skip to content

Commit 7f2b748

Browse files
docs: close-out — honest user quickstart, sketch guides/ADRs, wiki seed, planned scaffolding (#29)
Documentation close-out pass. No functional/code changes. - QUICKSTART-USER.adoc: replace the generic RSR CLI-app boilerplate (just setup/run/doctor/heal/tour/uninstall — none of which exist for a Worker/registry) with an honest registry/API quickstart, marked alpha. - Index the 1-line "Unit" stub READMEs that sit atop real content: docs/practice, docs/developer, docs/governance, docs/decisions, docs/README. - Add sketch guides (honest "planned" outlines): developer/VERISIM-QUERY-GUIDE, developer/REPO-ONBOARDING, USER-API-GUIDE, governance/INCIDENT-RESPONSE. - Add 5 ADR sketches: 0001 pointer authority, 0002 clade taxonomy, 0003 VeriSimDB+KV (accepted/retro-documented), 0004 API versioning, 0005 governance exceptions (open). - Seed docs/wikis/ (Core-Concepts, Workflows, Glossary) + index; sync automation tracked separately. - Mark 29 empty RSR scaffold READMEs (theory/, whitepapers/, reports/, governance planning|audit|maintenance substubs, standards) as "planned — not yet written" so they stop implying false completeness (guarded: real content untouched). - STATE.a2ml: bump last-updated; register sketches + recent CI/docs changes. Follow-up issues: Worker API contract (OpenAPI), release runbook (Phases 3-8), wiki sync automation. Claude-Session: https://claude.ai/code/session_01UCnxjXkN6uDj9YSANuGEgR Co-authored-by: Claude <noreply@anthropic.com>
1 parent 57f3d7a commit 7f2b748

49 files changed

Lines changed: 703 additions & 128 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.machine_readable/6a2/STATE.a2ml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[metadata]
77
project = "gv-clade-index"
88
version = "0.1.0"
9-
last-updated = "2026-06-20"
9+
last-updated = "2026-06-21"
1010
status = "active"
1111

1212
[project-context]
@@ -49,3 +49,31 @@ actions = [
4949
"Deploy CLADE.a2ml to all 200 repos (sync/deploy-clade-a2ml.sh)",
5050
"Write sync/ingest tooling in Rust",
5151
]
52+
53+
[recent-changes]
54+
notes = [
55+
"2026-06-21: CI/docs hardening — standards reusables bumped (#26); Hypatia advisory findings cleared (#27, 11->3, all remaining are scanner false-positives); upstream fixes tracked in #28.",
56+
"2026-06-21: Docs close-out — branch cleanup; added sketch guides + ADRs (see [documentation.sketches]); marked empty RSR scaffold dirs as planned; seeded docs/wikis/.",
57+
]
58+
59+
# Sketch/planned docs scaffolded 2026-06-21 — honest outlines present, content to be filled.
60+
[documentation.sketches]
61+
developer = [
62+
"docs/developer/VERISIM-QUERY-GUIDE.adoc",
63+
"docs/developer/REPO-ONBOARDING.adoc",
64+
]
65+
user = ["docs/USER-API-GUIDE.adoc"]
66+
maintainer = ["docs/governance/INCIDENT-RESPONSE.adoc"]
67+
decisions = [
68+
"docs/decisions/0001-pointer-authority.adoc (accepted; expand)",
69+
"docs/decisions/0002-clade-taxonomy.adoc (accepted; expand)",
70+
"docs/decisions/0003-verisimdb-kv-architecture.adoc (accepted; expand)",
71+
"docs/decisions/0004-api-versioning.adoc (open)",
72+
"docs/decisions/0005-governance-exceptions.adoc (open)",
73+
]
74+
wiki = ["docs/wikis/Core-Concepts.adoc", "docs/wikis/Workflows.adoc", "docs/wikis/Glossary.adoc"]
75+
tracked-issues = [
76+
"Worker HTTP API contract (OpenAPI 3.1)",
77+
"Release runbook: Phases 3-8",
78+
"Wiki sync automation",
79+
]

QUICKSTART-USER.adoc

Lines changed: 29 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -1,124 +1,44 @@
11
// SPDX-License-Identifier: MPL-2.0
2-
// Template: QUICKSTART-USER.adoc — 5-minute path to working software
3-
// Replace gv-clade-index, Gv Clade Index — See README.adoc for details., just run, Gv Clade Index started successfully. with actuals
42
= gv-clade-index — Quick Start for Users
53
:toc:
6-
:toclevels: 2
4+
:icons: font
75

86
== What is gv-clade-index?
97

10-
Gv Clade Index — See README.adoc for details.
8+
The clade index is the central *registry* for the hyperpolymath ecosystem — a
9+
queryable taxonomy of 200+ repositories across 12 clades. It is the *map*:
10+
read-only and always clean. You *consume* it; you do not install or run it
11+
locally. (For local development, see link:QUICKSTART-DEV.adoc[QUICKSTART-DEV].)
1112

12-
== Prerequisites
13+
[IMPORTANT]
14+
====
15+
*Alpha / in development (~18%).* The public HTTP API is Phase 3 and is *not yet
16+
deployed* — it needs a Cloudflare token and a live VeriSimDB instance (see
17+
`.machine_readable/6a2/STATE.a2ml`). Until then, browse the registry data and
18+
docs directly in this repository.
19+
====
1320

14-
Before you begin, ensure you have:
21+
== Use it today (in-repo)
1522

16-
* **just** — task runner (https://github.com/casey/just[install guide])
17-
* Platform-specific requirements listed below
23+
* Browse the taxonomy and architecture: link:README.adoc[README]
24+
* Inspect the registry data: `verisim/seed/` (clades, repos, forges) and the
25+
pre-built queries in `verisim/queries/`
26+
* See how a repo is classified: its `.machine_readable/CLADE.a2ml`
1827

19-
[cols="1,3"]
20-
|===
21-
| Platform | Additional Requirements
28+
== Use it later (the API)
2229

23-
| Linux
24-
| See README.adoc
30+
Once deployed, external consumers will query the registry over HTTP — list repos
31+
by clade, find stale/orphan repos, fetch dashboard snapshots. The intended
32+
experience is sketched in link:docs/USER-API-GUIDE.adoc[the User API Guide]; the
33+
endpoint contract will be published as OpenAPI.
2534

26-
| macOS
27-
| See README.adoc
35+
== Get help
2836

29-
| Windows
30-
| See README.adoc
31-
|===
37+
* Overview & taxonomy: link:README.adoc[README]
38+
* Architecture & design: link:EXPLAINME.adoc[EXPLAINME]
39+
* Concepts & glossary: `docs/wikis/`
3240

33-
== Install
41+
== Next steps
3442

35-
=== Option 1: Standard Install (recommended)
36-
37-
[source,bash]
38-
----
39-
# Clone and set up
40-
git clone https://github.com/hyperpolymath/gv-clade-index.git
41-
cd gv-clade-index
42-
just setup
43-
----
44-
45-
The setup script will:
46-
47-
* Detect your platform and shell
48-
* Install missing dependencies (with your permission)
49-
* Configure the application
50-
* Offer install location choices
51-
* Run a self-diagnostic to verify everything works
52-
53-
=== Option 2: Container (via Stapeln)
54-
55-
[source,bash]
56-
----
57-
just stapeln-run
58-
----
59-
60-
=== Option 3: Portable (no system changes)
61-
62-
[source,bash]
63-
----
64-
just install --portable --prefix=./gv-clade-index-portable
65-
----
66-
67-
== First Run
68-
69-
[source,bash]
70-
----
71-
just run
72-
----
73-
74-
Expected output:
75-
76-
[source]
77-
----
78-
Gv Clade Index started successfully.
79-
----
80-
81-
== Self-Diagnostic
82-
83-
If something isn't working:
84-
85-
[source,bash]
86-
----
87-
just doctor
88-
----
89-
90-
This checks all dependencies, permissions, paths, and connectivity.
91-
If it finds issues, it will suggest fixes.
92-
93-
To attempt automatic repair:
94-
95-
[source,bash]
96-
----
97-
just heal
98-
----
99-
100-
== Get Help
101-
102-
* **In-app**: `just run --help`
103-
* **Guided tour**: `just tour`
104-
* **Report a problem**: `just help-me` (pre-fills diagnostic context)
105-
* **Wiki**: https://github.com/hyperpolymath/gv-clade-index/wiki
106-
107-
== Uninstall
108-
109-
[source,bash]
110-
----
111-
just uninstall
112-
----
113-
114-
You will be asked:
115-
116-
1. Which uninstall tier (Bennett reversible, parameter-based, standard, or secure)
117-
2. Whether to include or exclude your data
118-
3. Whether to clear caches and LLM models
119-
120-
== Next Steps
121-
122-
* Read the link:README.adoc[README] for full feature overview
123-
* Read the link:EXPLAINME.adoc[EXPLAINME] for architecture and design decisions
124-
* Try `just tour` for a guided walkthrough
43+
* Developers: link:QUICKSTART-DEV.adoc[Quick Start for Developers]
44+
* Full data model: link:docs/SPEC-clade-verisim-portal.adoc[the Specification]

docs/README.adoc

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
1+
// SPDX-License-Identifier: MPL-2.0
12
= Documentation Layout
23

34
Primary tracks:
45

5-
* `theory/` for formal and conceptual material
6-
* `practice/` for operational and implementation material
7-
* `maintenance/` for baseline checklists and release hard-pass runbooks
8-
* `whitepapers/academic/` for research-facing whitepapers
9-
* `whitepapers/industry/` for industry/outreach whitepapers
6+
* `developer/` — building on and extending the index (see link:developer/README.adoc[developer/])
7+
* `practice/` — operational & implementation material (conventions, state tracking)
8+
* `governance/` — policy, maintenance checklists, release & incident runbooks
9+
* `decisions/` — Architecture Decision Records (ADRs)
10+
* `architecture/` — threat model and architectural notes
11+
* `theory/` — formal and conceptual material _(largely planned/sketch)_
12+
* `whitepapers/` — research- and industry-facing papers _(planned)_
13+
* `reports/` — generated quality/compliance/security/perf reports _(planned)_
14+
* `wikis/` — long-form, community-facing deep-dives (source for the forge wiki)
1015

11-
Core docs:
16+
Key documents:
1217

13-
* `maintenance/MAINTENANCE-CHECKLIST.md`
14-
* `practice/SOFTWARE-DEVELOPMENT-APPROACH.adoc`
18+
* link:SPEC-clade-verisim-portal.adoc[Specification] — full data model & portal architecture
19+
* link:governance/MAINTENANCE-CHECKLIST.adoc[Maintenance Checklist]
20+
* link:governance/SOFTWARE-DEVELOPMENT-APPROACH.adoc[Software Development Approach]
21+
* link:architecture/THREAT-MODEL.adoc[Threat Model]
22+
* link:practice/AI-CONVENTIONS.adoc[AI Conventions]
23+
24+
Audience entry points (repo root):
25+
link:../README.adoc[README] ·
26+
link:../QUICKSTART-USER.adoc[Quick Start — Users] ·
27+
link:../QUICKSTART-DEV.adoc[Quick Start — Developers] ·
28+
link:../EXPLAINME.adoc[EXPLAINME]

docs/USER-API-GUIDE.adoc

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// SPDX-License-Identifier: MPL-2.0
2+
= Registry API — User Guide
3+
:toc:
4+
:icons: font
5+
6+
[NOTE]
7+
====
8+
*Status: SKETCH / planned — and alpha.* The HTTP API is Phase 3 (~60% built) and
9+
is *not yet publicly deployed* (blocked on a `CLOUDFLARE_API_TOKEN` secret and a
10+
VeriSimDB instance — see `.machine_readable/6a2/STATE.a2ml`). This guide
11+
describes the *intended* consumer experience; treat endpoints/shapes as
12+
provisional until the OpenAPI contract is published.
13+
====
14+
15+
== Purpose
16+
17+
For external consumers who want to *query* the clade registry over HTTP
18+
(the read-only public tier) — not to run it locally (for that, see
19+
`QUICKSTART-DEV.adoc`).
20+
21+
== What this is
22+
23+
The clade index is a queryable registry — the *map* of the hyperpolymath
24+
ecosystem (200+ repos, 12 clades). It is read-only and always clean; editing the
25+
map never touches the repositories themselves.
26+
27+
== Outline (to be completed)
28+
29+
. *Base URL & status* — currently in development; no public endpoint yet.
30+
. *Endpoints* — enumerated authoritatively once the OpenAPI 3.1 contract lands
31+
(tracked separately). The handlers live in `worker/src/index.js`.
32+
. *Common queries* — list repos by clade, find stale/orphan repos, fetch the
33+
dashboard snapshot.
34+
. *Response shapes & error codes.*
35+
. *Auth tiers & rate limits* — public-read (no key) / LLM (API key) /
36+
bot (signed JWT) / contributor (OAuth).
37+
38+
== See also
39+
40+
* `README.adoc` — what the registry is and the portal architecture
41+
* `docs/SPEC-clade-verisim-portal.adoc` — data model & auth tiers
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// SPDX-License-Identifier: MPL-2.0
2+
= ADR 0001 — Pointer Authority Model
3+
4+
Date: 2026-06-21
5+
6+
[NOTE]
7+
====
8+
*Status: SKETCH — documents an already-implemented decision; expand context &
9+
consequences, then ratify.*
10+
====
11+
12+
== Status
13+
14+
Accepted (retroactively documented).
15+
16+
== Context
17+
18+
The registry caches values that actually live in 200+ repositories. Without a
19+
declared canonical source, cached data drifts silently and it becomes unclear
20+
who may write what.
21+
22+
== Decision
23+
24+
Every cached value in VeriSimDB declares its authority:
25+
26+
* `pointer` — the value lives in the repo; VeriSimDB caches it and drift-detects.
27+
* `local` — VeriSimDB owns it (TODOs, bot observations).
28+
* `derived` — computed from other values (e.g. clade health scores).
29+
30+
"Map vs territory": the registry is the map; repos are the territory; editing the
31+
map never mutates the territory.
32+
33+
== Consequences
34+
35+
=== Positive
36+
- Drift detection is well-defined (`verisim/queries/drift.vcl`).
37+
- Clear write-ownership per field.
38+
39+
=== Negative / Neutral
40+
- _To be completed: caching staleness windows, conflict resolution._
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// SPDX-License-Identifier: MPL-2.0
2+
= ADR 0002 — Clade Taxonomy (12 codes)
3+
4+
Date: 2026-06-21
5+
6+
[NOTE]
7+
====
8+
*Status: SKETCH — documents an already-implemented decision; expand rationale &
9+
the stability/immutability policy, then ratify.*
10+
====
11+
12+
== Status
13+
14+
Accepted (retroactively documented).
15+
16+
== Context
17+
18+
200+ repositories need a stable, low-cardinality classification that humans and
19+
bots can reason about, and that query tooling can rely on not changing
20+
underneath it.
21+
22+
== Decision
23+
24+
Twelve two-letter clade codes (see `README.adoc` for the table): `fv nl rm gv db
25+
ap ix dx pt ax gm sc`. Each repo declares one primary clade and zero-or-more
26+
secondary clades.
27+
28+
== Consequences
29+
30+
=== Positive
31+
- Fixed, memorable vocabulary; cheap to validate (clade-hygiene CLADE-003).
32+
33+
=== Negative / Neutral
34+
- _To be completed: the immutability/versioning policy — what happens if a 13th
35+
clade is ever needed; whether codes can be retired; migration rules._
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// SPDX-License-Identifier: MPL-2.0
2+
= ADR 0003 — VeriSimDB + KV Architecture
3+
4+
Date: 2026-06-21
5+
6+
[NOTE]
7+
====
8+
*Status: SKETCH — documents an already-implemented decision; expand consequences
9+
(consistency, fallback semantics), then ratify.*
10+
====
11+
12+
== Status
13+
14+
Accepted (retroactively documented).
15+
16+
== Context
17+
18+
The portal needs fast, globally-available reads for public/LLM consumers, while
19+
the authoritative store (VeriSimDB) runs on a single VPS that may be slow or
20+
unavailable.
21+
22+
== Decision
23+
24+
A Cloudflare Worker fronts VeriSimDB and serves reads from a KV snapshot, with
25+
VeriSimDB (Rust + Elixir) as the source of record. Tiered access: public read,
26+
LLM (API key), contributor (OAuth), bot (signed JWT).
27+
28+
== Consequences
29+
30+
=== Positive
31+
- Edge-fast reads; VPS outages degrade gracefully to the KV snapshot.
32+
33+
=== Negative / Neutral
34+
- _To be completed: snapshot refresh cadence, staleness bounds, and the exact
35+
fallback behaviour (cross-reference `docs/governance/INCIDENT-RESPONSE.adoc`)._

0 commit comments

Comments
 (0)