Skip to content

Commit f37d938

Browse files
committed
docs: define canonical documentation hierarchy (#299)
1 parent 82311f7 commit f37d938

13 files changed

Lines changed: 108 additions & 8 deletions

AGENTS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
## CROSS-REFERENCE
44

55
- Code standards and contribution workflow: [CONTRIBUTING.md](CONTRIBUTING.md)
6-
- User-facing documentation: [GUIDE.md](GUIDE.md)
6+
- Documentation map and canonical docs: [docs/README.md](docs/README.md)
7+
- CLI/user reference: [GUIDE.md](GUIDE.md)
78

89
## FORBIDDEN ACTIONS
910

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
This is release history, not the canonical product frame.
6+
Older entries will naturally reflect prior roadmap eras and product language.
7+
58
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
69
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
710

CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
## CROSS-REFERENCE
44

55
- Code standards and contribution workflow: [CONTRIBUTING.md](CONTRIBUTING.md)
6-
- User-facing documentation: [GUIDE.md](GUIDE.md)
6+
- Documentation map and canonical docs: [docs/README.md](docs/README.md)
7+
- CLI/user reference: [GUIDE.md](GUIDE.md)
78

89
## FORBIDDEN ACTIONS
910

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
Thanks for your interest in contributing. This document covers the essentials.
44

5+
Before changing product-facing behavior or docs, read these first:
6+
7+
- [README.md](README.md)
8+
- [docs/README.md](docs/README.md)
9+
- [docs/design/git-mind.md](docs/design/git-mind.md)
10+
- [ROADMAP.md](ROADMAP.md)
11+
12+
Current product frame:
13+
14+
- `git-mind` is a Git-native semantic intelligence layer for software repositories
15+
- current work should be judged against low-input semantic bootstrap, provenance-backed query, and living-map upkeep
16+
- personal cognition tooling belongs in `think`, not here
17+
518
## Prerequisites
619

720
- Node.js >= 20.0.0

GRAPH_SCHEMA.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
> **Authoritative contract for git-mind's knowledge graph.**
44
> All validators, importers, and views implement against this document.
55
> Ref: #180 (BDK-001)
6+
>
7+
> This document is the graph contract, not the canonical product narrative.
8+
> Some prefixes and examples reflect legacy manual-authoring and roadmap-oriented workflows that remain supported, but they are not the current center of the product story.
69
710
---
811

GUIDE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
> The CLI reference in this guide is still useful, but parts of the framing and examples reflect Git Mind's earlier manual graph-authoring story.
66
> For the current product direction, start with [README.md](README.md), [ROADMAP.md](ROADMAP.md), [docs/VISION_NORTH_STAR.md](docs/VISION_NORTH_STAR.md), and [docs/design/git-mind.md](docs/design/git-mind.md).
77
8-
Everything you need to know — from zero to power user.
8+
CLI reference and usage guide.
99

1010
---
1111

@@ -31,6 +31,9 @@ Everything you need to know — from zero to power user.
3131

3232
git-mind adds a **semantic knowledge graph** to any Git repository. You create **nodes** (files, concepts, tasks, modules — anything) and connect them with **typed edges** (implements, depends-on, documents, etc.). The graph lives inside Git — no external databases, no servers.
3333

34+
Manual graph authoring is still supported, but it is no longer the primary product story.
35+
The current direction is inference-first semantic repository intelligence: Git Mind should increasingly extract and surface repository meaning before it asks users to model the graph by hand.
36+
3437
**Why?**
3538

3639
Code tells a computer what to do. Comments tell a human what the code does. But neither captures *why* things are connected — which spec does this file implement? What does this module depend on? What task does this commit address?

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Manual edge creation remains supported, but it should increasingly be treated as
8282

8383
```bash
8484
git mind link file:src/auth.js spec:auth --type implements
85-
git mind link adr:0007 task:M11 --type blocks
85+
git mind link adr:0007 task:auth-rollout --type blocks
8686
```
8787

8888
## Product Doctrine
@@ -130,8 +130,9 @@ The repository is in a stabilize-and-clarify phase:
130130

131131
## Documentation
132132

133-
Start here:
133+
Canonical docs:
134134

135+
- [docs/README.md](docs/README.md)
135136
- [GUIDE.md](GUIDE.md)
136137
- [GRAPH_SCHEMA.md](GRAPH_SCHEMA.md)
137138
- [ROADMAP.md](ROADMAP.md)

TECH-PLAN.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
> It still contains useful substrate and architecture detail, but it is not the active product roadmap or control plane.
77
> The current product frame lives in [README.md](README.md), [ROADMAP.md](ROADMAP.md), and [docs/design/git-mind.md](docs/design/git-mind.md).
88
9-
> **"A knowledge graph that thinks alongside you."**
10-
119
A technical analysis of git-mind's architecture, data model, runtime behavior, invariants, and roadmap trajectory. This is a reference artifact — not a changelog, not a tutorial.
1210

1311
---

docs/ARCHITECTURE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ _Last updated: 2026-02-15_
33

44
This document defines non-negotiable engineering laws for Git Mind.
55

6+
These laws are canonical engineering guardrails.
7+
They are not the product roadmap, and some of the terms here come from broader platform work that predates the current product narrowing.
8+
69
---
710

811
## Law 1: Graph Truth Is Canonical

docs/README.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Documentation Map
2+
3+
This file defines which documents are canonical, which are transitional, and which are historical references.
4+
5+
Use it to avoid treating old planning artifacts as the active product story.
6+
7+
## Canonical Product Docs
8+
9+
These describe what Git Mind is now and how work should be judged:
10+
11+
- [README.md](../README.md) — current product summary
12+
- [ROADMAP.md](../ROADMAP.md) — active Hills, supporting lanes, and playback cadence
13+
- [Git Mind Product Frame](./design/git-mind.md) — IBM Design Thinking style product frame
14+
- [Git Mind North Star](./VISION_NORTH_STAR.md) — longer-form strategic articulation
15+
16+
## Canonical Engineering Guardrails
17+
18+
These define constraints and contracts that remain in force:
19+
20+
- [GRAPH_SCHEMA.md](../GRAPH_SCHEMA.md) — graph contract
21+
- [Architecture Laws](./ARCHITECTURE.md) — non-negotiable engineering laws
22+
- [Review Rubric](./REVIEW_RUBRIC.md) — architectural review gates
23+
- [ADRs](./adr/README.md) — durable architecture decisions
24+
- [Contracts](./contracts/CLI_CONTRACTS.md) and related schemas — machine-facing contracts
25+
26+
## Transitional Docs
27+
28+
These are still useful, but they carry some older framing and should not be treated as the primary product narrative:
29+
30+
- [GUIDE.md](../GUIDE.md) — CLI and usage reference; still contains manual graph-authoring examples
31+
- [CONTRIBUTING.md](../CONTRIBUTING.md) — contributor workflow with current frame pointers added
32+
33+
## Historical Reference Docs
34+
35+
These should not drive planning or product identity without explicit review:
36+
37+
- [CHANGELOG.md](../CHANGELOG.md) — release history, not product strategy
38+
- [TECH-PLAN.md](../TECH-PLAN.md) — deep technical artifact from an earlier planning era
39+
- [Risk Register](./RISK_REGISTER.md) — bridge/platform-era risk control document
40+
- [Risk Review Checklist](./RISK_REVIEW_CHECKLIST.md) — bridge/platform-era operating checklist
41+
- [Strategic Conversation Summary](./notes/Git%20Mind%20Strategic%20Conversation%20Summary.md) — historical context
42+
- [Dogfood Session](./notes/dogfood-session.md) — historical evidence, not current plan
43+
44+
## Practical Rule
45+
46+
When documents disagree:
47+
48+
1. trust the canonical product docs first
49+
2. then trust canonical engineering guardrails
50+
3. treat transitional docs as implementation help, not product truth
51+
4. treat historical docs as reference only
52+
53+
## Planning Rule
54+
55+
GitHub issues are the execution backlog.
56+
57+
Hills and Playbacks live in:
58+
59+
- [ROADMAP.md](../ROADMAP.md)
60+
- [Git Mind Product Frame](./design/git-mind.md)
61+
62+
GitHub milestones are not the primary planning system for this repository.

0 commit comments

Comments
 (0)