{% if name_chip %}{{ name_chip }}{% endif %}{{ display_name }} {# The old standalone "kind" + "phase" pills were visual noise next to the title (uniform across a computational investigation; the phase just duplicated the gate ladder below). Kind is kept as a data attribute for any consumer; the lifecycle stage is now shown — and highlighted "you are here" — inside the six-gate status row below (gate-current). #}

{# Two-axis study markers — Progress (● Completed) × Verdict (◆ Supported) — lined up inline with the title (filled by _renderStudyAxisMarkers in study-detail.js) so they don't take a separate row above the content. #}
{# Export (figures / notebook) moved OUT of the header into the Overview panel's section toolbar (Phase 4 refinement). The launch actions (↻ Reproduce / ▶ Run current spec / ⚙ Dispatch composite) were moved OUT of the header into the Simulations → Runs subtab (see #sim-run-actions below): they belong with the runs they produce, and they were crowding the top-right corner where the docked investigation graph now parks. The header keeps only the study navigator. #} {# Narrative navigation: jump to the next study along this investigation's leads-to chain. Populated/shown by study-detail.js (_wireNextStudy), which asks the parent investigation view for the next slug; hidden on a terminal study or outside an investigation. #} {# Study navigator: ← prev along the chain, a ⇄ jump menu to any study in the investigation (grouped: this study's parents / what it leads to / all), and next →. Wired by _wireStudyNav; hidden outside an investigation. #}
{# Composite-resolution lint banner (framework-emitters). Surfaced server-side from the live registry via composite_lookup.unresolved_study_composite_refs: any baseline/condition/simulation_set composite ref that doesn't resolve to a registered composite. This is what would have caught the autopoiesis studies 2–4 (numpy-only, no registered composite). Hidden when everything resolves. #} {% if unresolved_composites %} {% endif %} {# v3 detection: any of these fields being present (even as an empty list/dict) means the study was authored against the 8-section / 5-phase schema, and should get the v3 tab set even when the lists haven't been populated yet (e.g. immediately after seeding from a follow-up). #} {% set _is_v3 = study.purpose is defined or study.pipeline_gate is defined or (study.simulation_set is defined and study.simulation_set is not none) or study.behavior_tests is defined or study.follow_up_studies is defined or study.conclusion_logic is defined %} {# Task 4: promoted question headline — the study's purpose.question (v3) or legacy top-level question, surfaced directly above the tab nav so it reads as the study's second line, not buried in an Overview panel. Replaces the removed "Spine at a glance" (#spine-summary) table below. #} {% set _q = (study.purpose.question if study.purpose else none) or study.question %} {% if _q %}

Q {{ _q }}

{% endif %}
{# The Export menu moved OUT of the Overview panel to the top-right of the study tab bar (see the .study-export-wrap in
{# ─── Visualizations tab: all of this study's figures, moved out of Overview into their own tab (loaded when the tab opens). Loaders unchanged (_loadNativeGallery / _loadCharts / _loadRemoteFigures); all element ids preserved (#visualize-section, #native-gallery-panel, #viz-charts-panel, #figures-empty-message) so existing hooks + deep links keep working. #} {# ─── Model tab (Design): composition + Readouts ────────────────────────────── #} {# ─── Simulations tab (Evidence): Runs | Results | Analysis subtabs ────────── Phase 1: the former Results + Analyses tabs are re-homed here as secondary subtabs alongside the runs record. _setSimSubtab (study-detail.js) shows/ hides the three inner panels; dispatch loads all three on tab entry so a subtab switch never shows an empty box. All element ids preserved. #} {# ─── Audit tab (Assurance): Tests ("the bar") first, then readiness gaps + sufficiency + quality + reproducibility + sourcing. Phase 1 folds the former Tests tab in as the first section; all ids preserved (report-cards-panel, tests-list, bt-, audit-readiness, check-group-*). #} {# ─── Decide tab (Decision): verdict + plan & assumptions + evidence rollup ── #}