archsutra-ai 0.2.0 → 0.2.1

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +11 -11
  3. package/docs/architecture/overview.html +2 -2
  4. package/docs/architecture/threat-model.html +2 -2
  5. package/docs/community/good-first-issues.html +2 -2
  6. package/docs/compatibility/matrix.html +2 -2
  7. package/docs/compatibility/smoke-tests/index.html +2 -2
  8. package/docs/decisions/ADR-0001-deterministic-cli-plus-ide-skills.html +2 -2
  9. package/docs/guides/cheat-sheet.html +2 -2
  10. package/docs/guides/ci-recipes.html +9 -9
  11. package/docs/guides/ci-recipes.md +7 -7
  12. package/docs/guides/evidence-at-a-glance.html +2 -2
  13. package/docs/guides/getting-started.html +2 -2
  14. package/docs/guides/how-it-works.html +2 -2
  15. package/docs/guides/mcp-server.html +2 -2
  16. package/docs/guides/reading-a-report.html +2 -2
  17. package/docs/guides/real-world-scenarios.html +2 -2
  18. package/docs/handbook/01-executive-summary.html +2 -2
  19. package/docs/handbook/02-functional-specification.html +2 -2
  20. package/docs/handbook/03-technical-specification.html +2 -2
  21. package/docs/handbook/04-architecture.html +2 -2
  22. package/docs/handbook/05-user-guide.html +5 -5
  23. package/docs/handbook/05-user-guide.md +3 -3
  24. package/docs/handbook/06-cli-reference.html +3 -3
  25. package/docs/handbook/06-cli-reference.md +1 -1
  26. package/docs/handbook/07-security-privacy-legal.html +2 -2
  27. package/docs/handbook/08-testing-and-proof.html +2 -2
  28. package/docs/handbook/09-compatibility-and-roadmap.html +7 -7
  29. package/docs/handbook/09-compatibility-and-roadmap.md +6 -6
  30. package/docs/handbook/10-contributor-guide.html +2 -2
  31. package/docs/handbook/11-glossary-and-faq.html +3 -3
  32. package/docs/handbook/11-glossary-and-faq.md +1 -1
  33. package/docs/handbook/12-rule-catalog.html +2 -2
  34. package/docs/handbook/13-trust-and-assurance.html +2 -2
  35. package/docs/handbook/14-real-world-evaluation.html +2 -2
  36. package/docs/handbook/15-supply-chain-and-release.html +2 -2
  37. package/docs/handbook/16-performance-and-quality-metrics.html +2 -2
  38. package/docs/handbook/index.html +2 -2
  39. package/docs/index.html +3 -3
  40. package/docs/legal/legal-review-brief.html +2 -2
  41. package/docs/legal/trademark-and-name-clearance.html +2 -2
  42. package/docs/proof/accessibility.html +2 -2
  43. package/docs/rfc/0001-archsutra-v0.1.html +2 -2
  44. package/docs/search-index.json +1 -1
  45. package/docs/sitemap.xml +39 -39
  46. package/llms.txt +2 -2
  47. package/package.json +1 -1
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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" aria-current="page">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></aside>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Start here</p><h1 id="how-it-works-in-pictures">How it works, in pictures</h1>
49
- <p class="lede">Seven diagrams that explain ArchSutra end to end: the pipeline, the three layers, evidence labels, a scan from the inside, how scores are decided, the install lifecycle and the trust boundaries.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/guides/how-it-works.md" rel="noopener">docs/guides/how-it-works.md</a></p>
49
+ <p class="lede">Seven diagrams that explain ArchSutra end to end: the pipeline, the three layers, evidence labels, a scan from the inside, how scores are decided, the install lifecycle and the trust boundaries.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/guides/how-it-works.md" rel="noopener">docs/guides/how-it-works.md</a></p>
50
50
  <p>You can use ArchSutra without reading this page. Read it when you want to know <em>why</em> the output looks the way it does and <em>how far to trust it</em>. Each picture answers one question.</p>
51
51
  <h2 id="1-the-big-picture-who-does-what">1. The big picture: who does what?<a class="anchor" href="#1-the-big-picture-who-does-what" aria-label="Link to this section">#</a></h2>
52
52
  <figure class="figure"><img class="theme-light" src="../assets/charts/pipeline.svg" alt="ArchSutra pipeline: your repository is scanned read-only by the CLI, which produces evidence; your IDE model, guided by ArchSutra skills, verifies the evidence and writes the report" loading="lazy"><img class="theme-dark" src="../assets/charts/pipeline-dark.svg" alt="ArchSutra pipeline: your repository is scanned read-only by the CLI, which produces evidence; your IDE model, guided by ArchSutra skills, verifies the evidence and writes the report" loading="lazy"><figcaption>ArchSutra pipeline: your repository is scanned read-only by the CLI, which produces evidence; your IDE model, guided by ArchSutra skills, verifies the evidence and writes the report</figcaption></figure>
@@ -153,7 +153,7 @@
153
153
  <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>
154
154
  <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>
155
155
  </div>
156
- <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>
156
+ <p class="fine">v0.2.1. 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>
157
157
  </div>
158
158
  </footer>
159
159
  <script src="../assets/site.js" type="module"></script>
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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" aria-current="page">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></aside>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Start here</p><h1 id="use-archsutra-as-an-mcp-server">Use ArchSutra as an MCP server</h1>
49
- <p class="lede">Connect ArchSutra to Claude Code, Cursor, VS Code, Codex or Gemini CLI over MCP, keep it inside one folder, and fix common problems.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/guides/mcp-server.md" rel="noopener">docs/guides/mcp-server.md</a></p>
49
+ <p class="lede">Connect ArchSutra to Claude Code, Cursor, VS Code, Codex or Gemini CLI over MCP, keep it inside one folder, and fix common problems.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/guides/mcp-server.md" rel="noopener">docs/guides/mcp-server.md</a></p>
50
50
  <p>Your AI assistant can run ArchSutra itself: ask for an audit and it receives findings with <code>file:line</code> evidence.</p>
51
51
  <blockquote><strong>Version.</strong> These steps need <code>0.2.0</code> or newer. The <code>mcp</code> command in <code>0.1.5</code> does not answer standard MCP clients.</blockquote>
52
52
  <blockquote><strong>Tested how far.</strong> An automated test drives the server like a client does (initialize, ping, list, call, keep stdin open). The configurations below follow each tool's documented format but have <strong>not</strong> been run inside those tools or MCP Inspector.</blockquote>
@@ -91,7 +91,7 @@ args = [&quot;--yes&quot;, &quot;archsutra-ai@latest&quot;, &quot;mcp&quot;, &qu
91
91
  <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>
92
92
  <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>
93
93
  </div>
94
- <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>
94
+ <p class="fine">v0.2.1. 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>
95
95
  </div>
96
96
  </footer>
97
97
  <script src="../assets/site.js" type="module"></script>
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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" aria-current="page">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></aside>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Start here</p><h1 id="reading-and-triaging-a-report">Reading and triaging a report</h1>
49
- <p class="lede">How to read an ArchSutra report, decide what to fix first, accept risk on purpose, and tell us when a finding is wrong.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/guides/reading-a-report.md" rel="noopener">docs/guides/reading-a-report.md</a></p>
49
+ <p class="lede">How to read an ArchSutra report, decide what to fix first, accept risk on purpose, and tell us when a finding is wrong.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/guides/reading-a-report.md" rel="noopener">docs/guides/reading-a-report.md</a></p>
50
50
  <p>A report is only useful if you can decide what to do with it in a few minutes. This page gives you a reading order, a triage flowchart you can follow without thinking, and the rules for accepting a finding on purpose.</p>
51
51
  <h2 id="the-reading-order-5-minutes">The reading order (5 minutes)<a class="anchor" href="#the-reading-order-5-minutes" aria-label="Link to this section">#</a></h2>
52
52
  <figure class="diagram"><pre class="mermaid">flowchart LR
@@ -111,7 +111,7 @@
111
111
  <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>
112
112
  <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>
113
113
  </div>
114
- <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>
114
+ <p class="fine">v0.2.1. 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>
115
115
  </div>
116
116
  </footer>
117
117
  <script src="../assets/site.js" type="module"></script>
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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" aria-current="page">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></aside>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Start here</p><h1 id="real-world-scenarios">Real-world scenarios</h1>
49
- <p class="lede">Seven realistic stories, each with the commands, the output, the decisions and a picture: inheriting a legacy monolith, gating pull requests, choosing an architecture, securing an AI agent, answering the board, responding to a leaked key and migrating in slices.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/guides/real-world-scenarios.md" rel="noopener">docs/guides/real-world-scenarios.md</a></p>
49
+ <p class="lede">Seven realistic stories, each with the commands, the output, the decisions and a picture: inheriting a legacy monolith, gating pull requests, choosing an architecture, securing an AI agent, answering the board, responding to a leaked key and migrating in slices.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/guides/real-world-scenarios.md" rel="noopener">docs/guides/real-world-scenarios.md</a></p>
50
50
  <p>Seven situations teams actually face. Each one says <strong>who you are</strong>, <strong>what you run</strong>, <strong>what you see</strong>, and <strong>what you decide</strong>. People and companies are invented; command output marked <em>Real output</em> was produced by the tool on the sample project in this repository, and anything marked <em>Illustrative</em> is what an AI IDE session typically produces with the skills, shown to teach the flow, not captured from a live run.</p>
51
51
  <div class="table-wrap" tabindex="0" role="region" aria-label="Table 1: Real-world scenarios"><table><thead><tr><th scope="col">#</th><th scope="col">Scenario</th><th scope="col">You are</th><th scope="col">Tools</th></tr></thead><tbody><tr><td>1</td><td><a href="#1-day-one-on-a-legacy-monolith">Day one on a legacy monolith</a></td><td>New tech lead</td><td><code>audit</code>, <code>map</code>, audit skill</td></tr><tr><td>2</td><td><a href="#2-stop-regressions-at-the-door">Stop regressions at the door</a></td><td>Developer or platform engineer</td><td>CI gate, <code>drift</code>, baseline</td></tr><tr><td>3</td><td><a href="#3-a-startup-picks-its-architecture">A startup picks its architecture</a></td><td>Founder or first architect</td><td>design skill, ADR</td></tr><tr><td>4</td><td><a href="#4-the-support-bot-that-can-issue-refunds">The support bot that can issue refunds</a></td><td>Engineer shipping an AI agent</td><td>threat-modeling skill</td></tr><tr><td>5</td><td><a href="#5-the-board-asks-are-we-safe">The board asks &quot;are we safe?&quot;</a></td><td>Engineering manager</td><td>HTML report, scorecard</td></tr><tr><td>6</td><td><a href="#6-a-key-leaked-into-git">A key leaked into git</a></td><td>On-call engineer</td><td><code>audit</code>, redaction</td></tr><tr><td>7</td><td><a href="#7-strangler-migration-in-six-slices">Strangler migration in six slices</a></td><td>Architect</td><td>modernization skill</td></tr></tbody></table></div>
52
52
  <hr>
@@ -279,7 +279,7 @@ Exit criteria: old read path deleted, flags removed, docs updated</code></pre>
279
279
  <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>
280
280
  <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>
281
281
  </div>
282
- <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>
282
+ <p class="fine">v0.2.1. 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>
283
283
  </div>
284
284
  </footer>
285
285
  <script src="../assets/site.js" type="module"></script>
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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">Overview</a></li><li><a href="../handbook/01-executive-summary.html" aria-current="page">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>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Handbook</p><h1 id="executive-summary">Executive summary</h1>
49
- <p class="lede">The problem ArchSutra AI solves, what it delivers, what it costs, what it does not do, and the risks.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/01-executive-summary.md" rel="noopener">docs/handbook/01-executive-summary.md</a></p>
49
+ <p class="lede">The problem ArchSutra AI solves, what it delivers, what it costs, what it does not do, and the risks.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/01-executive-summary.md" rel="noopener">docs/handbook/01-executive-summary.md</a></p>
50
50
  <h2 id="the-problem">The problem<a class="anchor" href="#the-problem" aria-label="Link to this section">#</a></h2>
51
51
  <p>Software architecture decays quietly. Dependencies tangle, boundaries blur, secrets leak, and the reasons behind decisions are forgotten. Traditional architecture reviews are expensive, infrequent and hard to reproduce. Generic AI assistants can discuss architecture, but they tend to guess: they invent components, cite no evidence, and give different answers each time.</p>
52
52
  <h2 id="the-solution">The solution<a class="anchor" href="#the-solution" aria-label="Link to this section">#</a></h2>
@@ -77,7 +77,7 @@
77
77
  <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>
78
78
  <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>
79
79
  </div>
80
- <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>
80
+ <p class="fine">v0.2.1. 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>
81
81
  </div>
82
82
  </footer>
83
83
  <script src="../assets/site.js" type="module"></script>
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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">Overview</a></li><li><a href="../handbook/01-executive-summary.html">Executive summary</a></li><li><a href="../handbook/02-functional-specification.html" aria-current="page">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>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Handbook</p><h1 id="functional-specification">Functional specification</h1>
49
- <p class="lede">Requirement-level description of every capability, actor, input, output and acceptance test.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/02-functional-specification.md" rel="noopener">docs/handbook/02-functional-specification.md</a></p>
49
+ <p class="lede">Requirement-level description of every capability, actor, input, output and acceptance test.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/02-functional-specification.md" rel="noopener">docs/handbook/02-functional-specification.md</a></p>
50
50
  <h2 id="1-purpose-and-scope">1. Purpose and scope<a class="anchor" href="#1-purpose-and-scope" aria-label="Link to this section">#</a></h2>
51
51
  <p>ArchSutra AI helps people understand and improve the architecture of a software system. It covers <strong>audit</strong> of existing code, <strong>design</strong> of new systems, <strong>modernization</strong> planning, <strong>threat modeling</strong> and <strong>verification</strong> of architecture documents.</p>
52
52
  <p>In scope for v0.1: deterministic repository analysis, skill and agent content, installation into five AI IDEs, report export. Out of scope: server mode, model-provider runtime, local-model runtime, languages beyond import graphs for JS/TS/Python, runtime profiling. See the <a href="../rfc/0001-archsutra-v0.1.html">RFC</a>.</p>
@@ -87,7 +87,7 @@
87
87
  <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>
88
88
  <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>
89
89
  </div>
90
- <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>
90
+ <p class="fine">v0.2.1. 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>
91
91
  </div>
92
92
  </footer>
93
93
  <script src="../assets/site.js" type="module"></script>
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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">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" aria-current="page">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>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Handbook</p><h1 id="technical-specification">Technical specification</h1>
49
- <p class="lede">Module-by-module description of the implementation, data structures, algorithms, limits and extension points.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/03-technical-specification.md" rel="noopener">docs/handbook/03-technical-specification.md</a></p>
49
+ <p class="lede">Module-by-module description of the implementation, data structures, algorithms, limits and extension points.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/03-technical-specification.md" rel="noopener">docs/handbook/03-technical-specification.md</a></p>
50
50
  <h2 id="1-stack">1. Stack<a class="anchor" href="#1-stack" aria-label="Link to this section">#</a></h2>
51
51
  <div class="table-wrap" tabindex="0" role="region" aria-label="Table 1: 1. Stack"><table><thead><tr><th scope="col">Aspect</th><th scope="col">Choice</th></tr></thead><tbody><tr><td>Language</td><td>TypeScript 7.x (native compiler), <code>strict: true</code>, <code>types: [&quot;node&quot;]</code></td></tr><tr><td>Module system</td><td>ESM (<code>&quot;type&quot;: &quot;module&quot;</code>, <code>NodeNext</code>)</td></tr><tr><td>Runtime</td><td>Node.js &gt;= 20</td></tr><tr><td>Runtime dependencies</td><td>none</td></tr><tr><td>Dev dependencies</td><td><code>typescript</code> 7.x, <code>@types/node</code> 26.x (CI also runs Node 20, 22, 24 and the newest Node)</td></tr><tr><td>Test runner</td><td>built-in <code>node --test</code></td></tr><tr><td>Build</td><td><code>tsc</code> to <code>dist/</code>; <code>prepare</code> builds on install from Git</td></tr><tr><td>Entry point</td><td><code>dist/cli.js</code> (bin <code>archsutra</code>)</td></tr></tbody></table></div>
52
52
  <h2 id="2-repository-layout">2. Repository layout<a class="anchor" href="#2-repository-layout" aria-label="Link to this section">#</a></h2>
@@ -136,7 +136,7 @@ node scripts/build-docs.mjs</code></pre></div>
136
136
  <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>
137
137
  <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>
138
138
  </div>
139
- <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>
139
+ <p class="fine">v0.2.1. 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>
140
140
  </div>
141
141
  </footer>
142
142
  <script src="../assets/site.js" type="module"></script>
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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">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" aria-current="page">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>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Handbook</p><h1 id="architecture">Architecture</h1>
49
- <p class="lede">C4 views, runtime flows, trust boundaries, quality attributes and the decisions behind ArchSutra AI.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/04-architecture.md" rel="noopener">docs/handbook/04-architecture.md</a></p>
49
+ <p class="lede">C4 views, runtime flows, trust boundaries, quality attributes and the decisions behind ArchSutra AI.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/04-architecture.md" rel="noopener">docs/handbook/04-architecture.md</a></p>
50
50
  <p>Notation: C4 model (Context, Container, Component), diagrams in Mermaid. Every element corresponds to something in the repository.</p>
51
51
  <h2 id="1-system-context-c4-level-1">1. System context (C4 level 1)<a class="anchor" href="#1-system-context-c4-level-1" aria-label="Link to this section">#</a></h2>
52
52
  <figure class="diagram"><pre class="mermaid">flowchart TB
@@ -172,7 +172,7 @@
172
172
  <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>
173
173
  <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>
174
174
  </div>
175
- <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>
175
+ <p class="fine">v0.2.1. 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>
176
176
  </div>
177
177
  </footer>
178
178
  <script src="../assets/site.js" type="module"></script>
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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">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" aria-current="page">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>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Handbook</p><h1 id="user-guide">User guide</h1>
49
- <p class="lede">Install, run your first audit, use the skills in your AI IDE, wire it into CI, and fix common problems.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/05-user-guide.md" rel="noopener">docs/handbook/05-user-guide.md</a></p>
49
+ <p class="lede">Install, run your first audit, use the skills in your AI IDE, wire it into CI, and fix common problems.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/05-user-guide.md" rel="noopener">docs/handbook/05-user-guide.md</a></p>
50
50
  <blockquote><strong>Short on time?</strong> The illustrated <a href="../guides/getting-started.html">Get started in 5 minutes</a> covers the same ground with diagrams, and <a href="../guides/ci-recipes.html">CI recipes</a> has copy-paste pipelines for GitHub, GitLab and pre-commit.</blockquote>
51
51
  <h2 id="1-requirements">1. Requirements<a class="anchor" href="#1-requirements" aria-label="Link to this section">#</a></h2>
52
52
  <ul><li>Node.js 20 or newer (<code>node -v</code>).</li><li>Git (only if you install from GitHub).</li><li>Optional: one supported AI IDE to use the skills.</li></ul>
@@ -99,11 +99,11 @@ jobs:
99
99
  - uses: actions/checkout@v4
100
100
  - uses: actions/setup-node@v4
101
101
  with: { node-version: 22 }
102
- - run: npx --yes archsutra-ai@0.2.0 audit . --fail-on high
103
- - run: npx --yes archsutra-ai@0.2.0 export . --output arch-report
102
+ - run: npx --yes archsutra-ai@0.2.1 audit . --fail-on high
103
+ - run: npx --yes archsutra-ai@0.2.1 export . --output arch-report
104
104
  - uses: github/codeql-action/upload-sarif@v3
105
105
  with: { sarif_file: arch-report/findings.sarif }</code></pre></div>
106
- <p>The snippet above is an illustration. Workflows in this repository pin each Action to a commit SHA. Pin production pipelines to <code>archsutra-ai@0.2.0</code> (both command names, including Windows). The git tag <code>v0.1.2</code> is the attested GitHub release and its bin is only <code>archsutra</code>. Do not pin <code>v0.1.1</code>. There is no <code>v0.1.3</code> git tag. Release tarballs for tagged versions carry checksums and a GitHub attestation: see <a href="15-supply-chain-and-release.html">Supply chain and release</a>. npm <code>0.1.3</code> does not.</p>
106
+ <p>The snippet above is an illustration. Workflows in this repository pin each Action to a commit SHA. Pin production pipelines to <code>archsutra-ai@0.2.1</code> (both command names, including Windows). The git tag <code>v0.1.2</code> is the attested GitHub release and its bin is only <code>archsutra</code>. Do not pin <code>v0.1.1</code>. There is no <code>v0.1.3</code> git tag. Release tarballs for tagged versions carry checksums and a GitHub attestation: see <a href="15-supply-chain-and-release.html">Supply chain and release</a>. npm <code>0.1.3</code> does not.</p>
107
107
  <h2 id="8-reading-a-finding">8. Reading a finding<a class="anchor" href="#8-reading-a-finding" aria-label="Link to this section">#</a></h2>
108
108
  <div class="code"><button class="copy" type="button" aria-label="Copy code">Copy</button><pre tabindex="0"><code class="language-text">AS-SEC-005#002 high SQL built by string concatenation or interpolation
109
109
  Evidence: [observed] src/services/user.ts:2
@@ -126,7 +126,7 @@ jobs:
126
126
  <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>
127
127
  <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>
128
128
  </div>
129
- <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>
129
+ <p class="fine">v0.2.1. 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>
130
130
  </div>
131
131
  </footer>
132
132
  <script src="../assets/site.js" type="module"></script>
@@ -121,13 +121,13 @@ jobs:
121
121
  - uses: actions/checkout@v4
122
122
  - uses: actions/setup-node@v4
123
123
  with: { node-version: 22 }
124
- - run: npx --yes archsutra-ai@0.2.0 audit . --fail-on high
125
- - run: npx --yes archsutra-ai@0.2.0 export . --output arch-report
124
+ - run: npx --yes archsutra-ai@0.2.1 audit . --fail-on high
125
+ - run: npx --yes archsutra-ai@0.2.1 export . --output arch-report
126
126
  - uses: github/codeql-action/upload-sarif@v3
127
127
  with: { sarif_file: arch-report/findings.sarif }
128
128
  ```
129
129
 
130
- The snippet above is an illustration. Workflows in this repository pin each Action to a commit SHA. Pin production pipelines to `archsutra-ai@0.2.0` (both command names, including Windows). The git tag `v0.1.2` is the attested GitHub release and its bin is only `archsutra`. Do not pin `v0.1.1`. There is no `v0.1.3` git tag. Release tarballs for tagged versions carry checksums and a GitHub attestation: see [Supply chain and release](15-supply-chain-and-release.md). npm `0.1.3` does not.
130
+ The snippet above is an illustration. Workflows in this repository pin each Action to a commit SHA. Pin production pipelines to `archsutra-ai@0.2.1` (both command names, including Windows). The git tag `v0.1.2` is the attested GitHub release and its bin is only `archsutra`. Do not pin `v0.1.1`. There is no `v0.1.3` git tag. Release tarballs for tagged versions carry checksums and a GitHub attestation: see [Supply chain and release](15-supply-chain-and-release.md). npm `0.1.3` does not.
131
131
 
132
132
  ## 8. Reading a finding
133
133
 
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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">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" aria-current="page">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>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Handbook</p><h1 id="cli-reference">CLI reference</h1>
49
- <p class="lede">Every command, option, exit code and output file of the archsutra CLI.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/06-cli-reference.md" rel="noopener">docs/handbook/06-cli-reference.md</a></p>
49
+ <p class="lede">Every command, option, exit code and output file of the archsutra CLI.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/06-cli-reference.md" rel="noopener">docs/handbook/06-cli-reference.md</a></p>
50
50
  <div class="code"><button class="copy" type="button" aria-label="Copy code">Copy</button><pre tabindex="0"><code class="language-text">archsutra &lt;command&gt; [path] [options]</code></pre></div>
51
51
  <p><code>path</code> defaults to the current directory.</p>
52
52
  <h2 id="commands">Commands<a class="anchor" href="#commands" aria-label="Link to this section">#</a></h2>
@@ -88,7 +88,7 @@ archsutra verify .</code></pre></div>
88
88
  security-events: write
89
89
  steps:
90
90
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
91
- - run: npx --yes archsutra-ai@0.2.0 audit . --output arch-report
91
+ - run: npx --yes archsutra-ai@0.2.1 audit . --output arch-report
92
92
  - uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
93
93
  with:
94
94
  sarif_file: arch-report/findings.sarif</code></pre></div></article><nav class="pn" aria-label="Previous and next page"><a class="prev" href="05-user-guide.html"><small>Previous</small><span>User guide</span></a><a class="next" href="07-security-privacy-legal.html"><small>Next</small><span>Security, privacy and legal</span></a></nav><p class="edit"><a href="https://github.com/shahvatsalofficial/archsutra-ai/edit/main/docs/handbook/06-cli-reference.md" rel="noopener">Edit this page on GitHub</a></p></main>
@@ -102,7 +102,7 @@ steps:
102
102
  <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>
103
103
  <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>
104
104
  </div>
105
- <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>
105
+ <p class="fine">v0.2.1. 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>
106
106
  </div>
107
107
  </footer>
108
108
  <script src="../assets/site.js" type="module"></script>
@@ -139,7 +139,7 @@ permissions:
139
139
  security-events: write
140
140
  steps:
141
141
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
142
- - run: npx --yes archsutra-ai@0.2.0 audit . --output arch-report
142
+ - run: npx --yes archsutra-ai@0.2.1 audit . --output arch-report
143
143
  - uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
144
144
  with:
145
145
  sarif_file: arch-report/findings.sarif
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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">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" aria-current="page">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>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Handbook</p><h1 id="security-privacy-and-legal">Security, privacy and legal</h1>
49
- <p class="lede">Security model, privacy guarantees, license, trademarks, disclaimers, and what has not been checked.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/07-security-privacy-legal.md" rel="noopener">docs/handbook/07-security-privacy-legal.md</a></p>
49
+ <p class="lede">Security model, privacy guarantees, license, trademarks, disclaimers, and what has not been checked.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/07-security-privacy-legal.md" rel="noopener">docs/handbook/07-security-privacy-legal.md</a></p>
50
50
  <blockquote>This document describes the project's design and intentions. It is <strong>not legal advice</strong>. For decisions with legal effect, consult a qualified lawyer.</blockquote>
51
51
  <h2 id="1-security-model">1. Security model<a class="anchor" href="#1-security-model" aria-label="Link to this section">#</a></h2>
52
52
  <div class="table-wrap" tabindex="0" role="region" aria-label="Table 1: 1. Security model"><table><thead><tr><th scope="col">Principle</th><th scope="col">Implementation</th></tr></thead><tbody><tr><td>Read-only by default</td><td><code>audit</code>, <code>map</code>, <code>verify</code>, <code>doctor</code>, <code>init</code>, <code>hosts</code> never write. Writes happen only in <code>export</code>, <code>install</code>, <code>uninstall</code></td></tr><tr><td>Containment</td><td>all writes use <code>safeJoin</code>; <code>--output</code> that escapes the project is rejected</td></tr><tr><td>No symlink following</td><td><code>walk</code> skips symlinks; installer skips symlinks in canonical content</td></tr><tr><td>Bounded work</td><td>5000 files, 512 KiB per file, 15 s; truncation is reported</td></tr><tr><td>Secret redaction</td><td>values never appear in reports or JSON; <code>.env</code> contents are not read into reports</td></tr><tr><td>No code execution</td><td>the CLI never executes code from the scanned repository</td></tr><tr><td>Reversible changes</td><td>install manifest with SHA-256; backups; uninstall keeps user-edited files</td></tr><tr><td>Least privilege agents</td><td>Claude agent profiles get <code>Read, Grep, Glob</code> only; Copilot agents <code>read</code>, <code>search</code></td></tr><tr><td>Supply chain</td><td>zero runtime dependencies; Dependabot; CodeQL; CI blocks non-empty production dependencies</td></tr><tr><td>Prompt-injection stance</td><td>skills declare repository content as untrusted data; agents are read-only by default</td></tr></tbody></table></div>
@@ -77,7 +77,7 @@
77
77
  <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>
78
78
  <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>
79
79
  </div>
80
- <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>
80
+ <p class="fine">v0.2.1. 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>
81
81
  </div>
82
82
  </footer>
83
83
  <script src="../assets/site.js" type="module"></script>
@@ -46,7 +46,7 @@
46
46
  <div class="layout">
47
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">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" aria-current="page">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>
48
48
  <main id="main" class="content"><article class="prose"><p class="crumbs"><a href="../index.html">ArchSutra AI</a> / Handbook</p><h1 id="testing-and-proof">Testing and proof</h1>
49
- <p class="lede">Test results, CI evidence, coverage, fixtures, sample outputs and what is not proven. Real-world accuracy is in its own chapter.</p><p class="meta">Version 0.2.0 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/08-testing-and-proof.md" rel="noopener">docs/handbook/08-testing-and-proof.md</a></p>
49
+ <p class="lede">Test results, CI evidence, coverage, fixtures, sample outputs and what is not proven. Real-world accuracy is in its own chapter.</p><p class="meta">Version 0.2.1 &middot; Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/08-testing-and-proof.md" rel="noopener">docs/handbook/08-testing-and-proof.md</a></p>
50
50
  <p>Trust should be earned with evidence you can re-run. Everything below is reproducible from a clean clone. For accuracy on real repositories see <a href="14-real-world-evaluation.html">Real-world evaluation</a>; for the register of open trust gaps see <a href="13-trust-and-assurance.html">Trust and assurance</a>.</p>
51
51
  <h2 id="1-reproduce-it-yourself">1. Reproduce it yourself<a class="anchor" href="#1-reproduce-it-yourself" aria-label="Link to this section">#</a></h2>
52
52
  <div class="code"><button class="copy" type="button" aria-label="Copy code">Copy</button><pre tabindex="0"><code class="language-bash">git clone https://github.com/shahvatsalofficial/archsutra-ai
@@ -94,7 +94,7 @@ node scripts/contrast.mjs # WCAG contrast of the docs site tokens</code></p
94
94
  <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>
95
95
  <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>
96
96
  </div>
97
- <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>
97
+ <p class="fine">v0.2.1. 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>
98
98
  </div>
99
99
  </footer>
100
100
  <script src="../assets/site.js" type="module"></script>