Karyo
Documentation/ More documentation

Karyo documentation

Karyo 2.1.1rendered at build time
On this page

Every document in this repository, one line each. The documents describe Karyo as it behaves today, including its known defects, and each one names the files its claims come from so that a reader can check them instead of trusting them.

New here? Read the architecture overview for how Karyo is put together, then what Karyo does in a warehouse. Using an installed Karyo rather than building it? Go straight to the user guide.

Conventions. Source citations name a repository-root-relative file and a stable symbol or configuration key, such as ReplenishmentService.scan or application.yaml, quarkus.flyway.locations. ... elides the middle of a long path; a bare symbol belongs to the file named nearby. Use these names rather than line numbers, which drift as files change. Superseded decision records identify the historical revision when their evidence no longer exists in the current tree. A paragraph marked Known defect describes behaviour that is wrong today and is tracked as an issue.

Architecture

How the system is put together, and why.

Document What it covers
Overview One deployable, three core containers plus optional managed identity, two front ends: the shape of the whole
Modules and boundaries The -api/-core rule, its two waivers, and the couplings the module graph does not show
Data and persistence One schema, Flyway version bands, entity base classes, cross-module reads
Events and the outbox Synchronous CDI events, observer transaction phases, and the outbox's two readers
Identity and tenancy Silo tenancy, Business Unit affiliation, principal_kind, and what enforces isolation
Front ends The desktop console and the floor PWA, route guards, and the shared page patterns
Runtime and configuration The three core containers, optional managed Keycloak, nginx routing, configuration and schedulers
The engine boundaries How the ten engine capabilities sit in the one distribution, what is left of the retired licence gate, and how slotting hands its analysis to Loci
Source record What the one distribution contains: every capability, the equipment adapter seam, the slotting module, and the schema and migrations
Floor Assessment Bottleneck scoring, ranking and record context over a warehouse's open monitor alerts, shown on the Monitors page
The flow model The warehouse as flow stages with queues, people and learned rates, and the deterministic projection that runs it forward: API only
Testing The test tree, the runners, and what each one proves
Decision records The architecture decisions Karyo embodies today, numbered from 0001

What Karyo does in a warehouse

The warehouse behaviour, rule by rule.

Document What it covers
Stock model and states Unit loads, stock units, stock states, locks, availability and the inventory journal
Receiving and quality holds Advance shipping notices, goods receipt, over-receipt, returns, line reversal, and what a quality hold does
Putaway and location finding The auto-putaway observer, the location finder's filters, strategy resolution, soft reservations
Allocation and reservation Order release, stock selection, complete-unit handling, and how a reservation is held
Stock selection FIFO and opt-in same-day nearest sources, day boundaries and earlier-line anchors
Picking Pick-order generation, confirmation, short-pick recovery, substitution, cancellation
Packing and shipping Packing, pack-out strategies, shipping units, manifest, dispatch, and unwinding a shipment
Replenishment Fix-face and area replenishment, source selection, the top-up quantity, the opt-in scheduler
Stocktaking Count sessions, count types, what "freeze" means, submit, accept and recount
Work allocation The work inbox, its providers, dispatch strategies, eligibility, claim and release

Configuration

What a person may configure, and who may configure it.

Document What it covers
The runtime configuration store The property catalog, its resolution ladder, per-owner scoping, secrets and operator-controlled keys
Warehouse layout configuration Zones, Location Classes, clusters, location types, locations, the capacity matrix, and what can be deleted
Strategies and policies Order and storage strategies, how each is bound, and their JSONB settings
Company and Business Units The Company singleton, Business Unit API, retirement, configuration key 0, and seeded units
Users, roles and permissions The action catalogue, the standard permission profiles, grants, user provisioning and privilege boundaries
Reference data Item units, unit load types, products as configuration, number ranges
The configuration boundary Runtime store, environment, build and core code: where each kind of change belongs

Integration and extension

What everything outside Karyo touches.

Document What it covers
The HTTP API surface Base path, versioning, resource shape, pagination, filters, CSV export
The error contract RFC 7807 problem details as the code produces them, and the paths that bypass them
Identity for an integrating system The claims a token may carry, who can obtain one, and the integrator profile
Connecting an agent OAuth sign-in, default-off approvals, twelve mirrored reads, six prepare tools, the Approvals page, result bounds and client attribution
Webhooks and the event catalogue Every event type, the envelope, signing, the two schedulers and the delivery guarantee
Extension SPIs and installation The declared seams, the extensions registry, priorities, and build-time augmentation
Strategies and runtime configuration Strategy entities, JSONB settings, the property ladder and environment knobs, seen by an integrator
Documents and printing The document templates, the override seam, the render endpoints, printing

Operations

Building, deploying, running, upgrading and recovering an installation.

Document What it covers
Operations and the delivery pipeline The operations documents, and what CI builds and proves on every change
Building Karyo What a build produces, the version authorities, dependency floors, and the notices packaged into every jar
Container images The two images, their bases, and how they are built reproducibly
Deploying Karyo Prerequisites, identity profiles, environment validation, the first administrator and the Compose stack
Operating an installation Schedulers, health, metrics, logs, credential rotation and maintenance
Upgrade, backup and recovery Migrations at boot, the upgrade path, backup and restore, and what cannot be rolled back
Identity principal upgrade The reviewed manifest, issuer evidence, principal cutover, verification and rollback boundary
Licence settings (retired) The 1.x licence settings, accepted and ignored, and what GET /api/v1/license reports
Troubleshooting Symptoms, their usual causes, and the next safe check
Release readiness The issue inventory, the 2.0.0 release blockers, the known issues and the breaking changes

Engine capabilities

Document What it covers
Engine capabilities The ten capabilities included in the distribution, seen from outside: what each offers, needs and does not do
Unconfigured states What an installation shows before a capability is configured, and what became of the 1.x licence gates: every engine acts, no lapse strands work, and the console has no locked state

The project

Document What it covers
GOVERNANCE.md Who decides what in the project, and how a contributor becomes a maintainer
ROADMAP.md What Karyo is doing next, and what it is deliberately not doing
VISION.md The owner-approved direction and the policy for accepting or resisting a change; it states intent, not current behaviour
CODE_OF_CONDUCT.md How we treat each other here
SECURITY.md Reporting a vulnerability, and which versions are supported
SUPPORT.md Where each kind of question goes
TRADEMARK.md When the Karyo and VoyagerForge marks may be used
CONTRIBUTING.md The change route: branches, commits, checks and pull requests
Release evidence Dated records of externally observable proofs, such as the live run of Claude Code on /mcp, with the evidence behind it

Guides

Guide For
Developer onboarding A developer new to Karyo: from a clone to a merged change
Architecture guide A developer changing a boundary: the invariants you must not break, and why
Implementer guide Core commissioning playbook, real UI proof and a separate extension reference
Maintaining this repository Keeping the code, the documents and the decision records true to each other
Releasing Cutting a release, and the schedule it follows
Performance testing Anyone measuring a local Karyo: the opt-in Gatling harness, what it refuses to do, how to run it and take a baseline
Visual house style The Operational Blueprint: the palette, grammar and rules every figure and screenshot follows, and what enforces them

User guide

For the people who run the warehouse. Start at the user guide's own index.

Page Task
Your first sign-in The two interfaces, the standard permission profiles, and current Business Unit scope
The desktop console The planner and administrator surface
The floor app The operator surface: the work inbox, the transaction menu, scanning, going offline
Receive and put away Book in a delivery and put it away
Find stock Find stock, and read available, allocated and held
Pick an order Get an order picked
Pack and ship Pack a picked order and ship it
Replenish Keep pick faces stocked
Count stock Count stock and correct the record
Set up a warehouse Create locations from typed label ranges or a pasted list, for a chosen goods owner, and arrange the floor
The floor view The building, dock doors, rooms, aisles and racks drawn from the layout, with a stock and a lock lens, and the people, trucks and room temperatures Karyo knows now
Administer Karyo Business Units through the Business Units screen, users, locations and settings
What Karyo extends into The Core and Extended profiles, how an administrator switches a capability on, and the page for each Extended capability

Reference

Document What it holds
Requirements What Karyo is required to do, and where each requirement is met
Glossary Warehouse and Karyo terms
Data model Entities, tables and migrations
Diagram sources The Mermaid sources behind every figure, and how to author, render, check and embed one