From ff51c42568afe2df66fba8bc894b18b643c6f73d Mon Sep 17 00:00:00 2001 From: Dotta <34892728+cryppadotta@users.noreply.github.com> Date: Mon, 30 Nov 2026 19:33:13 +0000 Subject: [PATCH] refactor(plugin-llm-wiki): remove unreferenced fixtures/basic-root tree (#23027) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Thinking Path > - Paperclip is the open source app people use to manage AI agents for work. > - The LLM Wiki plugin gives Paperclip a local-file wiki. It reads sources, writes pages, and answers queries. > - The plugin package contains a sample wiki tree under `fixtures/basic-root/`. > - No test, script, workflow, or package export reads this tree. The tests read the live `templates/` tree through `src/templates.ts`. > - Two fixture files, `AGENTS.md` and `IDEA.md`, are byte-identical copies of `templates/AGENTS.md` and `templates/IDEA.md`. > - This pull request removes the unused `fixtures/basic-root/` tree. > - The benefit is a smaller test-support surface. No stale copy of the wiki schema remains. ## Linked Issues or Issue Description No public GitHub issue exists for this cleanup. The in-PR description follows the enhancement template. **What existing behavior does this improve?** Test support for the LLM Wiki plugin package. The package carries a sample fixture tree that no code selects or reads. **Subsystem affected** `packages/plugins/plugin-llm-wiki` — test support files only. **Current behavior** The package contains 14 fixture files under `fixtures/basic-root/` (258 lines). The files describe a sample wiki: a schema (`AGENTS.md`), a pattern note (`IDEA.md`), raw sources, and generated pages. Nothing loads them: - The plugin vitest config selects `tests/**/*.spec.ts` only. No workflow, script, or runner executes a file under `fixtures/`. - The package `files` list (`agents`, `dist`, `migrations`, `skills`, `templates`, `README.md`) excludes `fixtures`. The published artifact does not contain it. - The fixture was added with the initial plugin import (May 2026) and was not touched again. - `fixtures/basic-root/AGENTS.md` and `IDEA.md` duplicate `templates/AGENTS.md` and `templates/IDEA.md` byte for byte. `src/templates.ts` reads the `templates/` copies. **Proposed behavior** Delete `packages/plugins/plugin-llm-wiki/fixtures/basic-root/` and the now-empty `fixtures/` directory. No test, production file, lockfile, or workflow changes. **Reason and benefit** The tree is dead test-support weight. A stale, byte-identical copy of the wiki schema can mislead a future maintainer into editing the wrong tree. Removal keeps 258 test-support lines out of the package and does not change any executed or published path. **Breaking changes** None. The deleted files are outside the package `files` list, so npm-published artifacts are unchanged. No test or production code references them. **Additional context** Nightly test-gardening audit of unaudited plugin-package test support. ## What Changed - Removed `packages/plugins/plugin-llm-wiki/fixtures/basic-root/**` — 14 files, 258 test-support lines. Zero production lines, zero registered test cases (no case referenced these files), zero lockfile or workflow changes. ## Verification Reference and selection proof: - Searched all tracked file types for `basic-root`, `basic_root`, `basicRoot`, and each fixture filename. Only the fixture files themselves match. No code, workflow, script, skill, agent prompt, or documentation path references them. - GitHub history: one commit touches this path — the initial plugin import. No later commit reads or changes it. - No open or merged pull request touches `packages/plugins/plugin-llm-wiki/fixtures/**`. - Selection: `vitest.config.ts` includes `tests/**/*.spec.ts` only. No CI lane or npm script executes files under `fixtures/`. Local runs, `packages/plugins/plugin-llm-wiki`, before and after the deletion: - `pnpm exec vitest run --config ./vitest.config.ts` — same result both runs: 4 tests passed; `tests/plugin.spec.ts` passed. `tests/wiki-route-sidebar-ui.spec.ts` and `tests/issue-attachments.spec.ts` fail identically before and after on `Failed to resolve import "react"`. The `react` peer dependency is not installed in this container. This is a pre-existing environment setup failure, unrelated to this deletion. - `pnpm run typecheck` — passes after the deletion (tsc reports no errors). - Repo-wide `pnpm -r typecheck`, `pnpm test:run`, and `pnpm build` were not run locally. The required CI lanes supply that coverage for this pull request head. ## Risks - Low risk. Deletion only. No runtime path reads the removed files, and the published package never contained them. ## Model Used - Zhipu GLM via OpenRouter, model id `z-ai/glm-5.3` (Paperclip Test Gardener agent). Context window size is not disclosed to the agent. No special reasoning mode. Tools: shell, file search, and the GitHub REST API. Every pull request section above was written by this model. ## Checklist - [x] I have included a thinking path that traces from project context to this change - [x] I have specified the model used (with version and capability details) - [x] I have checked ROADMAP.md and confirmed this PR does not duplicate planned core work - [x] I have searched GitHub for duplicate or related PRs and linked them above - [x] I have either (a) linked existing issues with `Fixes: #` / `Closes: #` / `Refs: #` OR (b) described the issue in-PR following the relevant issue template - [x] I have not referenced internal/instance-local Paperclip issues or links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip` URLs) - [x] My branch name describes the change (e.g. `docs/...`, `fix/...`) and contains no internal Paperclip ticket id or instance-derived details - [ ] I have run tests locally and they pass — the runnable plugin suite passes; two spec files fail on a pre-existing missing `react` peer in this container, identically before and after the change - [x] I have added or updated tests where applicable — no test references the deleted fixtures, so no test change applies - [x] I have updated relevant documentation to reflect my changes — no documentation references the deleted files - [x] I have considered and documented any risks above - [ ] All Paperclip CI gates are green — pending on this pull request head - [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups — pending review - [ ] I will address all Greptile and reviewer comments before requesting merge Co-Authored-By: Paperclip --- .../fixtures/basic-root/.gitignore | 3 - .../fixtures/basic-root/AGENTS.md | 137 ------------------ .../fixtures/basic-root/IDEA.md | 75 ---------- .../fixtures/basic-root/raw/.gitkeep | 0 .../basic-root/raw/plugin-boundaries.md | 3 - .../basic-root/wiki/areas/knowledge.md | 3 - .../basic-root/wiki/concepts/.gitkeep | 0 .../wiki/concepts/plugin-boundaries.md | 3 - .../basic-root/wiki/entities/.gitkeep | 0 .../fixtures/basic-root/wiki/index.md | 23 --- .../fixtures/basic-root/wiki/log.md | 10 -- .../basic-root/wiki/projects/.gitkeep | 1 - .../fixtures/basic-root/wiki/sources/.gitkeep | 0 .../basic-root/wiki/synthesis/.gitkeep | 0 14 files changed, 258 deletions(-) delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/.gitignore delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/AGENTS.md delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/IDEA.md delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/raw/.gitkeep delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/raw/plugin-boundaries.md delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/areas/knowledge.md delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/concepts/.gitkeep delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/concepts/plugin-boundaries.md delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/entities/.gitkeep delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/index.md delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/log.md delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/projects/.gitkeep delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/sources/.gitkeep delete mode 100644 packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/synthesis/.gitkeep diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/.gitignore b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/.gitignore deleted file mode 100644 index ef42c26de51..00000000000 --- a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -.DS_Store -.obsidian/workspace* -.obsidian/cache diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/AGENTS.md b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/AGENTS.md deleted file mode 100644 index 3c2aa2739a1..00000000000 --- a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/AGENTS.md +++ /dev/null @@ -1,137 +0,0 @@ -# AGENTS.md — LLM Wiki Schema - -You are the maintainer of this personal wiki. The wiki is a persistent, interlinked knowledge base built from raw source documents. You read sources, extract knowledge, and integrate it into evolving wiki pages. The user curates sources, directs analysis, and asks questions; you handle the bookkeeping. - -The underlying pattern is described in `IDEA.md` (Karpathy's "LLM Wiki" gist). Read it if you need the philosophy; this file is the operational schema. - -## Layout - -``` -. -├── AGENTS.md # this file — your operating instructions -├── IDEA.md # the pattern this wiki follows -├── raw/ # immutable source documents (you read, never write) -└── wiki/ # generated, owned by you - ├── index.md # catalog of all pages - ├── log.md # append-only timeline of operations - ├── sources/ # one summary page per source - ├── projects/ # Paperclip project overviews, standups, decisions, and history - │ └── / - │ ├── index.md - │ ├── standup.md - │ ├── decisions.md - │ └── history.md - ├── entities/ # people, organizations, products, places - ├── concepts/ # ideas, frameworks, definitions - └── synthesis/ # cross-cutting analysis, comparisons, theses -``` - -The subdirectories under `wiki/` are conventional, not enforced. Add new categories (e.g. `wiki/papers/`) as the domain demands — and update this file when you do. - -Paperclip project material lives only under `wiki/projects//`. Do not create a top-level `projects/` directory. - -- `wiki/projects//standup.md` is the executive-level project standup. It answers where the project stands today, what changed recently, current blockers/risks, and the next concrete actions. -- `wiki/projects//index.md` is the durable knowledge page. It explains what the project is, why it exists, decisions made, history, and long-lived context. -- Keep the two linked. A standup should link to the durable project page, and the durable project page should point at the current standup for live status. -- Update `standup.md` whenever Paperclip project, issue, plan, comment, blocker, approval, or status history materially changes the project's current state. Do not append endless dated sections; rewrite it as today's concise status. -- Project writing should be editorial and concept-grouped. Do not dump issue queues, UUIDs, raw metadata, or date-heavy ledgers into project pages. Reference Paperclip tasks with human issue links where useful, but make headings and paragraphs explain the concepts, decisions, completed work, next work, and blockers in plain executive language. - -## Page conventions - -- **Filename:** kebab-case, `.md`. Treat filenames as stable; do not rename without updating backlinks. -- **Frontmatter:** YAML at the top of every wiki page. - ```yaml - --- - title: Human-readable title - type: source | project | entity | concept | synthesis - tags: [tag-a, tag-b] - sources: [raw/doc.pdf] # for source pages and synthesis pages - created: YYYY-MM-DD - updated: YYYY-MM-DD - --- - ``` -- **Cross-links:** Obsidian-style `[[wiki/entities/some-page]]` (or `[[some-page]]` when unambiguous). When you mention a concept or entity that has — or should have — its own page, link it. -- **Citations:** cite the source inline whenever a claim comes from one: `(see [[wiki/sources/some-slug]])`. -- **Voice:** terse, factual, neutral. The wiki is reference material, not narrative. - -## Operations - -### Ingest - -Triggered when the user drops a file in `raw/` and asks to process it (or just says "ingest"). - -1. Read the source end to end. -2. Briefly discuss key takeaways with the user before writing — confirm what to emphasize. -3. Create `wiki/sources/.md`: a summary page (~300–800 words) covering the source's main claims, structure, and notable quotes or data. -4. Update or create relevant pages in `entities/`, `concepts/`, `synthesis/`. A typical ingest touches 5–15 pages. -5. Add any new pages to `wiki/index.md`. -6. Append a log entry: - ``` - ## [YYYY-MM-DD] ingest | - - source: raw/ - - new pages: [[...]], [[...]] - - updated pages: [[...]], [[...]] - - notes: - ``` - -When new information contradicts an existing page, do **not** silently overwrite. Flag the contradiction on the page (a `> ⚠ contradicted by [[...]] (YYYY-MM-DD)` callout) and note it in the log. - -### Project updates - -Triggered when Paperclip project, issue, plan, comment, blocker, or status history is distilled into the wiki. - -1. Create or update `wiki/projects//standup.md` first. Every Paperclip project represented in the wiki must have one. Keep stable sections for executive readout, what changed, decisions, blockers/risks, next actions, and links. -2. Create or update `wiki/projects//index.md` as the durable project overview. Keep stable sections for overview, current direction, workstreams, decisions, open risks/blockers, and references. -3. Use `wiki/projects//decisions.md` for accepted/rejected plans, architectural decisions, approval outcomes, and reversals when a project has enough decision history to warrant a separate page. -4. Use `wiki/projects//history.md` for compact narrative history of meaningful project movement. Group by phase or concept; do not mirror every issue comment. -5. Always cite Paperclip source material with readable links to issue identifiers, document keys, issue documents, approvals, and raw/source pages. Do not put UUIDs in prose unless the UUID itself is the subject. -6. Update `wiki/index.md` under Projects and append a `project` log entry to `wiki/log.md`. - -### Query - -The user asks a question. You: - -1. Read `wiki/index.md` to find candidate pages. -2. Read those pages; follow links as needed. -3. Answer with citations back to wiki pages, and ultimately to raw sources. -4. If the answer is substantial (a comparison, analysis, new synthesis), offer to file it under `wiki/synthesis/` so the work compounds rather than disappearing into chat history. - -If the wiki lacks what the question needs, say so plainly and suggest sources to ingest or web searches to run. - -### Lint - -On request ("lint", "health check"), scan for: - -- contradictions across pages -- claims a newer source has superseded -- orphan pages (not linked from `index.md` or any other page) -- concepts mentioned in multiple places but lacking a dedicated page -- broken `[[wiki-links]]` -- gaps where a web search or new source would help - -Report findings as a checklist and ask the user which to act on. - -## index.md format - -A catalog organized by category. Each line: `- [[path]] — one-line summary`. Keep it scannable; this is your primary navigation aid before opening pages. - -## log.md format - -Append new entries to the bottom. Every entry header follows: - -``` -## [YYYY-MM-DD] | -``` - -so `grep "^## \[" wiki/log.md | tail -10` always returns recent activity. Operations: `ingest`, `query`, `lint`, `setup`, `refactor`. - -## Customization - -This schema is intentionally generic. As the wiki's domain becomes clear, evolve it: - -- add domain-specific page types and subdirectories -- adjust frontmatter fields -- specify preferred output formats for queries (Marp slides, charts, tables) -- record workflow preferences (one-at-a-time vs batch ingest, level of human supervision) - -When you and the user agree on a convention, **write it into this file**. The schema is the wiki's source of truth for how the wiki is built. diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/IDEA.md b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/IDEA.md deleted file mode 100644 index 35ef0712904..00000000000 --- a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/IDEA.md +++ /dev/null @@ -1,75 +0,0 @@ -# LLM Wiki - -A pattern for building personal knowledge bases using LLMs. - -This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you. - -## The core idea - -Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way. - -The idea here is different. Instead of just retrieving from raw documents at query time, the LLM **incrementally builds and maintains a persistent wiki** — a structured, interlinked collection of markdown files that sits between you and the raw sources. When you add a new source, the LLM doesn't just index it for later retrieval. It reads it, extracts the key information, and integrates it into the existing wiki — updating entity pages, revising topic summaries, noting where new data contradicts old claims, strengthening or challenging the evolving synthesis. The knowledge is compiled once and then *kept current*, not re-derived on every query. - -This is the key difference: **the wiki is a persistent, compounding artifact.** The cross-references are already there. The contradictions have already been flagged. The synthesis already reflects everything you've read. The wiki keeps getting richer with every source you add and every question you ask. - -You never (or rarely) write the wiki yourself — the LLM writes and maintains all of it. You're in charge of sourcing, exploration, and asking the right questions. The LLM does all the grunt work — the summarizing, cross-referencing, filing, and bookkeeping that makes a knowledge base actually useful over time. In practice, I have the LLM agent open on one side and Obsidian open on the other. The LLM makes edits based on our conversation, and I browse the results in real time — following links, checking the graph view, reading the updated pages. Obsidian is the IDE; the LLM is the programmer; the wiki is the codebase. - -This can apply to a lot of different contexts. A few examples: - -- **Personal**: tracking your own goals, health, psychology, self-improvement — filing journal entries, articles, podcast notes, and building up a structured picture of yourself over time. -- **Research**: going deep on a topic over weeks or months — reading papers, articles, reports, and incrementally building a comprehensive wiki with an evolving thesis. -- **Reading a book**: filing each chapter as you go, building out pages for characters, themes, plot threads, and how they connect. By the end you have a rich companion wiki. Think of fan wikis like [Tolkien Gateway](https://tolkiengateway.net/wiki/Main_Page) — thousands of interlinked pages covering characters, places, events, languages, built by a community of volunteers over years. You could build something like that personally as you read, with the LLM doing all the cross-referencing and maintenance. -- **Business/team**: an internal wiki maintained by LLMs, fed by Slack threads, meeting transcripts, project documents, customer calls. Possibly with humans in the loop reviewing updates. The wiki stays current because the LLM does the maintenance that no one on the team wants to do. -- **Competitive analysis, due diligence, trip planning, course notes, hobby deep-dives** — anything where you're accumulating knowledge over time and want it organized rather than scattered. - -## Architecture - -There are three layers: - -**Raw sources** — your curated collection of source documents. Articles, papers, images, data files. These are immutable — the LLM reads from them but never modifies them. This is your source of truth. - -**The wiki** — a directory of LLM-generated markdown files. Summaries, entity pages, concept pages, comparisons, an overview, a synthesis. The LLM owns this layer entirely. It creates pages, updates them when new sources arrive, maintains cross-references, and keeps everything consistent. You read it; the LLM writes it. - -**The schema** — a document (e.g. AGENTS.md for Paperclip agents) that tells the LLM how the wiki is structured, what the conventions are, and what workflows to follow when ingesting sources, answering questions, or maintaining the wiki. This is the key configuration file — it's what makes the LLM a disciplined wiki maintainer rather than a generic chatbot. You and the LLM co-evolve this over time as you figure out what works for your domain. - -## Operations - -**Ingest.** You drop a new source into the raw collection and tell the LLM to process it. An example flow: the LLM reads the source, discusses key takeaways with you, writes a summary page in the wiki, updates the index, updates relevant entity and concept pages across the wiki, and appends an entry to the log. A single source might touch 10-15 wiki pages. Personally I prefer to ingest sources one at a time and stay involved — I read the summaries, check the updates, and guide the LLM on what to emphasize. But you could also batch-ingest many sources at once with less supervision. It's up to you to develop the workflow that fits your style and document it in the schema for future sessions. - -**Query.** You ask questions against the wiki. The LLM searches for relevant pages, reads them, and synthesizes an answer with citations. Answers can take different forms depending on the question — a markdown page, a comparison table, a slide deck (Marp), a chart (matplotlib), a canvas. The important insight: **good answers can be filed back into the wiki as new pages.** A comparison you asked for, an analysis, a connection you discovered — these are valuable and shouldn't disappear into chat history. This way your explorations compound in the knowledge base just like ingested sources do. - -**Lint.** Periodically, ask the LLM to health-check the wiki. Look for: contradictions between pages, stale claims that newer sources have superseded, orphan pages with no inbound links, important concepts mentioned but lacking their own page, missing cross-references, data gaps that could be filled with a web search. The LLM is good at suggesting new questions to investigate and new sources to look for. This keeps the wiki healthy as it grows. - -## Indexing and logging - -Two special files help the LLM (and you) navigate the wiki as it grows. They serve different purposes: - -**index.md** is content-oriented. It's a catalog of everything in the wiki — each page listed with a link, a one-line summary, and optionally metadata like date or source count. Organized by category (entities, concepts, sources, etc.). The LLM updates it on every ingest. When answering a query, the LLM reads the index first to find relevant pages, then drills into them. This works surprisingly well at moderate scale (~100 sources, ~hundreds of pages) and avoids the need for embedding-based RAG infrastructure. - -**log.md** is chronological. It's an append-only record of what happened and when — ingests, queries, lint passes. A useful tip: if each entry starts with a consistent prefix (e.g. `## [2026-04-02] ingest | Article Title`), the log becomes parseable with simple unix tools — `grep "^## \[" log.md | tail -5` gives you the last 5 entries. The log gives you a timeline of the wiki's evolution and helps the LLM understand what's been done recently. - -## Optional: CLI tools - -At some point you may want to build small tools that help the LLM operate on the wiki more efficiently. A search engine over the wiki pages is the most obvious one — at small scale the index file is enough, but as the wiki grows you want proper search. [qmd](https://github.com/tobi/qmd) is a good option: it's a local search engine for markdown files with hybrid BM25/vector search and LLM re-ranking, all on-device. It has both a CLI (so the LLM can shell out to it) and an MCP server (so the LLM can use it as a native tool). You could also build something simpler yourself — the LLM can help you vibe-code a naive search script as the need arises. - -## Tips and tricks - -- **Obsidian Web Clipper** is a browser extension that converts web articles to markdown. Very useful for quickly getting sources into your raw collection. -- **Download images locally.** In Obsidian Settings → Files and links, set "Attachment folder path" to a fixed directory (e.g. `raw/assets/`). Then in Settings → Hotkeys, search for "Download" to find "Download attachments for current file" and bind it to a hotkey (e.g. Ctrl+Shift+D). After clipping an article, hit the hotkey and all images get downloaded to local disk. This is optional but useful — it lets the LLM view and reference images directly instead of relying on URLs that may break. Note that LLMs can't natively read markdown with inline images in one pass — the workaround is to have the LLM read the text first, then view some or all of the referenced images separately to gain additional context. It's a bit clunky but works well enough. -- **Obsidian's graph view** is the best way to see the shape of your wiki — what's connected to what, which pages are hubs, which are orphans. -- **Marp** is a markdown-based slide deck format. Obsidian has a plugin for it. Useful for generating presentations directly from wiki content. -- **Dataview** is an Obsidian plugin that runs queries over page frontmatter. If your LLM adds YAML frontmatter to wiki pages (tags, dates, source counts), Dataview can generate dynamic tables and lists. -- The wiki is just a git repo of markdown files. You get version history, branching, and collaboration for free. - -## Why this works - -The tedious part of maintaining a knowledge base is not the reading or the thinking — it's the bookkeeping. Updating cross-references, keeping summaries current, noting when new data contradicts old claims, maintaining consistency across dozens of pages. Humans abandon wikis because the maintenance burden grows faster than the value. LLMs don't get bored, don't forget to update a cross-reference, and can touch 15 files in one pass. The wiki stays maintained because the cost of maintenance is near zero. - -The human's job is to curate sources, direct the analysis, ask good questions, and think about what it all means. The LLM's job is everything else. - -The idea is related in spirit to Vannevar Bush's Memex (1945) — a personal, curated knowledge store with associative trails between documents. Bush's vision was closer to this than to what the web became: private, actively curated, with the connections between documents as valuable as the documents themselves. The part he couldn't solve was who does the maintenance. The LLM handles that. - - -## Note - -This document is intentionally abstract. It describes the idea, not a specific implementation. The exact directory structure, the schema conventions, the page formats, the tooling — all of that will depend on your domain, your preferences, and your LLM of choice. Everything mentioned above is optional and modular — pick what's useful, ignore what isn't. For example: your sources might be text-only, so you don't need image handling at all. Your wiki might be small enough that the index file is all you need, no search engine required. You might not care about slide decks and just want markdown pages. You might want a completely different set of output formats. The right way to use this is to share it with your LLM agent and work together to instantiate a version that fits your needs. The document's only job is to communicate the pattern. Your LLM can figure out the rest. diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/raw/.gitkeep b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/raw/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/raw/plugin-boundaries.md b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/raw/plugin-boundaries.md deleted file mode 100644 index 89d8a8d9840..00000000000 --- a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/raw/plugin-boundaries.md +++ /dev/null @@ -1,3 +0,0 @@ -# Raw Source - -LLM Wiki code must live in the standalone plugin package. diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/areas/knowledge.md b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/areas/knowledge.md deleted file mode 100644 index 46462345bfe..00000000000 --- a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/areas/knowledge.md +++ /dev/null @@ -1,3 +0,0 @@ -# Knowledge - -The wiki stores durable knowledge as local markdown files. diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/concepts/.gitkeep b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/concepts/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/concepts/plugin-boundaries.md b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/concepts/plugin-boundaries.md deleted file mode 100644 index 595ee78cf19..00000000000 --- a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/concepts/plugin-boundaries.md +++ /dev/null @@ -1,3 +0,0 @@ -# Plugin Boundaries - -LLM Wiki routes, prompts, UI, tools, and migrations belong inside the plugin. diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/entities/.gitkeep b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/entities/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/index.md b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/index.md deleted file mode 100644 index 54f1f8a3047..00000000000 --- a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/index.md +++ /dev/null @@ -1,23 +0,0 @@ -# Index - -Catalog of durable wiki pages and linked project standups. Updated on every ingest or Paperclip distill. - -## Sources - -_(none yet)_ - -## Projects - -_(none yet)_ - -## Entities - -_(none yet)_ - -## Concepts - -_(none yet)_ - -## Synthesis - -_(none yet)_ diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/log.md b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/log.md deleted file mode 100644 index 6b101ab13af..00000000000 --- a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/log.md +++ /dev/null @@ -1,10 +0,0 @@ -# Log - -Append-only chronological record of wiki operations. - -## [2026-05-03] setup | wiki initialized -- created `AGENTS.md` (schema) -- created `raw/` for source documents -- created `wiki/` skeleton: `index.md`, `log.md`, `sources/`, `projects/`, `entities/`, `concepts/`, `synthesis/` -- created `wiki/projects/` for Paperclip project overviews and standups -- pattern reference: `IDEA.md` (Karpathy "LLM Wiki" gist, https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/projects/.gitkeep b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/projects/.gitkeep deleted file mode 100644 index 8b137891791..00000000000 --- a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/projects/.gitkeep +++ /dev/null @@ -1 +0,0 @@ - diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/sources/.gitkeep b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/sources/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/synthesis/.gitkeep b/packages/plugins/plugin-llm-wiki/fixtures/basic-root/wiki/synthesis/.gitkeep deleted file mode 100644 index e69de29bb2d..00000000000