Skip to content

📘 reference — overview/guide, not tied to a code symbol

Validation by Beadloom doc_sync — same source as sync-check.

The Public API ​

Beadloom's version number follows Semantic Versioning. The standard's first rule is that the software declares a public API, because a version number is a promise about that API and about nothing else. This document is the declaration. The Public API section of CONTRIBUTING.md holds the same list, and each release's section of CHANGELOG.md classifies its changes against it.

The composition below is the owner's ruling of 2026-10-08. A change to the list is itself a change to the promise, so it is made by the owner and recorded in the change log of the release that makes it.


What is public ​

  1. The commands, their options and their exit codes. Every beadloom command and subcommand, every option it accepts, and the exit code it returns for a given input. The reference is docs/services/cli.md and beadloom <command> --help. Added in 9.0.0 (BDL-080 S3c): the value fsd of init --preset, beside monolith, microservices and monorepo. Changed after 9.0.0, in the next major release (BDL-083 S1, unreleased), each under Breaking in the change log: the pre-push hook without beadloom on its PATH (0 → 1), issue-number check over a declared log the tree does not hold (0 → 1), and lint --fail-on-warn over an import rule with nothing to ban (1 → 0). Changed after 9.0.0, in the next major release (BDL-083 S2, unreleased), each under Breaking in the change log with its measurement:
    • the pre-push hook exits 1 on a push whose exported .beads/issues.jsonl holds the merge slot for a bead the push carries (0 → 1, RFC D12);
    • waves exits 1 when the merge slot is held by a bead the tracker lists as closed (0 → 1);
    • clean-room --carry <path>, where HEAD holds the path as a file and the working tree does not, builds the room with the path deleted (2 → 0 or 1, also for a path --rebuild remembers);
    • config-check and ci in a git worktree or a clean room of a project whose root manifest does not name it (1 → 0, RFC D7);
    • init in every mode, doctor and sync-check --since on a project root below the git root (0 → 1), and ci and the pre-push hook through the doctor step;
    • doctor exits 1 on any ERROR row, not only the git-root one, the rule the Gate's doctor step already applied;
    • config-check on a project whose flow.yml declares two tools and whose files carry fewer composed layers for one of them (0 → 1, RFC D13), and on role files and a CLAUDE.md composed before this release (0 → 1, until setup-agentic-flow recomposes). Command added (BDL-083 S2g, unreleased): landing-check [--stdin] [--project DIR], exit 0 when no ref of the push lands its own hold, 1 when one does, 2 when the push could not be judged.
  2. The keys of .beadloom/config.yml. Every key a command reads, and the values each key accepts. A key is documented in the reference of the node whose code reads it: tests: in the test-mapping SPEC, site: in the site-generation SPEC. Keys added in 9.0.0 (BDL-080 S4d): site.logo, the path of the project's SVG or PNG logo relative to its root, shown in the portal's nav; site.powered_by, true or false, the "Powered by Beadloom" footer; and site.repo_icon, the icon beside the header's repository link. site.repo_icon takes a value vocabulary: github, gitlab, bitbucket, codeberg, gitea, azuredevops, git. Without it the icon is read from the host of site.repo_url, which gives azuredevops for an Azure DevOps host as it has since the release that declared this API. BDL-080 S4e let site.repo_icon name it for a self-hosted server. site.logo is the portal's favicon too (BDL-080 S4e); without it, or when the file is Beadloom's own square icon byte for byte, the favicon is Beadloom's (the owner accepted that rule on 2026-10-10, beadloom-e1xo): the theme-adaptive SVG and a PNG per colour scheme under public/brand/. Key added in 9.0.0 (BDL-080 S3a): imports.aliases, a mapping of an import alias to a folder or file relative to the project root (. for the root), read by the reindex (reindex SPEC) for the import resolver, whose SPEC says how an alias is matched. An unknown key under imports:, an alias that is a pattern or a path, and a value that names nothing in the project are refused by config-check and the Gate, with exit code 1. Earlier releases accepted an imports: block by ignoring it, so that refusal is a configuration that was accepted and is now refused, and the change log of 9.0.0 lists it under Breaking. The same holds of every key a release accepts by ignoring it: the next major version may read it or refuse it. 9.0.0 does so for four places, each under Breaking: the imports: block, scope: and title: on a layers rule, and tag_prefix beside kind in a node matcher. Keys added after 9.0.0, in the next major release (BDL-083 S2, unreleased): project_name, the name the composed CLAUDE.md heading takes and config-check compares, read before a root manifest (S2c, the project-name DOC); and rooms.pipelines, a list with the vocabulary github, gitlab, naming the pipeline files the room census and the Gate's coverage statement read, every file present when unset (S2F1, the verdict-room DOC). A project that holds both .github/workflows/ and .gitlab-ci.yml and declares no key gains the GitLab rooms: a finding-set move in a report that moves no exit code.
  3. The keys and the value vocabularies of the JSON outputs: ctx --json, status --json, the debt report (status --debt-report --json) and export, whose artifact is JSON without an option. A vocabulary is the set of values a key can take. The activity level is one: hot, warm, cool, quiet, dormant. A script that matches on a value depends on the vocabulary as much as on the key that carries it. The portal's other JSON files, dashboard.data.json and landscape.data.json, are not outputs on this list: their keys carry no promise (item 5). Key added after 9.0.0, in the next minor release (BDL-082 S1a, unreleased): an edge of export carries via with the vocabulary @x when every import behind the edge goes through the target slice's @x cross-import API, and no via key otherwise. The export stays schema_version 2.
  4. The MCP tools the server lists, with their arguments and the keys of what they return. The reference is docs/services/mcp.md. Changed after 9.0.0, in the next major release (BDL-083 S1, unreleased), all in what complete_bead returns. Keys added: not_run_reason on both verdicts, null when the coverage report was derived and the sentence the coverage report raised <class>: <message> when it raised. room is {"reason": ...} when the room census raised. On FAIL, owners gains rule, base and claims, and each entry of owners.findings gains where, files and uncommitted. Each claims entry is {bead, commits, unread_bead_lines}, and each row of unread_bead_lines is {placement, stated, count, commits}. placement takes the vocabulary outside_final, unread_final. A value removed and a value whose meaning changed, both under Breaking in the change log: owners.findings[].verdict no longer takes unowned, and owned now means that a claimed bead's commits, bound by the Bead: <bead-id> trailer, changed a file the finding is about, where 9.0.0 meant that the bead's refs: named a node covering it.
  5. The portal data file's schema: the schema_version the generator writes and the keys under it. The reference is docs/services/vitepress-site/architecture-data.md. Key added in 9.0.0 (BDL-080 S4c): the top-level source_ref, the revision the source links name, present when the file carries source links. It is {commit, linked, pushed}: commit is the full hash the portal was built from; pushed is true or false, and false only when git says no branch of origin holds the commit; linked is the revision every source link names, either the same hash as commit (a pushed commit, or an unpublished one no branch stands in for) or the name of a branch on origin (the branch's upstream when it is on origin, origin's branch of the same name, or origin's default branch). Both are judged by origin's branches only, even when site.repo_url names a repository on another forge (a decision of BDL-080 that may be revisited). Keys added in 9.0.0 (BDL-080 S4a): the top-level lint, lint's reach over the whole project, {errors, warnings, nodes_with_findings, nodeless}, where each entry of nodeless is {rule, severity, message, file, line} and severity takes the vocabulary error, warn; it is omitted when lint did not run. And a node's debt.inside, the debt of the nodes inside a box without the box's own, {nodes, score, by_reason}, where by_reason is keyed by the debt report's reasons; it is present on a node another node is part_of. Value added after 9.0.0, in the next major release (BDL-083 S1b, unreleased): severity also takes info, carried by a nothing_to_ban statement, a forbid_import or test_import_boundary rule that can match an import path and matches none today. A statement at info counts in neither lint.errors nor lint.warnings. dashboard.data.json and landscape.data.json are not this file and are not on this list. The keys BDL-080 added to the first, lint.nodes_with_findings, lint.nodeless and the top-level pages, are described in dashboard-data.md, the second is described in landscape-data.md, and neither carries a promise. Key added after 9.0.0, in the next minor release (BDL-082 S1a, unreleased): a depends_on edge carries via with the vocabulary @x, on the same edges and with the same meaning as in export (item 3), beside violation. The file stays schema 2.
  6. The files generated for an adopter: what init, docs site, docs generate, setup-agentic-flow, setup-rules, setup-mcp and install-hooks write into a project, their paths and what they mean to the project that receives them. That covers every file init writes, the role files setup-agentic-flow composes, and the portal's entry files that docs site writes: package.json, the data files under public/ and the pages. It does not cover the internal paths of the scaffold's theme under .vitepress/theme/, which follow the viewer's own slices and move when a slice is cut. A promise about them would make every refactoring of the viewer a major release (owner's ruling, 2026-10-10), so the change log of 9.0.0 lists the 42 theme files that release renamed or moved under Changed. A file of yours under .beadloom/site/ that replaces a theme file is tied to that file's path: it is copied to the same path on every run whether or not the theme still ships a file there. Added in 9.0.0 (BDL-080 S3): for a Feature-Sliced frontend, init writes nine rules into .beadloom/_graph/rules.yml, two of them of rule types new in this release, slice_public_api: {tags} and slice_shape: {tags, segments} (the rule-engine SPEC is their reference); a lint:fsd script in package.json; and, for any project whose babel.config.*, .babelrc or vite.config.* declares aliases, the imports.aliases block of .beadloom/config.yml. Changed after 9.0.0, in the next minor release (BDL-082 S2a, unreleased): for a Feature-Sliced frontend init writes eight rules where 9.0.0 wrote nine. The cohesion check for pages is no longer written, fsd-public-api also carries fsd-shared and fsd-app, and fsd-slice-shape is written with discouraged:. A slice inside a slice group is a node of its own, <layer>-<group>-<slice>. init writes rules.yml only where none exists, so a project initialised by 9.0.0 keeps the file it has. Key added after 9.0.0, in the next minor release (BDL-082 S1b, unreleased): discouraged: of a slice_shape rule, a list of folder names a slice's top is discouraged from holding. Omitted, it is the 69 names of the segments-by-purpose rule of @feature-sliced/steiger-plugin, in the release the portal scaffold pins. segments: keeps its meaning as the known-good set. The FSD rules follow the specification's text where it and Steiger differ: @x is accepted on the entities layer only, an @x API is open to the one slice it names, an @x pair declared in the graph YAML is a crossing, and app/store is no finding. The rule-engine SPEC lists the differences as measured. Changed after 9.0.0, in the next major release (BDL-083 S2, unreleased): setup-agentic-flow on a flow declaring cursor writes the composed core and the four commands as alwaysApply rules, .cursor/rules/beadloom-flow.mdc and .cursor/rules/beadloom-{coordinator,task-init,checkpoint,templates}.mdc, each body byte-identical to the file Claude reads, and no longer writes the pointer .cursor/rules/beadloom-flow.md (a file-set move, S2h). A project layer .beadloom/flow/cursor/CLAUDE.md reaches Cursor's core alone, and .beadloom/flow/claude/CLAUDE.md now reaches the core of both tools. setup-mcp and init --bootstrap write the server command beadloom instead of the absolute path of the machine that ran them (S2h). The pre-push hook install-hooks writes runs beadloom landing-check --stdin before the Gate (S2g). The composed CLAUDE.md gains the paragraph "The project root is the git root" (S2e), the landing sequence acquire → commit → release → export → the export landed → push (S2g), and the composed task-init command writes its plan file under $(mktemp -d) (S2h).

The promise. Within one major version, nothing on this list is removed, renamed or changed in a way that breaks a reader that used it as documented. A release that does any of those is a new major version, and its change log names the change under Breaking before anything else.

What is not public ​

Python import paths are not public API. The modules, classes and functions under beadloom.* can move, be renamed or be removed in any release, and the version number does not say when. They are laid out by the architecture graph, which decomposes a module when its responsibility splits, and a promise about import paths would forbid exactly that. A program that needs Beadloom's data reads it through one of the public surfaces above: ctx --json, export, the MCP tools or the portal data file.

The node documents under docs/domains/ and docs/services/ carry a section headed Public API. That section describes a module's interface to the rest of this codebase, and it is not part of the promise this document makes.

How a change sets the version ​

Change to a public surfaceVersion part
A command, option, key, MCP tool or generated file is removed or renamedMAJOR
A value is removed from a vocabulary, or a value keeps its name and changes its meaningMAJOR
The same input gets a different exit code, including a configuration that was accepted and is now refused, except a false finding removed (below)MAJOR
A reported value that a --fail-if threshold judges moves on a project nobody editedMAJOR
A data file schema the released viewer cannot readMAJOR
A command, option, key, MCP tool or generated file is addedMINOR
A value is added to a vocabularyMINOR
A schema version that keeps every key of the previous oneMINOR
A fix that changes no public surfacePATCH

A value added to a vocabulary is minor because a reader is expected to tolerate a value it does not know, as the portal viewer does with an activity level it has not seen. A value removed is major because a reader that matched it stops matching, and nothing tells it so.

A false finding removed is a fix (the owner's ruling of 2026-10-11, BDL-082). The exit-code row above is about a reading the project promised. When a rule read an input against the very convention it claims to check, and a release corrects that reading, the findings it removes were never part of the promise:

Change to an exit codeVersion part
A release removes findings that were false on an input a rule read against its own convention, and no input moves from passing to failingMINOR, or PATCH when the release adds nothing
A release adds findings on an input nobody changedMAJOR

The two cases are told apart by what the rule meant before the release. The first release named against this guide gave the rules input they had never had: imports the release before it did not read became depends_on edges, so lint --strict could fail on a project nobody edited. That was a new semantic, and its change log listed it under Breaking, together with the exit code it moved from 1 to 0 at the same time. BDL-082 corrected a misread convention: fsd-layers and fsd-public-api reported the specification's own @x example as findings, and feature-sliced.design 2.1 allows that import on the entities layer. That example moves from exit 1 to 0, and no probe written from the specification's reference pages moved from 0 to 1 (measured by beadloom-wvzg on 2026-10-11). So BDL-082 is a minor release, and its change log measures both directions.

A threshold verdict is the case that is easiest to miss. status --debt-report --fail-if score>N returns its exit code from a score, so a release that changes how the score is counted changes an exit code for a project that changed nothing. That is listed under Breaking even when no key and no vocabulary moved.

A change is classified by the highest row it reaches, and the change log states, in one sentence at the top of the release, which line made the version what it is.

Why the guide watches the CLI ​

The marker at the top of this file asks beadloom sync-check to warn when the command and option tree changes. A command or option that changes is a public API change by item 1, so the warning is the prompt to classify it before the release is named.