📚

[Project 4a] Jack's PM Wiki

An LLM-Maintained Knowledge Base Across PM Frameworks, Cases, and Product Thinking
notion image
👉🏻
Executive Summary Jack's PM Wiki applies Karpathy's LLM Wiki pattern to the domain of product management judgment. Rather than searching documents at query time like a RAG system, the wiki compiles PM knowledge once — synthesizing it into structured, interlinked pages — and gets richer with every new signal, case, and decision ingested. The LLM writes and maintains all wiki content; the human owns the raw sources and the schema. This creates a clear ownership model where automation handles the filing, cross-referencing, and maintenance, while human judgment governs what enters the system and which insights deserve emphasis. The wiki spans frameworks, philosophy, cases, strategies, and concepts — not a collection of PM articles, but a structured record of how PM decisions were actually made and what patterns they revealed over time.
  • Type: 🧭 Personal PM Operating System (Non-Commercial)
  • Context: Long-term knowledge accumulation layer for the PM Intelligence Stack — receives completed decision cases from pm-intelligence-engine, Notion content via automated sync, and manually curated web signals
  • Focus: How PM knowledge is compiled, maintained, and made queryable — not just stored

🎯 Objective

The starting point for this project was a simple observation: most knowledge management systems are retrieval systems, not accumulation systems. You add documents, and you search them later. Nothing is built up. The knowledge doesn't compound.
This project explores a different premise, drawn from Andrej Karpathy's LLM Wiki pattern: what if the LLM incrementally built and maintained a structured wiki from raw sources, rather than re-deriving knowledge from scratch at query time? The difference is not just architectural — it's epistemic. When a new case is ingested, the LLM doesn't just index it. It reads it, extracts the pattern it illustrates, and integrates that pattern into the relevant framework page. The next case that touches the same framework finds it already enriched. Knowledge compounds.
For a PM, this matters because the most valuable knowledge isn't individual articles or case notes — it's the patterns that emerge across decisions. Which signals tended to lead to kills? What made a build-vs-partner decision reversible? What assumptions were consistently blocking vs merely informing? These patterns don't exist in any single document. They have to be synthesized, maintained, and kept current as new evidence arrives.
Jack's PM Wiki is the system designed to do that.

📐 Core Design Philosophy — LLM Wiki vs RAG

The choice between LLM Wiki and RAG is not a technical choice — it's a choice about what kind of knowledge you want to exist.
RAG systems treat knowledge as latent. You store raw documents and retrieve relevant chunks at query time. The retrieval is fast, but it's also stateless: the system makes no progress between queries. Ask the same question twice, and it re-derives the answer from the same raw material both times. Cross-document synthesis — the kind that would let you say "across seven decision cases, three of them failed for this reason" — requires the LLM to find and piece together fragments on every query. Nothing is built.
The LLM Wiki pattern inverts this. Knowledge is compiled once into structured wiki pages, then kept current as new sources arrive. When you add a new case, the LLM integrates it into the existing wiki — updating framework pages, noting contradictions, strengthening patterns. By the time you query, the synthesis is already done. The cross-references are already there. The LLM's job at query time is to navigate a structured knowledge base, not to reconstruct one.
For PM judgment specifically, this distinction matters. The patterns that make a PM better over time are not in individual cases — they're in what the cases, together, reveal. The LLM Wiki pattern makes those patterns first-class, persistent artifacts rather than ephemeral query outputs.

🗂️ Knowledge Architecture

The wiki is organized into three distinct layers, each with clear ownership and purpose.
The Raw Layer is the source of truth. It is immutable — the LLM reads from it but never modifies it. Raw sources are human-curated or auto-synced and can come from anywhere: completed decision cases from pm-intelligence-engine, Notion exports, web articles, or manually authored notes. Every file carries frontmatter that identifies its source, type, and whether it requires human review before ingestion.
The Wiki Layer contains structured, interlinked markdown pages organized by type. The LLM maintains the judgment knowledge; career and identity pages are managed by their workflows:
Category
Purpose
frameworks/
Reusable PM decision patterns, anchored to real cases
philosophy/
Stable operating principles that hold across products and companies
cases/
Decision case indexes (Kill / Build (PRD · PoC) / Sunset)
concepts/
Term definitions referenced across frameworks
strategies/
Context-specific domain theses — not to be generalized
projects/
Project pages with implementation context and lessons
persona/
PM calibration context for query responses
interview-prep/
Durable evidence inventories and routing logic
The Index and Log Layer provides operational visibility. index.md is a catalog of every wiki page — read first on every operation. log.md is an append-only record of every ingest, query, and lint operation.
The PM-specific schema was designed around one principle: preserve the distinction between what is stable across contexts and what is context-bound. Framework pages extract reusable patterns. Philosophy pages hold stable operating principles. Strategy pages hold context-specific domain theses that shouldn't be generalized. This separation prevents the most common failure mode of knowledge bases: collapsing everything into generic advice that loses its evidential basis.

🤝 Human-LLM Ownership Model

The most deliberate design decision in this project is the ownership boundary: humans govern the schema; the LLM owns the judgment knowledge in frameworks/, philosophy/, concepts/, strategies/, cases/, and projects/. Career and identity facts in persona/, interview-prep/, and career/ are maintained by their workflows and direct edits.
This isn't a vague principle — it's enforced structurally. Humans and bounded agents write raw sources, including wiki-export and meeting records. The raw layer remains read-only for the ingesting LLM. The schema file (CLAUDE.md) defines exactly how the LLM should behave during each operation type. The ingesting LLM works only from sources placed in the raw layer and never modifies them.
Within that boundary, the LLM has real autonomy: it decides which wiki pages a new source affects, how to integrate new evidence into existing frameworks, when a new concept warrants its own page, and how to handle contradictions between cases.
The review_needed flag operationalizes the human gate at ingest time. Sources requiring PM interpretation — Notion strategy notes, web articles, project writeups — are marked review_needed: true. The LLM shares its key observations before updating any wiki page and waits for human confirmation. Sources already processed through pm-intelligence-engine's human gates (completed decision cases) are marked review_needed: false for archival ingest when a person runs /ingest, since the human judgment was applied upstream. Exporting a report into the raw layer does not itself update the wiki.

⚙️ Skills & Governance

Three skills define the operational interface:
/ingest accepts either a single file path or a folder. In single-file mode, it runs the full ingest workflow — determining which wiki pages are affected, updating them with new patterns or evidence, creating new pages when warranted, and updating the index and log. A single source file typically touches two to five existing wiki pages. In batch mode, it cross-references the log to surface what hasn't been ingested yet, asks for human confirmation, then processes sequentially.
/query accepts a PM judgment question and routes it through the wiki rather than raw sources. It reads the PM persona page first to calibrate depth and framing, then navigates to relevant wiki pages. Answers include structured citations — at minimum one wiki citation per claim and one case citation per framework pattern invoked. If the query required cross-page synthesis that would be reusable as a pattern, it proposes creating a new wiki page rather than leaving the synthesis ephemeral.
/lint is the health maintenance operation. It checks for orphan pages, un-ingested raw sources, missing concept pages for referenced terms, broken cross-links, and potential framework contradictions. It also runs project-specific checks: unvalidated case markers, stale archive links, and web sensing files older than 30 days without an ingest record. Output is appended to log.md with severity: Fix / Flag / OK.

🔗 Source Integration Pipeline

The wiki does not pull from sources directly — it receives from two automated pipelines:
pm-intelligence-engine → wiki. When pm-engine finalizes a run (PRD, PoC, or Kill), Hermes exports the Stage 7 Executive Summary report into the wiki's raw layer. The export remains input material until a person runs /ingest. That workflow ingests it as a case record — not re-summarizing the content, but extracting what pattern it illustrates and integrating it into the relevant framework and case index pages.
Notion → wiki. A GitHub Actions workflow runs weekly, exporting Notion pages to the notion-cms-backup repository. A post-merge hook fires when those commits are pulled locally, running sync-from-notion.py to update the raw layer. Profile content is auto-ingested as calibration context. Strategy notes, technical projects, and product strategy notes are marked review_needed: true and queue for human-guided ingest.
With person-run ingest, the result is a closed loop: signals become decisions in pm-engine, decisions become case records in the wiki, and case records compound into richer frameworks that inform future decisions.

⚖️ Design Trade-offs & Constraints

The core trade-off is compile time vs query time. Every ingest is slower and more expensive than a RAG index update, because the LLM is actually integrating knowledge rather than just embedding it. The payoff is at query time: answers are grounded in pre-synthesized patterns, not re-derived from fragments. For a personal PM knowledge base where queries are high-stakes — interviews, strategic decisions — this trade-off is worth it.
The governance overhead of /lint and review_needed is a deliberate cost. Unreviewed ingestion of personal essays and strategy notes risks importing promotional framing or context-bound assumptions as if they were reusable patterns. The review gate is what keeps quality stable as source volume grows.
The human-maintains-schema model means the wiki's behavior changes by editing CLAUDE.md, not by modifying code. Operational control stays in a human-readable, version-controlled file rather than buried in implementation.

🧠 PM Learning Outcomes

This project reinforced that knowledge management is a product problem, not a filing problem. The instinct when building a knowledge base is to optimize storage and retrieval. The better question is: what form should knowledge take so it compounds rather than accumulates?
The LLM Wiki pattern answered that question architecturally. But the PM customization — the schema design, the ownership model, the review gates — was where the real design thinking happened. Deciding that framework pages must always anchor to real cases, that interview-prep delivery artifacts live in outputs/ not wiki/, that strategy notes need human review before pattern extraction — these were judgment calls about what kind of knowledge base was worth building.
It also clarified something about human-LLM collaboration: the most effective boundary is not "human decides, LLM executes" — it's "human curates inputs and governs schema, LLM maintains the knowledge artifact." That distinction changes what the human spends their time on, and it changes what the LLM is trusted to do autonomously.

🗺️ How This Fits Into the Larger System

  • Project 4a: Jack's PM Wiki ← here — knowledge foundation and long-term memory
Together, these four projects form a closed loop: signals become decisions, decisions become knowledge, and knowledge compounds into better future decisions. The return path runs through two hand-compiled copies in pm-decision-context: core/00-pm-identity.md for every stage, and core/17-judgment-patterns.md for S3 opportunity and S5 prioritization. pm-intelligence-engine reads those copies, not the wiki, during a run.
notion image