Skip to main content

Architecture Ontology

Structure & Organisation Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 02 December 2026
Audio Overview
ARCHITECTURE ONTOLOGY — STANDARD FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-02
Authors: Mark Anthony Higgins — Sky Recursive AI (project attribution)
Publisher: Kireth Research | Semantic Library
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/structure-organisation-concepts/architecture-ontology.html
Licence: Open Research Licence (project designation; exact terms not independently verified). Attribution required under stated project policy.
Status: Proposed formalisation; live source and published grammar not independently verified.

1. PURPOSE AND SCOPE
Architecture describes the fundamental organisation of a system, its elements, relationships, environment and governing principles. It is distinct from a particular architecture description, implementation, configuration or diagram. Architectural decisions establish constraints on permitted configurations and transformations. Architecture may be physical, computational, organisational, biological or conceptual; domain-specific laws must be supplied explicitly.

2. CANONICAL ENTITY MODEL
Architecture A = (id, revision, S, E, R, P, B, K, V, D, C, T, provenance).
S: system of interest; E: typed elements; R: typed relationships; P: interface ports and contracts; B: system boundary; K: governing constraints; V: views; D: decision records; C: context and environment; T: validity interval.
Element = (id, type, role, properties, revision).
Interface = (id, owner, direction, contract, units, protocol, revision).
View = (id, viewpoint, represented_elements, represented_relations, abstraction_policy).
Decision = (id, alternatives, rationale, assumptions, authority, evidence, status).
ArchitectureDescription = (id, architecture_id, revision, views, provenance).
Distinguish intended, implemented, observed and inferred architecture. A description is not proof of implementation. Multiple descriptions may represent the same architecture.

3. TYPED RELATIONSHIPS
contains(A,e): element e participates in A.
connects(p,q): interface ports are connected under a declared contract.
requires(e,f): element e depends on f under a specified dependency type.
realises(e,r): element e implements requirement r, subject to evidence.
constrainedBy(A,k): constraint k governs A.
represents(v,A): view v describes a scoped projection of A.
refines(A2,A1): A2 refines A1 under an explicit refinement mapping.
derivedFrom(A2,A1): recorded architectural revision lineage.
allocatedTo(function,element): functional allocation, not necessarily exclusive.

4. FLOW ALGEBRA OPERATORS
Notation: f ; g applies f then g; f || g denotes compatible parallel operations. Result<T> = Success(T) | Failure(reason) | Unknown(reason). All operators are proposed typed specifications, not executable code.
Define: System × Context × ConstraintSet -> Result<Architecture>
Allocate: Architecture × Function × Element -> Result<Architecture>
Connect: Architecture × Port × Port -> Result<Architecture>
Project: Architecture × Viewpoint -> Result<View>
Decompose: Architecture × BoundaryPolicy -> Result<ArchitectureSet>
Compose: ArchitectureSet × InterfaceMapping -> Result<Architecture>
Compare: Architecture × Architecture × EquivalencePolicy -> ComparisonReport
Transform: Architecture × ChangeSet -> Result<Architecture>
AssessImpact: Architecture × ChangeSet -> ImpactReport
Validate: Architecture × EvidenceSet -> ValidationReport
Refine: Architecture × ValidationReport × EvidenceSet -> Result<Architecture>
Review: Architecture × ValidationReport × Authority -> Decision
Commit: Architecture × Decision -> Result<VersionedArchitecture>

5. COMPOSITE FLOWS
Construction = Define ; Allocate ; Connect ; Validate ; Review ; Commit.
Integration = Compose ; Validate ; Review ; Commit.
Evolution = AssessImpact ; Transform ; Validate ; Review ; Commit.
Reconciliation = Compare ; Refine ; Validate ; Review ; Commit.
These are workflow schemata: retain the architecture, policy, evidence and revision in a typed context record across stages. A report is not itself an architecture. Unknown mandatory constraints block commitment. Parallel changes require compatible write sets and interface contracts.

6. ALGEBRAIC AND LOGICAL LAWS
Represent a structural view as a typed multigraph G=(E,R,s,t,type), where s and t map edges to existing vertices. Multiple edges may connect the same pair with different meanings.
For compatible pure transformations, (f ; g) ; h = f ; (g ; h). The identity transformation leaves the architecture unchanged. This law does not imply arbitrary changes commute.
Composition requires matching interfaces and consistent shared identities. It is associative up to declared equivalence only where the interface mappings and constraints agree. Decomposition followed by composition reconstructs the original only when coverage and cross-boundary relations are retained.
Structural equivalence requires a bijection of relevant elements preserving typed relations and applicable attributes. Functional equivalence requires a declared behavioural contract; neither implies numerical identity.
A dependency path establishes indirect dependency only for relation types declared composable. Cycles are forbidden for strict containment or precedence, but may be legitimate for feedback and mutual communication.
For a finite directed dependency graph, impact closure of changed set X is the least fixed point of H(Y)=X union {e: requires(e,f) for some f in Y}. This identifies candidates for review, not proven failures.
Physical conservation constraints apply only to specified conserved quantities, boundaries and time intervals. Information flows do not automatically obey material conservation.

7. STRUCTURAL INVARIANTS
I01. Every element has an unambiguous identifier within its namespace.
I02. Every relationship references existing endpoints of compatible types.
I03. The system boundary and environment are explicitly declared.
I04. Every connected interface satisfies its mandatory contract or is marked unresolved.
I05. Strict containment and precedence graphs are acyclic.
I06. Each view identifies its viewpoint, scope and source revision.
I07. Cross-view contradictions are recorded rather than silently overwritten.
I08. Mandatory constraints have explicit validation outcomes.
I09. Intended and observed architecture are not conflated.
I10. Changes preserve lineage and decision provenance.
I11. Equivalence and refinement claims declare their comparison criteria.
I12. Recursive processing has a termination budget and explicit unresolved outcomes.

8. RECURSIVE ARCHITECTURE FLOW
A0 = initial architecture; E0 = available evidence.
For n = 0,...,N-1:
  report_n = Validate(A_n,E_n)
  if mandatory checks pass and objectives met: return candidate for Review
  if evidence insufficient: request evidence or return Unknown
  candidate = Refine(A_n,report_n,E_n)
  if candidate fails mandatory checks or violates authority: reject candidate
  if no meaningful progress or repeated state: return Unresolved
  otherwise retain candidate and its lineage as A_(n+1)
Return Unresolved when the iteration budget expires.
A finite graph closure terminates under monotonic additions on a fixed finite universe. General architectural refinement is not necessarily monotonic or convergent. Do not claim convergence without a suitable proof or bounded stopping rule.

9. EVIDENCE AND PROVENANCE
Assertion = (subject,predicate,object,context,valid_time,recorded_time,source,method,confidence,status).
Distinguish direct observation, design intent, derived inference and hypothesis. Record source revisions, measurement uncertainty and assumptions. Confidence is not truth and is not a probability unless calibrated as such. Conflicting assertions remain traceable. Missing evidence is not evidence of absence. A design decision requires authority appropriate to the domain; ontology validation does not certify engineering safety.

10. EXAMPLES
Computational: a service architecture contains a client, API and database. A view may omit deployment detail. Changing an API contract triggers review of dependent clients. A valid diagram does not establish that the deployed service conforms.
Physical: a pump assembly architecture allocates fluid transport to a pump and isolation to valves. Ports must satisfy declared pressure, material and dimensional constraints. A substitute component needs compatibility evidence, not merely matching labels.
Organisational: roles, reporting lines and information channels define different views. Reporting precedence may be acyclic while communication contains cycles. A role is distinct from the individual occupying it.
Conceptual: a knowledge architecture connects concepts, inference rules and evidence records. A refinement adds typed distinctions while retaining mappings to prior concepts; a changed meaning may require a new identity rather than a silent revision.

11. CROSS-ONTOLOGY INTEGRATION
Structure: typed elements and relationships.
Organisation: coordination, roles and governing rules.
Hierarchy: scoped containment and precedence.
Composition / Decomposition: integration and scoped separation.
Part / Whole / Component / Assembly: constituent modelling.
Layer / Level: abstraction and ordered divisions.
Configuration: permitted or realised system arrangements.
Pattern / Arrangement: reusable organisation and relative placement.
Conceptual Model / Boundary / Context: representation and applicability.
Identity / Persistence: continuity across architectural revisions.
State / Event / Process: dynamic behaviour and transformation.
Engineering Entity Graph: domain-specific realisation and evidence.
Mappings are proposed integration points, not verified imports.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01. Duplicate element identifier is rejected or explicitly reconciled.
T02. Relationship with missing endpoint is rejected.
T03. Missing boundary yields incomplete validation.
T04. Incompatible mandatory port contracts block integration.
T05. Strict containment cycle is rejected; permitted feedback cycle is retained.
T06. View without source revision is flagged.
T07. Conflicting views produce a traceable conflict record.
T08. Unknown mandatory constraint blocks commitment.
T09. Design intent alone cannot establish observed conformance.
T10. Revision preserves original architecture and decision history.
T11. Equal element sets with differing typed edges are not automatically equivalent.
T12. Repeated refinement state or exhausted budget returns Unresolved.

13. CITATION AND ATTRIBUTION
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (project attribution). (2026). Architecture Ontology — Standard Flow Algebra, version 1.0. Kireth Research, Semantic Library.
Source ontology: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/structure-organisation-concepts/architecture-ontology.html
Parent: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/structure-organisation-concepts.html
Research status: newly constructed formalisation based on the supplied ontology title and preceding project specifications; not a verbatim source export. Exact licence terms and compatibility with the complete published Flow Algebra grammar remain unverified. Acceptance tests are proposed, not executed.
END OF SPECIFICATION
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ