{
    "table": "Document_Templates",
    "pk": "TemplateID",
    "total": 28,
    "page": 1,
    "per": 25,
    "pages": 2,
    "filter": [],
    "rows": [
        {
            "TemplateID": 1,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<div class=\"prose\">\n<h1>Congruency v0 &mdash; it executes (2026)</h1><p>Nineteen years after <code>Install.txt</code> said <em>\"this version does not execute\"</em>, you are looking at it execute &mdash; served by PHP&#39;s built-in server, rendered through the original <code>Controller::control()</code> front controller, its custom autoloader, the persistent-object manager, and the &lt;&lt;&lt;tag&gt;&gt;&gt; engine.</p><p>The <code>&lt;title&gt;</code> above was produced by <code>TitleTag</code>, loaded on demand by your tag loader.</p>\n</div>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 2,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<div class=\"prose\">\n<h1>About this resurrection</h1><p>Original code: Steven Peterson, &copy; 2006, GPLv2.</p><p>Running unmodified on a static PHP 8.3 binary. The only concessions: a <code>mysql_*</code>&rarr;SQLite shim, a <code>get_magic_quotes_gpc()</code> stub, and a neutered <code>AutoLoader.php</code> (PHP 8 forbids declaring <code>__autoLoad()</code>). Everything else is 2006 code.</p><p>Click <a href=\"?page=nope\">the broken link</a> to watch the DAO&#39;s \"invalid key\" fallback path fire.</p>\n</div>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 3,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<div class=\"prose\">\n<h1>No such page</h1><p>The <code>DocumentID</code> you asked for isn&#39;t in the database, so <code>DocumentDAO</code> fell back to the <code>\"invalid\"</code> document &mdash; exactly as the 2006 code intended.</p><p><a href=\"?page=catalog\">&larr; back home</a></p>\n</div>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 4,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>congruency, reviewed by congruency</h1><p>This page is served by the very CMS it documents. Everything below the rule is emitted by two components dropped into <code>invocators/tags/dev/</code> and invoked from this document&#39;s stored content with <code>&lt;&lt;&lt;BugDemo&gt;&gt;&gt;</code> and <code>&lt;&lt;&lt;BugReport&gt;&gt;&gt;</code> tags.</p><h2 style=\"font-weight:normal\">Two bugs, running live</h2><p>The tags below don&#39;t <em>describe</em> these bugs &mdash; they execute the real 2006 code and show what happens:</p><<<BugDemo(sqli)>>><<<BugDemo(lifo)>>><h2 style=\"font-weight:normal\">The full catalog</h2><<<BugReport>>><p style=\"margin-top:1rem;font-size:.8rem;color:#777\">Rendered through Controller &rarr; DocumentManager &rarr; Tag_Wrapper::execute_all_tags &rarr; BugReport / BugDemo. Turtles all the way down.</p>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 5,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Admin forms</h1>\n<p>Real forms assembled by the resurrected form builder (<code>FormManager</code> &rarr; <code>StandardForm</code> &rarr; the form elements, read from the <code>forms</code> table, rendered by <code>&lt;&lt;&lt;FormTag&gt;&gt;&gt;</code>). Every submission does real admin work.</p><h2 style=\"font-weight:normal\">New category</h2><p>Add a tag to the category vocabulary that page-tagging draws on.</p><<<FormTag(NewCategoryForm)>>><h2 style=\"font-weight:normal\">Annotate anything</h2><p>Apply a tag to any target &mdash; <code>source</code> / <code>page</code> / <code>doc</code> / <code>ticket</code> &mdash; the general front door to the <a href=\"?page=annotations\">annotations</a> layer.</p><<<FormTag(AnnotateForm)>>>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 10,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Project tickets</h1>\n<p>Live from the unified congruency database (<code>~/.jazz/congruency.sqlite</code>) &mdash; the same file that holds the CMS content, telemetry and gate memories. Rendered through the &lt;&lt;&lt;TicketList&gt;&gt;&gt; tag.</p>\n<<<TicketList>>>\n<hr style='margin:2rem 0;border:none;border-top:1px solid #ccc'>\n<h2 style='font-weight:normal'>Log a ticket</h2>\n<<<FormTag(TicketForm)>>>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 11,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Ticket submitted</h1>\n<<<TicketLogger>>>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 12,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Memories</h1>\n<p>The gate records every routed tool call &mdash; <code>{ts, session, tool, intent}</code> &mdash; into the unified DB. This is that log.</p>\n<<<MemoryList>>>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 13,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Pages</h1>\n<p>Every page in this site, rendered from the Documents table by the <code>&lt;&lt;&lt;PageList&gt;&gt;&gt;</code> tag.</p>\n<<<PageList>>>\n<hr style='margin:2rem 0;border:none;border-top:1px solid #ccc'>\n<h2 style='font-weight:normal'>Browse by category</h2>\n<<<CategoryPages>>>\n<hr style='margin:2rem 0;border:none;border-top:1px solid #ccc'>\n<h2 style='font-weight:normal'>Tag a page into a category</h2>\n<<<FormTag(TagPageForm)>>>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 14,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Tags</h1>\n<p>Every invocator tag under <code>invocators/tags/</code>. Click one to render it, via <code>&lt;&lt;&lt;TagList&gt;&gt;&gt;</code>.</p>\n<<<TagList>>>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 15,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Page tagged</h1>\n<<<TagPageHandler>>>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 90,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Ticket graphs</h1>\n<p>Every ticket as the root of its provenance graph &mdash; goal, patch, approval, runs and (as the ticket-class build lands) mandate, manifestations, guarantees, journey, artifacts and children. Rendered through the &lt;&lt;&lt;TicketGraphList&gt;&gt;&gt; tag.</p>\n<<<TicketGraphList>>>\n</body>\n</html>"
        },
        {
            "TemplateID": 91,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Source tree</h1>\n<p>Browse a registered repo's real source tree, read straight from forge's bare git remote &mdash; directories drill in, files open in a line-numbered blob view. Rendered through the &lt;&lt;&lt;TreeView&gt;&gt;&gt; tag.</p>\n<<<TreeView>>>\n</body>\n</html>"
        },
        {
            "TemplateID": 92,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Repo docs</h1>\n<p>Per-repo documentation &mdash; each repo's <code>docs/</code> and README, ingested and associated with the repo. Rendered through the &lt;&lt;&lt;RepoDocs&gt;&gt;&gt; tag.</p>\n<<<RepoDocs>>>\n</body>\n</html>"
        },
        {
            "TemplateID": 93,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>API reference</h1>\n<p>The documented, standardized API &mdash; every named route in <code>api_routes</code> with its method, declared params and a response shape derived from its SQL, plus the generic <code>?api=&lt;table&gt;</code> CRUD layer and the admin denylist. Rendered through the &lt;&lt;&lt;ApiReference&gt;&gt;&gt; tag.</p>\n<<<ApiReference>>>\n</body>\n</html>"
        },
        {
            "TemplateID": 94,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Semantic search</h1>\n<p>Search the documentation corpus by <em>meaning</em> &mdash; the query is embedded with the local <code>nomic-embed-text</code> model and cosine-ranked against the stored chunk vectors in <code>embeddings</code>. Rendered through the &lt;&lt;&lt;SemanticSearch&gt;&gt;&gt; tag.</p>\n<<<SemanticSearch>>>\n</body>\n</html>"
        },
        {
            "TemplateID": 95,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Forge</h1>\n<p>Reflection of the local forge store (~/bin/config/forge/forge.db) &mdash; the action-log + artifact registry.</p>\n<<<ForgeView>>>\n</body>\n</html>"
        },
        {
            "TemplateID": 96,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Omni-git Explorer</h1>\n<p>Every file across every snapshot (~/bin/config/forge/omni_index.db) &mdash; a file maps to one or more repos at different times.</p>\n<<<OmniExplorer>>>\n</body>\n</html>"
        },
        {
            "TemplateID": 97,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Bug Catalog</h1>\n<p>Congruency&rsquo;s curated bugs (with runnable repros) plus corpus-wide consistent-bug patterns &mdash; one schema, two sources.</p>\n<<<BugCatalog>>>\n</body>\n</html>"
        },
        {
            "TemplateID": 98,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Shadow Forge</h1>\n<p>Per-file test/spec coverage over our actively-developed code (RFC-0030) &mdash; and the deficit backlog: where we lack a test or a spec citation.</p>\n<<<ShadowForge>>>\n</body>\n</html>"
        },
        {
            "TemplateID": 99,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Memory Graph</h1>\n<p>RFC-0031 property graph over the omni corpus, spec-drift, the memory timeline, the shadow-forge, and semantic near-dupes (~/bin/config/forge/mem_graph.db).</p>\n<<<MemGraph>>>\n</body>\n</html>"
        },
        {
            "TemplateID": 100,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Source \u00b7 Congruency</h1>\n<<<SourceList>>>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 101,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Documentation \u00b7 Congruency</h1>\n<<<DocList>>>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 102,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Annotations \u00b7 Congruency</h1>\n<<<Annotations>>>\n</body>\n</html>\n"
        },
        {
            "TemplateID": 103,
            "Content": "<!DOCTYPE html>\n<html>\n<head>\n<<<TitleTag>>>\n<<<Style>>>\n</head>\n<body>\n<nav><<<SiteMap>>></nav>\n<h1>Category created</h1>\n<<<NewCategoryHandler>>>\n</body>\n</html>\n"
        }
    ]
}
