TTRG Archimate

ArchiMate-RPG Complete Metamodel :root { –bg: #0d1117; –panel-bg: #161b22; –border: #30363d; –text-main: #e6edf3; –text-muted: #8b949e; –font-code: “JetBrains Mono”, Consolas, “Fira Code”, monospace; /* ArchiMate Layer Color Standards adapted to RPG theme */ –layer-strat: #723b93; –layer-strat-bg: #1c1326; –layer-strat-border: #9b59b6; –layer-biz: #b78103; –layer-biz-bg: #261f0e; –layer-biz-border: #f39c12; –layer-app: #1f6feb; –layer-app-bg: #0f1d38; –layer-app-border: #58a6ff; –layer-phys: #238636; –layer-phys-bg: #102517; –layer-phys-border: #3fb950; –layer-mig: #8957e5; –layer-mig-bg: #1f1435; –layer-mig-border: #bc8cff; } * { box-sizing: border-box; margin: 0; padding: 0; } body { background-color: var(–bg); color: var(–text-main); font-family: -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Helvetica, Arial, sans-serif; line-height: 1.4; padding: 24px; } header { margin-bottom: 24px; border-bottom: 1px solid var(–border); padding-bottom: 16px; } h1 { font-size: 1.6rem; color: #58a6ff; display: flex; align-items: center; gap: 10px; } h1 span { font-size: 0.85rem; color: var(–text-muted); font-weight: normal; } p.subtitle { color: var(–text-muted); font-size: 0.95rem; margin-top: 4px; } /* Layout: Main Architecture Matrix */ .matrix-container { display: flex; flex-direction: column; gap: 16px; } /* Column Headers */ .column-headers { display: grid; grid-template-columns: 200px 1fr 1fr 1fr; gap: 12px; padding: 0 8px; font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; color: var(–text-muted); } .col-title { text-align: left; } /* Layer Rows */ .layer-row { display: grid; grid-template-columns: 200px 1fr 1fr 1fr; gap: 12px; border: 1px solid var(–border); border-radius: 8px; padding: 12px; position: relative; } /* Layer Sidebar Label */ .layer-identity { display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(–border); padding-right: 12px; } .layer-tag { font-size: 0.7rem; text-transform: uppercase; font-weight: bold; letter-spacing: 0.05em; display: inline-block; padding: 2px 6px; border-radius: 4px; margin-bottom: 4px; width: fit-content; } .layer-name { font-size: 1.05rem; font-weight: 700; } .layer-desc { font-size: 0.78rem; color: var(–text-muted); margin-top: 4px; } /* Cell Aspect Containers */ .aspect-cell { display: flex; flex-direction: column; gap: 8px; background: rgba(0,0,0,0.25); border-radius: 6px; padding: 8px; } /* Architectural Element Cards */ .arch-card { background: var(–panel-bg); border: 1px solid var(–border); border-radius: 6px; padding: 8px 10px; cursor: pointer; transition: all 0.15s ease-in-out; position: relative; } .arch-card:hover { border-color: #58a6ff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.5); } .arch-card.selected { border-color: #f39c12 !important; background: #24292f; outline: 2px solid #f39c12; } .card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; } .card-title { font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; } .card-shape-icon { font-size: 0.75rem; opacity: 0.8; } .card-sub { font-size: 0.72rem; color: var(–text-muted); line-height: 1.2; } /* Distinct Layer Color Stylings */ .layer-strat { background: var(–layer-strat-bg); border-color: var(–layer-strat-border); } .layer-strat .layer-tag { background: var(–layer-strat); color: #fff; } .layer-strat .arch-card { border-left: 3px solid var(–layer-strat-border); } .layer-biz { background: var(–layer-biz-bg); border-color: var(–layer-biz-border); } .layer-biz .layer-tag { background: var(–layer-biz); color: #fff; } .layer-biz .arch-card { border-left: 3px solid var(–layer-biz-border); } .layer-app { background: var(–layer-app-bg); border-color: var(–layer-app-border); } .layer-app .layer-tag { background: var(–layer-app); color: #fff; } .layer-app .arch-card { border-left: 3px solid var(–layer-app-border); } .layer-phys { background: var(–layer-phys-bg); border-color: var(–layer-phys-border); } .layer-phys .layer-tag { background: var(–layer-phys); color: #fff; } .layer-phys .arch-card { border-left: 3px solid var(–layer-phys-border); } .layer-mig { background: var(–layer-mig-bg); border-color: var(–layer-mig-border); } .layer-mig .layer-tag { background: var(–layer-mig); color: #fff; } .layer-mig .arch-card { border-left: 3px solid var(–layer-mig-border); } /* Detail Inspector Drawer */ #inspector { position: fixed; right: 20px; bottom: 20px; width: 420px; max-height: calc(100vh – 40px); background: #1c2128; border: 1px solid #444c56; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); padding: 16px; display: none; flex-direction: column; z-index: 1000; overflow-y: auto; } #inspector.active { display: flex; } .inspector-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(–border); padding-bottom: 8px; margin-bottom: 12px; } .inspector-close { background: none; border: none; color: var(–text-muted); cursor: pointer; font-size: 1.2rem; } .inspector-close:hover { color: #fff; } .param-block { background: #0d1117; border: 1px solid #30363d; border-radius: 6px; padding: 10px; font-family: var(–font-code); font-size: 0.75rem; color: #7ee787; white-space: pre-wrap; margin-top: 8px; } .badge-bar { display: flex; gap: 6px; margin: 6px 0; } .badge { font-size: 0.65rem; padding: 2px 6px; border-radius: 3px; background: #30363d; color: #c9d1d9; }

ArchiMate-RPG Metamodel v1.0 Specification

Complete visual map of structural layers, behavioral execution, passive state objects, and standard evolution parameters.

Architectural Layer
Active Structure (Actors / Executors)
Behavior (Processes / Events)
Passive Structure (State / Resources)
Motivation
Lore & Drivers
Cosmic forces, deities, political motivations, doom clocks, and overarching oaths.
🏛️ Stakeholder (Deity / Patron)
Gods, Archfey, Fiends, Outer Gods setting stakes
👥 Faction / Dynasty
Guilds, kingdoms, cults with collective agency
⚡ Scheme / Grand Plan
Multi-stage antagonist agendas or divine interventions
⏳ Assessment (Doom Clock)
Entropy counters, impending cataclysms, escalating tension
📜 Driver / Goal (Oath & Prophecy)
Paladin oaths, alignments, prophecies, campaign goals
🗝️ Meaning (Forbidden Lore)
True names, planar convergence conditions, secrets
Business
Narrative & Social
The human/mortal world: adventurers, party dynamics, quests, rumors, and bartering.
🧙 Business Actor (PC / NPC)
Player characters, hirelings, named allies, villains
🛡️ Business Role (Party Role)
Face, Scout, Tank, Healer, Cartographer
🔄 Business Process (Quest Line)
End-to-end quest orchestration, infiltration, heists
💬 Interaction (Social Encounter)
Interrogation, court intrigue, bartering, persuasion
🍺 Function (Downtime / Rest)
Short/Long rests, crafting, tavern carousing, training
📑 Contract (Bounty / Writ)
Adventuring writs, legal pardons, promissory notes
✉️ Business Object (Rumor / Intel)
Tavern gossip, dungeon clues, trade ledger leaks
Application
Rules Engine & Mechanics
The computational layer: stats, actions, spell slots, saving throws, and conditions.
📊 App Component (Statblock)
Monster statblock, Class features, Feats
✨ App Interface (Spell / Ability)
Prepared spell API, channel divinity, aura triggers
⚙️ App Function (Combat Action)
Action, Bonus Action, Reaction, Legendary Action
🎲 App Process (Roll Resolution)
Attack vs AC, Ability Check vs DC, Saving Throws
🔢 Data Object (Mechanic Pool)
Hit Points, Spell Slots, Ki Points, Sorcery Points
🛑 Data Object (Condition)
Poisoned, Stunned, Charmed, Blinded, Paralyzed
Physical
World & Infrastructure
Tangible terrain, dungeon layouts, gear, environmental hazards, and artifacts.
🗺️ Node (Dungeon Room / Region)
Settlement, cavern, room, demiplane, wilderness hex
⚙️ Device (Trap / Mechanism)
Pressure plates, portcullises, arcane ward pylons
🌋 Infra Function (Hazard Execution)
Lava surge, cave-in, wild magic surge, blizzard
🚪 Network (Corridor / Portal)
Doorways, teleporters, trade routes, secret tunnels
🗡️ Material (Item / Weapon / Relic)
Longsword, Bag of Holding, Spellbook, Healing Potion
💰 Facility (Treasure Chest / Hoard)
Dragon hoard, locked chest, arcane deposit vault
Migration
Campaign Chronology
The evolutionary engine: tracking session state plateaus, level ups, and campaign arcs.
📚 Program (Campaign Arc)
Tier 1 Local, Tier 2 Regional, Tier 3 Global, Tier 4 Cosmic
🎲 Work Package (Session $N$)
Discrete play session, time-skip, milestone milestone
📸 Plateau (World-State Snapshot)
Current status of all factions, locations, and surviving NPCs
🪦 Deliverable (Archive / Graveyard)
Dead PCs, collapsed dungeons, completed plot arcs

Object Details

Layer Aspect ArchiMate Standard

Standard Parameter Schema:


    
Permitted ArchiMate Relationships:
const objectDb = { Deity_Patron: { title: “Deity / Otherworldly Patron”, layer: “Motivation”, aspect: “Active Structure”, archimate: “Stakeholder”, desc: “Immortal entities, pantheon gods, archdevils, or eldritch patrons that impart cosmic agendas, grant spells, or bind warlocks.”, schema: `{ “id”: “stakeholder.deity.moradin”, “name”: “Moradin the All-Father”, “domain”: [“Forge”, “Knowledge”], “alignment”: “LG”, “favor_matrix”: { “party”: +2, “orcs_of_gruumsh”: -10 }, “boons_available”: [“blessing_of_iron”, “adamantine_resolve”], “visibility_mask”: “Player_Known” }`, relations: “• Assigns to Grand Scheme
• Influences (+/-) Oath / Driver
• Realizes Spell / Ability via Cleric Conduit” }, Faction_House: { title: “Faction / Dynasty / Guild”, layer: “Motivation”, aspect: “Active Structure”, archimate: “Stakeholder / Business Actor Group”, desc: “Organized groups with political power, treasury, influence, and their own goals running in parallel with the party.”, schema: `{ “id”: “faction.zhentarim”, “name”: “The Black Network (Zhentarim)”, “power_indices”: { “military”: 6, “wealth”: 8, “subterfuge”: 9 }, “active_clock”: “clock.waterdeep_coup [3/6]”, “disposition_to_party”: -2, “headquarters_node_ref”: “node.loc.blackgate” }`, relations: “• Composed of Business Actors (NPCs)
• Assigns to Quests / Schemes
• Accesses Treasury / Artifacts” }, Grand_Scheme: { title: “Scheme / Grand Plan”, layer: “Motivation”, aspect: “Behavior”, archimate: “Goal / Value / Capability”, desc: “Multi-stage macro plan pursued by antagonists or factions that shifts world state when steps succeed.”, schema: `{ “id”: “scheme.resurrect_tiamat”, “owner_ref”: “faction.cult_of_dragon”, “stages”: [ { “step”: 1, “status”: “COMPLETED”, “hook”: “Raid the Coast” }, { “step”: 2, “status”: “IN_PROGRESS”, “hook”: “Collect Mask of the Queen” }, { “step”: 3, “status”: “PENDING”, “hook”: “Perform Blood Ritual at Well” } ], “entropy_advance_rule”: “1 stage per missed deadline” }`, relations: “• Triggers Quests / World Events
• Aggregates Doom Clocks
• Influences Faction Standing” }, Doom_Clock: { title: “Doom Clock (Assessment)”, layer: “Motivation”, aspect: “Behavior / Evaluation”, archimate: “Assessment”, desc: “A segmented countdown tracking escalation, enemy preparations, or environmental deterioration.”, schema: `{ “id”: “clock.volcano_eruption”, “ticks_current”: 3, “ticks_max”: 6, “tick_interval”: “long_rest”, “on_overflow_event”: “event.caldera_collapse”, “player_visible”: false }`, relations: “• Triggers Disasters or Encounter Transitions upon full ticks
• Influenced by PC Failures (+1 tick) or Heroic Actions (-1 tick)” }, Oath_Alignment: { title: “Oath / Prophecy / Alignment”, layer: “Motivation”, aspect: “Passive Structure”, archimate: “Driver / Principle”, desc: “Moral anchors, sacred oaths, or cosmic prophecies that compel characters and justify inspiration or fall from grace.”, schema: `{ “id”: “driver.oath_of_vengeance”, “actor_ref”: “pc.paladin.krohm”, “tenets”: [“Fight the Greater Evil”, “No Mercy for the Wicked”], “breach_counter”: 0, “inspiration_awarded_total”: 4 }`, relations: “• Influences Roleplay Decisions and Class Mechanics
• Accessed by Deity / Patron during Judgments” }, Cosmic_Secret: { title: “Cosmic Secret / Forbidden Lore”, layer: “Motivation”, aspect: “Passive Structure”, archimate: “Meaning”, desc: “High-level contextual knowledge that changes how actors interact with the world once uncovered.”, schema: `{ “id”: “lore.lich_phylactery_identity”, “truth”: “The phylactery is King Arthur’s crown itself”, “revelation_dc”: 25, “unlocked_by”: [“pc.wizard.elminster”], “world_mutation_on_reveal”: “Diplomatic immunity revoked” }`, relations: “• Flows through Intel & Rumor Objects
• Realizes Campaign Goal Shifts” }, PC_Actor: { title: “Business Actor (PC / NPC)”, layer: “Business”, aspect: “Active Structure”, archimate: “Business Actor”, desc: “The primary narrative agents in the story. They carry social reputations, alliances, and personality traits.”, schema: `{ “id”: “actor.pc.lyra”, “type”: “Player_Character”, “name”: “Lyra Nightbreeze”, “background”: “Criminal / Spy”, “party_status”: “Active”, “realized_by_statblock”: “statblock.rogue_lvl5”, “reputation”: { “neverwinter_guard”: -3, “thieves_guild”: +4 } }`, relations: “• Assigned to Quests, Social Encounters, and Combat Actions
• Realized by Application Statblock
• Holds Equipment / Material” }, Party_Role: { title: “Business Role (Party Function)”, layer: “Business”, aspect: “Active Structure”, archimate: “Business Role”, desc: “The tactical or social duty fulfilled by an actor within a party or strike force.”, schema: `{ “id”: “role.party_face”, “responsibilities”: [“Contract Negotiation”, “Court Etiquette”], “assigned_actor”: “actor.pc.bard”, “delegated_skills”: [“Deception”, “Persuasion”] }`, relations: “• Assigned to Party Interactions
• Aggregated by The Adventuring Party” }, Quest_Process: { title: “Quest / Adventure Process”, layer: “Business”, aspect: “Behavior”, archimate: “Business Process”, desc: “A choreographed sequence of milestones, encounters, and challenges leading to a campaign reward.”, schema: `{ “id”: “quest.cragmaw_rescue”, “state”: “IN_PROGRESS”, “steps”: [ “encounter.goblin_ambush [RESOLVED]”, “encounter.cragmaw_dungeon [ACTIVE]”, “social.sildar_debrief [PENDING]” ], “rewards”: { “xp”: 1200, “gold”: 250, “reputation_gain”: +3 } }`, relations: “• Triggers Downtime or next Campaign Arc
• Composed of Encounters & Skill Checks
• Accesses Bounties & Contracts” }, Social_Encounter: { title: “Social Interaction / Intrigue”, layer: “Business”, aspect: “Behavior”, archimate: “Business Interaction”, desc: “Conversations, trials, and barters governed by leverage, charisma, and disposition states.”, schema: `{ “id”: “social.bribe_city_watch”, “actors_involved”: [“pc.rogue”, “npc.captain_brant”], “target_disposition”: “Neutral”, “dc_threshold”: 15, “fail_consequence”: “event.raise_alarm” }`, relations: “• Realized by Persuasion/Deception Skill Check (App Layer)
• Mutates Faction Standing” }, Downtime_Activity: { title: “Downtime / Rest Function”, layer: “Business”, aspect: “Behavior”, archimate: “Business Function”, desc: “Low-intensity narrative activities between adventures: crafting, carousing, researching, and recovering.”, schema: `{ “id”: “downtime.forge_plate_armor”, “craftsman”: “pc.fighter”, “days_required”: 30, “days_invested”: 12, “raw_material_cost_gp”: 750 }`, relations: “• Accesses Material & Tool kits
• Realizes New Items or Restored Pools (HP/Slots)” }, Contract_Bounty: { title: “Contract / Bounty / Charter”, layer: “Business”, aspect: “Passive Structure”, archimate: “Contract”, desc: “Explicit legal or mercenary agreements that define terms of completion and payment.”, schema: `{ “id”: “contract.kill_manticore”, “issuer”: “npc.townmaster_harbin”, “target”: “monster.manticore_wyvern_tor”, “payout_gold”: 100, “expiration_session”: 12 }`, relations: “• Triggers Quest Initiation
• Flows between Quest Givers and the Party” }, Rumor_Intel: { title: “Rumor / Clue / Intel”, layer: “Business”, aspect: “Passive Structure”, archimate: “Business Object”, desc: “Narrative currency: fragments of truth or deception discovered through exploration or interrogation.”, schema: `{ “id”: “intel.secret_tunnel_location”, “validity”: “TRUE”, “source”: “npc.drunk_miner”, “reveals_node”: “network.secret_postern_gate” }`, relations: “• Accesses Dungeon Maps
• Realizes Tactical Advantage (+2 to stealth roll)” }, Statblock_Component: { title: “Statblock / Character Sheet”, layer: “Application”, aspect: “Active Structure”, archimate: “Application Component”, desc: “The programmatic rules engine representation of an actor: ability scores, proficiencies, and saves.”, schema: `{ “id”: “statblock.goblin_skirmisher”, “ac”: 15, “hp_max”: 7, “stats”: { “str”: 8, “dex”: 14, “con”: 10, “int”: 10, “wis”: 8, “cha”: 8 }, “passives”: { “darkvision_ft”: 60, “nimble_escape”: true } }`, relations: “• Realizes Business Actors (NPC / PC)
• Serves Action Execution
• Holds Data Pools (HP, Ki)” }, Spell_Engine: { title: “Spell / Class Feature API”, layer: “Application”, aspect: “Active Structure”, archimate: “Application Interface”, desc: “Exposed functional interface through which an actor channels magic or extraordinary maneuvers.”, schema: `{ “id”: “spell.fireball”, “level”: 3, “school”: “Evocation”, “casting_time”: “1 Action”, “range_ft”: 150, “save_type”: “DEX”, “damage_dice”: “8d6 Fire” }`, relations: “• Triggers Roll Resolution & Area of Effect
• Accesses (consumes) Spell Slots” }, Action_Economy: { title: “Action Economy (Combat Action)”, layer: “Application”, aspect: “Behavior”, archimate: “Application Function”, desc: “The formal cycle of turns in combat: standard actions, bonus actions, reactions, and movement.”, schema: `{ “id”: “action.attack_with_longsword”, “slot_type”: “Standard_Action”, “range”: “5ft”, “target_type”: “Single_Creature”, “bonus_to_hit”: +7 }`, relations: “• Assigned to Statblock Component
• Triggers Roll Resolution Process” }, Resolution_Process: { title: “Roll Resolution Process”, layer: “Application”, aspect: “Behavior”, archimate: “Application Process”, desc: “The mathematical comparison of $d20 + modifiers$ against Target Class / DC.”, schema: `{ “id”: “resolve.attack_vs_ac”, “formula”: “1d20 + atk_bonus >= target.ac”, “critical_success”: 20, “critical_failure”: 1, “on_hit_mutates”: “target.hp_current -= rolled_damage” }`, relations: “• Mutates Data Object (HP / Slots / Condition)
• Influenced by Advantage / Disadvantage” }, Data_Resource: { title: “Mechanic Pool (HP / Spell Slots)”, layer: “Application”, aspect: “Passive Structure”, archimate: “Data Object”, desc: “Numerical pools tracked turn-by-turn during encounters.”, schema: `{ “id”: “pool.hp.pc_fighter”, “current”: 42, “maximum”: 52, “temp_hp”: 8, “hit_dice”: “5d10 [3 remaining]” }`, relations: “• Accessed & Mutated by Damage Resolution
• Triggers Death Saving Throw Process when 0″ }, Condition_State: { title: “Condition / Aura State”, layer: “Application”, aspect: “Passive Structure”, archimate: “Data Object (State Tag)”, desc: “Active status effects altering the rules engine rules for the afflicted actor.”, schema: `{ “id”: “condition.poisoned”, “target_ref”: “actor.pc.rogue”, “modifiers”: { “attack_rolls”: “DISADVANTAGE”, “ability_checks”: “DISADVANTAGE” }, “duration_rounds”: 4 }`, relations: “• Influences Roll Resolution Process
• Accessed by Medicine / Restoration Spells” }, Location_Node: { title: “Dungeon Room / Hex Region”, layer: “Physical”, aspect: “Active Structure”, archimate: “Node / Location”, desc: “Spatial containers where scenes unfold: a single dungeon chamber, a town square, or a wilderness hex.”, schema: `{ “id”: “node.room_04_throne_room”, “dimensions”: “40ft x 60ft”, “lighting”: “Dim (Torches)”, “terrain_type”: “Difficult (Rubble)”, “adjacent_nodes”: [“node.room_03”, “node.room_05”] }`, relations: “• Composed of Traps, Loot Caches, and Furniture
• Houses Active Encounters” }, Mechanism_Device: { title: “Trap / Mechanism Device”, layer: “Physical”, aspect: “Active Structure”, archimate: “Device”, desc: “Physical automated constructs that react to intruders without requiring an NPC actor.”, schema: `{ “id”: “device.poison_dart_trap”, “trigger_mechanism”: “Pressure_Plate_5ft”, “detection_dc”: 14, “disarm_dc”: 15, “attack_bonus”: +8, “poison_condition_ref”: “condition.poisoned” }`, relations: “• Assigned to Hazard Execution
• Triggered by PC Movement Network” }, Environmental_Hazard: { title: “Environmental Hazard Execution”, layer: “Physical”, aspect: “Behavior”, archimate: “Infrastructure Function”, desc: “Ambient physical processes: rising water, collapsing ceilings, toxic fog, or wild magical storms.”, schema: `{ “id”: “hazard.rising_acid”, “rate”: “1 foot per round”, “damage_on_contact”: “3d6 Acid per turn”, “dc_to_climb_out”: 12 }`, relations: “• Realizes Lair Actions
• Triggers Saving Throws” }, Path_Network: { title: “Corridor / Portal Network”, layer: “Physical”, aspect: “Behavior”, archimate: “Communication Network”, desc: “Physical connectors between nodes: doors, portcullises, planar portals, and forest trails.”, schema: `{ “id”: “network.iron_door”, “connects”: [“node.room_02”, “node.room_03”], “state”: “LOCKED”, “pick_lock_dc”: 15, “break_dc”: 20 }`, relations: “• Connects Location Nodes
• Flows Sight, Sound, and Creature Movement” }, Equipment_Artifact: { title: “Item / Weapon / Relic”, layer: “Physical”, aspect: “Passive Structure”, archimate: “Material”, desc: “Physical gear carried by characters or found in the world.”, schema: `{ “id”: “item.sunblade”, “type”: “Magic_Weapon”, “attunement”: true, “damage”: “1d8 Radiant”, “aura_light_radius_ft”: 30, “assigned_holder”: “actor.pc.paladin” }`, relations: “• Realizes Combat Attacks
• Accessed by Inventory Management” }, Loot_Cache: { title: “Loot Cache / Treasure Chest”, layer: “Physical”, aspect: “Passive Structure”, archimate: “Facility / Storage Object”, desc: “Receptacle containing wealth, scrolls, and quest relics.”, schema: `{ “id”: “cache.dragon_hoard_01”, “gold_value”: 4500, “gems”: [“Ruby x3”, “Sapphire x1”], “items”: [“item.potion_healing”, “item.sunblade”], “is_trapped”: true }`, relations: “• Accessed by Looting & Barter Processes
• Composed into Location Nodes” }, Campaign_Arc: { title: “Campaign Arc / Saga Tier”, layer: “Migration”, aspect: “Active Structure”, archimate: “Program / Work Package Umbrella”, desc: “The high-level chronological milestone structure grouping dozens of sessions into narrative sagas.”, schema: `{ “id”: “program.tier_1_bandit_crisis”, “recommended_levels”: “1-4”, “associated_milestones”: [“Clear Redbrand Hideout”, “Defeat Cragmaw Castle”], “current_status”: “ACTIVE” }`, relations: “• Aggregates Session Packages
• Delivers World Plateaus” }, Session_Package: { title: “Session Work Package”, layer: “Migration”, aspect: “Behavior”, archimate: “Work Package”, desc: “A single game session execution unit that mutates state from Plateau $N$ to Plateau $N+1$.”, schema: `{ “id”: “session.024_dungeon_delve”, “scheduled_date”: “2026-11-04”, “encounters_planned”: [“encounter.boss_fight”, “social.hostage_rescue”], “entropy_budget_applied”: true }`, relations: “• Triggers Plateau Transitions
• Realizes Character Milestones & Level-Ups” }, World_Plateau: { title: “World-State Snapshot (Plateau)”, layer: “Migration”, aspect: “Passive Structure”, archimate: “Plateau”, desc: “The immutable snapshot of all entity parameters at a fixed timestamp in the campaign timeline.”, schema: `{ “id”: “plateau.session_24_end”, “timestamp”: “Year 1492 DR, 4th of Uktar”, “active_clocks”: { “clock.volcano”: 4, “scheme.cult”: 2 }, “party_level”: 5, “dead_actors”: [“npc.klarg_bugbear”] }`, relations: “• Baseline for next Session Work Package
• Replaces Previous Plateau” }, Graveyard_Archive: { title: “Graveyard / Resolved Archive”, layer: “Migration”, aspect: “Passive Structure”, archimate: “Deliverable (Archive)”, desc: “Storage for entities whose lifecycle has permanently ceased (slain monsters, dead PCs, burned towns).”, schema: `{ “id”: “archive.fallen_heroes”, “entries”: [ { “actor”: “actor.pc.rogue”, “killed_by”: “trap.acid_pit”, “session”: 12 } ] }`, relations: “• Receives Destroyed Active and Passive Structures via Lifecycle Mutation” } }; function inspect(key) { const data = objectDb[key]; if (!data) return; // Highlight selected card document.querySelectorAll(‘.arch-card’).forEach(c => c.classList.remove(‘selected’)); event.currentTarget.classList.add(‘selected’); document.getElementById(‘insp-title’).innerText = data.title; document.getElementById(‘insp-layer’).innerText = data.layer + ” Layer”; document.getElementById(‘insp-aspect’).innerText = data.aspect; document.getElementById(‘insp-archimate’).innerText = “ArchiMate: ” + data.archimate; document.getElementById(‘insp-desc’).innerText = data.desc; document.getElementById(‘insp-schema’).innerText = data.schema; document.getElementById(‘insp-relations’).innerHTML = data.relations; document.getElementById(‘inspector’).classList.add(‘active’); } function closeInspector() { document.getElementById(‘inspector’).classList.remove(‘active’); document.querySelectorAll(‘.arch-card’).forEach(c => c.classList.remove(‘selected’)); }