The Knowledge Base

Your project's collective memory, captured once and drawn on every time Spektacular plans a feature.

What it is

The six categories

Every entry belongs to exactly one of six categories, fixed by the first segment of its path: an entry at gotchas/timeouts.md is a gotchas entry. The categories are the single model the whole subsystem is built on.

The lifecycle of an entry

Entries are plain markdown files, and you manage them through the spektacular knowledge commands: create one, search and read it back, and rewrite it when things change.

Configuration

Where the knowledge base lives, and how to point Spektacular at more than one source, all from .spektacular/config.yaml.

Why it works this way

A few deliberate design choices are worth understanding, because they are what make the knowledge base trustworthy rather than just convenient.

See it in the workflow

The knowledge base feeds the planning step. See where it fits in the spec-driven pipeline.