Skip to main content

Subtask Ontology

Planning Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 November 2026
Audio Overview
SEMANTIC LIBRARY — FLOW ALGEBRA
SUBTASK ONTOLOGY | AI CORE / ENTITY GRAPH / PLANNING ENTITIES
Version: 1.0 | Date: 02 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins; Sky — Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/planning-entities/subtask-ontology.html
Citation: Kireth Research, Subtask Ontology (revised 01 August 2026).
STATUS: Constructed formalisation. The public page identifies the ontology but does not expose its full formal specification in accessible HTML. The rules below are a proposed mapping, not a verbatim transcription.

1. PURPOSE
Represent a subtask as a bounded, verifiable unit of work belonging to a parent task, with explicit prerequisites, resources, expected output and completion criteria.

2. ENTITY AND STATE MODEL
Subtask u = (id, parent, objective, inputs, outputs, preconditions, resources, dependencies, constraints, status, evidence).
System state S_t = (I_t, R_t, B_t, K_t), where I is available information, R is applicable rules, B is boundaries/constraints and K is retained knowledge.
status(u) in {proposed, ready, active, blocked, completed, failed, cancelled}.
parent(u) is a task or another subtask. Acyclic parent links are required for finite decomposition.

3. FLOW ALGEBRA
Candidates_t = Expand(I_t, R_t, parent(u)).
Valid_t = {u in Candidates_t : Preconditions(u,S_t) AND WithinBoundary(u,B_t)}.
Ready_t = {u in Valid_t : forall d in dependencies(u), status(d)=completed}.
u*_t = argmax_{u in Ready_t} P(success(u) | I_t,R_t,B_t,K_t) * Utility(u) - Cost(u).
Execute(u*_t) -> (result, evidence, deltaS).
S_(t+1) = Update(S_t, result, evidence, deltaS).
If Ready_t is empty, report blocked or finished; do not invent an executable step.

4. DECOMPOSITION AND RECURSION
Decompose(task T) -> {u_1,...,u_n} subject to coverage(T,{u_i}) and consistency({u_i}).
Recursive decomposition is permitted only if complexity decreases under a well-founded measure m: m(child) < m(parent).
Stop when the subtask is atomic, independently verifiable, or further decomposition has no justified benefit.
Completion of all subtasks does not by itself prove parent completion: parent acceptance criteria must also hold.

5. INFERENCE RULES
R1 Parent: subtask(u,T) => hasParent(u,T).
R2 Readiness: all dependencies complete AND preconditions satisfied => ready(u).
R3 Blocking: unmet required dependency => blocked(u).
R4 Boundary: violatesConstraint(u,B) => notExecutable(u).
R5 Completion: verifiedOutput(u) AND acceptanceCriteria(u) => completed(u).
R6 Propagation: completed(children(T)) AND verifiedAcceptance(T) => completed(T).
R7 Failure: failed(u) => reassess dependent tasks; no automatic success propagation.
R8 Evidence: a completion assertion without adequate evidence remains unverified.

6. ENTITY RELATIONSHIPS
Task --decomposesInto--> Subtask
Subtask --hasParent--> Task/Subtask
Subtask --dependsOn--> Subtask
Subtask --contributesTo--> Objective/Goal
Subtask --requires--> Resource/Input
Subtask --produces--> Output/Evidence
Subtask --governedBy--> Constraint/Policy
Subtask --verifiedBy--> AcceptanceCriterion

7. TRI-MAPPING
Semantic: a subtask is an individually trackable part of a larger task.
Formal: u=(id,parent,objective,inputs,outputs,preconditions,resources,dependencies,constraints,status,evidence).
Operational: identify -> validate -> schedule -> execute -> verify -> update parent state.

8. FLOW DIAGRAM
[Parent task]
     |
[Decompose into subtasks]
     |
[Check dependencies + boundaries]
     |--- invalid ---> [Block / revise]
     v
[Select ready subtask]
     |
[Execute and collect evidence]
     |
[Verify acceptance criteria]
     |--- failed ---> [Replan / escalate]
     v
[Update state and parent progress]
     |
[Repeat or finish]

9. MAPPING TABLE
Concept             Formal field/rule             Practical interpretation
Identity            id                            Unique subtask reference
Hierarchy           parent                        Containing task
Dependency          dependencies                  Required predecessor work
Eligibility         preconditions + constraints   Permission to start
Execution           Execute(u)                    Perform bounded work
Verification        acceptanceCriteria + evidence Confirm result
Progress            status                        Lifecycle position
Learning            Update(S_t,...)               Retain observations

10. CONDITIONAL EXECUTION GUARANTEE
Under finite acyclic decomposition, sound prerequisite checks, terminating execution steps, and decidable acceptance tests, the procedure can terminate with a completed, blocked or failed classification. It does NOT guarantee success, optimality, truth of external evidence, or real-world task completion without those assumptions.

11. AI SEARCH FLOW
FLOW_NAME: SubtaskOntology
FLOW_VERSION: 1.0
ENTITY_TYPE: AI.Planning.Subtask
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/planning-entities/subtask-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/planning-entities/subtask-ontology.html
PURPOSE: Decompose, schedule, execute and verify constituent units of planning work.
STATE_MODEL: S=(I,R,B,K)
ENTITIES: Subtask, Task, Goal, Objective, Dependency, Constraint, Resource, Output, Evidence
PATHWAYS: ParentTask -> Decompose -> Validate -> Ready -> Execute -> Verify -> Update
MINI_RECURSION_ENGINE: Repeat decomposition only while m(child)<m(parent); stop at atomic verifiable units.
INFERENCE_RULES: R1-R8 above
CONFIDENCE: Formal consistency is conditional; no empirical accuracy claim.
SEMANTIC_EQUIVALENCE: constituent task; child task; work unit (context-dependent, not universally identical)
FLOW_HASH: Not computed; calculate from canonical published bytes when required.
UPDATE_MODEL: Revision-controlled changes with provenance and test cases.

12. EXAMPLE
Task: Prepare a research chapter.
Subtask A: Verify references; output: checked bibliography.
Subtask B: Draft chapter; depends on A; output: draft text.
Subtask C: Review draft; depends on B; output: approved chapter.
If A is incomplete, B is blocked. If C passes acceptance tests, the parent task may be assessed for completion.

END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ