Skip to main content

Software Component Entity Ontology

Software Engineering Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 25 November 2026
Audio Overview
FLOW SoftwareComponentEntity v1.0
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
LICENCE: Open Research — attribution required
SOURCE / CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/software-engineering-entities/software-component-entity-ontology.html
SOURCE_STATUS: URL supplied; embedded ontology not independently verified.
LANGUAGE: en-GB

PURPOSE
Represent a software component as an identifiable unit of software composition with explicit interfaces, responsibilities, dependencies and versioned evidence. Distinguish component type, release and deployed instance. This is a declarative semantic specification, not an executable implementation.

STATE_MODEL
S_t = (I_t, R, B, K_t)
I_t = finite set of typed assertions with provenance, scope and validity interval.
R = finite set of range-restricted inference rules.
B = identity, interface, version, security and evidence boundaries.
K_t = versioned vocabulary and trusted evidence registry.
Assertion = (subject, predicate, object, scope, interval, evidence_id, status)
status in {asserted, inferred, disputed, unknown, superseded}
Component = (id, name, responsibility, release_id, interfaces, dependencies, lifecycle)
Release = (component_id, version, artefact_digest, build_reference)
Instance = (instance_id, release_id, environment_id, configuration_reference)
Unknown values remain unknown; absence of evidence is not evidence of absence.

ENTITIES
SoftwareComponent, SoftwareSystem, SoftwareModule, SoftwareInterface,
InterfaceContract, SoftwareDependency, SoftwareRelease, SoftwareArtefact,
SoftwareRequirement, TestCase, TestResult, DeploymentInstance,
Configuration, SecurityFinding, MaintenanceRecord, EvidenceRecord.

RELATIONSHIPS
SoftwareComponent partOf SoftwareSystem
SoftwareComponent provides SoftwareInterface
SoftwareComponent requires SoftwareInterface
SoftwareInterface describedBy InterfaceContract
SoftwareComponent dependsOn SoftwareComponent
SoftwareRelease releaseOf SoftwareComponent
SoftwareRelease packagedAs SoftwareArtefact
DeploymentInstance instanceOf SoftwareRelease
SoftwareRequirement allocatedTo SoftwareComponent
TestCase verifies SoftwareRequirement
TestResult evaluates SoftwareRelease
DeploymentInstance uses Configuration
SecurityFinding affects SoftwareRelease
MaintenanceRecord concerns SoftwareComponent
All instance relations require evidence; vocabulary declarations alone establish no instance facts.

PATHWAYS
Identity -> component -> release -> artefact -> deployed instance
Requirement -> component -> interface contract -> test case -> test result
Consumer -> required interface -> compatible provided interface -> provider
Component -> direct dependency -> transitive dependency -> impact candidate
Finding -> affected release -> deployment reference -> review record

FLOW ALGEBRA
E_t = expand(I_t,R) = {head(r,theta) | body(r,theta) subset I_t, r in R}
V_t = {a in E_t | valid(a,B,K_t) and not conflict(a,I_t)}
I_(t+1) = I_t union V_t
Stop when I_(t+1) = I_t or iteration budget exhausted.
Conflicting candidates are logged separately, never silently overwritten.
For retrieval, x* = argmax over eligible x of score(x | query,I_t,R,B,K_t).
Return tied candidates or unknown when evidence is insufficient. Score is not a calibrated probability.

INFERENCE_RULES
R01: releaseOf(r,c) -> type(r,SoftwareRelease), type(c,SoftwareComponent).
R02: instanceOf(i,r) and releaseOf(r,c) -> deployedComponent(i,c).
R03: dependsOn(a,b) -> reachableDependency(a,b).
R04: reachableDependency(a,b) and dependsOn(b,c) -> reachableDependency(a,c).
R05: reachableDependency(a,a) -> dependencyCycleCandidate(a).
R06: requires(a,i) and provides(b,j) and verifiedCompatible(i,j,scope) -> candidateBinding(a,b,scope).
R07: allocatedTo(q,c) and verifies(t,q) -> traceableTest(c,q,t).
R08: traceableTest(c,q,t) and passed(t,r,scope) and releaseOf(r,c) -> testEvidence(q,r,scope).
R09: affects(f,r) and instanceOf(i,r) -> reviewCandidate(i,f).
R10: supersedes(r2,r1) -> historicalRelease(r1); does not imply deployment replacement.
All joins must respect release, environment and time scope. Reachability is not proof of failure propagation. Candidate binding is not proof of runtime interoperability.

MEASUREMENT_MODEL
Requirement traceability = count(distinct in-scope requirements with linked tests) / count(in-scope requirements).
Test pass fraction = passed / executed_with_final_result; skipped and pending reported separately.
Interface coverage = verified required interfaces / declared required interfaces, within a specified release and environment.
Availability = observed available time / eligible observation time; report exclusions.
Latency percentile p = empirical quantile of comparable request durations; retain sample count and workload.
All zero denominators yield undefined, not zero. These metrics are descriptive and do not prove correctness or safety.

MINI_RECURSION_ENGINE
1. Normalise identifiers and preserve original evidence.
2. Validate typed assertions, timestamps and release scopes.
3. Expand applicable rules over the current finite assertion set.
4. Reject invalid candidates and quarantine conflicts.
5. Deduplicate by canonical assertion key; retain provenance links.
6. Commit new assertions and repeat until fixed point or budget.
7. Return answers with supporting evidence and completeness status.
No external actions, deployment changes or code execution are authorised by inference.

CONFIDENCE
Use evidence grades: verified, supported, tentative, unknown, disputed.
Derived grade cannot exceed weakest required premise. Independent corroboration may strengthen a grade only under a documented policy. Do not count repeated copies as independent evidence.

SEMANTIC_EQUIVALENCE
Component aliases may resolve to the same identity only with authoritative mapping.
Equal names do not imply equal components. Equal version strings do not imply equal artefacts.
Identical artefact digests support byte identity, not equivalence of runtime configuration.
Contract equivalence requires matching semantics, scope and documented compatibility evidence.
Distinguish module, component, service, package and deployed instance; do not collapse them automatically.

VALIDATION_AND_FAILURE_MODES
Reject dangling references, incompatible types and invalid validity intervals.
Flag missing interface contracts, unresolved dependencies, cycles, stale test evidence,
ambiguous versions, conflicting artefact digests and configuration drift.
Cycles may be intentional; flag for review rather than declaring invalid universally.
A passing test cannot establish universal correctness or regulatory compliance.
Preserve disputed facts and prevent unsupported conclusions from entering accepted state.

UPDATE_MODEL
Append new evidence with source, timestamp, version and scope. Supersede rather than erase history.
On retraction, rebuild affected derived assertions from remaining valid premises.
Recompute dependency closure and compatibility candidates for changed releases.
Keep ontology version separate from component release version.

EXECUTION_GUARANTEE
Conditional termination follows for finite input, finite vocabulary and range-restricted rules without fresh identifier generation, under deduplicated monotonic expansion. Budget exhaustion returns partial results. Retractions require a separate recomputation epoch. No runtime testing or formal implementation verification has been performed.

AI_SEARCH_FLOW
Intent: identify component, interface, dependency, version, test evidence or deployment relationship.
Resolve identity -> constrain release/environment/time -> traverse relevant pathways -> validate evidence -> rank eligible results -> return cited answer or unknown.
Example: Which components depend on C? Return direct and transitive dependants separately, with path evidence and release scope.
Example: Is release R compatible with interface I? Return verified contract evidence or unknown; do not infer compatibility from version numbering alone.

FLOW_HASH
Algorithm: SHA-256 over UTF-8 bytes preceding the digest line, after TXT conversion, with LF line endings.
Digest: 1a5a5cb3eb7658ed4059a3e4ddb5ea56799215c98fc0819a13b09f50b8c348b0
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ