Skip to main content

Workflow Result Ontology

Computational Workflow Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 12 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
WORKFLOW RESULT ONTOLOGY — FLOW ALGEBRA v1.0

Category: AI Core > Entity Graph > Computational Entities > Computational Workflow Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Date: 12 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/computational-workflow-entities/workflow-result-ontology-2.html
Status: Constructed ontology-specific Flow Algebra mapping; not a verified transcription of the source page.

1. PURPOSE
A Workflow Result is the recorded outcome of a workflow execution, stage, step or branch. It distinguishes the produced artefact from the outcome status, validation evidence, execution context and provenance. A result may be successful, partially successful, failed, cancelled or indeterminate. A result must not be equated with correctness solely because execution completed.

2. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
  I_t: current workflow inputs, observations and execution state
  R_t: workflow, dependency, output and provenance relationships
  B_t: schema, policy, resource and safety boundaries
  K_t: known outcomes, evidence, validation rules and historical context
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, observation_(t+1))
The argmax is a selection formalism, not proof that probabilities are calibrated or an optimum is globally attained.

3. ENTITY MODEL
WorkflowResult {
  result_id: stable unique identifier;
  workflow_id, execution_id: origin identifiers;
  stage_id?, step_id?, branch_id?: optional originating scope;
  outcome: SUCCESS | PARTIAL | FAILURE | CANCELLED | INDETERMINATE;
  output_refs: zero or more immutable or versioned artefact references;
  input_refs: inputs used by the execution;
  started_at?, completed_at?: timestamps with timezone;
  validation_status: PASS | FAIL | NOT_RUN | UNKNOWN;
  validation_evidence_refs: evidence supporting assessment;
  error_codes: structured failure information;
  provenance_ref: origin, actor, tool and transformation history;
  schema_version: result contract version;
  revision: monotonic revision or immutable event version;
  confidence?: explicitly scoped and calibrated estimate if available;
  retention_policy?: access, privacy and lifecycle requirements.
}
Absent evidence is UNKNOWN, not PASS. A failed workflow can still yield useful diagnostic output.

4. RELATIONSHIP GRAPH
Workflow --hasExecution--> Execution
Execution --produces--> WorkflowResult
WorkflowResult --reportsOutcomeOf--> Execution
WorkflowResult --referencesOutput--> Artefact
WorkflowResult --validatedBy--> ValidationRecord
WorkflowResult --derivedFrom--> InputRecord
WorkflowResult --hasProvenance--> ProvenanceRecord
WorkflowResult --supersededBy--> WorkflowResultRevision
WorkflowResult --mayTrigger--> DownstreamWorkflow
Output reference and result record are distinct nodes; a downstream consumer must check outcome and validation before reuse.

5. CORE FLOW ALGEBRA PATHWAYS
FLOW A — RESULT CAPTURE
  execution_terminated -> collect outputs, status, diagnostics -> construct result
  -> bind execution_id and provenance -> persist result -> emit result reference.

FLOW B — OUTPUT VALIDATION
  result -> load output contract -> verify schema, integrity and required fields
  -> attach evidence -> set PASS / FAIL / UNKNOWN -> record validation event.

FLOW C — DOWNSTREAM RELEASE
  result + consumer policy -> check outcome, validation, permissions and version
  -> release authorised output references OR hold for remediation.

FLOW D — FAILURE HANDLING
  FAILURE or PARTIAL -> classify cause -> retain diagnostic evidence
  -> assess retry safety and idempotency -> retry, compensate, escalate or close.

FLOW E — RESULT REVISION
  correction request -> verify authority -> append revision or superseding result
  -> preserve earlier record -> update current pointer -> notify dependants.

FLOW F — AGGREGATE RESULTS
  child results -> validate scope and completeness -> apply explicit aggregation policy
  -> produce parent result with links to all contributing child results.
  Do not infer parent SUCCESS merely from one successful child.

6. INFERENCE RULES
R1: outcome = SUCCESS AND validation_status = PASS AND policy_allows_use
    => eligible_for_downstream_use (subject to permissions and freshness).
R2: outcome = SUCCESS AND validation_status = NOT_RUN
    => execution_complete; correctness_unverified.
R3: outcome = FAILURE => downstream_success_must_not_be_inferred.
R4: outcome = PARTIAL => inspect required outputs and consumer tolerance.
R5: missing required output => validation_status != PASS.
R6: result revision supersedes prior version => retain provenance chain.
R7: duplicate execution events with same idempotency key => avoid duplicate effects.
R8: cancelled or timed-out execution => classify separately from confirmed failure when evidence permits.

7. BOUNDED RECURSIVE RESULT PROCESSING
function resolve_result(result_id, depth, visited):
    if depth > MAX_DEPTH: return LIMIT_REACHED
    if result_id in visited: return CYCLE_DETECTED
    visited.add(result_id)
    r = load_result(result_id)
    if r is missing: return UNKNOWN
    if not authorised(r): return ACCESS_DENIED
    if not validate_record_shape(r): return INVALID_RECORD
    for dependency in bounded(r.input_refs + r.validation_evidence_refs):
        inspect_dependency(dependency, depth + 1, visited)
    return classify(r.outcome, r.validation_status, r.provenance_ref)
Termination requires finite depth, bounded fan-out and visited tracking. Inspection does not automatically authorise output publication.

8. INVARIANTS AND OPERATIONAL BOUNDARIES
- Each result links to one identifiable execution context.
- Outcome, validation and output artefacts are separate fields.
- Immutable history or an auditable revision chain is retained.
- Timestamps and ordering cannot alone establish causation.
- Access control applies to outputs, logs and evidence alike.
- Retry policy must consider side effects and idempotency.
- Distributed execution may deliver duplicate or out-of-order events.
- Completeness, correctness and trustworthiness require independent evidence.
- No universal execution guarantee follows from the ontology itself.

9. SEMANTIC EQUIVALENCE
Two result records may be semantically equivalent only relative to a declared comparison purpose. For example, equal outcome, schema version and canonical output digest may support output equivalence, but do not establish identical execution histories, provenance or authorisations.
Equivalent_for_use(r1,r2,policy) = compare(required_fields(policy), canonicalise(r1), canonicalise(r2)) AND validate(policy).

10. WORKED EXAMPLE — DOCUMENT VALIDATION
Input: document D42; workflow execution EX17.
Step 1: Parser creates output artefact A9 and records a successful execution.
Step 2: Validator finds a missing required document field.
Step 3: Result WR17 records outcome = PARTIAL, output_refs = [A9], validation_status = FAIL, evidence = [V17].
Step 4: Downstream publishing guard rejects A9 because validation_status != PASS.
Step 5: Corrected document D43 is processed in EX18; new result WR18 references the corrected output and its own evidence.
Step 6: Provenance links WR18 to WR17 without rewriting WR17's original outcome.
Conclusion: Workflow completion, produced output and validated usability are distinct.

11. CITATION AND PROVENANCE
Suggested citation: Higgins, Mark Anthony, and Sky Recursive AI (2026). "Workflow Result Ontology — Flow Algebra v1.0." Kireth Research, Semantic Library.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/computational-workflow-entities/workflow-result-ontology-2.html
This text is a newly constructed mapping based on the named ontology topic and established HST Flow Algebra framework. It does not assert that the source webpage's full text was retrieved or verified.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ