Knowledge
The topology says what exists and how it is wired, and it is what Stacktic generates from. Papers add layers to the same drawing, cell by cell. A Rationale paper explains why each component and link is there: the logic of the application. A Test paper checks each component against the running cluster.
Two layers on one drawing
| Layer | Holds | Stored | Read by |
|---|---|---|---|
| Topology | Components, sub-components, links and their attributes | In the drawing | The build: every template, every stack-wide step |
| Rationale paper | One text per component, sub-component and link: why it exists, what data it carries, which business rule depends on it, what breaks without it | In the drawing, next to each cell, saved with every version | People, AI clients through the MCP, and the Rationale Graph. Never the build |
| Test paper | Tests per component type and version: a command, a target, a filter, a severity and what success or failure means | In the catalog, so a component brings its tests to every design | The stack agent, when the paper is opened in LiveView |
A third category, Data, can be created but nothing reads it yet.
The two papers answer different questions about the same cell. The rationale says why the link from the order service to the payments database exists. The tests show whether that component and its links work in the cluster right now.
Papers
A paper is a named sheet in the catalog with a category: Rationale, Test or Data. Catalog → Papers lists yours next to the ones Stacktic ships and creates new ones. The creation dialog starts on Data, so pick the category explicitly.
A Rationale paper named Knowledge is the usual place for the why of a stack. You can keep more than one, for example a Security paper written for auditors. Each holds its own text on each cell.
Writing the rationale on the design page
On the design page, click Switch Paper and pick a Rationale paper. The drawing opens with the same cells and links, showing that paper's texts.
A component, a sub-component or a link. The inspector shows a Rationale field.
The editor holds that cell's text for that paper. Saving stores it in the drawing, so it is part of every version from then on.
With Show Rationale Graph on, clicking a cell opens the Rationale Graph: the cell's text in the middle, every inbound and outbound link with its own text, the neighbouring cells, and the sub-components a component contains. It reads a topology as an explanation rather than a drawing.
Writing it through the API or an AI
An AI client that has read your application can fill the Knowledge paper of a whole stack, cell by cell, through the MCP. The design page shows the texts the next time it opens.
- The platform API attaches a rationale to one cell of a system without touching anything
else in it (
set systemwith therationalesub-resource). - The MCP exposes the same thing as one tool that lists papers, reads texts and writes them.
Writing a rationale never triggers a build, a validation or a render. It needs the Admin, Maintain or Write role on the system.
Three facts to know when you automate it:
- Cells are addressed by their label. The MCP refuses to write when two cells share a label, for example an application and the identity client named after it. Keep labels unique on a stack you plan to document this way.
- The text is shown as HTML. Paragraph and line-break tags render; a bare newline does not.
- Keep credentials out of it. People and AI tools read it.
A single-attribute update through the API rewrites the drawing through a model that does
not carry rationales, and erases every one of them. Change attributes from the design page,
or through the MCP, which detects a documented stack and writes through the full drawing
instead. A design page left open while automation writes rationales overwrites them on its
next save, so reload it first.
What the rationale is not
The rationale is documentation, not configuration. No template reads it, no policy comes from it, and it is not checked when the cell changes. When you change a component or a link, update its text yourself.
It belongs to one system. The same component type on another stack starts with no text.
It is also not the MCP's knowledge repository. That repository describes what the platform can express, for every stack. A Rationale paper describes why your stack is built the way it is.
→ LiveView · Catalog and sections · Platform API · Tool surface