|
11 | 11 | </p> |
12 | 12 |
|
13 | 13 | <p align="center"> |
14 | | - <a href="#getting-started">Getting Started</a> · <a href="#what-this-actually-feels-like">What It Feels Like</a> · <a href="#retrieval-that-actually-works">Benchmarks</a> · <a href="#the-science-under-the-hood">Science</a> · <a href="#neural-graph">Views</a> |
| 14 | + <a href="#getting-started">Getting Started</a> · <a href="#write-papers-in-cortex">Write Papers</a> · <a href="#what-this-actually-feels-like">What It Feels Like</a> · <a href="#retrieval-that-actually-works">Benchmarks</a> · <a href="#the-science-under-the-hood">Science</a> · <a href="#neural-graph">Views</a> |
15 | 15 | </p> |
16 | 16 |
|
17 | 17 | <p align="center"> |
@@ -78,6 +78,24 @@ docker run -it \ |
78 | 78 |
|
79 | 79 | --- |
80 | 80 |
|
| 81 | +## Write papers in Cortex |
| 82 | + |
| 83 | +Cortex doesn't just remember — it authors. Every memory that passes the pipeline becomes a structured wiki page, editable in place with a full scientific writing environment: |
| 84 | + |
| 85 | +<p align="center"> |
| 86 | +<img src="docs/wiki-edit.png" width="100%" alt="Cortex Wiki editor — CodeMirror 6 source pane on the left, live-preview pane on the right with headings, lists, and structured sections rendered via the project's LaTeX-inspired typography" /> |
| 87 | +</p> |
| 88 | + |
| 89 | +- **CodeMirror 6 inline editor** with live preview; save round-trips atomically to the `.md` file on disk (git-diffable). |
| 90 | +- **LaTeX math** — `$E=\nabla \cdot F$` and `$$…$$` blocks rendered live via KaTeX. |
| 91 | +- **BibTeX citations** — drop `.bib` files under `wiki/_bibliography/`, use `[@friston2010]` inline, and Citation.js resolves them to `(Friston 2010)` with an auto-generated APA bibliography. |
| 92 | +- **Figure / equation / table auto-numbering** — `{#fig:arch}` labels, `{@fig:arch}` cross-refs, resolved to `Figure 1` / `Equation 3` / `Section 2.1`. |
| 93 | +- **Pandoc export** — one click produces PDF (via LaTeX), TEX, DOCX, or HTML. Journal-submittable from the same markdown that feeds the memory pipeline. |
| 94 | + |
| 95 | +The source stays markdown. Your `.md` files remain grep-able, diffable, and interoperable with any external tool. Cortex adds a rendering + editing + export layer on top without stealing your content into a proprietary format. |
| 96 | + |
| 97 | +--- |
| 98 | + |
81 | 99 | ## What this actually feels like |
82 | 100 |
|
83 | 101 | **Monday.** You spend an hour debugging a webhook handler. After tracing through four layers, you find the root cause: a race condition in the Redis session store where TTL expiry can fire between the auth check and the permission lookup. You discuss the fix with Claude, decide on an approach, and implement it. Session ends. |
@@ -256,7 +274,14 @@ Launch with `/cortex-visualize`. Five views wired over the same data: |
256 | 274 | <img src="docs/neural-graph-wiki.png" width="100%" alt="Cortex Wiki — LaTeX-styled page with thermodynamic heat bar, lifecycle pill, backlinks, and inspector drawer" /> |
257 | 275 | </p> |
258 | 276 |
|
259 | | -**Wiki View** — every memory admitted by the grounded-theory pipeline lands here as a structured page (ADR, spec, lesson, convention, note). EB Garamond body, IBM Plex Mono code, heat bar, lifecycle pill (`active` / `area` / `archived` / `evergreen`), staleness flag, backlinks footer, and an inspector drawer exposing the full audit trail (memos, source claim events, draft history). |
| 277 | +**Wiki View** — every memory admitted by the grounded-theory pipeline lands here as a structured page (ADR / spec / lesson / convention / note) with: |
| 278 | + |
| 279 | +- EB Garamond body, IBM Plex Mono code, centered academic-paper layout |
| 280 | +- **Heat bar**, lifecycle pill (`active` / `area` / `archived` / `evergreen`), staleness flag, backlinks footer |
| 281 | +- **Inspector drawer** — full audit trail (memos, source claim events, draft history) for every page |
| 282 | +- **Inline CodeMirror 6 editor** + live preview with KaTeX math (see [Write Papers in Cortex](#write-papers-in-cortex) above) |
| 283 | +- **BibTeX citations**, figure/equation/table auto-numbering, cross-references |
| 284 | +- **Pandoc export** → PDF / LaTeX / DOCX / HTML |
260 | 285 |
|
261 | 286 | <p align="center"> |
262 | 287 | <img src="docs/neural-graph-knowledge.png" width="100%" alt="Cortex Knowledge — card list of curated memories with emotion and consolidation colors" /> |
|
0 commit comments