Skip to main content

Application Ontology

Software Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
APPLICATION ONTOLOGY — FLOW ALGEBRA v1.0
Category: AI Core / Entity Graph / Computational Entities / Software Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/software-entities/application-ontology.html
Source page revision: 03 August 2026
Mapping date: 11 November 2026
Status: Constructed semantic mapping; the source page's embedded formal specification was not accessible in retrieved text. This document is not a transcription.

1. PURPOSE
Represent an application as a deployable software entity with identity, dependencies, runtime configuration, inputs, actions, outputs, lifecycle, permissions, and observable results. Distinguish application definitions from running application instances.

2. ENTITY MODEL
Application := (id, version, components, interfaces, dependencies, configuration, permissions, lifecycle_policy)
ApplicationInstance := (application_id, instance_id, host, runtime, state, resources, session_context)
Supporting entities: SoftwareComponent, SoftwareModule, SoftwareLibrary, SoftwareFramework, SoftwarePackage, OperatingEnvironment, Process, User, Service, DataObject, Configuration, Event, Log, Deployment.
Relationships:
  Application HAS_COMPONENT SoftwareComponent
  Application DEPENDS_ON SoftwareLibrary | SoftwareFramework | Service
  Application EXPOSES Interface
  Application REQUIRES Permission
  ApplicationInstance INSTANCE_OF Application
  ApplicationInstance RUNS_IN OperatingEnvironment
  ApplicationInstance READS_OR_WRITES DataObject (subject to authorisation)
  ApplicationInstance EMITS Event | Log

3. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t := observed inputs, application configuration, runtime events and resource state
R_t := dependency, interface, lifecycle and execution rules
B_t := authorisation, resource, isolation, safety and validity boundaries
K_t := application metadata, dependency graph, prior verified state and provenance
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, observed_result_t)
Note: P is a context-dependent scoring model, not a calibrated probability unless explicitly implemented and validated. If V_t is empty, return a bounded failure state rather than execute an invalid action.

4. APPLICATION LIFECYCLE FLOW
DEFINED -> PACKAGED -> INSTALLED -> CONFIGURED -> STARTING -> RUNNING
RUNNING -> PAUSED -> RUNNING
RUNNING -> STOPPING -> STOPPED
STARTING | RUNNING -> FAILED -> RECOVERING -> STARTING | STOPPED
INSTALLED | STOPPED -> UPDATING -> CONFIGURED
STOPPED -> UNINSTALLED
Transitions require matching guards and recorded outcomes; not all applications support every state.

5. EXECUTION PATHWAY
F0 Receive request, trigger or scheduled event.
F1 Resolve application identity and active instance.
F2 Validate schema, input type and permissions.
F3 Resolve required modules, libraries, services and runtime capabilities.
F4 Check resource budgets, version compatibility and environment health.
F5 Expand permitted candidate actions using applicable rules.
F6 Filter candidates against security, correctness and lifecycle boundaries.
F7 Select the highest-ranked valid action, or emit a bounded failure.
F8 Execute within the authorised runtime and transaction scope.
F9 Validate output, record provenance and update observable state.
F10 Continue only if further work is authorised and termination limits permit.

6. INFERENCE RULES
IF required_dependency_missing THEN state := BLOCKED_DEPENDENCY.
IF dependency_version_incompatible THEN state := BLOCKED_COMPATIBILITY.
IF permission_denied THEN reject_action AND emit_access_event.
IF input_invalid THEN reject_request AND preserve_previous_valid_state.
IF resource_budget_exceeded THEN throttle_or_fail_according_to_policy.
IF application_health_check_fails THEN mark_instance_degraded AND invoke_bounded_recovery.
IF output_validation_fails THEN reject_or_quarantine_output AND record_error.
IF all_guards_pass THEN permit_transition_or_action.
IF repeated_recovery_exceeds_limit THEN state := FAILED AND escalate.

7. RECURSIVE DEPENDENCY ENGINE
resolve(node, visited, active):
  IF node in active: return CYCLE_DETECTED
  IF node in visited: return ALREADY_RESOLVED
  Validate node metadata and version constraints.
  Add node to active.
  FOR each dependency d of node: resolve(d, visited, active).
  Remove node from active; add node to visited.
  Return RESOLVED if all dependencies are valid.
A dependency cycle may be permitted only where the runtime and dependency model explicitly support it; otherwise block deployment. Terminate on finite dependency graphs using visited sets and depth limits.

8. VALIDATION AND BOUNDARIES
- Enforce least-privilege access and explicit trust boundaries.
- Check configuration against declared schema; never treat arbitrary configuration as executable authority.
- Separate application definition, deployment and running instance identities.
- Prevent unauthorised filesystem, network and data access.
- Bound retries, recursion depth, execution time and memory consumption.
- Preserve version and dependency provenance for reproducibility.
- Validate outputs before persistence or transmission.
- Recovery guarantees depend on persistence, isolation and transactional capabilities; no universal execution or availability guarantee is implied.

9. TRI-MAPPING
Entity: ApplicationInstance
State: lifecycle_state + configuration + resource_usage + observed_events
Relation: INSTANCE_OF Application; RUNS_IN OperatingEnvironment; DEPENDS_ON Service
Flow: request -> validate -> resolve -> execute -> verify -> update
Boundary: permissions + compatibility + resources + lifecycle guards
Evidence: logs, checks, version manifest and verified outputs

10. EXAMPLE
Input: A user requests a report from an installed application.
Rules: report module must be present; user must hold report.read permission.
Boundary: no access to data outside authorised scope.
Valid pathway: validate identity -> resolve report module -> fetch permitted data -> render report -> verify output -> log result.
Failure pathway: missing permission -> deny -> log -> leave data unchanged.

11. EXECUTION GUARANTEE (CONDITIONAL)
Given finite dependency graphs, bounded execution and retry limits, valid transition guards and deterministic validation outcomes, this orchestration terminates with SUCCESS, BLOCKED, FAILED or TIMEOUT. It does not guarantee successful execution of arbitrary application code, which may be non-terminating or depend on external services.

12. CITATION AND PROVENANCE
Source ontology: Application Ontology, Kireth Research.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/software-entities/application-ontology.html
Authors credited on source: Mark Anthony Higgins — Sky Recursive AI.
Mapping: Constructed Flow Algebra v1.0, 11 November 2026.
Licence: Refer to the source site's current Open Research Licence for reuse terms. No licence terms are asserted by this mapping.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ