The Knowledge Base

Your project's collective memory, captured once and drawn on every time Spektacular (Spek) 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, rewrite it when things change, and remove it when it has had its day.

How a search is ranked

To enable the effective retrieval of knowledge base entries, Spek uses a search algorithm that is based on the content of the knowledge base entry and any tags that are associated with it.

Tagging an entry

Tags say what an entry is about, independently of the words it happens to use. They are proposed for you when an entry is captured, drawn from the tags already in use, so the vocabulary converges without anyone maintaining a taxonomy.

Configuration

Which knowledge you mean: the two tiers a store belongs to, how it gets its name, and how a request says which stores it covers.

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.