Repository navigation
docs: define Graphite’s product scope and universal schema goals - #231
johnsonlee wants to merge 3 commits into
Conversation
📊 Test Coverage
|
Benchmark reportBase: Workflow and raw evidence · Full report Benchmark correctness and OOM: PASSTiming differences are report-only; correctness, OOM and required coverage decide this gate. GitHub runner timings do not establish performance acceptance. Base: frontend-build-save
native-real64
Full methods, comparability reasons, isolated observations, raw request bodies and logs are retained in the downloadable report/evidence artifacts. UNAVAILABLE never means zero; a zero baseline has no defined percentage change. |
Review of
|
|
Addressed the scope review in d5ed521. Both editions now cover reviewed semantic transitions, legacy readers encountering newer graphs, and how the proposed service boundary extends the existing topology catalog while preserving C4, topology and endpoint behavior. The drafts define the static environment, identify the README as the compatibility baseline, and explain how the architecture proposal and parked #169 relate to this review. Both READMEs link to the corresponding edition. Validated the document links and anchors locally. CI is running against the revised commit. |
Follow-up review of
|
| Issue | Now |
|---|---|
| Goal 1 too absolute, contradicted #226 | Resolved: reviewed and declared semantic changes are allowed |
| Compatibility stated in one direction only | Resolved: an old reader on a new graph answers correctly or explicitly refuses |
| "System" conflicted with the topology document | Resolved: stated as a deliberate extension; topology, C4 and /api/endpoints are in the baseline |
| Baseline list incomplete | Resolved: the README is the authority, with examples added |
| Architecture proposal not mentioned, #169 status unclear | Resolved |
| "Environment" used inconsistently | Resolved: defined as a named set of static configuration |
| English JS example weaker | Resolved, and it matches docs/typescript-frontend.md |
| Chinese headings, README link | Resolved |
New: the two editions disagree
-
§5, first review question: only the Chinese edition changed. It gained a sentence: check intentionally changed results one by one against the reviewed expectations, and open a graph carrying new facts with an old reader. The English bullet is unchanged. This is the review criterion itself, so the two must match.
-
Goal 2 says different things in each edition.
- English has a rule the Chinese lacks: skipping an unknown fact is safe only when it cannot affect the answer.
- Chinese has a verification requirement and a counter-example the English lacks: verification must include queries that meet the new tag, and skipping the record and returning zero matches is a wrong answer.
Each edition is missing half. Merge them into one paragraph.
-
Goal 1 has a different scope in each edition.
- English says "public query results" stay the same; Chinese says only "Cypher results". Whether REST and MCP results are covered has two different answers.
- The English list includes the CLI; the Chinese list does not.
-
The governing statement differs in strength. English says the architecture proposal "must satisfy" this scope and that this document governs "compatibility". Chinese says only that the architecture proposal is "for evaluation in the design stage" and does not mention compatibility.
-
The last non-goal: only the Chinese edition changed. It gained "the selected environment's configuration" and a sentence on which conditions a route applies to. The English bullet is unchanged.
Two smaller points
- "Spring Boot" does not appear in the README. Goal 1 makes the README the authority and then gives nested JARs in Spring Boot inputs as an example. The README only says "fat JAR (nested JARs)". Use the README's wording, or add Spring Boot to the README.
- "The README on main" moves. A later README edit silently changes the baseline. Say that a proposal is reviewed against the README at a named commit or release.
Verdict
The content is right. Once the two editions are aligned this can merge. CI was still running when I checked: six checks had passed; unit tests, the Rust build and the benchmark had not finished.
🤖 Generated with Claude Code
|
Aligned the English and Chinese criteria in 8be540a. Both now cover the same public interfaces, the safe-skip rule and tag-16 counterexample, exact checks for intentional semantic changes, the architecture proposal's obligations, and the role of static environment configuration. The baseline links to the README at 70f908c and uses its fat JAR terminology. I also checked the two editions side by side and verified the linked files and anchors. |
Change
This draft reopens the universal schema discussion at the product level. It pairs an English draft with a Chinese draft. The earlier prototype is in #169.
Questions for this review
Schema records, storage layout, APIs and migration are topics for a later design review.
Verification
Checked the two documents for matching sections, goals, non-goals and reference targets. Verified local links and anchors and ran
git diff --cached --check. The changes are confined to documentation. Construction, loading and query performance are unaffected.