<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <title>{% if page.title %}{{ page.title }} - {% endif %}AICTX Docs</title>

  <meta
    name="description"
    content="{% if page.description %}{{ page.description }}{% else %}AICTX documentation for operational continuity between AI coding-agent sessions.{% endif %}"
  >

  <meta name="robots" content="index, follow, max-image-preview:large">
  <link rel="canonical" href="{{ site.url }}{{ page.url | replace:'index.html','' }}">

  <link rel="icon" href="/images/aictx-logo.png">
  <link rel="stylesheet" href="/assets/css/docs.css">

  <meta property="og:site_name" content="AICTX">
  <meta property="og:title" content="{% if page.title %}{{ page.title }} - {% endif %}AICTX Docs">
  <meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}Official AICTX documentation for operational continuity between AI coding-agent sessions.{% endif %}">
  <meta property="og:url" content="{{ site.url }}{{ page.url }}">
  <meta property="og:type" content="article">
  <meta property="og:image" content="https://aictx.org/images/aictx-logo.png">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:title" content="{% if page.title %}{{ page.title }} - {% endif %}AICTX Docs">
  <meta name="twitter:description" content="{% if page.description %}{{ page.description }}{% else %}Official AICTX documentation for AI coding-agent operational continuity.{% endif %}">
  <meta name="twitter:image" content="https://aictx.org/images/aictx-logo.png">

  <script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@type": "TechArticle",
    "headline": "{{ page.title | default: site.title }}",
    "description": "{% if page.description %}{{ page.description }}{% else %}AICTX documentation for operational continuity between AI coding-agent sessions.{% endif %}",
    "url": "{{ site.url }}{{ page.url | replace:'index.html','' }}",
    "mainEntityOfPage": "{{ site.url }}{{ page.url | replace:'index.html','' }}",
    "author": {
      "@type": "Person",
      "name": "Santi Santamaria",
      "url": "https://github.com/oldskultxo"
    },
    "publisher": {
      "@type": "Organization",
      "name": "AICTX",
      "url": "https://aictx.org/",
      "logo": {
        "@type": "ImageObject",
        "url": "https://aictx.org/images/aictx-logo.png"
      }
    },
    "about": [
      "AI coding agent continuity",
      "operational continuity",
      "repo-local continuity",
      "execution state",
      "Work State",
      "failure memory",
      "coding-agent handoffs"
    ]
  }
  </script>

  {% assign page_parts = page.url | split: '/' %}
  {% assign breadcrumb_section = page_parts[1] %}
  {% assign breadcrumb_url = site.url | append: page.url | replace:'index.html','' %}
  {% if breadcrumb_section == 'use-cases' %}
    {% assign breadcrumb_section_name = 'Use cases' %}
    {% assign breadcrumb_section_url = site.url | append: '/use-cases/' %}
  {% elsif breadcrumb_section == 'compare' %}
    {% assign breadcrumb_section_name = 'Comparisons' %}
    {% assign breadcrumb_section_url = site.url | append: '/compare/' %}
  {% elsif breadcrumb_section == 'concepts' %}
    {% assign breadcrumb_section_name = 'Concepts' %}
    {% assign breadcrumb_section_url = site.url | append: '/concepts/' %}
  {% elsif breadcrumb_section == 'official' %}
    {% assign breadcrumb_section_name = 'Official AICTX' %}
    {% assign breadcrumb_section_url = site.url | append: '/official/' %}
  {% else %}
    {% assign breadcrumb_section_name = 'Docs' %}
    {% assign breadcrumb_section_url = site.url | append: '/' %}
  {% endif %}
  {% assign is_section_index = false %}
  {% if page.url == '/use-cases/' or page.url == '/compare/' or page.url == '/concepts/' or page.url == '/official/' %}
    {% assign is_section_index = true %}
  {% endif %}
  {% if page.url != '/' %}
  <script type="application/ld+json">
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "{{ site.url }}/"
      }{% if page_parts.size > 2 and is_section_index == false %},
      {
        "@type": "ListItem",
        "position": 2,
        "name": {{ breadcrumb_section_name | jsonify }},
        "item": "{{ breadcrumb_section_url }}"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": {{ page.title | default: site.title | jsonify }},
        "item": "{{ breadcrumb_url }}"
      }{% else %},
      {
        "@type": "ListItem",
        "position": 2,
        "name": {{ page.title | default: site.title | jsonify }},
        "item": "{{ breadcrumb_url }}"
      }{% endif %}
    ]
  }
  </script>
  {% endif %}
</head>

<body>
  <header class="docs-header">
    <div class="docs-header-inner">
      <button
        class="docs-menu-button"
        type="button"
        aria-label="Open documentation menu"
        aria-controls="docs-sidebar"
        aria-expanded="false"
      >
        <span></span>
        <span></span>
        <span></span>
      </button>

      <a class="docs-brand" href="/" aria-label="AICTX home">
        <img src="/images/aictx-logo.png" alt="AICTX">
      </a>

      <nav class="docs-nav" aria-label="Documentation navigation">
        <a href="/">Home</a>
        <a href="/QUICKSTART.html"><span class="nav-label-full">Quickstart</span><span class="nav-label-short">Quick</span></a>
        <a href="/INSTALLATION.html">Install</a>
        <a href="/TECHNICAL_OVERVIEW.html"><span class="nav-label-full">Technical</span><span class="nav-label-short">Tech</span></a>
        <a href="https://github.com/oldskultxo/aictx">GitHub</a>
        <a href="https://pypi.org/project/aictx/">PyPI</a>
      </nav>
    </div>
  </header>

  <main class="docs-shell">
    <aside id="docs-sidebar" class="docs-sidebar" aria-label="Documentation sections">
      <strong>AICTX Docs</strong>

      <span class="docs-sidebar-section">Start</span>
      <a href="/QUICKSTART.html">Quickstart</a>
      <a href="/INSTALLATION.html">Installation</a>
      <a href="/USAGE.html">Usage</a>
      <a href="/DEMO.html">Demo</a>
      <a href="/TECHNICAL_OVERVIEW.html">Technical overview</a>

      <span class="docs-sidebar-section">Operational continuity</span>
      <a href="/CONTINUITY_VIEW.html">Continuity View</a>
      <a href="/WORK_STATE.html">Work State</a>
      <a href="/EXECUTION_CONTRACTS.html">Execution Contracts</a>
      <a href="/EXECUTION_SUMMARY.html">Execution Summary</a>
      <a href="/HANDOFFS.html">Handoffs and Decisions</a>
      <a href="/FAILURE_MEMORY.html">Failure Memory</a>
      <a href="/STRATEGY_MEMORY.html">Strategy Memory</a>
      <a href="/AREA_MEMORY.html">Area Signals</a>
      <a href="/REPOMAP.html">RepoMap</a>

      <a class="docs-sidebar-section" href="/use-cases/">Use cases</a>
      <a href="/use-cases/codex-memory.html">Codex continuity</a>
      <a href="/use-cases/claude-code-memory.html">Claude Code continuity</a>
      <a href="/use-cases/github-copilot-memory.html">GitHub Copilot continuity</a>

      <a class="docs-sidebar-section" href="/compare/">Comparisons</a>
      <a href="/compare/aictx-vs-agents-md.html">AICTX vs AGENTS.md</a>
      <a href="/compare/aictx-vs-long-context.html">AICTX vs long context</a>
      <a href="/compare/aictx-vs-vector-database.html">AICTX vs vector databases</a>
      <a href="/compare/aictx-vs-chat-history.html">AICTX vs chat history</a>

      <a class="docs-sidebar-section" href="/concepts/">Concepts</a>
      <a href="/concepts/operational-memory.html">Operational continuity</a>
      <a href="/concepts/repo-local-memory.html">Repo-local continuity</a>
      <a href="/concepts/ai-coding-agent-memory.html">AI coding-agent memory</a>
      <a href="/concepts/local-memory-for-ai-coding-tools.html">Local memory for AI coding tools</a>
      <a href="/concepts/failure-memory-for-coding-agents.html">Failure memory</a>

      <span class="docs-sidebar-section">Project identity</span>
      <a href="/official/">Official AICTX</a>
      <a href="/OFFICIAL_PROJECT.html">Official project</a>
      <a href="/PORTABILITY.html">Portability</a>
      <a href="/SAFETY.html">Safety</a>
      <a href="/LIMITATIONS.html">Limitations</a>
      <a href="/DOCTOR.html">Doctor diagnostics</a>
      <a href="/CLEANUP.html">Cleanup</a>
      <a href="/UPGRADE.html">Upgrade</a>
    </aside>

    <div class="docs-menu-overlay" data-docs-menu-close></div>

    <article class="docs-content">
      {{ content }}
    </article>
  </main>

  <footer class="docs-footer">
    <p>
      AICTX - Operational continuity for AI coding agents.
    </p>
    <p>
      <a href="https://aictx.org/">Official website</a>
      ·
      <a href="https://github.com/oldskultxo/aictx">GitHub</a>
      ·
      <a href="https://pypi.org/project/aictx/">PyPI</a>
    </p>
  </footer>

  <script>
    (function () {
      var button = document.querySelector('.docs-menu-button');
      var overlay = document.querySelector('.docs-menu-overlay');
      var sidebar = document.querySelector('.docs-sidebar');

      if (!button || !sidebar) return;

      function setOpen(open) {
        document.body.classList.toggle('docs-menu-open', open);
        button.setAttribute('aria-expanded', open ? 'true' : 'false');
        button.setAttribute('aria-label', open ? 'Close documentation menu' : 'Open documentation menu');
      }

      button.addEventListener('click', function () {
        setOpen(!document.body.classList.contains('docs-menu-open'));
      });

      if (overlay) {
        overlay.addEventListener('click', function () {
          setOpen(false);
        });
      }

      sidebar.addEventListener('click', function (event) {
        if (event.target && event.target.tagName === 'A') {
          setOpen(false);
        }
      });

      document.addEventListener('keydown', function (event) {
        if (event.key === 'Escape') {
          setOpen(false);
        }
      });
    }());
  </script>
</body>
</html>
