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.
Files changed (113) hide show
  1. package/CHANGELOG.md +56 -6
  2. package/README.md +84 -12
  3. package/dist/audit.js +125 -44
  4. package/dist/cli.js +184 -96
  5. package/dist/drift.js +29 -15
  6. package/dist/fsutil.js +117 -20
  7. package/dist/history.js +40 -0
  8. package/dist/html.js +10 -8
  9. package/dist/map.js +26 -5
  10. package/dist/mcp.js +70 -55
  11. package/dist/redact.js +24 -11
  12. package/dist/report.js +69 -19
  13. package/dist/rules-extra.js +59 -0
  14. package/dist/secret-patterns.js +69 -0
  15. package/dist/suppress.js +31 -19
  16. package/dist/verify.js +2 -2
  17. package/dist/write.js +71 -0
  18. package/docs/architecture/overview.html +29 -12
  19. package/docs/architecture/overview.md +2 -2
  20. package/docs/architecture/threat-model.html +28 -11
  21. package/docs/assets/charts/coverage-dark.svg +11 -0
  22. package/docs/assets/charts/coverage.svg +11 -0
  23. package/docs/assets/charts/finding-anatomy-dark.svg +20 -0
  24. package/docs/assets/charts/finding-anatomy.svg +20 -0
  25. package/docs/assets/charts/pipeline-dark.svg +13 -0
  26. package/docs/assets/charts/pipeline.svg +13 -0
  27. package/docs/assets/charts/precision-by-batch-dark.svg +12 -0
  28. package/docs/assets/charts/precision-by-batch.svg +12 -0
  29. package/docs/assets/charts/precision-by-rule-dark.svg +12 -0
  30. package/docs/assets/charts/precision-by-rule.svg +12 -0
  31. package/docs/assets/charts/sample-findings-by-severity-dark.svg +11 -0
  32. package/docs/assets/charts/sample-findings-by-severity.svg +11 -0
  33. package/docs/assets/charts/scan-time-dark.svg +11 -0
  34. package/docs/assets/charts/scan-time.svg +11 -0
  35. package/docs/assets/site.css +259 -138
  36. package/docs/assets/site.js +92 -6
  37. package/docs/community/good-first-issues.html +28 -11
  38. package/docs/compatibility/matrix.html +28 -11
  39. package/docs/compatibility/smoke-tests/index.html +28 -11
  40. package/docs/decisions/ADR-0001-deterministic-cli-plus-ide-skills.html +28 -11
  41. package/docs/guides/cheat-sheet.html +100 -0
  42. package/docs/guides/cheat-sheet.md +146 -0
  43. package/docs/guides/ci-recipes.html +170 -0
  44. package/docs/guides/ci-recipes.md +176 -0
  45. package/docs/guides/evidence-at-a-glance.html +93 -0
  46. package/docs/guides/evidence-at-a-glance.md +65 -0
  47. package/docs/guides/getting-started.html +151 -0
  48. package/docs/guides/getting-started.md +160 -0
  49. package/docs/guides/how-it-works.html +161 -0
  50. package/docs/guides/how-it-works.md +148 -0
  51. package/docs/guides/mcp-server.html +99 -0
  52. package/docs/guides/mcp-server.md +81 -0
  53. package/docs/guides/reading-a-report.html +119 -0
  54. package/docs/guides/reading-a-report.md +111 -0
  55. package/docs/guides/real-world-scenarios.html +287 -0
  56. package/docs/guides/real-world-scenarios.md +377 -0
  57. package/docs/handbook/01-executive-summary.html +30 -13
  58. package/docs/handbook/01-executive-summary.md +2 -2
  59. package/docs/handbook/02-functional-specification.html +30 -13
  60. package/docs/handbook/02-functional-specification.md +3 -3
  61. package/docs/handbook/03-technical-specification.html +31 -14
  62. package/docs/handbook/03-technical-specification.md +3 -3
  63. package/docs/handbook/04-architecture.html +29 -12
  64. package/docs/handbook/04-architecture.md +1 -1
  65. package/docs/handbook/05-user-guide.html +33 -15
  66. package/docs/handbook/05-user-guide.md +5 -4
  67. package/docs/handbook/06-cli-reference.html +52 -16
  68. package/docs/handbook/06-cli-reference.md +47 -4
  69. package/docs/handbook/07-security-privacy-legal.html +31 -12
  70. package/docs/handbook/07-security-privacy-legal.md +4 -0
  71. package/docs/handbook/08-testing-and-proof.html +32 -15
  72. package/docs/handbook/08-testing-and-proof.md +4 -4
  73. package/docs/handbook/09-compatibility-and-roadmap.html +29 -12
  74. package/docs/handbook/09-compatibility-and-roadmap.md +3 -2
  75. package/docs/handbook/10-contributor-guide.html +29 -12
  76. package/docs/handbook/10-contributor-guide.md +1 -1
  77. package/docs/handbook/11-glossary-and-faq.html +34 -13
  78. package/docs/handbook/11-glossary-and-faq.md +7 -1
  79. package/docs/handbook/12-rule-catalog.html +59 -19
  80. package/docs/handbook/12-rule-catalog.md +62 -5
  81. package/docs/handbook/13-trust-and-assurance.html +29 -12
  82. package/docs/handbook/13-trust-and-assurance.md +1 -1
  83. package/docs/handbook/14-real-world-evaluation.html +28 -11
  84. package/docs/handbook/15-supply-chain-and-release.html +28 -11
  85. package/docs/handbook/16-performance-and-quality-metrics.html +28 -11
  86. package/docs/handbook/16-performance-and-quality-metrics.md +1 -1
  87. package/docs/handbook/README.md +4 -2
  88. package/docs/handbook/index.html +31 -13
  89. package/docs/index.html +101 -51
  90. package/docs/legal/legal-review-brief.html +28 -11
  91. package/docs/legal/trademark-and-name-clearance.html +28 -11
  92. package/docs/proof/accessibility.html +28 -11
  93. package/docs/proof/benchmarks.json +9 -9
  94. package/docs/proof/benchmarks.md +4 -4
  95. package/docs/proof/test-results.txt +56 -40
  96. package/docs/rfc/0001-archsutra-v0.1.html +28 -11
  97. package/docs/sample-report/architecture-register.json +46 -0
  98. package/docs/sample-report/audit-report.html +123 -0
  99. package/docs/sample-report/audit-report.md +314 -0
  100. package/docs/sample-report/current-state.html +77 -0
  101. package/docs/sample-report/current-state.md +51 -0
  102. package/docs/sample-report/findings.json +478 -0
  103. package/docs/sample-report/findings.sarif +754 -0
  104. package/docs/sample-report/index.html +57 -0
  105. package/docs/sample-report/overview.md +11 -0
  106. package/docs/search-index.json +1 -0
  107. package/docs/sitemap.xml +39 -28
  108. package/llms.txt +11 -2
  109. package/package.json +3 -2
  110. package/schemas/findings.schema.json +4 -3
  111. package/skills/architecture-audit/SKILL.md +2 -2
  112. package/skills/architecture-audit/references/report-template.md +1 -1
  113. package/skills/architecture-verification/references/fitness-functions.md +1 -1
@@ -7,6 +7,7 @@
7
7
  <meta name="description" content="Security model, privacy guarantees, license, trademarks, disclaimers, and what has not been checked.">
8
8
  <link rel="canonical" href="https://shahvatsalofficial.github.io/archsutra-ai/handbook/07-security-privacy-legal.html">
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="Security, privacy and legal | ArchSutra AI">
12
13
  <meta property="og:description" content="Security model, privacy guarantees, license, trademarks, disclaimers, and what has not been checked.">
@@ -18,23 +19,34 @@
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{var t=localStorage.getItem('as-theme');if(t)document.documentElement.setAttribute('data-theme',t)}catch(e){}</script>
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":"Security, privacy and legal","description":"Security model, privacy guarantees, license, trademarks, disclaimers, and what has not been checked.","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
- <button class="menu-btn" type="button" aria-label="Toggle navigation" aria-expanded="false" aria-controls="sidebar">Menu</button>
29
- <a class="brand" href="../index.html" aria-label="ArchSutra AI home"><svg viewBox="0 0 32 32" width="26" height="26" aria-hidden="true"><rect width="32" height="32" rx="8" fill="currentColor" opacity=".12"/><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="../handbook/index.html">Handbook</a><a href="../handbook/05-user-guide.html">Get started</a><a href="../handbook/08-testing-and-proof.html">Proof</a><a href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener">GitHub</a></nav>
31
- <button class="theme-btn" type="button" aria-label="Toggle color theme"><span class="sun" aria-hidden="true">Light</span><span class="moon" aria-hidden="true">Dark</span></button>
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">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>
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">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>
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>
36
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>
37
- <p class="lede">Security model, privacy guarantees, license, trademarks, disclaimers, and what has not been checked.</p><p class="meta">Version 0.1.4 &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.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>
38
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>
39
51
  <h2 id="1-security-model">1. Security model<a class="anchor" href="#1-security-model" aria-label="Link to this section">#</a></h2>
40
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>
@@ -52,13 +64,20 @@
52
64
  <h2 id="5-disclaimers">5. Disclaimers<a class="anchor" href="#5-disclaimers" aria-label="Link to this section">#</a></h2>
53
65
  <ul><li><strong>No warranty.</strong> Provided &quot;AS IS&quot; (Apache-2.0 sections 7 and 8).</li><li><strong>No compliance claim.</strong> Reports are review aids. They do not certify conformance with any law, regulation or standard (including GDPR, HIPAA, PCI DSS, SOC 2, ISO 27001, NIST, OWASP). Mentions of frameworks are references for human reviewers.</li><li><strong>No security guarantee.</strong> Absence of findings does not mean absence of vulnerabilities. Do not rely on this tool as the sole control.</li><li><strong>Authorized use only.</strong> Run the tool only on code you own or are authorized to review. The CLI does not scan networks or run exploits.</li><li><strong>AI output.</strong> Skill-driven results come from third-party models and can be wrong. Verify before acting; the skills instruct the model to cite evidence so you can.</li></ul>
54
66
  <h2 id="6-open-legal-and-compliance-checks-not-done">6. Open legal and compliance checks (not done)<a class="anchor" href="#6-open-legal-and-compliance-checks-not-done" aria-label="Link to this section">#</a></h2>
55
- <div class="table-wrap" tabindex="0" role="region" aria-label="Table 2: 6. Open legal and compliance checks (not done)"><table><thead><tr><th scope="col">Check</th><th scope="col">Status</th><th scope="col">Who</th></tr></thead><tbody><tr><td>Trademark clearance for &quot;ArchSutra&quot; (target jurisdictions)</td><td>not done</td><td>creator / counsel</td></tr><tr><td>Contributor License Agreement or DCO policy</td><td>DCO adopted (<a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/DCO.md" rel="noopener">DCO.md</a>) and enforced by a CI check; no CLA</td><td>done</td></tr><tr><td>Export-control review</td><td>not done; software uses no cryptography beyond SHA-256 hashing from Node</td><td>creator</td></tr><tr><td>Terms review of each AI IDE for redistributing skill files</td><td>not done</td><td>creator</td></tr><tr><td>Accessibility conformance statement for the HTML site</td><td>automated audit passes (axe-core, 38 runs, 0 violations; <a href="../proof/accessibility.html">report</a>); no screen-reader test or formal conformance claim</td><td>creator / community</td></tr><tr><td>Lawyer review of the documents</td><td>brief prepared (<a href="../legal/legal-review-brief.html">legal review brief</a>); counsel not engaged</td><td>creator</td></tr></tbody></table></div></article></main>
56
- <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="#1-security-model">1. Security model</a></li><li class="l3"><a href="#known-limitations">Known limitations</a></li><li class="l3"><a href="#reporting-a-vulnerability">Reporting a vulnerability</a></li><li class="l2"><a href="#2-privacy">2. Privacy</a></li><li class="l2"><a href="#3-licensing">3. Licensing</a></li><li class="l2"><a href="#4-names-trademarks-and-affiliations">4. Names, trademarks and affiliations</a></li><li class="l2"><a href="#5-disclaimers">5. Disclaimers</a></li><li class="l2"><a href="#6-open-legal-and-compliance-checks-not-done">6. Open legal and compliance checks (not done)</a></li></ul></nav></aside>
67
+ <div class="table-wrap" tabindex="0" role="region" aria-label="Table 2: 6. Open legal and compliance checks (not done)"><table><thead><tr><th scope="col">Check</th><th scope="col">Status</th><th scope="col">Who</th></tr></thead><tbody><tr><td>Trademark clearance for &quot;ArchSutra&quot; (target jurisdictions)</td><td>not done</td><td>creator / counsel</td></tr><tr><td>Contributor License Agreement or DCO policy</td><td>DCO adopted (<a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/DCO.md" rel="noopener">DCO.md</a>) and enforced by a CI check; no CLA</td><td>done</td></tr><tr><td>Export-control review</td><td>not done; software uses no cryptography beyond SHA-256 hashing from Node</td><td>creator</td></tr><tr><td>Terms review of each AI IDE for redistributing skill files</td><td>not done</td><td>creator</td></tr><tr><td>Accessibility conformance statement for the HTML site</td><td>automated audit passes (axe-core, 38 runs, 0 violations; <a href="../proof/accessibility.html">report</a>); no screen-reader test or formal conformance claim</td><td>creator / community</td></tr><tr><td>Lawyer review of the documents</td><td>brief prepared (<a href="../legal/legal-review-brief.html">legal review brief</a>); counsel not engaged</td><td>creator</td></tr></tbody></table></div>
68
+ <h2 id="mcp-server-trust-boundary">MCP server trust boundary<a class="anchor" href="#mcp-server-trust-boundary" aria-label="Link to this section">#</a></h2>
69
+ <p><code>archsutra mcp</code> runs on your machine and answers an AI assistant over stdio. The assistant may be steered by text it read elsewhere, so tool arguments are untrusted. The server resolves every path (following symlinks) and refuses anything outside <code>--root</code>. All tools are read-only. Results still contain file paths and redacted excerpts, which the assistant sends to its model provider.</p></article><nav class="pn" aria-label="Previous and next page"><a class="prev" href="06-cli-reference.html"><small>Previous</small><span>CLI reference</span></a><a class="next" href="08-testing-and-proof.html"><small>Next</small><span>Testing and proof</span></a></nav><p class="edit"><a href="https://github.com/shahvatsalofficial/archsutra-ai/edit/main/docs/handbook/07-security-privacy-legal.md" rel="noopener">Edit this page on GitHub</a></p></main>
70
+ <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="#1-security-model">1. Security model</a></li><li class="l3"><a href="#known-limitations">Known limitations</a></li><li class="l3"><a href="#reporting-a-vulnerability">Reporting a vulnerability</a></li><li class="l2"><a href="#2-privacy">2. Privacy</a></li><li class="l2"><a href="#3-licensing">3. Licensing</a></li><li class="l2"><a href="#4-names-trademarks-and-affiliations">4. Names, trademarks and affiliations</a></li><li class="l2"><a href="#5-disclaimers">5. Disclaimers</a></li><li class="l2"><a href="#6-open-legal-and-compliance-checks-not-done">6. Open legal and compliance checks (not done)</a></li><li class="l2"><a href="#mcp-server-trust-boundary">MCP server trust boundary</a></li></ul></nav></aside>
57
71
  </div>
58
72
  <footer class="footer">
59
73
  <div class="footer-inner">
60
- <p><strong>ArchSutra AI</strong> v0.1.4. Design. Audit. Evolve. Created by <a href="https://shahvatsal.com" rel="noopener">Vatsal Shah</a>. Licensed under <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/LICENSE" rel="noopener">Apache-2.0</a>.</p>
61
- <p class="fine">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>
74
+ <div class="footer-grid">
75
+ <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>
76
+ <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>
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
+ <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
+ </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>
62
81
  </div>
63
82
  </footer>
64
83
  <script src="../assets/site.js" type="module"></script>
@@ -70,3 +70,7 @@ Use GitHub private vulnerability reporting: https://github.com/shahvatsalofficia
70
70
  | Terms review of each AI IDE for redistributing skill files | not done | creator |
71
71
  | Accessibility conformance statement for the HTML site | automated audit passes (axe-core, 38 runs, 0 violations; [report](../proof/accessibility.md)); no screen-reader test or formal conformance claim | creator / community |
72
72
  | Lawyer review of the documents | brief prepared ([legal review brief](../legal/legal-review-brief.md)); counsel not engaged | creator |
73
+
74
+ ## MCP server trust boundary
75
+
76
+ `archsutra mcp` runs on your machine and answers an AI assistant over stdio. The assistant may be steered by text it read elsewhere, so tool arguments are untrusted. The server resolves every path (following symlinks) and refuses anything outside `--root`. All tools are read-only. Results still contain file paths and redacted excerpts, which the assistant sends to its model provider.
@@ -7,6 +7,7 @@
7
7
  <meta name="description" content="Test results, CI evidence, coverage, fixtures, sample outputs and what is not proven. Real-world accuracy is in its own chapter.">
8
8
  <link rel="canonical" href="https://shahvatsalofficial.github.io/archsutra-ai/handbook/08-testing-and-proof.html">
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="Testing and proof | ArchSutra AI">
12
13
  <meta property="og:description" content="Test results, CI evidence, coverage, fixtures, sample outputs and what is not proven. Real-world accuracy is in its own chapter.">
@@ -18,29 +19,40 @@
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{var t=localStorage.getItem('as-theme');if(t)document.documentElement.setAttribute('data-theme',t)}catch(e){}</script>
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":"Testing and proof","description":"Test results, CI evidence, coverage, fixtures, sample outputs and what is not proven. Real-world accuracy is in its own chapter.","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
- <button class="menu-btn" type="button" aria-label="Toggle navigation" aria-expanded="false" aria-controls="sidebar">Menu</button>
29
- <a class="brand" href="../index.html" aria-label="ArchSutra AI home"><svg viewBox="0 0 32 32" width="26" height="26" aria-hidden="true"><rect width="32" height="32" rx="8" fill="currentColor" opacity=".12"/><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="../handbook/index.html">Handbook</a><a href="../handbook/05-user-guide.html">Get started</a><a href="../handbook/08-testing-and-proof.html">Proof</a><a href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener">GitHub</a></nav>
31
- <button class="theme-btn" type="button" aria-label="Toggle color theme"><span class="sun" aria-hidden="true">Light</span><span class="moon" aria-hidden="true">Dark</span></button>
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">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>
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">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>
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>
36
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>
37
- <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.1.4 &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.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>
38
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>
39
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>
40
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
41
53
  cd archsutra-ai
42
54
  npm ci
43
- npm test # builds, then runs 36 tests
55
+ npm test # builds, then runs 52 tests
44
56
  npm run coverage # line, branch, function coverage
45
57
  node scripts/eval.mjs # labeled-fixture precision / recall (regression suite)
46
58
  node dist/cli.js verify . # validates skills, agents, links, diagrams
@@ -48,7 +60,7 @@ node dist/cli.js audit . # the tool audits itself
48
60
  node scripts/bench.mjs # synthetic performance benchmark
49
61
  node scripts/contrast.mjs # WCAG contrast of the docs site tokens</code></pre></div>
50
62
  <h2 id="2-automated-test-results">2. Automated test results<a class="anchor" href="#2-automated-test-results" aria-label="Link to this section">#</a></h2>
51
- <p>Captured output (Node 24, Windows 11; stored at <a href="../proof/test-results.txt"><code>docs/proof/test-results.txt</code></a>): <strong>36 tests, 36 passed, 0 failed.</strong></p>
63
+ <p>Captured output (Node 24, Windows 11; stored at <a href="../proof/test-results.txt"><code>docs/proof/test-results.txt</code></a>): <strong>52 tests, 52 passed, 0 failed.</strong></p>
52
64
  <p>Groups:</p>
53
65
  <div class="table-wrap" tabindex="0" role="region" aria-label="Table 1: 2. Automated test results"><table><thead><tr><th scope="col">Group</th><th scope="col">What it covers</th></tr></thead><tbody><tr><td>Safety</td><td>secret redaction, path traversal, symlinks not followed, hostile file names, binary files, byte and file budgets, pathological long lines (ReDoS guard)</td></tr><tr><td>Analysis</td><td>module map, cycles, stack detection, seeded findings with evidence, clean project has no high findings</td></tr><tr><td>Precision regressions</td><td>each class of false positive found in the real-world evaluation has a test (comments, docstrings, dummy credentials, vendored files, shell vs SQL, public web ports, JWT <code>verify=False</code>, dev-tooling Dockerfiles)</td></tr><tr><td>Installer</td><td>idempotent install and uninstall for all hosts, conflict protection, backups, user-edited files kept, documented frontmatter only (Claude, Cursor, Copilot)</td></tr><tr><td>CLI</td><td>exit codes, JSON schema validity, <code>--fail-on</code>, export, dry-run, escaping output paths blocked</td></tr><tr><td>Quality gates</td><td>the repository's own skills, agents, links and diagrams verify; labeled fixtures give expected rules</td></tr></tbody></table></div>
54
66
  <p>The symlink test returns early (passes without asserting) on systems where creating a symlink or junction is not permitted.</p>
@@ -61,23 +73,28 @@ node scripts/contrast.mjs # WCAG contrast of the docs site tokens</code></p
61
73
  <p>Two fixtures with expected rule IDs live in <a href="https://github.com/shahvatsalofficial/archsutra-ai/tree/main/fixtures" rel="noopener"><code>fixtures/</code></a>: <code>brownfield-monolith</code> (12 expected rules) and <code>clean-service</code> (none). Result: 12 of 12 found, 0 unexpected (<a href="../proof/eval-results.json"><code>docs/proof/eval-results.json</code></a>). <strong>The fixtures were written together with the rules, so this proves the rules behave as designed, not that they are accurate on real code.</strong> Real-world accuracy is measured separately in chapter 14.</p>
62
74
  <h2 id="6-sample-outputs-real-generated-by-the-tool">6. Sample outputs (real, generated by the tool)<a class="anchor" href="#6-sample-outputs-real-generated-by-the-tool" aria-label="Link to this section">#</a></h2>
63
75
  <p>Generated from the <code>brownfield-monolith</code> fixture:</p>
64
- <div class="table-wrap" tabindex="0" role="region" aria-label="Table 2: 6. Sample outputs (real, generated by the tool)"><table><thead><tr><th scope="col">Artifact</th><th scope="col">Link</th></tr></thead><tbody><tr><td>Audit report</td><td><a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/examples/brownfield-monolith/sample-output/audit-report.md" rel="noopener"><code>examples/brownfield-monolith/sample-output/audit-report.md</code></a></td></tr><tr><td>Current state with Mermaid diagrams</td><td><a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/examples/brownfield-monolith/sample-output/current-state.md" rel="noopener"><code>current-state.md</code></a></td></tr><tr><td>Findings JSON (schema 1.0.0)</td><td><a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/examples/brownfield-monolith/sample-output/findings.json" rel="noopener"><code>findings.json</code></a></td></tr><tr><td>SARIF 2.1.0</td><td><a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/examples/brownfield-monolith/sample-output/findings.sarif" rel="noopener"><code>findings.sarif</code></a></td></tr></tbody></table></div>
76
+ <div class="table-wrap" tabindex="0" role="region" aria-label="Table 2: 6. Sample outputs (real, generated by the tool)"><table><thead><tr><th scope="col">Artifact</th><th scope="col">Link</th></tr></thead><tbody><tr><td>Audit report</td><td><a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/examples/brownfield-monolith/sample-output/audit-report.md" rel="noopener"><code>examples/brownfield-monolith/sample-output/audit-report.md</code></a></td></tr><tr><td>Current state with Mermaid diagrams</td><td><a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/examples/brownfield-monolith/sample-output/current-state.md" rel="noopener"><code>current-state.md</code></a></td></tr><tr><td>Findings JSON (schema 1.1.0)</td><td><a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/examples/brownfield-monolith/sample-output/findings.json" rel="noopener"><code>findings.json</code></a></td></tr><tr><td>SARIF 2.1.0</td><td><a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/examples/brownfield-monolith/sample-output/findings.sarif" rel="noopener"><code>findings.sarif</code></a></td></tr></tbody></table></div>
65
77
  <p>Summary of that run: 12 findings (0 critical, 3 high, 7 medium, 2 low); Security <code>weak</code>; Reliability, Performance, Scalability, Data integrity and Cost <code>not assessed</code>.</p>
66
78
  <h2 id="7-self-audit-dogfooding">7. Self-audit (dogfooding)<a class="anchor" href="#7-self-audit-dogfooding" aria-label="Link to this section">#</a></h2>
67
79
  <p>The tool audits its own repository in CI with <code>--fail-on high</code>; on the current commit it reports no findings. Dogfooding found two false-positive classes before release (rule text quoted in generated HTML/JSON, and flawed fixture manifests), and later the real-world evaluation found many more, all fixed with regression tests.</p>
68
80
  <h2 id="8-other-evidence">8. Other evidence<a class="anchor" href="#8-other-evidence" aria-label="Link to this section">#</a></h2>
69
81
  <div class="table-wrap" tabindex="0" role="region" aria-label="Table 3: 8. Other evidence"><table><thead><tr><th scope="col">Evidence</th><th scope="col">Where</th></tr></thead><tbody><tr><td>Real-world precision on 52 repositories</td><td><a href="14-real-world-evaluation.html">14 Real-world evaluation</a>, <code>docs/proof/realworld/</code></td></tr><tr><td>Benchmarks</td><td><a href="../proof/benchmarks.md"><code>docs/proof/benchmarks.md</code></a></td></tr><tr><td>Accessibility audit (axe-core, 38 runs, 0 violations)</td><td><a href="../proof/accessibility.html"><code>docs/proof/accessibility.md</code></a></td></tr><tr><td>Host layouts checked against vendor docs</td><td><a href="../compatibility/smoke-tests/index.html">Smoke tests</a></td></tr><tr><td>Supply chain controls</td><td><a href="15-supply-chain-and-release.html">15 Supply chain and release</a></td></tr></tbody></table></div>
70
82
  <h2 id="9-requirement-to-test-map">9. Requirement-to-test map<a class="anchor" href="#9-requirement-to-test-map" aria-label="Link to this section">#</a></h2>
71
- <div class="table-wrap" tabindex="0" role="region" aria-label="Table 4: 9. Requirement-to-test map"><table><thead><tr><th scope="col">Requirement</th><th scope="col">Test</th></tr></thead><tbody><tr><td>F-01 bounded walk</td><td><code>walk skips node_modules, respects file limit ...</code>, <code>total-bytes budget ...</code></td></tr><tr><td>F-01 symlinks</td><td><code>walk does not follow symlinks</code></td></tr><tr><td>F-05, F-06 map, cycles</td><td><code>map detects modules, cycles and stack</code>, <code>module cycles ignore tests, data-file imports and the root pseudo-module</code></td></tr><tr><td>F-10, F-11 rules, evidence</td><td><code>audit finds seeded problems with evidence and redacted excerpts</code></td></tr><tr><td>F-12 redaction</td><td><code>redact masks secrets ...</code>, <code>audit finds seeded problems ...</code> (asserts no secret in JSON)</td></tr><tr><td>F-10 false positives</td><td><code>audit on a clean small project ...</code>, <code>audit does not flag secrets inside test files ...</code>, precision regression tests</td></tr><tr><td>F-14 fail-on</td><td><code>cli: audit --json ... --fail-on</code></td></tr><tr><td>F-20 to F-24 export</td><td><code>cli: export writes files, honours --dry-run, blocks escaping --output</code></td></tr><tr><td>F-30 to F-34 verify</td><td><code>repository itself verifies</code>, <code>mermaid checker flags bad diagrams</code></td></tr><tr><td>F-40 to F-43 install</td><td><code>install/uninstall roundtrip ...</code>, <code>install refuses to overwrite ...</code>, <code>uninstall keeps files the user modified</code></td></tr><tr><td>F-44 doctor</td><td><code>cli: install blocked on conflict returns exit 1, doctor reports</code></td></tr><tr><td>F-45 frontmatter</td><td><code>copilot and claude agent profiles ...</code>, <code>cursor agent profile contains only documented keys</code></td></tr><tr><td>F-55 model commands</td><td><code>cli: version, help, unknown command, model-only command exit codes</code></td></tr><tr><td>Robustness</td><td><code>adversarial inputs ...</code>, <code>hostile file names and binary content ...</code></td></tr></tbody></table></div>
83
+ <div class="table-wrap" tabindex="0" role="region" aria-label="Table 4: 9. Requirement-to-test map"><table><thead><tr><th scope="col">Requirement</th><th scope="col">Test</th></tr></thead><tbody><tr><td>F-01 bounded walk</td><td><code>walk skips node_modules, respects file limit ...</code>, <code>total-bytes budget ...</code></td></tr><tr><td>F-01 symlinks</td><td><code>walk does not follow symlinks</code></td></tr><tr><td>F-05, F-06 map, cycles</td><td><code>map detects modules, cycles and stack</code>, <code>module cycles ignore tests, data-file imports and the root pseudo-module</code></td></tr><tr><td>F-10, F-11 rules, evidence</td><td><code>audit finds seeded problems with evidence and redacted excerpts</code></td></tr><tr><td>F-12 redaction</td><td><code>redact masks secrets ...</code>, <code>audit finds seeded problems ...</code> (asserts no secret in JSON)</td></tr><tr><td>F-10 false positives</td><td><code>audit on a clean small project ...</code>, <code>audit flags a provider key in a test file ...</code>, precision regression tests</td></tr><tr><td>F-14 fail-on</td><td><code>cli: audit --json ... --fail-on</code></td></tr><tr><td>F-20 to F-24 export</td><td><code>cli: export writes files, honours --dry-run, blocks escaping --output</code></td></tr><tr><td>F-30 to F-34 verify</td><td><code>repository itself verifies</code>, <code>mermaid checker flags bad diagrams</code></td></tr><tr><td>F-40 to F-43 install</td><td><code>install/uninstall roundtrip ...</code>, <code>install refuses to overwrite ...</code>, <code>uninstall keeps files the user modified</code></td></tr><tr><td>F-44 doctor</td><td><code>cli: install blocked on conflict returns exit 1, doctor reports</code></td></tr><tr><td>F-45 frontmatter</td><td><code>copilot and claude agent profiles ...</code>, <code>cursor agent profile contains only documented keys</code></td></tr><tr><td>F-55 model commands</td><td><code>cli: version, help, unknown command, model-only command exit codes</code></td></tr><tr><td>Robustness</td><td><code>adversarial inputs ...</code>, <code>hostile file names and binary content ...</code></td></tr></tbody></table></div>
72
84
  <h2 id="10-what-is-not-proven">10. What is not proven<a class="anchor" href="#10-what-is-not-proven" aria-label="Link to this section">#</a></h2>
73
85
  <div class="table-wrap" tabindex="0" role="region" aria-label="Table 5: 10. What is not proven"><table><thead><tr><th scope="col">Claim</th><th scope="col">Status</th></tr></thead><tbody><tr><td>Skills are discovered and followed inside live Claude Code, Cursor, Codex, Copilot, Gemini CLI</td><td><strong>Not verified.</strong> Layouts match vendor docs; no live session recorded (<a href="../compatibility/smoke-tests/index.html">protocol</a>)</td></tr><tr><td>Accuracy on real-world repositories</td><td><strong>Measured with limits</strong>: single labeler, small samples (<a href="14-real-world-evaluation.html">chapter 14</a>)</td></tr><tr><td>Recall (finding everything that exists)</td><td><strong>Not measured</strong> on real code</td></tr><tr><td>Mermaid diagrams render</td><td>Rendered and checked in a browser for the whole site; CI checks structure only</td></tr><tr><td>Performance on very large monorepos</td><td>Bounded by design; synthetic and real timings published, no kernel-scale benchmark</td></tr><tr><td>Independent security review</td><td><strong>None yet</strong></td></tr><tr><td>Any legal or regulatory compliance</td><td><strong>Not claimed</strong></td></tr></tbody></table></div>
74
- <p>If you can verify one of these, please open a &quot;Host smoke test report&quot; or &quot;False positive&quot; issue.</p></article></main>
86
+ <p>If you can verify one of these, please open a &quot;Host smoke test report&quot; or &quot;False positive&quot; issue.</p></article><nav class="pn" aria-label="Previous and next page"><a class="prev" href="07-security-privacy-legal.html"><small>Previous</small><span>Security, privacy and legal</span></a><a class="next" href="09-compatibility-and-roadmap.html"><small>Next</small><span>Compatibility and roadmap</span></a></nav><p class="edit"><a href="https://github.com/shahvatsalofficial/archsutra-ai/edit/main/docs/handbook/08-testing-and-proof.md" rel="noopener">Edit this page on GitHub</a></p></main>
75
87
  <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="#1-reproduce-it-yourself">1. Reproduce it yourself</a></li><li class="l2"><a href="#2-automated-test-results">2. Automated test results</a></li><li class="l2"><a href="#3-coverage">3. Coverage</a></li><li class="l2"><a href="#4-continuous-integration">4. Continuous integration</a></li><li class="l2"><a href="#5-labeled-fixtures-regression-suite-not-accuracy">5. Labeled fixtures (regression suite, not accuracy)</a></li><li class="l2"><a href="#6-sample-outputs-real-generated-by-the-tool">6. Sample outputs (real, generated by the tool)</a></li><li class="l2"><a href="#7-self-audit-dogfooding">7. Self-audit (dogfooding)</a></li><li class="l2"><a href="#8-other-evidence">8. Other evidence</a></li><li class="l2"><a href="#9-requirement-to-test-map">9. Requirement-to-test map</a></li><li class="l2"><a href="#10-what-is-not-proven">10. What is not proven</a></li></ul></nav></aside>
76
88
  </div>
77
89
  <footer class="footer">
78
90
  <div class="footer-inner">
79
- <p><strong>ArchSutra AI</strong> v0.1.4. Design. Audit. Evolve. Created by <a href="https://shahvatsal.com" rel="noopener">Vatsal Shah</a>. Licensed under <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/LICENSE" rel="noopener">Apache-2.0</a>.</p>
80
- <p class="fine">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
+ <div class="footer-grid">
92
+ <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>
93
+ <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>
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
+ <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
+ </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>
81
98
  </div>
82
99
  </footer>
83
100
  <script src="../assets/site.js" type="module"></script>
@@ -10,7 +10,7 @@ Trust should be earned with evidence you can re-run. Everything below is reprodu
10
10
  git clone https://github.com/shahvatsalofficial/archsutra-ai
11
11
  cd archsutra-ai
12
12
  npm ci
13
- npm test # builds, then runs 36 tests
13
+ npm test # builds, then runs 52 tests
14
14
  npm run coverage # line, branch, function coverage
15
15
  node scripts/eval.mjs # labeled-fixture precision / recall (regression suite)
16
16
  node dist/cli.js verify . # validates skills, agents, links, diagrams
@@ -21,7 +21,7 @@ node scripts/contrast.mjs # WCAG contrast of the docs site tokens
21
21
 
22
22
  ## 2. Automated test results
23
23
 
24
- Captured output (Node 24, Windows 11; stored at [`docs/proof/test-results.txt`](../proof/test-results.txt)): **36 tests, 36 passed, 0 failed.**
24
+ Captured output (Node 24, Windows 11; stored at [`docs/proof/test-results.txt`](../proof/test-results.txt)): **52 tests, 52 passed, 0 failed.**
25
25
 
26
26
  Groups:
27
27
 
@@ -58,7 +58,7 @@ Generated from the `brownfield-monolith` fixture:
58
58
  |---|---|
59
59
  | Audit report | [`examples/brownfield-monolith/sample-output/audit-report.md`](../../examples/brownfield-monolith/sample-output/audit-report.md) |
60
60
  | Current state with Mermaid diagrams | [`current-state.md`](../../examples/brownfield-monolith/sample-output/current-state.md) |
61
- | Findings JSON (schema 1.0.0) | [`findings.json`](../../examples/brownfield-monolith/sample-output/findings.json) |
61
+ | Findings JSON (schema 1.1.0) | [`findings.json`](../../examples/brownfield-monolith/sample-output/findings.json) |
62
62
  | SARIF 2.1.0 | [`findings.sarif`](../../examples/brownfield-monolith/sample-output/findings.sarif) |
63
63
 
64
64
  Summary of that run: 12 findings (0 critical, 3 high, 7 medium, 2 low); Security `weak`; Reliability, Performance, Scalability, Data integrity and Cost `not assessed`.
@@ -86,7 +86,7 @@ The tool audits its own repository in CI with `--fail-on high`; on the current c
86
86
  | F-05, F-06 map, cycles | `map detects modules, cycles and stack`, `module cycles ignore tests, data-file imports and the root pseudo-module` |
87
87
  | F-10, F-11 rules, evidence | `audit finds seeded problems with evidence and redacted excerpts` |
88
88
  | F-12 redaction | `redact masks secrets ...`, `audit finds seeded problems ...` (asserts no secret in JSON) |
89
- | F-10 false positives | `audit on a clean small project ...`, `audit does not flag secrets inside test files ...`, precision regression tests |
89
+ | F-10 false positives | `audit on a clean small project ...`, `audit flags a provider key in a test file ...`, precision regression tests |
90
90
  | F-14 fail-on | `cli: audit --json ... --fail-on` |
91
91
  | F-20 to F-24 export | `cli: export writes files, honours --dry-run, blocks escaping --output` |
92
92
  | F-30 to F-34 verify | `repository itself verifies`, `mermaid checker flags bad diagrams` |