CEP-SPEC-001 · v0.2

OUAMARKOM™ | CEP™
Command Execution Protocol

Global Engineering Specification

Document ID: CEP-SPEC-001 · Version 0.2 - Working Engineering Specification

Document ID

CEP-SPEC-001

Version

0.2 - Working Engineering Specification

Status

Proposed · Under Research and Development

Organization

Ouamarkom™

Research Framework

CE-AI™ - Command Economy of AI

Experimental Environment

Smart Hand™

Measurement and Benchmarking

GEAB™

Primary Experimental Focus

GEAB-03 - Revocation During Execution

Date

October 2026

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:

  1. A normalized representation of an economic action request.
  2. Evaluation of authority, delegation, policy, and execution constraints.
  3. Explicit execution decisions: ADMIT, REJECT, and ESCALATE.
  4. A lifecycle model for requests, decisions, execution, and outcomes.
  5. Revocation handling and the investigation of the last enforceable boundary.
  6. Structured event recording and evidence-package generation.
  7. Interfaces for experimental environments and benchmark systems.
  8. 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:

FieldPurpose
protocol_versionIdentifies the CEP™ contract version
request_idUnique identifier for the request
requester_idIdentifies the requesting principal or system
action_typeDefines the requested economic action
targetIdentifies the intended resource or execution destination
parametersContains action-specific parameters
authority_referenceReferences the delegation or authority evidence
policy_referenceIdentifies the applicable policy version
constraintsDefines amount, scope, time, and other applicable limits
issued_atRecords the request creation time
expires_atDefines the request validity boundary, where applicable
idempotency_keySupports duplicate-request handling where implemented
correlation_idConnects 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_INVALID
  • AUTHORITY_EXPIRED
  • ACTION_OUT_OF_SCOPE
  • LIMIT_EXCEEDED
  • POLICY_DENIED
  • REQUEST_EXPIRED
  • REPLAY_DETECTED
  • REQUIRED_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:

  • RECEIVED
  • VALIDATING
  • REJECTED
  • ESCALATED
  • AUTHORIZED
  • DISPATCHING
  • SUBMITTED
  • EXECUTING
  • CANCEL_REQUESTED
  • CANCELLED
  • COMPLETED
  • FAILED
  • OUTCOME_UNKNOWN

The implementation MUST define the permitted transitions between these states and reject invalid transitions.

7.1 Transition rules

  1. A request enters RECEIVED when accepted by the protocol interface.
  2. Validation leads to a decision or an explicit validation failure.
  3. Only an admitted request may enter the authorized execution path.
  4. SUBMITTED indicates that a request was sent to the execution environment; it does not establish completion.
  5. COMPLETED requires evidence meeting the completion criteria for the action profile.
  6. FAILED requires a defined failure condition or a confirmed failure response.
  7. OUTCOME_UNKNOWN is used when the system cannot reliably establish whether the external action occurred.
  8. A cancellation request MUST NOT be treated as successful cancellation until the required cancellation evidence is received.
  9. 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:

  1. Revocation issued: An authorized source issues a revocation.
  2. Revocation received: The relevant controller receives the revocation event.
  3. Revocation enforced: A control prevents a specified future action or transition.
  4. 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:

FieldPurpose
event_idUnique event identifier
request_idAssociated action request
correlation_idCross-component trace identifier
event_typeType of event
occurred_atEvent occurrence time, when known
recorded_atTime the event was recorded
component_idOriginating component
state_beforePrevious state, where applicable
state_afterResulting state, where applicable
policy_versionPolicy evaluated, where relevant
implementation_versionComponent version
reason_codeStructured explanation, where applicable
evidence_referenceReference to supporting evidence
integrity_metadataIntegrity 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:

  1. Experiment identifier and version.
  2. Test manifest and scenario definitions.
  3. Initial system state and relevant configuration.
  4. Authority and policy fixtures.
  5. Raw event records.
  6. Execution-environment observations.
  7. Metric definitions and calculations.
  8. Expected and observed results.
  9. Failed cases and unresolved outcomes.
  10. Software version and execution instructions.
  11. Evidence-integrity information.
  12. 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

  1. Authenticate relevant principals and protect communication channels.
  2. Validate authority and policy references before admission.
  3. Apply transaction limits at an enforcement point that cannot be bypassed through the normal execution path.
  4. Define concurrency and idempotency behavior.
  5. Restrict access to policy changes and evidence records.
  6. Protect sensitive fields and minimize unnecessary logging.
  7. Preserve errors and uncertainty instead of converting them into success.
  8. 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.

Research and Collaboration

What we believe can change. The discipline of testing it does not.