CEP-SPEC-001 · v0.2
OUAMARKOM™ | CEP™
Command Execution Protocol
Global Engineering Specification
Document ID: CEP-SPEC-001 · Version 0.2 - Working Engineering Specification
Section 1
1. Executive Summary
The Command Execution Protocol (CEP™) is a proposed software protocol for evaluating and controlling the transition from an AI-generated economic action request to an execution decision and, where technically supported, an observable execution outcome.
CEP™ addresses a fundamental engineering question:
How can an AI-initiated economic action remain within explicitly authorized boundaries throughout its execution lifecycle, and how can that behavior be measured and independently evaluated?
The protocol is being developed around the distinction between AI capability, delegated authority, execution, and verified outcomes. Generating a request does not establish authorization. Authorization does not establish that execution occurred. An execution response does not, by itself, prove that the intended economic effect occurred within the authorized boundaries.
CEP™ v0.2 defines a preliminary protocol contract, execution lifecycle, decision model, revocation semantics, event schema, security requirements, and experimental acceptance criteria. Its purpose is to support implementation and falsifiable testing-not to claim production readiness, formal certification, or a universally applicable standard.
The specification is designed to be technology-agnostic at the conceptual level. Its actual interoperability, security properties, and enforcement capabilities must be established through implementation and testing.
Section 2
2. Scope and Non-Goals
2.1 In scope
CEP™ v0.2 specifies:
- A normalized representation of an economic action request.
- Evaluation of authority, delegation, policy, and execution constraints.
- Explicit execution decisions:
ADMIT,REJECT, andESCALATE. - A lifecycle model for requests, decisions, execution, and outcomes.
- Revocation handling and the investigation of the last enforceable boundary.
- Structured event recording and evidence-package generation.
- Interfaces for experimental environments and benchmark systems.
- Security, reliability, measurement, and acceptance requirements.
2.2 Out of scope
CEP™ v0.2 does not claim to provide:
- A universal identity, authentication, or authorization infrastructure.
- A guarantee that every external action can be cancelled or reversed.
- An independent payment, banking, procurement, or transaction network.
- A guarantee of economic correctness, legal compliance, or business success.
- An immutable audit trail merely because events are recorded.
- A production-certified protocol or an officially adopted international standard.
- A requirement that every proposed architectural component must exist in the final implementation.
External systems retain their own enforcement mechanisms and constraints. CEP™ can only guarantee behavior to the extent supported by its implementation, integration boundaries, permissions, and execution environment.
Section 3
3. Design Principles
3.1 Authority must be explicit
An AI system's ability to propose an action does not grant permission to perform it.
Every action must be evaluated against an identifiable authority source, applicable policy, and the limits of the relevant delegation.
3.2 Authorization must be bounded
An authorization decision should identify the permitted action, relevant resource, applicable limits, validity period, and any required conditions.
3.3 Execution must be distinguished from decision
A decision to admit an action is not evidence that the action was sent, accepted by an external system, or completed.
3.4 Revocation must have defined semantics
Revocation must be evaluated against the action's actual lifecycle state. The protocol must distinguish actions that can still be prevented from actions already accepted, committed, or completed externally.
3.5 Evidence must be reproducible
Measurements and conclusions should be traceable to raw events, configuration, policy versions, implementation versions, and documented evaluation procedures.
3.6 Every architectural component must justify its existence
Components are candidates for inclusion, not assumptions about the final architecture. Their independent value must be demonstrated through experiments.
3.7 Failure must remain observable
The protocol must preserve meaningful distinctions between rejection, timeout, uncertainty, partial execution, cancellation, and confirmed completion.
Section 4
4. System Model
CEP™ is defined as a logical protocol between an action requester, an authority-evaluation function, an execution controller, and an execution environment.
4.1 Logical components
A. Request Interface
Accepts a structured action request and validates its required fields.
B. Authority and Policy Evaluator
Evaluates whether the requested action is permitted under the supplied authority evidence and applicable policy.
C. Decision Controller
Produces an explicit decision and records the conditions under which it was made.
D. Execution Adapter
Communicates with the target execution environment and reports the observed response.
E. Revocation Controller
Processes revocation events and determines what enforcement actions remain possible.
F. Event Recorder
Records lifecycle transitions, decisions, execution responses, and relevant failures.
G. Evidence and Metrics Engine
Derives metrics and produces an evidence package for evaluation and replication.
These are logical responsibilities. An implementation may combine or separate them, provided the resulting behavior is testable and the security boundaries are documented.
Section 5
5. Canonical Action Request
A CEP™ request SHOULD contain the following logical fields:
| Field | Purpose |
|---|---|
protocol_version | Identifies the CEP™ contract version |
request_id | Unique identifier for the request |
requester_id | Identifies the requesting principal or system |
action_type | Defines the requested economic action |
target | Identifies the intended resource or execution destination |
parameters | Contains action-specific parameters |
authority_reference | References the delegation or authority evidence |
policy_reference | Identifies the applicable policy version |
constraints | Defines amount, scope, time, and other applicable limits |
issued_at | Records the request creation time |
expires_at | Defines the request validity boundary, where applicable |
idempotency_key | Supports duplicate-request handling where implemented |
correlation_id | Connects related events across the lifecycle |
All timestamps MUST use a documented representation. A recommended wire format is UTC RFC 3339.
A request is not authorized merely because it contains an authority_reference. The implementation MUST verify that the reference is valid, applicable, and sufficiently current for the requested action.
Fields may be mandatory or optional according to the action profile. The specification must not treat an absent field as proof of authorization.
Section 6
6. Decision Contract
CEP™ v0.2 defines three primary decision outcomes.
6.1 ADMIT
The request satisfies the defined evaluation criteria and may proceed to the next permitted stage.
ADMIT does not mean that the action has executed or that its economic outcome has been verified.
6.2 REJECT
The request fails one or more required conditions and MUST NOT proceed through the CEP-controlled execution path.
The decision record SHOULD include a structured reason code. Examples include:
AUTHORITY_INVALIDAUTHORITY_EXPIREDACTION_OUT_OF_SCOPELIMIT_EXCEEDEDPOLICY_DENIEDREQUEST_EXPIREDREPLAY_DETECTEDREQUIRED_EVIDENCE_MISSING
These reason codes are proposed for v0.2 and require finalization during implementation.
6.3 ESCALATE
The request cannot be safely decided under the current rules and requires an authorized human or another explicitly designated decision process.
Escalation MUST NOT silently authorize execution. The action remains blocked unless a valid subsequent decision permits it.
6.4 Decision record
Each decision SHOULD record:
- Request and decision identifiers.
- Decision outcome and reason codes.
- Authority and policy versions evaluated.
- Evaluation timestamp.
- Relevant constraint results.
- Evaluator implementation version.
- References to the supporting evidence.
- Any unresolved uncertainty.
Section 7
7. Execution Lifecycle and State Machine
CEP™ v0.2 proposes the following lifecycle states:
RECEIVEDVALIDATINGREJECTEDESCALATEDAUTHORIZEDDISPATCHINGSUBMITTEDEXECUTINGCANCEL_REQUESTEDCANCELLEDCOMPLETEDFAILEDOUTCOME_UNKNOWN
The implementation MUST define the permitted transitions between these states and reject invalid transitions.
7.1 Transition rules
- A request enters
RECEIVEDwhen accepted by the protocol interface. - Validation leads to a decision or an explicit validation failure.
- Only an admitted request may enter the authorized execution path.
SUBMITTEDindicates that a request was sent to the execution environment; it does not establish completion.COMPLETEDrequires evidence meeting the completion criteria for the action profile.FAILEDrequires a defined failure condition or a confirmed failure response.OUTCOME_UNKNOWNis used when the system cannot reliably establish whether the external action occurred.- A cancellation request MUST NOT be treated as successful cancellation until the required cancellation evidence is received.
- A terminal state MUST NOT be silently rewritten. Corrections and later observations should be represented as additional events.
The exact transition graph, concurrency behavior, and recovery semantics must be defined in the implementation test suite.
Section 8
8. Authority and Policy Evaluation
The authority evaluator MUST determine whether the requested action falls within the verified delegation available at evaluation time.
Where applicable, evaluation SHOULD cover:
- Requester identity and authentication status.
- Action and target scope.
- Maximum transaction amount or resource limit.
- Currency and units.
- Applicable time window.
- Delegation status and revocation status.
- Required approvals or additional conditions.
- Policy version and precedence.
- Replay and duplicate-request protections.
- The freshness of authority evidence.
If a required check cannot be completed, the implementation MUST apply its declared failure policy. For actions designated as requiring authorization, an inability to establish authorization MUST NOT be treated as permission.
A successful evaluation records a decision about a particular request under a particular set of conditions. It does not grant unrestricted authority over subsequent actions.
Section 9
9. Revocation Semantics
Revocation is a central experimental concern for CEP™.
The protocol MUST distinguish at least four events:
- Revocation issued: An authorized source issues a revocation.
- Revocation received: The relevant controller receives the revocation event.
- Revocation enforced: A control prevents a specified future action or transition.
- Economic effect observed: Evidence establishes what happened in the execution environment.
These events are not equivalent and may occur at different times.
9.1 Required behavior
When a valid revocation is received, CEP™ MUST evaluate the current lifecycle state and attempt the enforcement action specified by the relevant action profile.
Depending on the state and external system capabilities, the result may be:
- Prevent further dispatch.
- Cancel a pending operation.
- Request cancellation from an external system.
- Prevent subsequent operations within the same delegation.
- Record that the action has passed the enforceable boundary.
- Report that the outcome cannot yet be established.
CEP™ MUST NOT claim that a completed external transaction has been reversed unless separate evidence establishes the reversal.
9.2 Last Enforceable Boundary
For each tested scenario, the experiment MUST define and measure the latest point at which the configured controls can still prevent the prohibited effect.
The result must identify:
- The relevant lifecycle transition.
- The revocation issue and receipt times.
- The enforcement attempt and response.
- The external system's observed state.
- Whether the economic effect was prevented, completed, reversed, or remained unknown.
The Last Enforceable Boundary is an experimental measurement, not a universal guarantee. Its location may vary by integration, transaction type, network delay, and external commitment semantics.
Section 10
10. Event and Evidence Model
Every meaningful lifecycle transition SHOULD produce a structured event.
A proposed event record includes:
| Field | Purpose |
|---|---|
event_id | Unique event identifier |
request_id | Associated action request |
correlation_id | Cross-component trace identifier |
event_type | Type of event |
occurred_at | Event occurrence time, when known |
recorded_at | Time the event was recorded |
component_id | Originating component |
state_before | Previous state, where applicable |
state_after | Resulting state, where applicable |
policy_version | Policy evaluated, where relevant |
implementation_version | Component version |
reason_code | Structured explanation, where applicable |
evidence_reference | Reference to supporting evidence |
integrity_metadata | Integrity information, if implemented |
The schema must distinguish the time an event occurred from the time it was observed or recorded. Clock uncertainty and ordering ambiguity must be documented.
10.1 Evidence package
A GEAB-compatible evidence package SHOULD contain:
- Experiment identifier and version.
- Test manifest and scenario definitions.
- Initial system state and relevant configuration.
- Authority and policy fixtures.
- Raw event records.
- Execution-environment observations.
- Metric definitions and calculations.
- Expected and observed results.
- Failed cases and unresolved outcomes.
- Software version and execution instructions.
- Evidence-integrity information.
- Replication status and known limitations.
A package is reproducible only to the extent that the required inputs, environment, procedures, and dependencies are available.
Recording events in a local file or browser storage does not, by itself, establish tamper resistance, independent verification, or evidentiary integrity.
Section 11
11. Measurement Framework
CEP™ experiments SHOULD report metrics with explicit definitions, units, start and end conditions, and limitations.
11.1 Decision correctness
The proportion of test cases in which the observed decision matches the expected decision defined by the test manifest.
11.2 Unauthorized execution rate
The proportion of test cases in which an action designated as unauthorized produces a prohibited effect within the measured execution environment.
A target of zero is appropriate for the specified test set, but passing a finite test set does not establish universal safety.
11.3 Revocation enforcement latency
The elapsed time between the declared measurement start event and the observed enforcement event. The report MUST state which events define those boundaries.
11.4 Last Enforceable Boundary
The latest experimentally identified lifecycle point at which a specified intervention can still prevent the prohibited effect, under the tested conditions.
11.5 Economic exposure
The value at risk from an action that proceeds beyond the intended authority boundary, calculated using the scenario's explicit assumptions and currency.
11.6 Evidence completeness
The proportion of required evidence fields and events available for independent recomputation of the reported result.
11.7 Outcome-verification rate
The proportion of test cases for which the intended economic outcome can be established from the specified evidence sources.
Metrics MUST NOT be reported without their denominators, test conditions, and missing-data treatment. Randomly generated latency values MUST NOT be presented as measured system performance.
Section 12
12. Security Requirements
The implementation MUST document its threat model and security boundaries.
The initial threat model SHOULD include:
- Forged or expired authority evidence.
- Unauthorized policy changes.
- Replay and duplicate requests.
- Race conditions between revocation and execution.
- Concurrent requests exceeding a shared limit.
- Compromised or misbehaving execution adapters.
- Missing, reordered, or duplicated events.
- Clock skew and timestamp manipulation.
- Unauthorized access to evidence.
- Sensitive data leakage through logs.
- Failure or unavailability of the policy evaluator.
- External systems that accept or complete actions after local cancellation.
12.1 Minimum safeguards
- Authenticate relevant principals and protect communication channels.
- Validate authority and policy references before admission.
- Apply transaction limits at an enforcement point that cannot be bypassed through the normal execution path.
- Define concurrency and idempotency behavior.
- Restrict access to policy changes and evidence records.
- Protect sensitive fields and minimize unnecessary logging.
- Preserve errors and uncertainty instead of converting them into success.
- Document which security properties are implemented, tested, or merely planned.
For high-impact actions, a local software check is insufficient if the action can bypass that check through another path. The enforcement architecture must be evaluated against the actual system boundary.
Section 13
13. Failure and Recovery
CEP™ MUST define behavior for timeouts, interrupted communication, process restarts, and uncertain external responses.
If a request times out after dispatch, the system MUST NOT automatically assume that the action failed. It should query or reconcile the external state when supported, or preserve OUTCOME_UNKNOWN until sufficient evidence becomes available.
Retries MUST account for duplicate-action risk. An idempotency key helps only when the receiving system or an appropriate adapter actually enforces the required semantics.
Recovery procedures SHOULD preserve the original event history and append reconciliation results rather than overwriting the initial observations.
Section 14
14. Interoperability and Versioning
CEP™ v0.2 is a proposed contract, not a claim of established interoperability.
An implementation SHOULD expose a documented interface for:
- Submitting action requests.
- Receiving decisions.
- Observing lifecycle state.
- Requesting revocation.
- Retrieving event records.
- Exporting evidence packages.
The interface format, authentication scheme, transport, error model, and compatibility policy must be specified before claiming conformance.
Version changes MUST identify changes to request fields, state transitions, decision semantics, event schemas, and metric definitions.
A conforming implementation must declare the exact version and feature set it supports. Compatibility MUST be tested rather than inferred from matching version labels.
Section 15
15. GEAB-03 Experimental Validation Plan
GEAB-03 is the initial proposed benchmark scenario for investigating revocation during execution.
Test A - Rejection before dispatch
Submit a request exceeding an explicit authorization limit.
Expected result: The request is rejected before the controlled execution path dispatches it.
Evidence: Decision event, policy evaluation record, and execution-environment observation.
Test B - Revocation before dispatch
Admit a request, revoke its authority before dispatch, and attempt to continue the lifecycle.
Expected result: The configured controls prevent dispatch, provided the revocation has been received and enforced before the relevant boundary.
Test C - Revocation during execution
Dispatch an admitted request and issue revocation at controlled lifecycle points.
Expected result: The system reports the actual enforcement outcome and does not claim cancellation without supporting evidence.
Test D - External commitment
Issue revocation after the external system has crossed its documented commitment boundary.
Expected result: CEP™ distinguishes a cancellation attempt from a confirmed reversal and accurately reports whether the economic effect occurred.
Test E - Timeout and uncertain outcome
Interrupt communication after dispatch but before receiving a definitive response.
Expected result: The system preserves uncertainty until reconciliation establishes the outcome.
Test F - Replay and duplicate delivery
Deliver the same request or event more than once under controlled conditions.
Expected result: The system follows its declared duplicate-handling rules and does not silently produce an unintended additional economic effect.
Test G - Evidence reconstruction
Recalculate the experiment's metrics using the exported raw events and manifest.
Expected result: An independent evaluator can reproduce the reported calculations within the documented precision and limitations.
Every test must specify its initial state, intervention timing, expected result, observation method, pass/fail rule, and cleanup procedure.
Section 16
16. Acceptance Criteria for v0.2
The first experimental implementation may be considered to have met its declared acceptance criteria only when:
- The request and decision contracts are documented and validated.
- The lifecycle state machine rejects invalid transitions.
- All declared decision outcomes are covered by automated tests.
- Authority limits are enforced at the actual controlled execution boundary.
- Revocation scenarios distinguish prevention, cancellation, completion, and uncertainty.
- Measurements are derived from observed events rather than fabricated or random values.
- Exported evidence includes the manifest, raw events, metric definitions, and software version.
- Reported metrics can be recomputed from the exported evidence.
- Failure cases and limitations are documented.
- Results can be repeated under the declared experimental conditions.
Acceptance is limited to the tested implementation, version, scenarios, and environment. It does not establish production suitability, universal security, or compliance with external regulations.
Section 17
17. Implementation Roadmap
Phase 1 - Protocol Contract
Finalize the request schema, decision semantics, lifecycle states, error codes, and event schema.
Exit condition: The specification is internally consistent and has executable test cases.
Phase 2 - Controlled Simulation
Implement the protocol against a deterministic execution simulator with configurable latency, policy constraints, and revocation points.
Exit condition: The state machine and decision rules behave as expected in the defined test set.
Phase 3 - Evidence and Metrics
Implement raw-event export, metric calculation, evidence-package generation, and independent recomputation.
Exit condition: Reported measurements can be reconstructed from the exported artifacts.
Phase 4 - Adversarial Testing
Test race conditions, duplicate delivery, interrupted communication, policy changes, and ambiguous external outcomes.
Exit condition: Failure behavior is documented and the remaining risks are characterized.
Phase 5 - External Integration Evaluation
Evaluate a controlled integration with a real execution system only after its permissions, failure modes, safety controls, and test boundaries have been reviewed.
Exit condition: Evidence supports a narrowly defined claim about the tested integration. Broader claims require additional independent replication.
No phase should be declared complete without its specified evidence.
Section 18
18. Governance and Claims Policy
CEP™ is a working engineering initiative of Ouamarkom™. The designation v0.2 identifies a preliminary specification under development.
Until supported by documented implementation and validation, public materials MUST NOT claim that CEP™ is:
- A validated universal execution protocol.
- An officially recognized international standard.
- Guaranteed to prevent every unauthorized economic action.
- Proven to revoke every action at any point during execution.
- Independently certified or deployed in production.
Claims should identify the implementation, version, environment, test scope, evidence, and limitations supporting them.
Section 19
19. Relationship to the Ouamarkom Research System
CEP™ is one proposed engineering component within a broader research program:
- CE-AI™ frames the research questions concerning AI capability, economic agency, authority, and governed action.
- Smart Hand™ provides the intended controlled environment for implementing and observing experiments.
- GEAB™ provides the proposed scenario, measurement, and comparison framework.
- CEP™ provides the protocol hypothesis whose behavior is tested against those scenarios.
The relationship is iterative rather than predetermined. Experimental evidence may justify retaining a component, changing its boundaries, combining it with another component, or abandoning it.
Section 20
20. Conclusion
CEP™ v0.2 establishes a testable starting point for investigating governed AI economic execution.
Its central engineering obligation is not simply to decide whether a request should proceed. It is to preserve the distinction between authority, decision, dispatch, execution, revocation, and verified economic outcome-and to produce evidence sufficient to evaluate each distinction.
The protocol's architectural maturity must be earned through implementation, controlled experiments, reproducible measurements, adversarial testing, and independent review.
Ouamarkom™ - Building the Evidence Base for Governed AI Economic Execution.
Document status: Proposed engineering specification. Implementation and validation claims remain subject to experimental evidence.