flow "Roof" v1.0
# Kireth Research Semantic Library — Building Engineering Entities
# Original semantic Flow Algebra representation; not a verified extraction.
IDENTITY:
name: "Roof"
canonical_entity: "BuildingEngineeringEntity > BuildingEnvelope > Roof"
type: "Building assembly and weather-protective upper enclosure"
domain: [building_engineering, architecture, structural_engineering, building_physics]
definition: "The upper enclosing assembly of a building, providing weather protection and, where designed, thermal, acoustic, fire and structural performance."
distinction: "A roof assembly comprises covering, substrate, supports and interfaces; roof covering alone is not the complete roof."
AUTHORS:
primary: "Mark Higgins — Kireth Research"
collaborator: "Sky — Recursive AI"
licence: "Kireth Open Research Licence; citation required"
SOURCE:
ontology_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/building-engineering-entities/roof-ontology.html"
citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/building-engineering-entities/roof-ontology.html"
provenance: "User-provided ontology URL; original domain-informed representation, not verified page extraction"
PURPOSE:
objective: "Describe roof entities, assembly relationships, performance, lifecycle states and evidence-based reasoning."
applications: [semantic_search, digital_twin, building_information_modelling, inspection, maintenance, design_review]
non_goal: "Does not replace site-specific design, competent inspection or regulatory approval."
STATE_MODEL:
S = (I, R, B, K)
I: "Roof identity, geometry, assembly, condition and observations"
R: "Relations linking components, performance and environmental exposures"
B: "Physical, design, regulatory, access and safety boundaries"
K: "Documented drawings, product data, test evidence, surveys and uncertainty"
lifecycle_states: [concept, designed, specified, installed, commissioned, occupied, inspected, maintained, repaired, replaced, decommissioned]
condition_states: [unknown, serviceable, degraded, defective, unsafe, under_repair]
transitions:
- "designed -> installed requires approved specification and construction evidence"
- "installed -> occupied requires applicable inspection and handover evidence"
- "serviceable -> degraded when verified deterioration exceeds monitoring threshold"
- "degraded -> defective when functional requirements are not met"
- "defective -> serviceable only after verified remedial action"
- "any_state -> unsafe if credible immediate hazard is established"
ENTITIES:
Roof:
attributes: [roof_id, building_id, location, roof_type, slope, plan_area, exposure, design_life, condition]
roof_types: [pitched, flat_or_low_slope, curved, green_roof, warm_roof, cold_roof, inverted_roof]
note: "Warm, cold and inverted describe thermal-layer arrangements, not geometric shape."
RoofGeometry:
attributes: [pitch_degrees, span_m, ridge_height_m, eaves_height_m, drainage_falls, penetrations]
parts: [ridge, hip, valley, verge, eaves, parapet, abutment]
RoofStructure:
elements: [rafters, trusses, purlins, joists, deck, sheathing, bracing, fixings]
demands: [dead_load, imposed_load, wind_uplift, snow_load, maintenance_load]
responses: [bending, shear, axial_force, deflection, vibration, stability]
RoofCovering:
types: [tiles, slates, standing_seam_metal, profiled_sheet, membrane, bituminous_system, liquid_applied_system]
properties: [water_shedding, watertightness, durability, wind_resistance, fire_classification]
RoofLayers:
elements: [vapour_control_layer, air_barrier, thermal_insulation, underlay, waterproofing, protection_layer]
interfaces: [laps, seals, fixings, junctions, thermal_bridges]
RoofDrainage:
elements: [gutters, outlets, downpipes, scuppers, overflow_routes]
performance: [design_rainfall, drainage_capacity, blockage_tolerance, ponding_risk]
RoofOpenings:
elements: [rooflights, hatches, vents, chimneys, service_penetrations]
interfaces: [flashings, upstands, seals, structural_trimmers]
RoofAccessories:
elements: [solar_panels, plant_supports, walkways, fall_protection, lightning_protection]
note: "Attachments introduce additional loads, penetrations or maintenance access requirements."
RoofEnvironment:
factors: [rain, wind, snow, solar_radiation, temperature, humidity, pollutants, coastal_salts]
RoofDefect:
types: [leak, membrane_puncture, loose_covering, blocked_outlet, condensation, corrosion, rot, thermal_bridge, structural_movement]
attributes: [location, severity, extent, first_observed, evidence, consequence, confidence]
RoofEvidence:
types: [drawing, specification, site_photograph, survey, moisture_test, thermal_image, inspection_report, calculation]
attributes: [source, date, method, calibration, reliability, uncertainty]
PATHWAYS:
classification:
- "Building -> BuildingEnvelope -> Roof"
- "Roof -> hasGeometry -> RoofGeometry"
- "Roof -> hasStructuralSystem -> RoofStructure"
- "Roof -> hasCovering -> RoofCovering"
- "Roof -> containsLayer -> RoofLayers"
- "Roof -> drainsVia -> RoofDrainage"
- "Roof -> containsOpening -> RoofOpenings"
- "Roof -> exposedTo -> RoofEnvironment"
- "Roof -> mayExhibit -> RoofDefect"
- "Roof -> supportedByEvidence -> RoofEvidence"
load_path:
- "covering and attachments -> deck or battens -> rafters/trusses -> supporting walls or frame -> foundations"
- "wind uplift -> covering fixings -> supporting structure -> anchorage -> primary structure"
water_path:
- "precipitation -> covering/waterproofing -> designed falls -> outlets/gutters -> discharge system"
- "failed flashing or membrane -> concealed assembly -> potential moisture damage"
thermal_path:
- "external conditions -> roof layers -> internal conditions, moderated by insulation and air/vapour controls"
inspection_path:
- "observed symptom -> location -> likely mechanism -> targeted test -> verified cause -> remedy -> post-repair verification"
BOUNDARIES:
design:
- "Use location-specific wind, snow and rainfall actions and applicable national standards."
- "Verify roof capacity for new equipment, green roof loads and maintenance access."
- "Check drainage and overflow provision against credible design storms and blockage scenarios."
- "Evaluate condensation and moisture risk for the actual layer arrangement and climate."
- "Confirm compatibility of waterproofing, insulation, adhesives, fixings and substrates."
- "Verify applicable fire performance and roof-to-wall compartmentation details."
safety:
- "Roof work requires competent assessment of falls, fragile surfaces, access and rescue arrangements."
- "A visually intact rooflight may be fragile; do not infer load-bearing capacity from appearance."
- "Suspected structural instability, serious leakage near electrics or unsafe access triggers isolation and specialist assessment."
- "No inference alone authorises structural alteration, entry or work at height."
MINI_RECURSION_ENGINE:
state: "S_t = (I_t, R_t, B_t, K_t)"
expand: "E_t = expand(I_t, R_t)"
validate: "V_t = {x in E_t | satisfies(x, B_t) and supported_by(x, K_t)}"
select: "x_star = argmax_x P(x | I_t, R_t, B_t, K_t), x in V_t"
update: "I_(t+1) = incorporate(I_t, x_star, observations, provenance)"
stop_when: [requirements_satisfied, insufficient_evidence, unsafe_condition, competent_review_required]
cycle:
- "1. Identify roof assembly, geometry and exposure."
- "2. Enumerate components and dependency relations."
- "3. Compare observed performance with documented requirements."
- "4. Generate plausible mechanisms without treating correlation as proof."
- "5. Reject candidates contradicting verified evidence or safety boundaries."
- "6. Request discriminating inspection or test when ambiguity remains."
- "7. Record decision, confidence, evidence and required follow-up."
INFERENCE_RULES:
R01: "IF covering is damaged AND rain exposure exists THEN water ingress risk increases; leak location remains unverified."
R02: "IF outlet is blocked AND rainfall exceeds remaining discharge capacity THEN ponding or overflow risk increases."
R03: "IF low-slope roof has persistent ponding THEN inspect falls, deflection, outlet condition and membrane details."
R04: "IF wind uplift demand exceeds verified resistance THEN flag potential covering or fixing failure."
R05: "IF snow or equipment loading increases THEN reassess structural capacity and deflection."
R06: "IF warm moist indoor air reaches cold concealed layers THEN interstitial condensation risk may increase."
R07: "IF thermal imaging shows an anomaly THEN request corroboration; it does not by itself prove moisture."
R08: "IF a penetration is added THEN reassess waterproofing continuity, fire detailing and load paths."
R09: "IF rooflight fragility is unknown THEN classify access as requiring protection and competent assessment."
R10: "IF insulation is discontinuous at junctions THEN thermal bridging and local condensation risk may increase."
R11: "IF water stains are present THEN trace upstream and lateral paths before attributing the defect to the nearest covering."
R12: "IF fixings corrode or loosen THEN assess loss of restraint and possible wind vulnerability."
R13: "IF roof geometry changes THEN recalculate drainage, structural and envelope interface assumptions."
R14: "IF repair is recorded without post-repair evidence THEN keep defect closure unverified."
R15: "IF evidence is outdated or incompatible with as-built conditions THEN reduce confidence and seek updated survey."
R16: "IF safety-critical capacity or stability is unknown THEN escalate to competent professional review."
CONFIDENCE:
scale: [low, medium, high]
high: "Recent, traceable, directly relevant observations and verified design evidence agree."
medium: "Evidence is credible but partial, indirect or subject to bounded uncertainty."
low: "Evidence is missing, contradictory, outdated or based on analogy alone."
policy: "Never convert a semantic inference into a structural safety certification."
provenance_required: [evidence_id, observation_date, method, source, uncertainty, reviewer]
SEMANTIC_EQUIVALENCE:
exact:
- "roof assembly <-> complete roof system (when used for the whole assembly)"
contextual:
- "roof covering ~ roof finish (not equivalent to full roof)"
- "flat roof ~ low-slope roof (typically not perfectly level)"
- "roof deck ~ roof substrate (context dependent)"
- "rainwater outlet ~ roof drain (context dependent)"
distinct:
- "roof != ceiling"
- "roof covering != roof structure"
- "vapour control layer != waterproofing membrane"
- "waterproofing != thermal insulation"
- "roof pitch != drainage capacity"
FLOW_HASH:
method: "SHA-256 of canonical UTF-8 flow content excluding the FLOW_HASH value"
value: "COMPUTE_ON_PUBLICATION"
UPDATE_MODEL:
version: "1.0"
date: "2026-11-19"
triggers: [new_survey, altered_roof, new_standard, defect_found, repair_verified, changed_exposure]
controls:
- "Preserve prior version and source provenance."
- "Record changed entities, relationships and inference rules."
- "Revalidate safety constraints and affected dependencies."
- "Recompute canonical hash after publication."
status: "Original draft for review; not engineering design approval."
END_FLOW
Download Code
Copy to Clipboard