For Architecture, Engineering & Construction

Every RFI. Every submittal.
Every spec revision.
Now searchable.

DocStack gives project teams a compiled knowledge base built from your documents — no markdown expertise, no enterprise software, no onboarding. Drop in a PDF. Ask a question. Get a cited answer.

Drop a PDF into raw/
Ask a question via CLI or agent
Get cited, cross-linked wiki pages
The Problem

Documents pile up. Knowledge disappears.

42%
of AEC knowledge sits only in people's heads — lost when they leave (Gartner)
3–7
versions of a typical drawing set issued over a project lifecycle
$1,500
avg. cost of a single RFI lookup that goes nowhere — wasted PM time

DocStack applies Karpathy's LLM Wiki pattern to AEC documents.

The idea is simple: your raw documents are the source of truth. They go in, immutable. The LLM compiles them into a structured wiki — entity pages, concept pages, source summaries — that lives in wiki/. You query the wiki, not the raw folder. Every answer is cited. Every claim is linked back to the document that made it.

When drawings get reissued or specs get addended, the LLM flags the contradiction — it doesn't quietly overwrite it. That's the part nobody else does.

What's in the Kit

Everything you need. Nothing you don't.

CLAUDE.md

The schema. Defines the three-layer architecture (raw / wiki / CLAUDE.md), all page formats, AEC entity taxonomy, and the three operations: Ingest, Query, Lint. Under ~250 lines. No bloat.

Seeded raw/ and wiki/ trees

Empty folder structure with YAML frontmatter conventions baked in. Kebab-case naming. Obsidian [[wikilinks]] between every page. Works with Claude Code, Windsurf, or any LLM CLI.

One-page README

Three commands: ingest <file>, query <question>, lint. Four-step setup under 10 minutes. Screenshot of Obsidian graph view after the worked example.

Worked example ingest

A sample RFI with a worked answer and a spec section revision that contradicts it — so the Lint workflow has real contradictions to find. Shows the pattern end-to-end.

AEC-native entity taxonomy

Projects, Phases, Drawings, Specifications (CSI Division refs), RFIs, Submittals, Change Orders, Punch List items, Schedule milestones, Contracts, People, Companies, Permits, Code references — all pre-wired. Prune what you don't need.

Version-aware contradiction detection

Drawings and specs change. DocStack tracks that. When a new document contradicts a prior claim, it flags > **CONTRADICTION** inline — not in a separate log, right where the claim is made.

Free starter kit

No proprietary stack. No required Obsidian. No vendor lock-in.

Obsidian and Claude Code are the recommended reading/maintenance pair — but the pattern works with any LLM agent and any markdown-native tool. Your wiki, your tools, your workflow.

The kit is one folder. It runs on your project directory, your laptop, your terms. When the project ends, you take the wiki with you.