ByteOr v1 production profile
Synced from repo docs
This page is synced from docs/contract/v1-production-profile.md via docs/public-docs.json. Edit the owning repo source instead of this generated copy. GitHub source: https://github.com/byteor-systems/byteor/blob/master/docs/contract/v1-production-profile.md
This document describes the recommended path through the ByteOr OSS workspace for users who want a clear, supportable baseline.
Blessed path
For the current initial OSS commit, the recommended flow is:
- Author a
PipelinePlanV2source document and choose an explicitExecutionTargetV1. - Validate the plan with
byteor-pipeline-plan::validate_plan_v2. - Lower with
byteor-pipeline-lower::lower_v2(...)into the canonicalPipelineSpecV1target. - Validate the resulting spec with
byteor-pipeline-spec::validate_v1. - Use
byteor-pipeline-backings-memfor deterministic in-memory tests and bring-up. - Use
byteor-transport-shmplusbyteor-pipeline-backings-shmwhen you need the SHM path. - Run the executor from
byteor-pipeline-exec.
Migration note:
- The earlier narrow graph-shaped plan is no longer part of the supported OSS authoring surface.
PipelinePlanV2is the supported source contract for full SingleRing and LaneGraph parity.
Recommended v1 execution shapes
SingleRing
Treat this as the primary v1 runtime path when you need explicit ring semantics.
- single producer
- dedicated stage threads
- fixed stage membership and dependency wiring at startup
- up to 4 stages per ring in the current OSS v1 backing
- final stage release semantics rather than a separate consumer gating cell
strictordering for one shard,per_keyfor multi-shard execution
Authoring note:
- The blessed source path is now
PipelinePlanV2::SingleRing(...)with explicit dependency DAGs. - Direct canonical spec authoring remains valid when callers already own the exact runtime shape.
LaneGraph
Use this when you need the whole-plant topology surface.
- named lanes and endpoints
- explicit roles such as stage, bridge, router, and merge
- SP and explicit MP role-runner execution paths where the executor supports the validated shape
Authoring note:
LaneGraph.on_fullis part of the authored LaneGraph source contract and the canonical runtime contract.
What to rely on
It is reasonable to build on these parts of the OSS surface today:
byteor-abilayouts and generated header workflowbyteor-pipeline-planauthoring model and plan validationbyteor-pipeline-lowerexplicit lowering into canonical specsbyteor-pipeline-specdata model, validation,kvcodec, canonicalization, and describe helpersbyteor-pipeline-kernelsequencing and wait primitives
Treat these as useful but still easier to change while the workspace remains pre-1.0:
- executor convenience helpers and function naming
- SHM file/path conventions
- stage registry ergonomics
xtaskcommand UX and optional gate toggles
Explicitly not the blessed v1 path
The current OSS v1 baseline does not bless the following as supported production behavior:
- MPMC claiming into one SingleRing
- work-queue scheduling over one SingleRing
- dynamic topology mutation at runtime
- macro-only authoring with no builder-based equivalent
- distributed durability/replication guarantees
If you need one of those, treat it as a future milestone rather than something the initial OSS commit already promises.