📘 reference — overview/guide, not tied to a code symbol
Validation by Beadloom
doc_sync— same source assync-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
- The commands, their options and their exit codes. Every
beadloomcommand and subcommand, every option it accepts, and the exit code it returns for a given input. The reference isdocs/services/cli.mdandbeadloom <command> --help. Added in 9.0.0 (BDL-080 S3c): the valuefsdofinit --preset, besidemonolith,microservicesandmonorepo. 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 withoutbeadloomon itsPATH(0 → 1),issue-number checkover a declared log the tree does not hold (0 → 1), andlint --fail-on-warnover 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.jsonlholds the merge slot for a bead the push carries (0 → 1, RFC D12); wavesexits 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--rebuildremembers);config-checkandciin agit worktreeor a clean room of a project whose root manifest does not name it (1 → 0, RFC D7);initin every mode,doctorandsync-check --sinceon a project root below the git root (0 → 1), andciand the pre-push hook through the doctor step;doctorexits 1 on anyERRORrow, not only the git-root one, the rule the Gate's doctor step already applied;config-checkon a project whoseflow.ymldeclares two tools and whose files carry fewer composed layers for one of them (0 → 1, RFC D13), and on role files and aCLAUDE.mdcomposed before this release (0 → 1, untilsetup-agentic-flowrecomposes). 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.
- the pre-push hook exits 1 on a push whose exported
- 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,trueorfalse, the "Powered by Beadloom" footer; andsite.repo_icon, the icon beside the header's repository link.site.repo_icontakes a value vocabulary:github,gitlab,bitbucket,codeberg,gitea,azuredevops,git. Without it the icon is read from the host ofsite.repo_url, which givesazuredevopsfor an Azure DevOps host as it has since the release that declared this API. BDL-080 S4e letsite.repo_iconname it for a self-hosted server.site.logois 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 underpublic/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 underimports:, an alias that is a pattern or a path, and a value that names nothing in the project are refused byconfig-checkand the Gate, with exit code 1. Earlier releases accepted animports: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: theimports:block,scope:andtitle:on alayersrule, andtag_prefixbesidekindin a node matcher. Keys added after 9.0.0, in the next major release (BDL-083 S2, unreleased):project_name, the name the composedCLAUDE.mdheading takes andconfig-checkcompares, read before a root manifest (S2c, the project-name DOC); androoms.pipelines, a list with the vocabularygithub,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.ymland declares no key gains the GitLab rooms: a finding-set move in a report that moves no exit code. - The keys and the value vocabularies of the JSON outputs:
ctx --json,status --json, the debt report (status --debt-report --json) andexport, 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.jsonandlandscape.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 ofexportcarriesviawith the vocabulary@xwhen every import behind the edge goes through the target slice's@xcross-import API, and noviakey otherwise. The export staysschema_version2. - 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 whatcomplete_beadreturns. Keys added:not_run_reasonon both verdicts,nullwhen the coverage report was derived and the sentencethe coverage report raised <class>: <message>when it raised.roomis{"reason": ...}when the room census raised. OnFAIL,ownersgainsrule,baseandclaims, and each entry ofowners.findingsgainswhere,filesanduncommitted. Eachclaimsentry is{bead, commits, unread_bead_lines}, and each row ofunread_bead_linesis{placement, stated, count, commits}.placementtakes the vocabularyoutside_final,unread_final. A value removed and a value whose meaning changed, both under Breaking in the change log:owners.findings[].verdictno longer takesunowned, andownednow means that a claimed bead's commits, bound by theBead: <bead-id>trailer, changed a file the finding is about, where 9.0.0 meant that the bead'srefs:named a node covering it. - The portal data file's schema: the
schema_versionthe generator writes and the keys under it. The reference isdocs/services/vitepress-site/architecture-data.md. Key added in 9.0.0 (BDL-080 S4c): the top-levelsource_ref, the revision the source links name, present when the file carries source links. It is{commit, linked, pushed}:commitis the full hash the portal was built from;pushedistrueorfalse, andfalseonly when git says no branch oforiginholds the commit;linkedis the revision every source link names, either the same hash ascommit(a pushed commit, or an unpublished one no branch stands in for) or the name of a branch onorigin(the branch's upstream when it is onorigin,origin's branch of the same name, ororigin's default branch). Both are judged byorigin's branches only, even whensite.repo_urlnames 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-levellint, lint's reach over the whole project,{errors, warnings, nodes_with_findings, nodeless}, where each entry ofnodelessis{rule, severity, message, file, line}andseveritytakes the vocabularyerror,warn; it is omitted when lint did not run. And a node'sdebt.inside, the debt of the nodes inside a box without the box's own,{nodes, score, by_reason}, whereby_reasonis keyed by the debt report's reasons; it is present on a node another node ispart_of. Value added after 9.0.0, in the next major release (BDL-083 S1b, unreleased):severityalso takesinfo, carried by anothing_to_banstatement, aforbid_importortest_import_boundaryrule that can match an import path and matches none today. A statement atinfocounts in neitherlint.errorsnorlint.warnings.dashboard.data.jsonandlandscape.data.jsonare not this file and are not on this list. The keys BDL-080 added to the first,lint.nodes_with_findings,lint.nodelessand the top-levelpages, are described indashboard-data.md, the second is described inlandscape-data.md, and neither carries a promise. Key added after 9.0.0, in the next minor release (BDL-082 S1a, unreleased): adepends_onedge carriesviawith the vocabulary@x, on the same edges and with the same meaning as inexport(item 3), besideviolation. The file stays schema 2. - The files generated for an adopter: what
init,docs site,docs generate,setup-agentic-flow,setup-rules,setup-mcpandinstall-hookswrite into a project, their paths and what they mean to the project that receives them. That covers every fileinitwrites, the role filessetup-agentic-flowcomposes, and the portal's entry files thatdocs sitewrites:package.json, the data files underpublic/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,initwrites nine rules into.beadloom/_graph/rules.yml, two of them of rule types new in this release,slice_public_api: {tags}andslice_shape: {tags, segments}(the rule-engine SPEC is their reference); alint:fsdscript inpackage.json; and, for any project whosebabel.config.*,.babelrcorvite.config.*declares aliases, theimports.aliasesblock of.beadloom/config.yml. Changed after 9.0.0, in the next minor release (BDL-082 S2a, unreleased): for a Feature-Sliced frontendinitwrites eight rules where 9.0.0 wrote nine. The cohesion check forpagesis no longer written,fsd-public-apialso carriesfsd-sharedandfsd-app, andfsd-slice-shapeis written withdiscouraged:. A slice inside a slice group is a node of its own,<layer>-<group>-<slice>.initwritesrules.ymlonly 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 aslice_shaperule, a list of folder names a slice's top is discouraged from holding. Omitted, it is the 69 names of thesegments-by-purposerule 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:@xis accepted on the entities layer only, an@xAPI is open to the one slice it names, an@xpair declared in the graph YAML is a crossing, andapp/storeis 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-flowon a flow declaringcursorwrites the composed core and the four commands asalwaysApplyrules,.cursor/rules/beadloom-flow.mdcand.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.mdreaches Cursor's core alone, and.beadloom/flow/claude/CLAUDE.mdnow reaches the core of both tools.setup-mcpandinit --bootstrapwrite the server commandbeadloominstead of the absolute path of the machine that ran them (S2h). The pre-push hookinstall-hookswrites runsbeadloom landing-check --stdinbefore the Gate (S2g). The composedCLAUDE.mdgains the paragraph "The project root is the git root" (S2e), the landing sequence acquire → commit → release → export → the export landed → push (S2g), and the composedtask-initcommand 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 surface | Version part |
|---|---|
| A command, option, key, MCP tool or generated file is removed or renamed | MAJOR |
| A value is removed from a vocabulary, or a value keeps its name and changes its meaning | MAJOR |
| 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 edited | MAJOR |
| A data file schema the released viewer cannot read | MAJOR |
| A command, option, key, MCP tool or generated file is added | MINOR |
| A value is added to a vocabulary | MINOR |
| A schema version that keeps every key of the previous one | MINOR |
| A fix that changes no public surface | PATCH |
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 code | Version 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 failing | MINOR, or PATCH when the release adds nothing |
| A release adds findings on an input nobody changed | MAJOR |
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.