archsutra-ai 0.1.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +56 -6
- package/README.md +84 -12
- package/dist/audit.js +125 -44
- package/dist/cli.js +184 -96
- package/dist/drift.js +29 -15
- package/dist/fsutil.js +117 -20
- package/dist/history.js +40 -0
- package/dist/html.js +10 -8
- package/dist/map.js +26 -5
- package/dist/mcp.js +70 -55
- package/dist/redact.js +24 -11
- package/dist/report.js +69 -19
- package/dist/rules-extra.js +59 -0
- package/dist/secret-patterns.js +69 -0
- package/dist/suppress.js +31 -19
- package/dist/verify.js +2 -2
- package/dist/write.js +71 -0
- package/docs/architecture/overview.html +29 -12
- package/docs/architecture/overview.md +2 -2
- package/docs/architecture/threat-model.html +28 -11
- package/docs/assets/charts/coverage-dark.svg +11 -0
- package/docs/assets/charts/coverage.svg +11 -0
- package/docs/assets/charts/finding-anatomy-dark.svg +20 -0
- package/docs/assets/charts/finding-anatomy.svg +20 -0
- package/docs/assets/charts/pipeline-dark.svg +13 -0
- package/docs/assets/charts/pipeline.svg +13 -0
- package/docs/assets/charts/precision-by-batch-dark.svg +12 -0
- package/docs/assets/charts/precision-by-batch.svg +12 -0
- package/docs/assets/charts/precision-by-rule-dark.svg +12 -0
- package/docs/assets/charts/precision-by-rule.svg +12 -0
- package/docs/assets/charts/sample-findings-by-severity-dark.svg +11 -0
- package/docs/assets/charts/sample-findings-by-severity.svg +11 -0
- package/docs/assets/charts/scan-time-dark.svg +11 -0
- package/docs/assets/charts/scan-time.svg +11 -0
- package/docs/assets/site.css +259 -138
- package/docs/assets/site.js +92 -6
- package/docs/community/good-first-issues.html +28 -11
- package/docs/compatibility/matrix.html +28 -11
- package/docs/compatibility/smoke-tests/index.html +28 -11
- package/docs/decisions/ADR-0001-deterministic-cli-plus-ide-skills.html +28 -11
- package/docs/guides/cheat-sheet.html +100 -0
- package/docs/guides/cheat-sheet.md +146 -0
- package/docs/guides/ci-recipes.html +170 -0
- package/docs/guides/ci-recipes.md +176 -0
- package/docs/guides/evidence-at-a-glance.html +93 -0
- package/docs/guides/evidence-at-a-glance.md +65 -0
- package/docs/guides/getting-started.html +151 -0
- package/docs/guides/getting-started.md +160 -0
- package/docs/guides/how-it-works.html +161 -0
- package/docs/guides/how-it-works.md +148 -0
- package/docs/guides/mcp-server.html +99 -0
- package/docs/guides/mcp-server.md +81 -0
- package/docs/guides/reading-a-report.html +119 -0
- package/docs/guides/reading-a-report.md +111 -0
- package/docs/guides/real-world-scenarios.html +287 -0
- package/docs/guides/real-world-scenarios.md +377 -0
- package/docs/handbook/01-executive-summary.html +30 -13
- package/docs/handbook/01-executive-summary.md +2 -2
- package/docs/handbook/02-functional-specification.html +30 -13
- package/docs/handbook/02-functional-specification.md +3 -3
- package/docs/handbook/03-technical-specification.html +31 -14
- package/docs/handbook/03-technical-specification.md +3 -3
- package/docs/handbook/04-architecture.html +29 -12
- package/docs/handbook/04-architecture.md +1 -1
- package/docs/handbook/05-user-guide.html +33 -15
- package/docs/handbook/05-user-guide.md +5 -4
- package/docs/handbook/06-cli-reference.html +52 -16
- package/docs/handbook/06-cli-reference.md +47 -4
- package/docs/handbook/07-security-privacy-legal.html +31 -12
- package/docs/handbook/07-security-privacy-legal.md +4 -0
- package/docs/handbook/08-testing-and-proof.html +32 -15
- package/docs/handbook/08-testing-and-proof.md +4 -4
- package/docs/handbook/09-compatibility-and-roadmap.html +29 -12
- package/docs/handbook/09-compatibility-and-roadmap.md +3 -2
- package/docs/handbook/10-contributor-guide.html +29 -12
- package/docs/handbook/10-contributor-guide.md +1 -1
- package/docs/handbook/11-glossary-and-faq.html +34 -13
- package/docs/handbook/11-glossary-and-faq.md +7 -1
- package/docs/handbook/12-rule-catalog.html +59 -19
- package/docs/handbook/12-rule-catalog.md +62 -5
- package/docs/handbook/13-trust-and-assurance.html +29 -12
- package/docs/handbook/13-trust-and-assurance.md +1 -1
- package/docs/handbook/14-real-world-evaluation.html +28 -11
- package/docs/handbook/15-supply-chain-and-release.html +28 -11
- package/docs/handbook/16-performance-and-quality-metrics.html +28 -11
- package/docs/handbook/16-performance-and-quality-metrics.md +1 -1
- package/docs/handbook/README.md +4 -2
- package/docs/handbook/index.html +31 -13
- package/docs/index.html +101 -51
- package/docs/legal/legal-review-brief.html +28 -11
- package/docs/legal/trademark-and-name-clearance.html +28 -11
- package/docs/proof/accessibility.html +28 -11
- package/docs/proof/benchmarks.json +9 -9
- package/docs/proof/benchmarks.md +4 -4
- package/docs/proof/test-results.txt +56 -40
- package/docs/rfc/0001-archsutra-v0.1.html +28 -11
- package/docs/sample-report/architecture-register.json +46 -0
- package/docs/sample-report/audit-report.html +123 -0
- package/docs/sample-report/audit-report.md +314 -0
- package/docs/sample-report/current-state.html +77 -0
- package/docs/sample-report/current-state.md +51 -0
- package/docs/sample-report/findings.json +478 -0
- package/docs/sample-report/findings.sarif +754 -0
- package/docs/sample-report/index.html +57 -0
- package/docs/sample-report/overview.md +11 -0
- package/docs/search-index.json +1 -0
- package/docs/sitemap.xml +39 -28
- package/llms.txt +11 -2
- package/package.json +3 -2
- package/schemas/findings.schema.json +4 -3
- package/skills/architecture-audit/SKILL.md +2 -2
- package/skills/architecture-audit/references/report-template.md +1 -1
- package/skills/architecture-verification/references/fitness-functions.md +1 -1
package/docs/handbook/index.html
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
<meta name="description" content="Start here. Map of every document, who it is for, and the facts that never change.">
|
|
8
8
|
<link rel="canonical" href="https://shahvatsalofficial.github.io/archsutra-ai/handbook/">
|
|
9
9
|
<meta name="color-scheme" content="light dark">
|
|
10
|
+
<meta name="theme-color" content="#ffffff">
|
|
10
11
|
<meta property="og:type" content="article">
|
|
11
12
|
<meta property="og:title" content="ArchSutra AI Handbook | ArchSutra AI">
|
|
12
13
|
<meta property="og:description" content="Start here. Map of every document, who it is for, and the facts that never change.">
|
|
@@ -18,40 +19,57 @@
|
|
|
18
19
|
<meta name="author" content="Vatsal Shah">
|
|
19
20
|
<link rel="icon" href="../assets/favicon.svg" type="image/svg+xml">
|
|
20
21
|
<link rel="stylesheet" href="../assets/site.css">
|
|
21
|
-
<script>try{
|
|
22
|
+
<script>try{if(localStorage.getItem('as-theme')==='dark')document.documentElement.setAttribute('data-theme','dark')}catch(e){}</script>
|
|
22
23
|
<script type="application/ld+json">{"@context":"https://schema.org","@type":"TechArticle","headline":"ArchSutra AI Handbook","description":"Start here. Map of every document, who it is for, and the facts that never change.","author":{"@type":"Person","name":"Vatsal Shah","url":"https://shahvatsal.com"},"inLanguage":"en","isPartOf":{"@type":"WebSite","name":"ArchSutra AI","url":"https://shahvatsalofficial.github.io/archsutra-ai"}}</script>
|
|
23
24
|
</head>
|
|
24
|
-
<body class="doc">
|
|
25
|
+
<body class="doc" data-root="../">
|
|
25
26
|
<a class="skip" href="#main">Skip to content</a>
|
|
26
27
|
<header class="topbar">
|
|
27
28
|
<div class="topbar-inner">
|
|
28
|
-
<
|
|
29
|
-
<
|
|
30
|
-
<
|
|
31
|
-
<
|
|
29
|
+
<a class="brand" href="../index.html" aria-label="ArchSutra AI home"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a>
|
|
30
|
+
<nav class="top-links" aria-label="Primary"><a href="../guides/getting-started.html">Get started</a><a href="../guides/real-world-scenarios.html">Scenarios</a><a href="../handbook/index.html" aria-current="true">Handbook</a><a href="../guides/evidence-at-a-glance.html">Proof</a></nav>
|
|
31
|
+
<span class="spacer"></span>
|
|
32
|
+
<div class="search" role="search"><label class="sr-only" for="q">Search the documentation</label><input id="q" type="search" placeholder="Search docs ( / )" autocomplete="off" aria-controls="results" aria-expanded="false"><ul id="results" class="results" role="listbox" hidden></ul></div>
|
|
33
|
+
<a class="gh-btn" href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 19c-4.3 1.4-4.3-2.5-6-3m12 5v-3.5c0-1 .1-1.4-.5-2 2.8-.3 5.5-1.4 5.5-6a4.6 4.6 0 0 0-1.3-3.2 4.2 4.2 0 0 0-.1-3.2s-1.1-.3-3.5 1.3a12 12 0 0 0-6.2 0C6.5 2.8 5.4 3.1 5.4 3.1a4.2 4.2 0 0 0-.1 3.2A4.6 4.6 0 0 0 4 9.5c0 4.6 2.7 5.7 5.5 6-.6.6-.6 1.2-.5 2V21"/></svg><span>GitHub</span></a>
|
|
34
|
+
<button class="icon-btn theme-btn" type="button" aria-label="Switch between light and dark theme"><span class="sun"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg></span><span class="moon"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z"/></svg></span></button>
|
|
35
|
+
<button class="icon-btn menu-btn" type="button" aria-label="Open menu" aria-expanded="false" aria-controls="drawer"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h16M4 12h16M4 17h16"/></svg></button>
|
|
32
36
|
</div>
|
|
33
37
|
</header>
|
|
38
|
+
<div id="drawer" class="drawer" aria-hidden="true">
|
|
39
|
+
<div class="drawer-scrim" data-close></div>
|
|
40
|
+
<div class="drawer-panel" role="dialog" aria-label="Menu">
|
|
41
|
+
<div class="drawer-head"><a class="brand" href="../index.html"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a><button class="icon-btn" type="button" data-close aria-label="Close menu"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div>
|
|
42
|
+
<div class="primary-links"><a href="../index.html">Home</a><a href="../guides/getting-started.html">Get started</a><a href="../guides/real-world-scenarios.html">Scenarios</a><a href="../handbook/index.html">Handbook</a><a href="../guides/evidence-at-a-glance.html">Proof</a><a href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener">GitHub</a></div>
|
|
43
|
+
<div class="nav-group"><p class="nav-title">Start here</p><ul><li><a href="../guides/getting-started.html">Get started in 5 minutes</a></li><li><a href="../guides/real-world-scenarios.html">Real-world scenarios</a></li><li><a href="../guides/how-it-works.html">How it works, in pictures</a></li><li><a href="../guides/reading-a-report.html">Reading and triaging a report</a></li><li><a href="../guides/ci-recipes.html">CI recipes</a></li><li><a href="../guides/mcp-server.html">Use ArchSutra as an MCP server</a></li><li><a href="../guides/cheat-sheet.html">Cheat sheet</a></li><li><a href="../guides/evidence-at-a-glance.html">Evidence at a glance</a></li></ul></div><div class="nav-group"><p class="nav-title">Handbook</p><ul><li><a href="../handbook/index.html" aria-current="page">Overview</a></li><li><a href="../handbook/01-executive-summary.html">Executive summary</a></li><li><a href="../handbook/02-functional-specification.html">Functional specification</a></li><li><a href="../handbook/03-technical-specification.html">Technical specification</a></li><li><a href="../handbook/04-architecture.html">Architecture</a></li><li><a href="../handbook/05-user-guide.html">User guide</a></li><li><a href="../handbook/06-cli-reference.html">CLI reference</a></li><li><a href="../handbook/07-security-privacy-legal.html">Security, privacy and legal</a></li><li><a href="../handbook/08-testing-and-proof.html">Testing and proof</a></li><li><a href="../handbook/09-compatibility-and-roadmap.html">Compatibility and roadmap</a></li><li><a href="../handbook/10-contributor-guide.html">Contributor guide</a></li><li><a href="../handbook/11-glossary-and-faq.html">Glossary and FAQ</a></li><li><a href="../handbook/12-rule-catalog.html">Audit rule catalog</a></li><li><a href="../handbook/13-trust-and-assurance.html">Trust and assurance</a></li><li><a href="../handbook/14-real-world-evaluation.html">Real-world evaluation</a></li><li><a href="../handbook/15-supply-chain-and-release.html">Supply chain and release</a></li><li><a href="../handbook/16-performance-and-quality-metrics.html">Performance and quality metrics</a></li></ul></div><div class="nav-group"><p class="nav-title">Reference</p><ul><li><a href="../architecture/overview.html">Architecture overview</a></li><li><a href="../architecture/threat-model.html">Threat model (ArchSutra CLI and skills)</a></li><li><a href="../compatibility/matrix.html">Compatibility matrix</a></li><li><a href="../rfc/0001-archsutra-v0.1.html">RFC 0001: ArchSutra AI v0.1</a></li><li><a href="../decisions/ADR-0001-deterministic-cli-plus-ide-skills.html">ADR-0001: Deterministic CLI plus IDE-native skills</a></li><li><a href="../compatibility/smoke-tests/index.html">Live smoke tests</a></li><li><a href="../community/good-first-issues.html">Good first issues (ready to file)</a></li><li><a href="../legal/trademark-and-name-clearance.html">Name and trademark clearance</a></li><li><a href="../legal/legal-review-brief.html">Legal review brief</a></li><li><a href="../proof/accessibility.html">Accessibility audit of the documentation site</a></li></ul></div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
34
46
|
<div class="layout">
|
|
35
|
-
<aside id="sidebar" class="sidebar" aria-label="Documentation"><div class="nav-group"><p class="nav-title">Handbook</p><ul><li><a href="../handbook/index.html" aria-current="page">Overview</a></li><li><a href="../handbook/01-executive-summary.html">Executive summary</a></li><li><a href="../handbook/02-functional-specification.html">Functional specification</a></li><li><a href="../handbook/03-technical-specification.html">Technical specification</a></li><li><a href="../handbook/04-architecture.html">Architecture</a></li><li><a href="../handbook/05-user-guide.html">User guide</a></li><li><a href="../handbook/06-cli-reference.html">CLI reference</a></li><li><a href="../handbook/07-security-privacy-legal.html">Security, privacy and legal</a></li><li><a href="../handbook/08-testing-and-proof.html">Testing and proof</a></li><li><a href="../handbook/09-compatibility-and-roadmap.html">Compatibility and roadmap</a></li><li><a href="../handbook/10-contributor-guide.html">Contributor guide</a></li><li><a href="../handbook/11-glossary-and-faq.html">Glossary and FAQ</a></li><li><a href="../handbook/12-rule-catalog.html">Audit rule catalog</a></li><li><a href="../handbook/13-trust-and-assurance.html">Trust and assurance</a></li><li><a href="../handbook/14-real-world-evaluation.html">Real-world evaluation</a></li><li><a href="../handbook/15-supply-chain-and-release.html">Supply chain and release</a></li><li><a href="../handbook/16-performance-and-quality-metrics.html">Performance and quality metrics</a></li></ul></div><div class="nav-group"><p class="nav-title">Reference</p><ul><li><a href="../architecture/overview.html">Architecture overview</a></li><li><a href="../architecture/threat-model.html">Threat model (ArchSutra CLI and skills)</a></li><li><a href="../compatibility/matrix.html">Compatibility matrix</a></li><li><a href="../rfc/0001-archsutra-v0.1.html">RFC 0001: ArchSutra AI v0.1</a></li><li><a href="../decisions/ADR-0001-deterministic-cli-plus-ide-skills.html">ADR-0001: Deterministic CLI plus IDE-native skills</a></li><li><a href="../compatibility/smoke-tests/index.html">Live smoke tests</a></li><li><a href="../community/good-first-issues.html">Good first issues (ready to file)</a></li><li><a href="../legal/trademark-and-name-clearance.html">Name and trademark clearance</a></li><li><a href="../legal/legal-review-brief.html">Legal review brief</a></li><li><a href="../proof/accessibility.html">Accessibility audit of the documentation site</a></li></ul></div></aside>
|
|
47
|
+
<aside id="sidebar" class="sidebar" aria-label="Documentation"><div class="nav-group"><p class="nav-title">Start here</p><ul><li><a href="../guides/getting-started.html">Get started in 5 minutes</a></li><li><a href="../guides/real-world-scenarios.html">Real-world scenarios</a></li><li><a href="../guides/how-it-works.html">How it works, in pictures</a></li><li><a href="../guides/reading-a-report.html">Reading and triaging a report</a></li><li><a href="../guides/ci-recipes.html">CI recipes</a></li><li><a href="../guides/mcp-server.html">Use ArchSutra as an MCP server</a></li><li><a href="../guides/cheat-sheet.html">Cheat sheet</a></li><li><a href="../guides/evidence-at-a-glance.html">Evidence at a glance</a></li></ul></div><div class="nav-group"><p class="nav-title">Handbook</p><ul><li><a href="../handbook/index.html" aria-current="page">Overview</a></li><li><a href="../handbook/01-executive-summary.html">Executive summary</a></li><li><a href="../handbook/02-functional-specification.html">Functional specification</a></li><li><a href="../handbook/03-technical-specification.html">Technical specification</a></li><li><a href="../handbook/04-architecture.html">Architecture</a></li><li><a href="../handbook/05-user-guide.html">User guide</a></li><li><a href="../handbook/06-cli-reference.html">CLI reference</a></li><li><a href="../handbook/07-security-privacy-legal.html">Security, privacy and legal</a></li><li><a href="../handbook/08-testing-and-proof.html">Testing and proof</a></li><li><a href="../handbook/09-compatibility-and-roadmap.html">Compatibility and roadmap</a></li><li><a href="../handbook/10-contributor-guide.html">Contributor guide</a></li><li><a href="../handbook/11-glossary-and-faq.html">Glossary and FAQ</a></li><li><a href="../handbook/12-rule-catalog.html">Audit rule catalog</a></li><li><a href="../handbook/13-trust-and-assurance.html">Trust and assurance</a></li><li><a href="../handbook/14-real-world-evaluation.html">Real-world evaluation</a></li><li><a href="../handbook/15-supply-chain-and-release.html">Supply chain and release</a></li><li><a href="../handbook/16-performance-and-quality-metrics.html">Performance and quality metrics</a></li></ul></div><div class="nav-group"><p class="nav-title">Reference</p><ul><li><a href="../architecture/overview.html">Architecture overview</a></li><li><a href="../architecture/threat-model.html">Threat model (ArchSutra CLI and skills)</a></li><li><a href="../compatibility/matrix.html">Compatibility matrix</a></li><li><a href="../rfc/0001-archsutra-v0.1.html">RFC 0001: ArchSutra AI v0.1</a></li><li><a href="../decisions/ADR-0001-deterministic-cli-plus-ide-skills.html">ADR-0001: Deterministic CLI plus IDE-native skills</a></li><li><a href="../compatibility/smoke-tests/index.html">Live smoke tests</a></li><li><a href="../community/good-first-issues.html">Good first issues (ready to file)</a></li><li><a href="../legal/trademark-and-name-clearance.html">Name and trademark clearance</a></li><li><a href="../legal/legal-review-brief.html">Legal review brief</a></li><li><a href="../proof/accessibility.html">Accessibility audit of the documentation site</a></li></ul></div></aside>
|
|
36
48
|
<main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Handbook</p><h1 id="archsutra-ai-handbook">ArchSutra AI Handbook</h1>
|
|
37
|
-
<p class="lede">Start here. Map of every document, who it is for, and the facts that never change.</p><p class="meta">Version 0.
|
|
38
|
-
<p>This handbook is the complete reference for <strong>ArchSutra AI</strong> (v0.
|
|
49
|
+
<p class="lede">Start here. Map of every document, who it is for, and the facts that never change.</p><p class="meta">Version 0.2.0 · Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/README.md" rel="noopener">docs/handbook/README.md</a></p>
|
|
50
|
+
<p>This handbook is the complete reference for <strong>ArchSutra AI</strong> (v0.2.0): what it is, what it does, how it is built, how to use it, how far you can trust it, and where it is going. It is written so that a new engineer, an executive, an auditor, or a future maintainer can understand the whole system without asking anyone.</p>
|
|
39
51
|
<blockquote><strong>One-sentence summary.</strong> ArchSutra AI is an open-source set of portable Agent Skills and a deterministic, offline CLI that give AI coding assistants (Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI) an evidence-first way to design, audit, threat-model and modernize software architecture, with no extra API key.</blockquote>
|
|
52
|
+
<blockquote><strong>New here?</strong> Start with <a href="../guides/getting-started.html">Get started in 5 minutes</a>, then pick a story in <a href="../guides/real-world-scenarios.html">Real-world scenarios</a>. The handbook below is the complete reference.</blockquote>
|
|
40
53
|
<h2 id="choose-your-path">Choose your path<a class="anchor" href="#choose-your-path" aria-label="Link to this section">#</a></h2>
|
|
41
54
|
<div class="table-wrap" tabindex="0" role="region" aria-label="Table 1: Choose your path"><table><thead><tr><th scope="col">You are</th><th scope="col">Read first</th><th scope="col">Then</th></tr></thead><tbody><tr><td>Executive or sponsor</td><td><a href="01-executive-summary.html">Executive summary</a></td><td><a href="13-trust-and-assurance.html">Trust and assurance</a>, <a href="07-security-privacy-legal.html">Security, privacy and legal</a>, <a href="09-compatibility-and-roadmap.html">Roadmap</a></td></tr><tr><td>Product or functional owner</td><td><a href="02-functional-specification.html">Functional specification</a></td><td><a href="05-user-guide.html">User guide</a></td></tr><tr><td>Architect</td><td><a href="04-architecture.html">Architecture</a></td><td><a href="03-technical-specification.html">Technical specification</a>, <a href="../decisions/ADR-0001-deterministic-cli-plus-ide-skills.html">ADRs</a></td></tr><tr><td>Developer or contributor</td><td><a href="03-technical-specification.html">Technical specification</a></td><td><a href="10-contributor-guide.html">Contributor guide</a>, <a href="06-cli-reference.html">CLI reference</a></td></tr><tr><td>User of the tool</td><td><a href="05-user-guide.html">User guide</a></td><td><a href="06-cli-reference.html">CLI reference</a>, <a href="11-glossary-and-faq.html">FAQ</a></td></tr><tr><td>Security reviewer or auditor</td><td><a href="13-trust-and-assurance.html">Trust and assurance</a></td><td><a href="14-real-world-evaluation.html">Real-world evaluation</a>, <a href="07-security-privacy-legal.html">Security, privacy and legal</a>, <a href="15-supply-chain-and-release.html">Supply chain</a>, <a href="../architecture/threat-model.html">Threat model</a></td></tr><tr><td>Lawyer</td><td><a href="../legal/legal-review-brief.html">Legal review brief</a></td><td><a href="../legal/trademark-and-name-clearance.html">Name clearance</a>, <a href="07-security-privacy-legal.html">Security, privacy and legal</a></td></tr></tbody></table></div>
|
|
42
55
|
<h2 id="document-list">Document list<a class="anchor" href="#document-list" aria-label="Link to this section">#</a></h2>
|
|
43
56
|
<div class="table-wrap" tabindex="0" role="region" aria-label="Table 2: Document list"><table><thead><tr><th scope="col">#</th><th scope="col">Document</th><th scope="col">Purpose</th></tr></thead><tbody><tr><td>01</td><td><a href="01-executive-summary.html">Executive summary</a></td><td>Problem, solution, value, risks, decisions needed</td></tr><tr><td>02</td><td><a href="02-functional-specification.html">Functional specification</a></td><td>What the system does, requirement by requirement</td></tr><tr><td>03</td><td><a href="03-technical-specification.html">Technical specification</a></td><td>How it is built: modules, data structures, algorithms, limits</td></tr><tr><td>04</td><td><a href="04-architecture.html">Architecture</a></td><td>C4 views, data flow, trust boundaries, decisions, quality attributes</td></tr><tr><td>05</td><td><a href="05-user-guide.html">User guide</a></td><td>Install, first audit, workflows, CI use, troubleshooting</td></tr><tr><td>06</td><td><a href="06-cli-reference.html">CLI reference</a></td><td>Every command, flag, exit code, output file and schema</td></tr><tr><td>07</td><td><a href="07-security-privacy-legal.html">Security, privacy and legal</a></td><td>Security model, privacy, licensing, trademarks, disclaimers</td></tr><tr><td>08</td><td><a href="08-testing-and-proof.html">Testing and proof</a></td><td>Test results, CI evidence, sample outputs, fixtures</td></tr><tr><td>09</td><td><a href="09-compatibility-and-roadmap.html">Compatibility and roadmap</a></td><td>Host matrix, verification status, milestones</td></tr><tr><td>10</td><td><a href="10-contributor-guide.html">Contributor guide</a></td><td>Add rules, agents, adapters; release process</td></tr><tr><td>11</td><td><a href="11-glossary-and-faq.html">Glossary and FAQ</a></td><td>Terms and the questions people ask most</td></tr><tr><td>12</td><td><a href="12-rule-catalog.html">Audit rule catalog</a></td><td>Every rule: what it detects, why, limits, fix</td></tr><tr><td>13</td><td><a href="13-trust-and-assurance.html">Trust and assurance</a></td><td>The register of every trust gap and its honest status</td></tr><tr><td>14</td><td><a href="14-real-world-evaluation.html">Real-world evaluation</a></td><td>Precision measured on 52 public repositories</td></tr><tr><td>15</td><td><a href="15-supply-chain-and-release.html">Supply chain and release</a></td><td>SBOM, provenance, pinning, release and verification steps</td></tr><tr><td>16</td><td><a href="16-performance-and-quality-metrics.html">Performance and quality metrics</a></td><td>Speed, memory, coverage, robustness</td></tr></tbody></table></div>
|
|
44
57
|
<p>Also: <a href="../compatibility/smoke-tests/index.html">Live smoke tests</a>, <a href="../proof/accessibility.html">Accessibility audit</a>, <a href="../community/good-first-issues.html">Good first issues</a>, <a href="../legal/trademark-and-name-clearance.html">Name clearance</a>, <a href="../legal/legal-review-brief.html">Legal review brief</a>.</p>
|
|
45
58
|
<h2 id="facts-at-a-glance">Facts at a glance<a class="anchor" href="#facts-at-a-glance" aria-label="Link to this section">#</a></h2>
|
|
46
|
-
<div class="table-wrap" tabindex="0" role="region" aria-label="Table 3: Facts at a glance"><table><thead><tr><th scope="col">Item</th><th scope="col">Value</th></tr></thead><tbody><tr><td>Version</td><td>0.
|
|
59
|
+
<div class="table-wrap" tabindex="0" role="region" aria-label="Table 3: Facts at a glance"><table><thead><tr><th scope="col">Item</th><th scope="col">Value</th></tr></thead><tbody><tr><td>Version</td><td>0.2.0</td></tr><tr><td>Creator</td><td><a href="https://shahvatsal.com" rel="noopener">Vatsal Shah</a></td></tr><tr><td>License</td><td>Apache-2.0</td></tr><tr><td>Language / runtime</td><td>TypeScript (strict, ESM), Node.js 20+</td></tr><tr><td>Runtime dependencies</td><td>0</td></tr><tr><td>Skills / agents</td><td>5 skills, 12 agent roles</td></tr><tr><td>Audit rules</td><td>19</td></tr><tr><td>Automated tests</td><td>31</td></tr><tr><td>Test coverage</td><td>92% lines, 81% branches, 91% functions</td></tr><tr><td>CI</td><td>Ubuntu and Windows (Node 20, 22, 24), Ubuntu on newest Node; CodeQL; DCO check. macOS is not in CI</td></tr><tr><td>Real-world evaluation</td><td>52 repositories, 98 labeled findings; precision 50% (baseline), 69% and 95% (unseen batches)</td></tr><tr><td>Network use by the CLI</td><td>none</td></tr><tr><td>Model calls by the CLI</td><td>none</td></tr><tr><td>Repository</td><td><a href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener">https://github.com/shahvatsalofficial/archsutra-ai</a></td></tr></tbody></table></div>
|
|
47
60
|
<h2 id="honesty-policy">Honesty policy<a class="anchor" href="#honesty-policy" aria-label="Link to this section">#</a></h2>
|
|
48
|
-
<p>Every statement in this handbook is one of: <strong>implemented and tested</strong>, <strong>implemented but not yet verified in a live host</strong>, or <strong>planned</strong>. Where a claim is not verified it says so. If you find a statement that is not true, open an issue; that is a bug.</p></article></main>
|
|
61
|
+
<p>Every statement in this handbook is one of: <strong>implemented and tested</strong>, <strong>implemented but not yet verified in a live host</strong>, or <strong>planned</strong>. Where a claim is not verified it says so. If you find a statement that is not true, open an issue; that is a bug.</p></article><nav class="pn" aria-label="Previous and next page"><span></span><a class="next" href="01-executive-summary.html"><small>Next</small><span>Executive summary</span></a></nav><p class="edit"><a href="https://github.com/shahvatsalofficial/archsutra-ai/edit/main/docs/handbook/README.md" rel="noopener">Edit this page on GitHub</a></p></main>
|
|
49
62
|
<aside class="rail"><nav class="toc" aria-label="On this page"><p class="nav-title">On this page</p><ul><li class="l2"><a href="#choose-your-path">Choose your path</a></li><li class="l2"><a href="#document-list">Document list</a></li><li class="l2"><a href="#facts-at-a-glance">Facts at a glance</a></li><li class="l2"><a href="#honesty-policy">Honesty policy</a></li></ul></nav></aside>
|
|
50
63
|
</div>
|
|
51
64
|
<footer class="footer">
|
|
52
65
|
<div class="footer-inner">
|
|
53
|
-
<
|
|
54
|
-
|
|
66
|
+
<div class="footer-grid">
|
|
67
|
+
<div class="about-col"><a class="brand" href="../index.html"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a><p class="about">Design. Audit. Evolve. An open-source, evidence-first software architecture agent. Created by <a href="https://shahvatsal.com" rel="noopener">Vatsal Shah</a>. Apache-2.0.</p></div>
|
|
68
|
+
<div><h4>Learn</h4><ul><li><a href="../guides/getting-started.html">Get started</a></li><li><a href="../guides/real-world-scenarios.html">Real-world scenarios</a></li><li><a href="../guides/how-it-works.html">How it works</a></li><li><a href="../guides/cheat-sheet.html">Cheat sheet</a></li></ul></div>
|
|
69
|
+
<div><h4>Trust</h4><ul><li><a href="../guides/evidence-at-a-glance.html">Evidence at a glance</a></li><li><a href="../handbook/13-trust-and-assurance.html">Honesty register</a></li><li><a href="../handbook/07-security-privacy-legal.html">Security and legal</a></li><li><a href="../handbook/15-supply-chain-and-release.html">Supply chain</a></li></ul></div>
|
|
70
|
+
<div><h4>Project</h4><ul><li><a href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener">GitHub</a></li><li><a href="https://www.npmjs.com/package/archsutra-ai" rel="noopener">npm</a></li><li><a href="../handbook/10-contributor-guide.html">Contribute</a></li><li><a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/CHANGELOG.md" rel="noopener">Changelog</a></li></ul></div>
|
|
71
|
+
</div>
|
|
72
|
+
<p class="fine">v0.2.0. Review aid only. Not a certification, compliance attestation, security guarantee or legal advice. Not affiliated with Anthropic, OpenAI, Cursor, GitHub or Google; product names belong to their owners. <a href="../handbook/07-security-privacy-legal.html">Legal details</a>.</p>
|
|
55
73
|
</div>
|
|
56
74
|
</footer>
|
|
57
75
|
<script src="../assets/site.js" type="module"></script>
|
package/docs/index.html
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
<meta name="description" content="Open-source software architecture agent: audit, design, threat-model and modernize with file-and-line evidence. Agent Skills plus an offline CLI. No extra API key. Apache-2.0.">
|
|
8
8
|
<link rel="canonical" href="https://shahvatsalofficial.github.io/archsutra-ai/">
|
|
9
9
|
<meta name="color-scheme" content="light dark">
|
|
10
|
+
<meta name="theme-color" content="#ffffff">
|
|
10
11
|
<meta property="og:type" content="website">
|
|
11
12
|
<meta property="og:title" content="ArchSutra AI - Software Architecture Audit Agent for Claude Code, Cursor, Codex, Copilot & Gemini CLI">
|
|
12
13
|
<meta property="og:description" content="Open-source software architecture agent: audit, design, threat-model and modernize with file-and-line evidence. Agent Skills plus an offline CLI. No extra API key. Apache-2.0.">
|
|
@@ -18,66 +19,102 @@
|
|
|
18
19
|
<meta name="author" content="Vatsal Shah">
|
|
19
20
|
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml">
|
|
20
21
|
<link rel="stylesheet" href="assets/site.css">
|
|
21
|
-
<script>try{
|
|
22
|
-
<script type="application/ld+json">{"@context":"https://schema.org","@type":"SoftwareSourceCode","name":"ArchSutra AI","description":"Open-source software architecture audit, design and threat-modeling agent skills and offline CLI for Claude Code, Cursor, Codex, GitHub Copilot and Gemini CLI.","codeRepository":"https://github.com/shahvatsalofficial/archsutra-ai","programmingLanguage":"TypeScript","runtimePlatform":"Node.js","license":"https://www.apache.org/licenses/LICENSE-2.0","version":"0.
|
|
23
|
-
<script type="application/ld+json">{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is ArchSutra AI?","acceptedAnswer":{"@type":"Answer","text":"An open-source software architecture agent: portable Agent Skills plus a deterministic offline CLI that help AI coding assistants audit, design, threat-model and modernize software with file-and-line evidence."}},{"@type":"Question","name":"Do I need an API key?","acceptedAnswer":{"@type":"Answer","text":"No. The CLI is offline. Inside a supported AI IDE the skills use that IDE's own model, so you need access to the IDE, not an ArchSutra key."}},{"@type":"Question","name":"Does it send my code anywhere?","acceptedAnswer":{"@type":"Answer","text":"The CLI sends nothing anywhere and has no telemetry. When you use the skills, your AI IDE's model provider processes your prompts and code under its own terms."}},{"@type":"Question","name":"Which AI tools does it support?","acceptedAnswer":{"@type":"Answer","text":"Adapters exist for Claude Code, Cursor, OpenAI Codex
|
|
22
|
+
<script>try{if(localStorage.getItem('as-theme')==='dark')document.documentElement.setAttribute('data-theme','dark')}catch(e){}</script>
|
|
23
|
+
<script type="application/ld+json">{"@context":"https://schema.org","@type":"SoftwareSourceCode","name":"ArchSutra AI","description":"Open-source software architecture audit, design and threat-modeling agent skills and offline CLI for Claude Code, Cursor, Codex, GitHub Copilot and Gemini CLI.","codeRepository":"https://github.com/shahvatsalofficial/archsutra-ai","programmingLanguage":"TypeScript","runtimePlatform":"Node.js","license":"https://www.apache.org/licenses/LICENSE-2.0","version":"0.2.0","author":{"@type":"Person","name":"Vatsal Shah","url":"https://shahvatsal.com"},"url":"https://shahvatsalofficial.github.io/archsutra-ai"}</script>
|
|
24
|
+
<script type="application/ld+json">{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is ArchSutra AI?","acceptedAnswer":{"@type":"Answer","text":"An open-source software architecture agent: portable Agent Skills plus a deterministic offline CLI that help AI coding assistants audit, design, threat-model and modernize software with file-and-line evidence."}},{"@type":"Question","name":"Do I need an API key?","acceptedAnswer":{"@type":"Answer","text":"No. The CLI is offline. Inside a supported AI IDE the skills use that IDE's own model, so you need access to the IDE, not an ArchSutra key."}},{"@type":"Question","name":"Does it send my code anywhere?","acceptedAnswer":{"@type":"Answer","text":"The CLI sends nothing anywhere and has no telemetry. When you use the skills, your AI IDE's model provider processes your prompts and code under its own terms."}},{"@type":"Question","name":"How accurate is it?","acceptedAnswer":{"@type":"Answer","text":"On repositories not used for tuning, 69% then 95% of sampled findings were genuine instances of the rule, and about half were worth acting on. Samples are small and one labeler did the labeling; every label is published."}},{"@type":"Question","name":"Which AI tools does it support?","acceptedAnswer":{"@type":"Answer","text":"Adapters exist for Claude Code, Cursor, OpenAI Codex, GitHub Copilot and Gemini CLI. All are adapter level: files follow each vendor's documented layout, and live smoke tests are still pending."}},{"@type":"Question","name":"Does it certify compliance or security?","acceptedAnswer":{"@type":"Answer","text":"No. Reports are review aids. Absence of findings is not proof of absence of vulnerabilities, and nothing here is legal advice or a compliance attestation."}}]}</script>
|
|
24
25
|
</head>
|
|
25
|
-
<body class="landing">
|
|
26
|
+
<body class="landing" data-root="">
|
|
26
27
|
<a class="skip" href="#main">Skip to content</a>
|
|
27
28
|
<header class="topbar">
|
|
28
29
|
<div class="topbar-inner">
|
|
29
|
-
<
|
|
30
|
-
<
|
|
31
|
-
<
|
|
32
|
-
<
|
|
30
|
+
<a class="brand" href="index.html" aria-label="ArchSutra AI home"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a>
|
|
31
|
+
<nav class="top-links" aria-label="Primary"><a href="guides/getting-started.html">Get started</a><a href="guides/real-world-scenarios.html">Scenarios</a><a href="handbook/index.html">Handbook</a><a href="guides/evidence-at-a-glance.html">Proof</a></nav>
|
|
32
|
+
<span class="spacer"></span>
|
|
33
|
+
<div class="search" role="search"><label class="sr-only" for="q">Search the documentation</label><input id="q" type="search" placeholder="Search docs ( / )" autocomplete="off" aria-controls="results" aria-expanded="false"><ul id="results" class="results" role="listbox" hidden></ul></div>
|
|
34
|
+
<a class="gh-btn" href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 19c-4.3 1.4-4.3-2.5-6-3m12 5v-3.5c0-1 .1-1.4-.5-2 2.8-.3 5.5-1.4 5.5-6a4.6 4.6 0 0 0-1.3-3.2 4.2 4.2 0 0 0-.1-3.2s-1.1-.3-3.5 1.3a12 12 0 0 0-6.2 0C6.5 2.8 5.4 3.1 5.4 3.1a4.2 4.2 0 0 0-.1 3.2A4.6 4.6 0 0 0 4 9.5c0 4.6 2.7 5.7 5.5 6-.6.6-.6 1.2-.5 2V21"/></svg><span>GitHub</span></a>
|
|
35
|
+
<button class="icon-btn theme-btn" type="button" aria-label="Switch between light and dark theme"><span class="sun"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg></span><span class="moon"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z"/></svg></span></button>
|
|
36
|
+
<button class="icon-btn menu-btn" type="button" aria-label="Open menu" aria-expanded="false" aria-controls="drawer"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h16M4 12h16M4 17h16"/></svg></button>
|
|
33
37
|
</div>
|
|
34
38
|
</header>
|
|
39
|
+
<div id="drawer" class="drawer" aria-hidden="true">
|
|
40
|
+
<div class="drawer-scrim" data-close></div>
|
|
41
|
+
<div class="drawer-panel" role="dialog" aria-label="Menu">
|
|
42
|
+
<div class="drawer-head"><a class="brand" href="index.html"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a><button class="icon-btn" type="button" data-close aria-label="Close menu"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div>
|
|
43
|
+
<div class="primary-links"><a href="index.html">Home</a><a href="guides/getting-started.html">Get started</a><a href="guides/real-world-scenarios.html">Scenarios</a><a href="handbook/index.html">Handbook</a><a href="guides/evidence-at-a-glance.html">Proof</a><a href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener">GitHub</a></div>
|
|
44
|
+
<div class="nav-group"><p class="nav-title">Start here</p><ul><li><a href="guides/getting-started.html">Get started in 5 minutes</a></li><li><a href="guides/real-world-scenarios.html">Real-world scenarios</a></li><li><a href="guides/how-it-works.html">How it works, in pictures</a></li><li><a href="guides/reading-a-report.html">Reading and triaging a report</a></li><li><a href="guides/ci-recipes.html">CI recipes</a></li><li><a href="guides/mcp-server.html">Use ArchSutra as an MCP server</a></li><li><a href="guides/cheat-sheet.html">Cheat sheet</a></li><li><a href="guides/evidence-at-a-glance.html">Evidence at a glance</a></li></ul></div><div class="nav-group"><p class="nav-title">Handbook</p><ul><li><a href="handbook/index.html">Overview</a></li><li><a href="handbook/01-executive-summary.html">Executive summary</a></li><li><a href="handbook/02-functional-specification.html">Functional specification</a></li><li><a href="handbook/03-technical-specification.html">Technical specification</a></li><li><a href="handbook/04-architecture.html">Architecture</a></li><li><a href="handbook/05-user-guide.html">User guide</a></li><li><a href="handbook/06-cli-reference.html">CLI reference</a></li><li><a href="handbook/07-security-privacy-legal.html">Security, privacy and legal</a></li><li><a href="handbook/08-testing-and-proof.html">Testing and proof</a></li><li><a href="handbook/09-compatibility-and-roadmap.html">Compatibility and roadmap</a></li><li><a href="handbook/10-contributor-guide.html">Contributor guide</a></li><li><a href="handbook/11-glossary-and-faq.html">Glossary and FAQ</a></li><li><a href="handbook/12-rule-catalog.html">Audit rule catalog</a></li><li><a href="handbook/13-trust-and-assurance.html">Trust and assurance</a></li><li><a href="handbook/14-real-world-evaluation.html">Real-world evaluation</a></li><li><a href="handbook/15-supply-chain-and-release.html">Supply chain and release</a></li><li><a href="handbook/16-performance-and-quality-metrics.html">Performance and quality metrics</a></li></ul></div><div class="nav-group"><p class="nav-title">Reference</p><ul><li><a href="architecture/overview.html">Architecture overview</a></li><li><a href="architecture/threat-model.html">Threat model (ArchSutra CLI and skills)</a></li><li><a href="compatibility/matrix.html">Compatibility matrix</a></li><li><a href="rfc/0001-archsutra-v0.1.html">RFC 0001: ArchSutra AI v0.1</a></li><li><a href="decisions/ADR-0001-deterministic-cli-plus-ide-skills.html">ADR-0001: Deterministic CLI plus IDE-native skills</a></li><li><a href="compatibility/smoke-tests/index.html">Live smoke tests</a></li><li><a href="community/good-first-issues.html">Good first issues (ready to file)</a></li><li><a href="legal/trademark-and-name-clearance.html">Name and trademark clearance</a></li><li><a href="legal/legal-review-brief.html">Legal review brief</a></li><li><a href="proof/accessibility.html">Accessibility audit of the documentation site</a></li></ul></div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
35
47
|
<main id="main">
|
|
36
48
|
<section class="hero">
|
|
37
|
-
<div class="wrap">
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
49
|
+
<div class="wrap hero-grid">
|
|
50
|
+
<div>
|
|
51
|
+
<p class="eyebrow">Open source · Apache-2.0 · v0.2.0</p>
|
|
52
|
+
<h1>Know what your architecture is <em>really</em> doing. With proof.</h1>
|
|
53
|
+
<p class="hero-lede">ArchSutra AI turns Claude Code, Cursor, Codex, GitHub Copilot and Gemini CLI into an evidence-first architect. Audit, design, threat-model and modernize, with <code>file:line</code> evidence, severity and confidence. No extra API key.</p>
|
|
54
|
+
<div class="cta">
|
|
55
|
+
<a class="btn primary" href="guides/getting-started.html">Get started in 5 minutes</a>
|
|
56
|
+
<a class="btn" href="guides/real-world-scenarios.html">See real scenarios</a>
|
|
57
|
+
</div>
|
|
58
|
+
<p class="hero-note">Read-only · Offline · No telemetry · Secrets redacted</p>
|
|
59
|
+
<div class="chips" aria-label="Works with"><span class="chip">Claude Code</span><span class="chip">Cursor</span><span class="chip">OpenAI Codex</span><span class="chip">GitHub Copilot</span><span class="chip">Gemini CLI</span></div>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="terminal" role="img" aria-label="Example terminal session running archsutra audit and showing three findings">
|
|
62
|
+
<div class="term-bar"><span></span><span></span><span></span><b>~/shop-api</b></div>
|
|
63
|
+
<pre><code><span class="p">$</span> npx archsutra-ai audit . --output arch-report
|
|
64
|
+
|
|
65
|
+
<span class="m">Files scanned: 7 Stack: TypeScript, Node.js</span>
|
|
66
|
+
<span class="m">Findings: 12 (critical 0, high 3, medium 7, low 2)</span>
|
|
67
|
+
|
|
68
|
+
<span class="sev high">HIGH </span> SQL built by string interpolation
|
|
69
|
+
<span class="m">src/services/user.ts:2</span> <span class="ok">[observed]</span>
|
|
70
|
+
<span class="sev high">HIGH </span> Dynamic code or shell execution
|
|
71
|
+
<span class="m">src/services/user.ts:3</span> <span class="ok">[observed]</span>
|
|
72
|
+
<span class="sev med">MEDIUM</span> Circular dependency (src/api <-> src/db)
|
|
73
|
+
<span class="m">src/api/routes.ts:1</span> <span class="ok">[observed]</span>
|
|
74
|
+
|
|
75
|
+
Security <span class="bad">weak</span> · Reliability <span class="m">not assessed</span> · Cost <span class="m">not assessed</span>
|
|
76
|
+
<span class="m">Open arch-report/index.html in a browser.</span></code></pre>
|
|
45
77
|
</div>
|
|
46
|
-
<div class="code hero-code"><button class="copy" type="button" aria-label="Copy command">Copy</button><pre><code>npx github:shahvatsalofficial/archsutra-ai audit .</code></pre></div>
|
|
47
|
-
<p class="hero-note">Read-only. Offline. No telemetry. Secrets redacted.</p>
|
|
48
78
|
</div>
|
|
49
79
|
</section>
|
|
50
|
-
<section class="stats" aria-label="Facts"><div class="wrap"><ul><li><span class="num">
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
<article class="
|
|
57
|
-
<article class="
|
|
58
|
-
<article class="
|
|
59
|
-
<article class="card"><h3>Honest by design</h3><p>Support levels stated plainly. Reliability, performance and cost are "not assessed" unless evidence exists.</p></article>
|
|
80
|
+
<section class="stats" aria-label="Facts"><div class="wrap"><ul><li><span class="num">52</span><span class="lbl">real repositories evaluated</span></li><li><span class="num">98</span><span class="lbl">findings hand-labeled</span></li><li><span class="num">30</span><span class="lbl">audit rules</span></li><li><span class="num">12</span><span class="lbl">specialist agents</span></li><li><span class="num">0</span><span class="lbl">runtime dependencies</span></li><li><span class="num">0</span><span class="lbl">API keys required</span></li></ul></div></section>
|
|
81
|
+
|
|
82
|
+
<section class="wrap"><p class="eyebrow-s">How it works</p><h2>The CLI measures. Your IDE's model reasons.</h2>
|
|
83
|
+
<p class="section-lede">Two parts, two jobs. The offline CLI is a measuring tool that always gives the same answer. The skills tell your IDE's own model how to reason from that evidence without guessing.</p>
|
|
84
|
+
<figure class="figure"><img class="theme-light" src="assets/charts/pipeline.svg" alt="ArchSutra pipeline: repository, CLI, evidence, skills and your IDE model, report" loading="lazy" width="900"><img class="theme-dark" src="assets/charts/pipeline-dark.svg" alt="ArchSutra pipeline: repository, CLI, evidence, skills and your IDE model, report" loading="lazy" width="900"></figure>
|
|
85
|
+
<div class="steps">
|
|
86
|
+
<article><span class="stepno">1</span><h3>Measure</h3><p>Walks your files read-only, maps modules and imports, applies 30 rules and redacts secrets. Same input, same output.</p></article>
|
|
87
|
+
<article><span class="stepno">2</span><h3>Reason</h3><p>In your IDE, Prime and eleven specialists open each cited line, drop what they cannot reproduce, and judge impact and trade-offs.</p></article>
|
|
88
|
+
<article><span class="stepno">3</span><h3>Deliver</h3><p>One report as HTML for people, Markdown for pull requests, JSON and SARIF for tools, every claim labeled.</p></article>
|
|
60
89
|
</div>
|
|
90
|
+
<p class="muted" style="margin-top:18px"><a href="guides/how-it-works.html">Seven diagrams that explain the rest →</a></p>
|
|
91
|
+
</section>
|
|
92
|
+
|
|
93
|
+
<section class="band"><div class="wrap">
|
|
94
|
+
<p class="eyebrow-s">Real scenarios</p><h2>Pick your story</h2>
|
|
95
|
+
<p class="section-lede">Real situations with the commands, the output and the decisions. No theory first.</p>
|
|
96
|
+
<div class="cards"><a class="card link" href="guides/real-world-scenarios.html#1-day-one-on-a-legacy-monolith"><span class="num-b">1</span><h3>Day one on a legacy monolith</h3><p>A new tech lead gets the real risks in two hours.</p></a><a class="card link" href="guides/real-world-scenarios.html#2-stop-regressions-at-the-door"><span class="num-b">2</span><h3>Stop regressions at the door</h3><p>Fail the build only on new problems, with a baseline.</p></a><a class="card link" href="guides/real-world-scenarios.html#3-a-startup-picks-its-architecture"><span class="num-b">3</span><h3>A startup picks its architecture</h3><p>Options scored with numbers, one ADR, a revisit trigger.</p></a><a class="card link" href="guides/real-world-scenarios.html#4-the-support-bot-that-can-issue-refunds"><span class="num-b">4</span><h3>The bot that can issue refunds</h3><p>Threat-model an AI agent before it touches money.</p></a><a class="card link" href="guides/real-world-scenarios.html#5-the-board-asks-are-we-safe"><span class="num-b">5</span><h3>The board asks "are we safe?"</h3><p>One honest paragraph from a scorecard that admits what it cannot see.</p></a><a class="card link" href="guides/real-world-scenarios.html#6-a-key-leaked-into-git"><span class="num-b">6</span><h3>A key leaked into git</h3><p>Rotate first. Find the rest. Add the gate. Nothing printed twice.</p></a><a class="card link" href="guides/real-world-scenarios.html#7-strangler-migration-in-six-slices"><span class="num-b">7</span><h3>Strangler migration in six slices</h3><p>Change a live system without a big-bang rewrite.</p></a></div>
|
|
61
97
|
</div></section>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
cli --> ev["Evidence: findings.json, SARIF, Mermaid"]
|
|
68
|
-
ev --> skill
|
|
69
|
-
skill --> out["Report, ADRs, roadmap"]</pre><figcaption>The CLI measures. Your IDE's model reasons. Neither needs an ArchSutra key.</figcaption></figure>
|
|
98
|
+
|
|
99
|
+
<section class="wrap"><p class="eyebrow-s">The report</p><h2>A report people actually open</h2>
|
|
100
|
+
<p class="section-lede">This is the real output of <code>archsutra audit</code> on the sample project: severity cards, a filter, collapsible findings and diagrams. Every report also exists as Markdown, JSON and SARIF.</p>
|
|
101
|
+
<div class="cta"><a class="btn primary" href="sample-report/audit-report.html">Open the sample audit</a><a class="btn" href="sample-report/current-state.html">Open the maps</a><a class="btn ghost" href="guides/reading-a-report.html">How to read one</a></div>
|
|
102
|
+
<figure class="figure"><img class="theme-light" src="assets/charts/finding-anatomy.svg" alt="Anatomy of a finding: ID, severity, evidence, impact, fix, verification" loading="lazy" width="900"><img class="theme-dark" src="assets/charts/finding-anatomy-dark.svg" alt="Anatomy of a finding: ID, severity, evidence, impact, fix, verification" loading="lazy" width="900"></figure>
|
|
70
103
|
</section>
|
|
104
|
+
|
|
71
105
|
<section class="band"><div class="wrap">
|
|
72
|
-
<
|
|
73
|
-
<
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
</div>
|
|
78
|
-
<p class="honest"><strong>What is not proven yet:</strong> live behavior inside each AI IDE, an independent security review, trademark clearance for the name, and a lawyer review. Accuracy is measured on real repositories but with small samples and one labeler. We say so up front.</p>
|
|
106
|
+
<p class="eyebrow-s">Proof, with the caveats</p><h2>Measured on 52 real repositories</h2>
|
|
107
|
+
<p class="section-lede">The first version was only 50% right. We published that, fixed the false positives it exposed, and measured again on repositories we had never tuned on.</p>
|
|
108
|
+
<figure class="figure"><img class="theme-light" src="assets/charts/precision-by-batch.svg" alt="Precision 50%, 69%, 95% and actionable rate 29%, 34%, 52% by batch" loading="lazy" width="900"><img class="theme-dark" src="assets/charts/precision-by-batch-dark.svg" alt="Precision 50%, 69%, 95% and actionable rate 29%, 34%, 52% by batch" loading="lazy" width="900"></figure>
|
|
109
|
+
<p class="honest"><strong>Read the whiskers.</strong> Small samples, one labeler, recall not measured. About half of valid findings need no action. Live behavior inside each AI IDE, an independent security review, trademark clearance and a lawyer's review are not done, and we say so.</p>
|
|
110
|
+
<div class="cta" style="margin-top:20px"><a class="btn" href="guides/evidence-at-a-glance.html">All the charts</a><a class="btn ghost" href="handbook/13-trust-and-assurance.html">The honesty register</a></div>
|
|
79
111
|
</div></section>
|
|
80
|
-
|
|
112
|
+
|
|
113
|
+
<section class="wrap"><p class="eyebrow-s">Why teams use it</p><h2>Built for the way you work</h2>
|
|
114
|
+
<div class="cards"><article class="card"><span class="ico"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg></span><h3>Evidence, not vibes</h3><p>Every claim is labeled observed, inferred, proposed or unknown. Findings cite file and line, with fix and acceptance test.</p></article><article class="card"><span class="ico"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><rect x="5" y="11" width="14" height="9" rx="2"/><path d="M8 11V8a4 4 0 0 1 8 0v3"/></svg></span><h3>Keyless and private</h3><p>Offline CLI, no telemetry. The skills use the model you already have in your IDE. No ArchSutra account.</p></article><article class="card"><span class="ico"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="6" cy="6" r="2.5"/><circle cx="6" cy="18" r="2.5"/><circle cx="18" cy="12" r="2.5"/><path d="M6 8.5v7M8.3 7.3l7.4 3.4"/></svg></span><h3>Made for CI</h3><p>Fail on new problems only with a baseline. SARIF for code scanning. <a href="guides/ci-recipes.html">See the recipes</a>.</p></article><article class="card"><span class="ico"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3 5 6v6c0 4.5 3 7.5 7 9 4-1.5 7-4.5 7-9V6z"/><path d="m9 12 2 2 4-4"/></svg></span><h3>Safe to adopt</h3><p>Dry-run installs, hashes, backups and an uninstall that never deletes your edits.</p></article><article class="card"><span class="ico"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4v16M7 20h10M5 8h14"/><path d="m5 8-3 7a4 4 0 0 0 6 0zM19 8l-3 7a4 4 0 0 0 6 0z"/></svg></span><h3>Honest by design</h3><p>"Not assessed" is a rating. Suppressions need a reason and an expiry.</p></article><article class="card"><span class="ico"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="m8 8-5 4 5 4M16 8l5 4-5 4M14 5l-4 14"/></svg></span><h3>Open and auditable</h3><p>Apache-2.0, zero runtime dependencies, tests, SBOMs and published labels. <a href="handbook/15-supply-chain-and-release.html">Supply chain</a>.</p></article></div>
|
|
115
|
+
</section>
|
|
116
|
+
|
|
117
|
+
<section class="band"><div class="wrap"><p class="eyebrow-s">Compatibility</p><h2>Supported AI IDEs</h2>
|
|
81
118
|
<div class="table-wrap" tabindex="0" role="region" aria-label="Supported hosts"><table><thead><tr><th scope="col">Host</th><th scope="col">Level</th><th scope="col">Skills</th><th scope="col">Agents</th></tr></thead><tbody>
|
|
82
119
|
<tr><td>Claude Code</td><td>adapter</td><td><code>.claude/skills/</code></td><td><code>.claude/agents/</code></td></tr>
|
|
83
120
|
<tr><td>Cursor</td><td>adapter</td><td><code>.cursor/skills/</code></td><td><code>.cursor/agents/</code></td></tr>
|
|
@@ -85,18 +122,31 @@
|
|
|
85
122
|
<tr><td>GitHub Copilot</td><td>adapter</td><td><code>.github/skills/</code></td><td><code>.github/agents/*.agent.md</code></td></tr>
|
|
86
123
|
<tr><td>Gemini CLI</td><td>adapter</td><td><code>.gemini/skills/</code></td><td>none</td></tr>
|
|
87
124
|
</tbody></table></div>
|
|
88
|
-
<p class="muted">"adapter" = files written to the vendor-documented layout; not yet smoke-tested in the live host. <a href="handbook/09-compatibility-and-roadmap.html">Full matrix</a
|
|
89
|
-
</section>
|
|
90
|
-
<section class="band"><div class="wrap"><h2>Documentation</h2>
|
|
91
|
-
<div class="cards"><a class="card link" href="handbook/01-executive-summary.html"><h3>Executive summary</h3><p>Problem, value, risks, decisions.</p></a><a class="card link" href="handbook/02-functional-specification.html"><h3>Functional specification</h3><p>Every requirement and scenario.</p></a><a class="card link" href="handbook/03-technical-specification.html"><h3>Technical specification</h3><p>Modules, algorithms, limits.</p></a><a class="card link" href="handbook/04-architecture.html"><h3>Architecture</h3><p>C4 views, flows, trust boundaries.</p></a><a class="card link" href="handbook/05-user-guide.html"><h3>User guide</h3><p>Install, audit, IDE prompts, CI.</p></a><a class="card link" href="handbook/06-cli-reference.html"><h3>CLI reference</h3><p>Commands, flags, exit codes.</p></a><a class="card link" href="handbook/07-security-privacy-legal.html"><h3>Security, privacy, legal</h3><p>Model, license, disclaimers.</p></a><a class="card link" href="handbook/08-testing-and-proof.html"><h3>Testing and proof</h3><p>Results, CI, evaluation, samples.</p></a><a class="card link" href="handbook/12-rule-catalog.html"><h3>Rule catalog</h3><p>All 19 audit rules.</p></a><a class="card link" href="handbook/13-trust-and-assurance.html"><h3>Trust and assurance</h3><p>Every trust gap and its status.</p></a><a class="card link" href="handbook/14-real-world-evaluation.html"><h3>Real-world evaluation</h3><p>52 repositories, labeled results.</p></a><a class="card link" href="handbook/15-supply-chain-and-release.html"><h3>Supply chain and release</h3><p>SBOM, provenance, pinning.</p></a><a class="card link" href="handbook/16-performance-and-quality-metrics.html"><h3>Performance and quality</h3><p>Speed, memory, coverage.</p></a></div>
|
|
125
|
+
<p class="muted">"adapter" = files written to the vendor-documented layout; not yet smoke-tested in the live host. Install one host per project. <a href="handbook/09-compatibility-and-roadmap.html">Full matrix</a></p>
|
|
92
126
|
</div></section>
|
|
93
|
-
|
|
127
|
+
|
|
128
|
+
<section class="wrap"><p class="eyebrow-s">Documentation</p><h2>Find your way</h2>
|
|
129
|
+
<div class="cards"><a class="card link" href="guides/getting-started.html"><h3>I am new here</h3><p>Five minutes to your first report.</p></a><a class="card link" href="handbook/01-executive-summary.html"><h3>I lead a team</h3><p>Problem, value, risks, decisions.</p></a><a class="card link" href="handbook/04-architecture.html"><h3>I am an architect</h3><p>C4 views, flows, trust boundaries.</p></a><a class="card link" href="handbook/03-technical-specification.html"><h3>I write code</h3><p>Modules, algorithms, limits.</p></a><a class="card link" href="handbook/07-security-privacy-legal.html"><h3>I review security</h3><p>Model, privacy, license, disclaimers.</p></a><a class="card link" href="guides/cheat-sheet.html"><h3>I want a quick reference</h3><p>Commands, flags, exit codes, files.</p></a><a class="card link" href="guides/ci-recipes.html"><h3>I want to add CI</h3><p>GitHub, GitLab, pre-commit, baselines.</p></a><a class="card link" href="handbook/10-contributor-guide.html"><h3>I want to contribute</h3><p>Rules, agents, adapters, release.</p></a></div>
|
|
130
|
+
</section>
|
|
131
|
+
|
|
132
|
+
<section class="band"><div class="wrap faq"><p class="eyebrow-s">FAQ</p><h2>Frequently asked questions</h2><details><summary>What is ArchSutra AI?</summary><p>An open-source software architecture agent: portable Agent Skills plus a deterministic offline CLI that help AI coding assistants audit, design, threat-model and modernize software with file-and-line evidence.</p></details><details><summary>Do I need an API key?</summary><p>No. The CLI is offline. Inside a supported AI IDE the skills use that IDE's own model, so you need access to the IDE, not an ArchSutra key.</p></details><details><summary>Does it send my code anywhere?</summary><p>The CLI sends nothing anywhere and has no telemetry. When you use the skills, your AI IDE's model provider processes your prompts and code under its own terms.</p></details><details><summary>How accurate is it?</summary><p>On repositories not used for tuning, 69% then 95% of sampled findings were genuine instances of the rule, and about half were worth acting on. Samples are small and one labeler did the labeling; every label is published.</p></details><details><summary>Which AI tools does it support?</summary><p>Adapters exist for Claude Code, Cursor, OpenAI Codex, GitHub Copilot and Gemini CLI. All are adapter level: files follow each vendor's documented layout, and live smoke tests are still pending.</p></details><details><summary>Does it certify compliance or security?</summary><p>No. Reports are review aids. Absence of findings is not proof of absence of vulnerabilities, and nothing here is legal advice or a compliance attestation.</p></details>
|
|
94
133
|
<p class="muted"><a href="handbook/11-glossary-and-faq.html">More questions and a glossary</a></p>
|
|
134
|
+
</div></section>
|
|
135
|
+
|
|
136
|
+
<section class="wrap cta-band"><h2>See what your architecture is really doing</h2>
|
|
137
|
+
<p class="section-lede">One command, no account, no key. Five minutes to a report you can open in a browser.</p>
|
|
138
|
+
<div class="cta"><a class="btn primary" href="guides/getting-started.html">Get started in 5 minutes</a><a class="btn" href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener">Star on GitHub</a></div>
|
|
139
|
+
<div class="code" style="max-width:520px;margin:18px auto 0;text-align:left"><button class="copy" type="button" aria-label="Copy command">Copy</button><pre><code>npx archsutra-ai audit .</code></pre></div>
|
|
95
140
|
</section></main>
|
|
96
141
|
<footer class="footer">
|
|
97
142
|
<div class="footer-inner">
|
|
98
|
-
<
|
|
99
|
-
|
|
143
|
+
<div class="footer-grid">
|
|
144
|
+
<div class="about-col"><a class="brand" href="index.html"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a><p class="about">Design. Audit. Evolve. An open-source, evidence-first software architecture agent. Created by <a href="https://shahvatsal.com" rel="noopener">Vatsal Shah</a>. Apache-2.0.</p></div>
|
|
145
|
+
<div><h4>Learn</h4><ul><li><a href="guides/getting-started.html">Get started</a></li><li><a href="guides/real-world-scenarios.html">Real-world scenarios</a></li><li><a href="guides/how-it-works.html">How it works</a></li><li><a href="guides/cheat-sheet.html">Cheat sheet</a></li></ul></div>
|
|
146
|
+
<div><h4>Trust</h4><ul><li><a href="guides/evidence-at-a-glance.html">Evidence at a glance</a></li><li><a href="handbook/13-trust-and-assurance.html">Honesty register</a></li><li><a href="handbook/07-security-privacy-legal.html">Security and legal</a></li><li><a href="handbook/15-supply-chain-and-release.html">Supply chain</a></li></ul></div>
|
|
147
|
+
<div><h4>Project</h4><ul><li><a href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener">GitHub</a></li><li><a href="https://www.npmjs.com/package/archsutra-ai" rel="noopener">npm</a></li><li><a href="handbook/10-contributor-guide.html">Contribute</a></li><li><a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/CHANGELOG.md" rel="noopener">Changelog</a></li></ul></div>
|
|
148
|
+
</div>
|
|
149
|
+
<p class="fine">v0.2.0. Review aid only. Not a certification, compliance attestation, security guarantee or legal advice. Not affiliated with Anthropic, OpenAI, Cursor, GitHub or Google; product names belong to their owners. <a href="handbook/07-security-privacy-legal.html">Legal details</a>.</p>
|
|
100
150
|
</div>
|
|
101
151
|
</footer>
|
|
102
152
|
<script src="assets/site.js" type="module"></script>
|