Core Process
Canonical OpenSpec capability for Core Process.
Document layout: Feature capability layoutConforming
## Purpose## Requirements
Core.Process Specification
Purpose
Core.Process provides supported-tier process execution with structured output and typed failure results.
Requirements
Requirement: Process execution contract: Decision [D-CORE-PRIM-0180]
The Beskid standard SHALL enforce the following migrated contract section. Accepted ADR decisions are binding; uppercase requirement keywords retain their BCP-14 meaning.
Run(string command, string[] args)SHALL delegate to__process_runand returnResult<ProcessOutput, ProcessError>.ProcessOutputMUST containexitCode: i64,stdout: string, andstderr: string; theCore.Process.ProcessErrorvariants MUST beNotFound(string),PermissionDenied(string),ExitCode(i64, string), andIOError(string).
Stable ID: BSP-REQ-4A7C91E2D6F308B5
Scenario: Conformance exercises Decision
- GIVEN an implementation claims conformance with this capability
- WHEN behavior governed by this contract section is exercised
- THEN every MUST, SHALL, REQUIRED, prohibition, and accepted decision in the section is satisfied
Requirement: Supported process capability: Decision [D-CORE-PRIM-0181]
The Beskid standard SHALL enforce the following migrated contract section. Accepted ADR decisions are binding; uppercase requirement keywords retain their BCP-14 meaning.
Core.ProcessMUST be classified@tier(supported), and all execution failures MUST be represented by the declaredProcessErrorresult rather than an untyped panic.
Stable ID: BSP-REQ-9F20C4A87B1D6E33
Scenario: Conformance exercises Decision
- GIVEN an implementation claims conformance with this capability
- WHEN behavior governed by this contract section is exercised
- THEN every MUST, SHALL, REQUIRED, prohibition, and accepted decision in the section is satisfied