Skip to content

Collection

A collection is a folder that holds assembly lines and the agent definitions they use. It is usually a git repository.

my-collection/
write-note/
assembly-line.yaml
agents/
note-writer.md

Each line has a folder named by its line.id. The folder holds the line’s pipeline file and one markdown file for each agent. The full layout is in Collection.

A line folder may sit one level down, in a group folder such as stock/ or ours/. The group is only a place on disk and is in no name. A line’s id is still the name of its own folder, and it is unique in the whole collection. A groups list in floor-collection.yaml says which group wins when two hold the same line: the one listed last.

Make a collection when you want lines and agents reviewed and versioned as files. A collection is stricter than a pipeline file on its own. It needs exactly one subject argument and no agent_definitions block.

Lint checks every file with no floor and no environment variables.

Terminal window
npx @re-cinq/floor-pipeline lint .

Apply puts every agent, then each line, onto a floor. Applying the same collection twice changes nothing.

Terminal window
FLOOR_SERVICE_TOKEN=... npx @re-cinq/floor-pipeline apply . --floor http://localhost:8180

Lint does not run every check floor runs. See Limits and the rules lint checks.