{# INVAR.md Composition Template
   Composes universal protocol + language-specific fragments
   Variables: language (python|typescript)
#}
{% include "protocol/universal/header.md" %}

{% include "protocol/universal/six-laws.md" %}

{% include "protocol/universal/architecture.md" %}

{% if language == "python" %}
{% include "protocol/python/architecture-examples.md" %}
{% elif language == "typescript" %}
{% include "protocol/typescript/architecture-examples.md" %}
{% endif %}

{% if language == "python" %}
{% include "protocol/python/contracts-syntax.md" %}
{% elif language == "typescript" %}
{% include "protocol/typescript/contracts-syntax.md" %}
{% endif %}

{% include "protocol/universal/session.md" %}

{% include "protocol/universal/usbv.md" %}

{% include "protocol/universal/visible-workflow.md" %}

{% include "protocol/universal/completion.md" %}

{% if language == "python" %}
{% include "protocol/python/markers.md" %}
{% elif language == "typescript" %}
{% include "protocol/typescript/markers.md" %}
{% endif %}

{% if language == "python" %}
{% include "protocol/python/tools.md" %}
{% elif language == "typescript" %}
{% include "protocol/typescript/tools.md" %}
{% endif %}

{% if language == "python" %}
{% include "protocol/python/troubleshooting.md" %}
{% elif language == "typescript" %}
{% include "protocol/typescript/troubleshooting.md" %}
{% endif %}

---

*Protocol v5.0 — USBV workflow (DX-32) | [Examples](.invar/examples/)*
