← → to navigate

Thoughtful Technologies

The project knowledge base.
How it actually works.

One place per project for what we decided, specified and learned. This deck explains the ideas first; installing the tools comes after.

The Problem

Project knowledge has no home

scattered

Decisions live in chat, specs in Confluence, context in someone's head. Nothing is authoritative.

rotting

Documentation drifts the moment it is written. Nobody knows which page is still true.

unusable by agents

Coding agents re-derive the same context every session because there is nothing structured to read.

Writing more documents does not fix this. The missing piece is a model that separates what a human is accountable for from what a machine may regenerate.

The Core Idea

Two layers, one rule each

layer: artifact

Accountable work products

PRDs (product requirements), specs, ADRs (architecture decision records), releases, runbooks, guides. Written by people with AI help, never owned by the AI. Approved means frozen — a change is a new version that replaces it (supersedes).

layer: knowledge

Compiled project view

Concepts, glossary, summaries, cross-references. Written by the AI from the source material, rebuilt every time new material is processed (an ingest), never the final word. Cheap to throw away and rebuild.

Layer follows accountability, not file type: a PM's own status report is an artifact; a status summary the AI compiled is knowledge. How to tell: every page shows layer: in its properties at the top.

Boundaries

One project, one base, one direction

The Flow

Four moves

01
Capture
Meeting notes, transcripts, summaries of AI chat sessions land in raw/. Never edited afterwards.
→
02
Ingest
The AI compiles raw material and approved artifacts into knowledge pages. Writes knowledge only.
→
03
Author
People write artifacts, any time, with Claude's help. A second person approves (four-eyes).
→
04
Publish
Approved, customer-visible artifacts go to Confluence. Nothing else ever does.

Capture and ingest repeat whenever new material arrives. Once an artifact is approved, the next ingest reads it too — so the knowledge pages always reflect what was actually signed off.

Governance

Who may change what

owner / approver

Every artifact has an owner. Customer-facing ones (PRD, spec, release, guide) also need an approver who is not the owner — the four-eyes rule. ADRs need a tech lead. Publishing is blocked otherwise.

steward

The project's PM. Runs ingest on a regular cadence, publishes to Confluence, and works through the open questions ingest raises. Anyone may ingest material they added; the steward reviews it. A meeting's transcript is added by whoever created the meeting, or a participant they hand it to.

the AI

Writes knowledge pages freely. Changes an artifact only when its owner asks. It also assigns tags on every page — the one field it may touch on an approved artifact, because tags are navigation, not content.

An artifact moves draft → in-review → approved → published. Approved is frozen: to change it, write a new version that supersedes it, or the owner explicitly agrees to a fix.

People are pages too, in internal/people/. owner: [[stephan]] is a link, so each person's page lists what they own — no list to keep up to date.

The One Rule

Edit the base, not the view

You want to improve…Do thisSurvives the next ingest?
A person or department pageAsk Claude via /ffons:authoryes never recompiled
A knowledge page (concept, summary)Add what you know as a new raw/ note, then ingestyes it is in the input
Your own text that must never be recompiledMake it an artifact (layer: artifact)yes ingest leaves it alone
A knowledge page, by typing into it—no overwritten next ingest

A knowledge page is like a spreadsheet formula's result: change the inputs, not the result. This is the most common mistake — and the same goes for tags and index.md, which are generated too.

In Practice

Why the agent asks back

high-risk fields

Names, attendees, dates, amounts and whether something was decided are taken only when a source states them. Never reconstructed from context, never the "nearest match".

people

A first name becomes a person link only against a page in internal/people/, or once someone confirms who it is. No page means an open question, not a guess.

The question is the system working, not friction. A wrong name compiled once spreads into every page that links it.

Your person page is what owner, approver and every mention of you point at. Only your name is needed. Missing? Ask Claude to create it with /ffons:author.

The Tools

Three tools, three roles

fcc — sync

Factorial Connect & Commit. The knowledge base is a git repo in GitLab; fcc is a Mac app that syncs it without you touching git. Colleagues' changes come down; yours go up when you press upload and describe them in plain words. Developers can use their usual git tooling instead.

Obsidian — read

Opens the project folder as a vault (Obsidian's word for a folder of notes). Links become clickable, person pages list what they own, the graph shows the shape of the project.

Claude Code — work

Where you change things. Ask questions with /ffons:query, write or fix artifacts and your person page with /ffons:author, add material and ingest it. It knows the rules in this deck.

01
Ask
Tell Claude Code what you want, in plain words.
→
02
Check
Read the result in Obsidian.
→
03
Upload
Send it up with fcc. Until then only you can see it.
→
04
Shared
Colleagues get it with their next sync.

In Practice

Your checkout, day to day

Next

Install, then one round trip

Stuck at any point? Ask Stephan, Volkan or your lead.

Thoughtful Technologies

Appendix

For maintainers and the curious

Where the ideas come from, the full schema, the operations, how developer knowledge flows in, and how to set up a new project. Not needed for day one.

Prior Art

Nothing here is invented

SourceWhat it gives usWhere it applies
Karpathy — llm-wikiAn LLM-maintained wiki compiled from raw inputsOnly the compile step: raw → knowledge
Nygard — ADRImmutable, superseding decision recordstype: decision artifacts
Docs-as-code / single-sourcing
Martraire, Rockley
Docs in the repo, reviewed like code, published from one sourceThe artifact layer and the publish step
OKF v0.2 (Google Cloud)A portable markdown+frontmatter bundle format, with derived trust tiersThe base is an OKF bundle; export makes it strict
Materialized views (database practice)Never edit the view, edit the base and recomputeindex.md, tags, all compiled knowledge

Structure

Axes are lifecycle. Tags are craft.

AxisDefault layer
10-setup/knowledge
20-discovery/knowledge
30-requirements/artifact
40-delivery/artifact
50-technical/mixed — ADR is artifact
60-operations/mixed
70-guides/artifact
internal/hard publish block

Johnny.Decimal gaps of ten — insert 35-… without renumbering. raw/ publish/ log/ stay unnumbered: infrastructure, not pipeline stages.

tags: the orthogonal axis

Folders say when in the lifecycle a page sits. Tags say which craft it concerns — and a page can be both.

topic/backend can be a requirement, an architecture doc, or a runbook. Folders cannot express that.

Tags are compiled, never authored. Humans curate the vocabulary in allowed_tags:; the LLM only assigns from it. A hand-set tag is clobbered on the next ingest — same discipline as index.md.

In Practice

Everything is frontmatter

---
type: decision          # prd | spec | decision | release | guide | runbook | concept | person …
layer: artifact        # the governance switch — required, lint-enforced
title: Use md2conf for Confluence publishing
status: approved        # draft | in-review | approved | published | superseded | living
visibility: internal    # internal | customer
owner: "[[stephan]]"    # wikilink into internal/people — clickable, backlinked
approver: "[[niha]]"    # MUST differ from owner on customer artifacts (four-eyes)
tags: [topic/backend]  # LLM-derived. Never hand-set.
source: ["[[raw/2026-07-14-publishing-workshop]]", "[[md2conf-concept]]"]
updated: 2026-08-03       # human-facing date of last meaningful change
# OKF v0.2 trust fields — DERIVED, written by the operation that touched the page
generated: {by: "human:stephan", at: 2026-08-03T09:12:00Z}
verified: [{by: "human:niha", at: 2026-08-03T14:40:00Z}]  # from approver ⇒ "human-reviewed" tier
---

Every base-internal source is a wikilink — clickable in Obsidian, resolvable by lint. Raw inputs are path-qualified ([[raw/…]]) because raw never moves; external refs stay plain strings. generated and verified are OKF v0.2 trust fields: no verifier means unverified, a machine actor machine-confirmed, a human: actor human-reviewed — our two layers, in OKF's vocabulary.

In Practice

Seven operations. Skills, not tribal knowledge.

/ffons:session-review

Freeze what a chat or agent session actually taught us as an immutable digest in raw/sessions/. Triages genuine decisions toward an ADR.

/ffons:ingest

Raw + approved artifacts → knowledge. Regenerates index.md, recomputes tags, appends a run fragment to log/. Contradictions become open - [ ] checkboxes, never silently resolved. Anyone; the steward reviews.

/ffons:author

Co-write an artifact with correct schema and governance. Also the one way to maintain person and department entries.

/ffons:query

Answer from index.md → knowledge pages → artifacts. Read-only, provenance-cited, layer-aware.

/ffons:lint

Broken links, orphans, missing source or layer, enum validation, freshness drift, the four-eyes gate, internal-leak boundary. Reports, never fixes. CI-able.

/ffons:publish

md2conf orchestration to Confluence. Approved + customer only. Steward only.

/ffons:export-okf

Emit a strictly conformant OKF bundle for external AI agents — wikilinks resolved, one log.md, OKF index.

Each is a skill with a thin slash-command shim — so it runs in interactive Claude Code and in slash-less environments alike.

In Practice

Feeders: how dev knowledge gets in

Devs feed the base two different ways, on purpose. Accountable knowledge — ADRs, architecture, runbooks — is authored directly, signed, four-eyed. Ambient knowledge — conventions, gotchas, how the codebase really works — is accumulated by coding agents and absorbed as a feeder.

kenkeep — replace

Ingest a versioned pack pinned into raw/kenkeep/pack-vN/. Never the live nodes/ dir — it is path-volatile and would give perpetual false drift. Each pack supersedes the last; dedup by stable node id. Steady state: exactly one current pack.

openspec — append

Ingest archived changes only — changes/archive/<date-feature>/, frozen at archive time. Each folder is a unique immutable delta, so copy the new ones in and ingest since-last. Prior snapshots are never touched.

One rule covers both: ingest a feeder's stable, frozen form — never its live working state. Same boundary as base → Confluence. The base deliberately lags the feeder by one snapshot cadence: reviewed snapshots, not mid-session scribbles.

A Day In The Life

Same base, three jobs

Developer

Writes an ADR with /ffons:author, gets tech-lead approval. Separately, cuts a kenkeep pack at sprint end — ideally a CI job that PRs it into raw/. Never touches the knowledge layer by hand.

PO / Designer

Runs /ffons:query to find out what was decided and why, with citations. Authors the PRD and its wireframe in one per-feature folder, Figma link in design-source:. Queries fresher knowledge without operating anything.

PM / Steward

Runs /ffons:ingest on cadence, works the open - [ ] checkboxes it raises, ratifies proposed new tags into the vocabulary, then /ffons:lint and /ffons:publish.

A chat or agent session worth keeping becomes a frozen digest via /ffons:session-review — a new immutable raw input. Ingest compiles its durable findings; anything that was a real decision gets promoted to an ADR with four-eyes.

The Contract

Invariants — the whole system in ten lines

Getting Started

One command per repository

# in an existing project repo
/ffons-bootstrap

# installs: the knowledge base subdir, AGENTS.md schema,
# the ffons-* operation skills and /ffons:* shims at repo root.
# Non-destructive. Re-run to update machinery — never touches notes or config values.

Thoughtful Technologies