Files
julian 2e5960fae3 feat: bootstrap wiki for Anfu home EV charger OCPP integration project
- Created initial wiki structure with CLAUDE.md schema, index.md, and log.md.
- Ingested findings and requirements document into the wiki.
- Added concepts for authorization methods, network topology, OCPP protocol, and troubleshooting.
- Documented entities including the Anfu charger, JC-6620 controller, and CSMS toolkit.
- Established configuration files for Obsidian app settings and workspace layout.
- Implemented core plugins and appearance settings for the wiki.
2026-07-09 15:29:26 +02:00

65 lines
3.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Wiki Schema — Charging Station Knowledge Base
This directory is an LLM-maintained wiki about the **Anfu home EV charger OCPP integration project**: running a private, self-hosted OCPP 1.6J backend (CSMS) for a home charger, with RFID / vehicle / web-app authorization. The human curates sources and asks questions; the LLM (you) writes and maintains every wiki page.
The human browses this vault in Obsidian while you edit it. Related code lives in `../discovering/` (connection-test scripts — read-only context, not part of the wiki).
## Layout
```
wiki/
CLAUDE.md ← this schema (co-evolved with the human)
index.md ← catalog of every page, by category; update on every ingest
log.md ← append-only chronological record of ingests/queries/lints
overview.md ← the living synthesis: current state, what works, what's next
raw/ ← IMMUTABLE source documents. Never edit anything in here.
sources/ ← one summary page per raw source
entities/ ← pages for concrete things (devices, software, services)
concepts/ ← pages for ideas, protocols, procedures, recurring themes
notes/ ← filed answers to questions, analyses, decisions
```
## Conventions
- **Filenames**: lowercase kebab-case (`jc-6620.md`). Source pages are prefixed with ingest date: `2026-07-09-findings-and-requirements.md`.
- **Links**: Obsidian wikilinks, `[[jc-6620]]` or `[[jc-6620|JC-6620]]` when display text matters. Link liberally — links to not-yet-existing pages are fine; they mark pages worth creating.
- **Frontmatter** on every page (Dataview-friendly):
```yaml
---
type: source | entity | concept | note | meta
updated: YYYY-MM-DD
tags: []
---
```
Source pages also get `raw: raw/<filename>` and `ingested: YYYY-MM-DD`.
- **Citations**: wiki pages cite the source *summary* page (e.g. "per [[2026-07-09-findings-and-requirements]]"); the summary page links to its raw file. Raw files are the ground truth.
- **Contradictions**: when a new source contradicts an existing claim, don't silently overwrite — note it inline: `> [!warning] Superseded: <old claim> (per [[old-source]]); now <new claim> (per [[new-source]])`. Resolve only when the human confirms.
- **Status markers**: this is an active hardware project, so mark claims as ✅ verified, ⚠️ untested / needs physical test, or ❓ open question. `overview.md` keeps the authoritative list of open decisions.
## Workflows
### Ingest
1. Human drops a file into `raw/` and asks to process it.
2. Read the raw source fully. Briefly discuss key takeaways with the human (what's new, what conflicts).
3. Write a summary page in `sources/` (frontmatter, TL;DR, key facts, what changed in the wiki because of it).
4. Update or create affected `entities/`, `concepts/`, and `overview.md`. Flag contradictions per the convention above.
5. Update `index.md`; append a `log.md` entry.
### Query
1. Read `index.md` first to locate relevant pages; drill into them (grep the wiki if the index isn't enough).
2. Answer with citations to wiki pages / raw sources.
3. If the answer is durable (a comparison, a decision, an analysis), offer to file it under `notes/` so it compounds.
### Lint (on request, or suggest when the wiki feels stale)
Check for: contradictions between pages, claims superseded by newer sources, orphan pages (no inbound links), concepts mentioned ≥2 times without their own page, stale `overview.md`, `index.md` entries out of sync with reality. Report findings; fix with the human's blessing.
## Log format
Append-only, newest at the bottom. Each entry starts:
```
## [YYYY-MM-DD] ingest|query|lint|meta | Short title
```
so `grep "^## \[" log.md | tail -5` shows recent activity. Body: 1–4 lines on what was done and which pages were touched.