Skip to main content

Computational Entity Lifecycle Ontology

AI Semantic Library Computational 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
COMPUTATIONAL ENTITY LIFECYCLE ONTOLOGY — FLOW ALGEBRA v1.0
================================================================
Category: Computational Entities > AI Semantic Library Computational Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Date: 12 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/ai-semantic-library-computational-entities/computational-entity-lifecycle-ontology.html
Status: Constructed topic-specific Flow Algebra mapping; not a verified transcription of the source webpage.

1. PURPOSE
Represent how a computational entity is created, identified, validated, activated, modified, suspended, deprecated, archived and, where policy permits, deleted. Preserve stable identity, traceable revisions, authorised transitions and referential integrity across the Semantic Library entity graph.

2. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = current entity instance, lifecycle state, version and observations.
R_t = transition rules, dependency relations and permitted operations.
B_t = identity, access, schema, retention, safety and integrity boundaries.
K_t = ontology, provenance, policies, historical versions and evidence.
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))
If V_t is empty, reject the proposed transition and record the reason. The argmax is a conceptual selection rule; production implementations require an explicit scoring policy.

3. ENTITY MODEL
LifecycleEntity = {
  canonical_id, entity_type, schema_version, lifecycle_state,
  entity_version, created_at, updated_at, owner_or_steward,
  permissions, dependencies, provenance_refs, validation_refs,
  transition_history, retention_policy, tombstone_ref
}
LifecycleTransition = {
  transition_id, entity_id, from_state, to_state, event,
  actor, timestamp, preconditions, evidence_refs, decision,
  reason, resulting_version
}
Suggested lifecycle states:
  DRAFT -> VALIDATED -> ACTIVE -> SUSPENDED -> ACTIVE
  ACTIVE -> DEPRECATED -> ARCHIVED
  DRAFT/VALIDATED -> REJECTED
  ARCHIVED -> DELETED (only if retention and legal policy allow)
State names are illustrative; an implementation may define a different state machine.

4. RELATIONSHIP GRAPH
Entity --hasIdentity--> CanonicalIdentifier
Entity --hasLifecycleState--> LifecycleState
Entity --hasVersion--> EntityVersion
Entity --dependsOn--> ComputationalEntity
Entity --validatedBy--> ValidationRecord
Entity --derivedFrom--> SourceRecord
Entity --changedBy--> Actor
Entity --governedBy--> LifecyclePolicy
Transition --fromState--> LifecycleState
Transition --toState--> LifecycleState
Transition --supportedBy--> ProvenanceRecord
EntityVersion --supersedes--> EntityVersion
ArchivedEntity --representedBy--> TombstoneRecord

5. CORE FLOW ALGEBRA PATHWAYS
FLOW A — REGISTRATION
  Input -> normalise identifiers -> check duplicates -> allocate canonical ID
  -> create DRAFT entity -> attach provenance -> persist immutable event.
FLOW B — VALIDATION AND ACTIVATION
  DRAFT -> validate schema and semantics -> check evidence and permissions
  -> VALIDATED -> authorise publication -> ACTIVE.
  Failed validation -> REJECTED or DRAFT with documented corrections.
FLOW C — REVISION
  ACTIVE(v_n) -> propose change -> verify compatibility and references
  -> validate -> commit ACTIVE(v_n+1) -> link supersedes -> retain history.
FLOW D — SUSPENSION AND REACTIVATION
  ACTIVE -> detect policy or integrity issue -> SUSPENDED
  -> investigate and remediate -> revalidate -> ACTIVE or DEPRECATED.
FLOW E — DEPRECATION AND ARCHIVAL
  ACTIVE -> mark DEPRECATED -> announce replacement where available
  -> resolve dependent references -> ARCHIVED -> enforce retention.
FLOW F — DELETION CONTROL
  ARCHIVED -> verify retention expiry, authorisation and dependency safety
  -> delete eligible payload -> preserve permitted audit/tombstone record.

6. INFERENCE RULES
R1. An entity cannot be ACTIVE without required successful validation and approval.
R2. A state transition is valid only if it belongs to the authorised transition relation.
R3. A revision retains canonical identity only when continuity criteria hold; otherwise create a new identity and link the entities.
R4. If an entity has active dependants, deprecation or deletion must trigger dependency review.
R5. Conflicting evidence, unresolved ownership or failed integrity checks block activation.
R6. Every committed transition creates a provenance event with actor, timestamp, reason and before/after state.
R7. A suspended entity is excluded from normal active-entity selection until revalidated.
R8. An archived entity is read-only except for authorised retention and audit operations.
R9. Deletion is never inferred merely from deprecation; it requires separate policy evaluation.
R10. A lifecycle state alone does not prove the factual accuracy of the entity's content.

7. BOUNDED RECURSION ENGINE
function lifecycle_evaluate(entity, requested_transition, depth, visited):
  if depth > MAX_DEPTH: return BLOCKED('depth limit')
  if entity.canonical_id in visited: return BLOCKED('dependency cycle')
  visited.add(entity.canonical_id)
  if not authorised(requested_transition.actor): return BLOCKED('permission')
  if not transition_allowed(entity.state, requested_transition.target):
      return BLOCKED('invalid state transition')
  if not validate_preconditions(entity, requested_transition):
      return BLOCKED('preconditions')
  for dependency in bounded_dependencies(entity):
      assess_impact(dependency, depth + 1, visited)
  return PROPOSED_WITH_EVIDENCE

  Commit only after explicit transaction validation; log success or failure.
  Use maximum depth, maximum nodes, time budget and idempotency keys.

8. INVARIANTS AND OPERATIONAL BOUNDARIES
- Canonical IDs remain unique within their declared namespace.
- Version numbers and transition events are ordered and auditable.
- No transition bypasses access-control, retention or schema rules.
- References to archived entities are resolved according to explicit policy.
- Transactional writes prevent partially committed state transitions.
- Concurrent edits require version checks or equivalent conflict handling.
- Preserve provenance without exposing secrets or unnecessary personal data.
- Graph consistency depends on correct data, policies and enforcement; the model itself does not guarantee execution correctness.

9. SEMANTIC EQUIVALENCE
Two lifecycle descriptions are equivalent only when their canonical identity,
state semantics, transition permissions, version boundaries and provenance
requirements agree under an explicit mapping. Similar labels (e.g.,
'closed', 'inactive', 'archived') are not automatically interchangeable.

10. WORKED EXAMPLE
Entity: compute-service:invoice-parser
Initial: DRAFT, version 1, source code and deployment manifest attached.
Event: validation completes with schema, dependency and security checks.
Candidate: DRAFT -> VALIDATED; guard: all mandatory checks pass.
Next: VALIDATED -> ACTIVE after authorised release approval.
Revision: parser update produces ACTIVE version 2 with version 1 retained.
Issue: discovered unsafe dependency causes ACTIVE -> SUSPENDED.
Remediation: dependency patched; tests pass; authorised reactivation.
Retirement: replacement service published; old service DEPRECATED,
then ARCHIVED after dependent workflows migrate.
Outcome: auditable transition chain, preserved identity and bounded impact.

11. CITATION AND PROVENANCE
Reference: Kireth Research, Semantic Library,
'Computational Entity Lifecycle Ontology'.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/ai-semantic-library-computational-entities/computational-entity-lifecycle-ontology.html
Flow Algebra mapping: Mark Anthony Higgins — Sky Recursive AI.
This document is a constructed conceptual extension; verify against the
published ontology before claiming exact correspondence.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ