archsutra-ai 0.1.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +56 -6
- package/README.md +84 -12
- package/dist/audit.js +125 -44
- package/dist/cli.js +184 -96
- package/dist/drift.js +29 -15
- package/dist/fsutil.js +117 -20
- package/dist/history.js +40 -0
- package/dist/html.js +10 -8
- package/dist/map.js +26 -5
- package/dist/mcp.js +70 -55
- package/dist/redact.js +24 -11
- package/dist/report.js +69 -19
- package/dist/rules-extra.js +59 -0
- package/dist/secret-patterns.js +69 -0
- package/dist/suppress.js +31 -19
- package/dist/verify.js +2 -2
- package/dist/write.js +71 -0
- package/docs/architecture/overview.html +29 -12
- package/docs/architecture/overview.md +2 -2
- package/docs/architecture/threat-model.html +28 -11
- package/docs/assets/charts/coverage-dark.svg +11 -0
- package/docs/assets/charts/coverage.svg +11 -0
- package/docs/assets/charts/finding-anatomy-dark.svg +20 -0
- package/docs/assets/charts/finding-anatomy.svg +20 -0
- package/docs/assets/charts/pipeline-dark.svg +13 -0
- package/docs/assets/charts/pipeline.svg +13 -0
- package/docs/assets/charts/precision-by-batch-dark.svg +12 -0
- package/docs/assets/charts/precision-by-batch.svg +12 -0
- package/docs/assets/charts/precision-by-rule-dark.svg +12 -0
- package/docs/assets/charts/precision-by-rule.svg +12 -0
- package/docs/assets/charts/sample-findings-by-severity-dark.svg +11 -0
- package/docs/assets/charts/sample-findings-by-severity.svg +11 -0
- package/docs/assets/charts/scan-time-dark.svg +11 -0
- package/docs/assets/charts/scan-time.svg +11 -0
- package/docs/assets/site.css +259 -138
- package/docs/assets/site.js +92 -6
- package/docs/community/good-first-issues.html +28 -11
- package/docs/compatibility/matrix.html +28 -11
- package/docs/compatibility/smoke-tests/index.html +28 -11
- package/docs/decisions/ADR-0001-deterministic-cli-plus-ide-skills.html +28 -11
- package/docs/guides/cheat-sheet.html +100 -0
- package/docs/guides/cheat-sheet.md +146 -0
- package/docs/guides/ci-recipes.html +170 -0
- package/docs/guides/ci-recipes.md +176 -0
- package/docs/guides/evidence-at-a-glance.html +93 -0
- package/docs/guides/evidence-at-a-glance.md +65 -0
- package/docs/guides/getting-started.html +151 -0
- package/docs/guides/getting-started.md +160 -0
- package/docs/guides/how-it-works.html +161 -0
- package/docs/guides/how-it-works.md +148 -0
- package/docs/guides/mcp-server.html +99 -0
- package/docs/guides/mcp-server.md +81 -0
- package/docs/guides/reading-a-report.html +119 -0
- package/docs/guides/reading-a-report.md +111 -0
- package/docs/guides/real-world-scenarios.html +287 -0
- package/docs/guides/real-world-scenarios.md +377 -0
- package/docs/handbook/01-executive-summary.html +30 -13
- package/docs/handbook/01-executive-summary.md +2 -2
- package/docs/handbook/02-functional-specification.html +30 -13
- package/docs/handbook/02-functional-specification.md +3 -3
- package/docs/handbook/03-technical-specification.html +31 -14
- package/docs/handbook/03-technical-specification.md +3 -3
- package/docs/handbook/04-architecture.html +29 -12
- package/docs/handbook/04-architecture.md +1 -1
- package/docs/handbook/05-user-guide.html +33 -15
- package/docs/handbook/05-user-guide.md +5 -4
- package/docs/handbook/06-cli-reference.html +52 -16
- package/docs/handbook/06-cli-reference.md +47 -4
- package/docs/handbook/07-security-privacy-legal.html +31 -12
- package/docs/handbook/07-security-privacy-legal.md +4 -0
- package/docs/handbook/08-testing-and-proof.html +32 -15
- package/docs/handbook/08-testing-and-proof.md +4 -4
- package/docs/handbook/09-compatibility-and-roadmap.html +29 -12
- package/docs/handbook/09-compatibility-and-roadmap.md +3 -2
- package/docs/handbook/10-contributor-guide.html +29 -12
- package/docs/handbook/10-contributor-guide.md +1 -1
- package/docs/handbook/11-glossary-and-faq.html +34 -13
- package/docs/handbook/11-glossary-and-faq.md +7 -1
- package/docs/handbook/12-rule-catalog.html +59 -19
- package/docs/handbook/12-rule-catalog.md +62 -5
- package/docs/handbook/13-trust-and-assurance.html +29 -12
- package/docs/handbook/13-trust-and-assurance.md +1 -1
- package/docs/handbook/14-real-world-evaluation.html +28 -11
- package/docs/handbook/15-supply-chain-and-release.html +28 -11
- package/docs/handbook/16-performance-and-quality-metrics.html +28 -11
- package/docs/handbook/16-performance-and-quality-metrics.md +1 -1
- package/docs/handbook/README.md +4 -2
- package/docs/handbook/index.html +31 -13
- package/docs/index.html +101 -51
- package/docs/legal/legal-review-brief.html +28 -11
- package/docs/legal/trademark-and-name-clearance.html +28 -11
- package/docs/proof/accessibility.html +28 -11
- package/docs/proof/benchmarks.json +9 -9
- package/docs/proof/benchmarks.md +4 -4
- package/docs/proof/test-results.txt +56 -40
- package/docs/rfc/0001-archsutra-v0.1.html +28 -11
- package/docs/sample-report/architecture-register.json +46 -0
- package/docs/sample-report/audit-report.html +123 -0
- package/docs/sample-report/audit-report.md +314 -0
- package/docs/sample-report/current-state.html +77 -0
- package/docs/sample-report/current-state.md +51 -0
- package/docs/sample-report/findings.json +478 -0
- package/docs/sample-report/findings.sarif +754 -0
- package/docs/sample-report/index.html +57 -0
- package/docs/sample-report/overview.md +11 -0
- package/docs/search-index.json +1 -0
- package/docs/sitemap.xml +39 -28
- package/llms.txt +11 -2
- package/package.json +3 -2
- package/schemas/findings.schema.json +4 -3
- package/skills/architecture-audit/SKILL.md +2 -2
- package/skills/architecture-audit/references/report-template.md +1 -1
- package/skills/architecture-verification/references/fitness-functions.md +1 -1
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
<meta name="description" content="How ArchSutra's findings were measured on 52 public repositories, the honest results, what was fixed because of them, and the limits.">
|
|
8
8
|
<link rel="canonical" href="https://shahvatsalofficial.github.io/archsutra-ai/handbook/14-real-world-evaluation.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="Real-world evaluation | ArchSutra AI">
|
|
12
13
|
<meta property="og:description" content="How ArchSutra's findings were measured on 52 public repositories, the honest results, what was fixed because of them, and the limits.">
|
|
@@ -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{
|
|
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":"Real-world evaluation","description":"How ArchSutra's findings were measured on 52 public repositories, the honest results, what was fixed because of them, and the limits.","author":{"@type":"Person","name":"Vatsal Shah","url":"https://shahvatsal.com"},"inLanguage":"en","isPartOf":{"@type":"WebSite","name":"ArchSutra AI","url":"https://shahvatsalofficial.github.io/archsutra-ai"}}</script>
|
|
23
24
|
</head>
|
|
24
|
-
<body class="doc">
|
|
25
|
+
<body class="doc" data-root="../">
|
|
25
26
|
<a class="skip" href="#main">Skip to content</a>
|
|
26
27
|
<header class="topbar">
|
|
27
28
|
<div class="topbar-inner">
|
|
28
|
-
<
|
|
29
|
-
<
|
|
30
|
-
<
|
|
31
|
-
<
|
|
29
|
+
<a class="brand" href="../index.html" aria-label="ArchSutra AI home"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a>
|
|
30
|
+
<nav class="top-links" aria-label="Primary"><a href="../guides/getting-started.html">Get started</a><a href="../guides/real-world-scenarios.html">Scenarios</a><a href="../handbook/index.html" aria-current="true">Handbook</a><a href="../guides/evidence-at-a-glance.html">Proof</a></nav>
|
|
31
|
+
<span class="spacer"></span>
|
|
32
|
+
<div class="search" role="search"><label class="sr-only" for="q">Search the documentation</label><input id="q" type="search" placeholder="Search docs ( / )" autocomplete="off" aria-controls="results" aria-expanded="false"><ul id="results" class="results" role="listbox" hidden></ul></div>
|
|
33
|
+
<a class="gh-btn" href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 19c-4.3 1.4-4.3-2.5-6-3m12 5v-3.5c0-1 .1-1.4-.5-2 2.8-.3 5.5-1.4 5.5-6a4.6 4.6 0 0 0-1.3-3.2 4.2 4.2 0 0 0-.1-3.2s-1.1-.3-3.5 1.3a12 12 0 0 0-6.2 0C6.5 2.8 5.4 3.1 5.4 3.1a4.2 4.2 0 0 0-.1 3.2A4.6 4.6 0 0 0 4 9.5c0 4.6 2.7 5.7 5.5 6-.6.6-.6 1.2-.5 2V21"/></svg><span>GitHub</span></a>
|
|
34
|
+
<button class="icon-btn theme-btn" type="button" aria-label="Switch between light and dark theme"><span class="sun"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg></span><span class="moon"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z"/></svg></span></button>
|
|
35
|
+
<button class="icon-btn menu-btn" type="button" aria-label="Open menu" aria-expanded="false" aria-controls="drawer"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h16M4 12h16M4 17h16"/></svg></button>
|
|
32
36
|
</div>
|
|
33
37
|
</header>
|
|
38
|
+
<div id="drawer" class="drawer" aria-hidden="true">
|
|
39
|
+
<div class="drawer-scrim" data-close></div>
|
|
40
|
+
<div class="drawer-panel" role="dialog" aria-label="Menu">
|
|
41
|
+
<div class="drawer-head"><a class="brand" href="../index.html"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a><button class="icon-btn" type="button" data-close aria-label="Close menu"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div>
|
|
42
|
+
<div class="primary-links"><a href="../index.html">Home</a><a href="../guides/getting-started.html">Get started</a><a href="../guides/real-world-scenarios.html">Scenarios</a><a href="../handbook/index.html">Handbook</a><a href="../guides/evidence-at-a-glance.html">Proof</a><a href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener">GitHub</a></div>
|
|
43
|
+
<div class="nav-group"><p class="nav-title">Start here</p><ul><li><a href="../guides/getting-started.html">Get started in 5 minutes</a></li><li><a href="../guides/real-world-scenarios.html">Real-world scenarios</a></li><li><a href="../guides/how-it-works.html">How it works, in pictures</a></li><li><a href="../guides/reading-a-report.html">Reading and triaging a report</a></li><li><a href="../guides/ci-recipes.html">CI recipes</a></li><li><a href="../guides/mcp-server.html">Use ArchSutra as an MCP server</a></li><li><a href="../guides/cheat-sheet.html">Cheat sheet</a></li><li><a href="../guides/evidence-at-a-glance.html">Evidence at a glance</a></li></ul></div><div class="nav-group"><p class="nav-title">Handbook</p><ul><li><a href="../handbook/index.html">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" aria-current="page">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">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" aria-current="page">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">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" aria-current="page">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="real-world-evaluation">Real-world evaluation</h1>
|
|
37
|
-
<p class="lede">How ArchSutra's findings were measured on 52 public repositories, the honest results, what was fixed because of them, and the limits.</p><p class="meta">Version 0.
|
|
49
|
+
<p class="lede">How ArchSutra's findings were measured on 52 public repositories, the honest results, what was fixed because of them, and the limits.</p><p class="meta">Version 0.2.0 · Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/14-real-world-evaluation.md" rel="noopener">docs/handbook/14-real-world-evaluation.md</a></p>
|
|
38
50
|
<p>This is the evidence behind the accuracy claims. It replaces the earlier fixture-only numbers, which were a regression guarantee and not an accuracy estimate.</p>
|
|
39
51
|
<h2 id="summary">Summary<a class="anchor" href="#summary" aria-label="Link to this section">#</a></h2>
|
|
40
52
|
<div class="table-wrap" tabindex="0" role="region" aria-label="Table 1: Summary"><table><thead><tr><th scope="col">Batch</th><th scope="col">Purpose</th><th scope="col">Repos</th><th scope="col">Findings</th><th scope="col">Sampled and labeled</th><th scope="col">Precision (95% CI)</th><th scope="col">Actionable (95% CI)</th></tr></thead><tbody><tr><td>tuning, <strong>v0.1.0 baseline</strong></td><td>find problems</td><td>24</td><td>91</td><td>48</td><td><strong>50%</strong> (36 to 64)</td><td>29% (18 to 43)</td></tr><tr><td>holdout, after round-1 fixes</td><td>first unseen test</td><td>14</td><td>48</td><td>29</td><td><strong>69%</strong> (51 to 83)</td><td>34% (20 to 53)</td></tr><tr><td>holdout2, after round-2 fixes</td><td>final unseen test</td><td>14</td><td>40</td><td>21</td><td><strong>95%</strong> (77 to 99)</td><td>52% (32 to 72)</td></tr></tbody></table></div>
|
|
@@ -63,13 +75,18 @@ node scripts/labeled-recall.mjs "$TMPDIR/rw"</code></pre></div>
|
|
|
63
75
|
<div class="table-wrap" tabindex="0" role="region" aria-label="Table 3: What changed in the rules because of this"><table><thead><tr><th scope="col">Problem found</th><th scope="col">Fix</th></tr></thead><tbody><tr><td>Secrets rule fired on dummy values, option names, template text, doc files</td><td>value plausibility check (length, character classes, dummy list, interpolation), skip comments, vendored/minified files, <code>.rst</code>/<code>.html</code> docs</td></tr><tr><td>Cycle rule fired on "(root)" files, data-file imports (<code>package.json</code>), test imports, comment-only imports</td><td>ignore the root pseudo-module, non-code import targets, test files and commented lines</td></tr><tr><td>Large-file rule fired on vendored libraries and data tables</td><td>skip vendored paths, minified and third-party-headed files, literal-only files</td></tr><tr><td>Injection rules fired on comments, docstrings, text in backticks, generated code strings</td><td>comment and docstring mask; ignore `<code> </code>eval(<code> </code>`</td></tr><tr><td>Shell <code>exec</code> reported as SQL</td><td>SQL rule requires SQL keywords; interpolated <code>exec</code> is reported under dynamic execution when <code>child_process</code> is used</td></tr><tr><td>Public 80/443 flagged as over-permissive</td><td>port-aware <code>0.0.0.0/0</code> check</td></tr><tr><td>Dev-tooling Dockerfiles flagged</td><td>skip <code>.devcontainer</code>, <code>.github</code>, <code>.gitpod</code></td></tr><tr><td><code>test.js</code>/<code>test.ts</code> not recognised as tests</td><td>basename test/spec recognised</td></tr><tr><td>JWT <code>verify=False</code> reported as TLS</td><td>exclude lines mentioning jwt/decode/signature</td></tr></tbody></table></div>
|
|
64
76
|
<p>Each fix has a regression test in <code>test/archsutra.test.mjs</code>.</p>
|
|
65
77
|
<h2 id="comparison-with-other-tools">Comparison with other tools<a class="anchor" href="#comparison-with-other-tools" aria-label="Link to this section">#</a></h2>
|
|
66
|
-
<p>A manual workflow (<code>.github/workflows/comparison.yml</code>, <code>scripts/compare.mjs</code>) runs ArchSutra and a pinned Semgrep on the same repositories and reports overlap. <strong>It has not been run yet</strong>; results will be published in <code>docs/proof/comparison/</code> after the first run. A comparison against "a plain AI prompt" is not offered because it cannot be made reproducible. See <a href="13-trust-and-assurance.html">Trust and assurance</a>.</p></article></main>
|
|
78
|
+
<p>A manual workflow (<code>.github/workflows/comparison.yml</code>, <code>scripts/compare.mjs</code>) runs ArchSutra and a pinned Semgrep on the same repositories and reports overlap. <strong>It has not been run yet</strong>; results will be published in <code>docs/proof/comparison/</code> after the first run. A comparison against "a plain AI prompt" is not offered because it cannot be made reproducible. See <a href="13-trust-and-assurance.html">Trust and assurance</a>.</p></article><nav class="pn" aria-label="Previous and next page"><a class="prev" href="13-trust-and-assurance.html"><small>Previous</small><span>Trust and assurance</span></a><a class="next" href="15-supply-chain-and-release.html"><small>Next</small><span>Supply chain and release</span></a></nav><p class="edit"><a href="https://github.com/shahvatsalofficial/archsutra-ai/edit/main/docs/handbook/14-real-world-evaluation.md" rel="noopener">Edit this page on GitHub</a></p></main>
|
|
67
79
|
<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="#summary">Summary</a></li><li class="l2"><a href="#what-the-progression-means">What the progression means</a></li><li class="l2"><a href="#method">Method</a></li><li class="l2"><a href="#limitations-read-these">Limitations (read these)</a></li><li class="l2"><a href="#retention-of-labeled-true-positives">Retention of labeled true positives</a></li><li class="l2"><a href="#what-changed-in-the-rules-because-of-this">What changed in the rules because of this</a></li><li class="l2"><a href="#comparison-with-other-tools">Comparison with other tools</a></li></ul></nav></aside>
|
|
68
80
|
</div>
|
|
69
81
|
<footer class="footer">
|
|
70
82
|
<div class="footer-inner">
|
|
71
|
-
<
|
|
72
|
-
|
|
83
|
+
<div class="footer-grid">
|
|
84
|
+
<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>
|
|
85
|
+
<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>
|
|
86
|
+
<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>
|
|
87
|
+
<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>
|
|
88
|
+
</div>
|
|
89
|
+
<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>
|
|
73
90
|
</div>
|
|
74
91
|
</footer>
|
|
75
92
|
<script src="../assets/site.js" type="module"></script>
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
<meta name="description" content="How releases are built, signed and attested, how to verify them, and which supply-chain controls exist.">
|
|
8
8
|
<link rel="canonical" href="https://shahvatsalofficial.github.io/archsutra-ai/handbook/15-supply-chain-and-release.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="Supply chain and release | ArchSutra AI">
|
|
12
13
|
<meta property="og:description" content="How releases are built, signed and attested, how to verify them, and which supply-chain controls exist.">
|
|
@@ -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{
|
|
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":"Supply chain and release","description":"How releases are built, signed and attested, how to verify them, and which supply-chain controls exist.","author":{"@type":"Person","name":"Vatsal Shah","url":"https://shahvatsal.com"},"inLanguage":"en","isPartOf":{"@type":"WebSite","name":"ArchSutra AI","url":"https://shahvatsalofficial.github.io/archsutra-ai"}}</script>
|
|
23
24
|
</head>
|
|
24
|
-
<body class="doc">
|
|
25
|
+
<body class="doc" data-root="../">
|
|
25
26
|
<a class="skip" href="#main">Skip to content</a>
|
|
26
27
|
<header class="topbar">
|
|
27
28
|
<div class="topbar-inner">
|
|
28
|
-
<
|
|
29
|
-
<
|
|
30
|
-
<
|
|
31
|
-
<
|
|
29
|
+
<a class="brand" href="../index.html" aria-label="ArchSutra AI home"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a>
|
|
30
|
+
<nav class="top-links" aria-label="Primary"><a href="../guides/getting-started.html">Get started</a><a href="../guides/real-world-scenarios.html">Scenarios</a><a href="../handbook/index.html" aria-current="true">Handbook</a><a href="../guides/evidence-at-a-glance.html">Proof</a></nav>
|
|
31
|
+
<span class="spacer"></span>
|
|
32
|
+
<div class="search" role="search"><label class="sr-only" for="q">Search the documentation</label><input id="q" type="search" placeholder="Search docs ( / )" autocomplete="off" aria-controls="results" aria-expanded="false"><ul id="results" class="results" role="listbox" hidden></ul></div>
|
|
33
|
+
<a class="gh-btn" href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 19c-4.3 1.4-4.3-2.5-6-3m12 5v-3.5c0-1 .1-1.4-.5-2 2.8-.3 5.5-1.4 5.5-6a4.6 4.6 0 0 0-1.3-3.2 4.2 4.2 0 0 0-.1-3.2s-1.1-.3-3.5 1.3a12 12 0 0 0-6.2 0C6.5 2.8 5.4 3.1 5.4 3.1a4.2 4.2 0 0 0-.1 3.2A4.6 4.6 0 0 0 4 9.5c0 4.6 2.7 5.7 5.5 6-.6.6-.6 1.2-.5 2V21"/></svg><span>GitHub</span></a>
|
|
34
|
+
<button class="icon-btn theme-btn" type="button" aria-label="Switch between light and dark theme"><span class="sun"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg></span><span class="moon"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z"/></svg></span></button>
|
|
35
|
+
<button class="icon-btn menu-btn" type="button" aria-label="Open menu" aria-expanded="false" aria-controls="drawer"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h16M4 12h16M4 17h16"/></svg></button>
|
|
32
36
|
</div>
|
|
33
37
|
</header>
|
|
38
|
+
<div id="drawer" class="drawer" aria-hidden="true">
|
|
39
|
+
<div class="drawer-scrim" data-close></div>
|
|
40
|
+
<div class="drawer-panel" role="dialog" aria-label="Menu">
|
|
41
|
+
<div class="drawer-head"><a class="brand" href="../index.html"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a><button class="icon-btn" type="button" data-close aria-label="Close menu"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div>
|
|
42
|
+
<div class="primary-links"><a href="../index.html">Home</a><a href="../guides/getting-started.html">Get started</a><a href="../guides/real-world-scenarios.html">Scenarios</a><a href="../handbook/index.html">Handbook</a><a href="../guides/evidence-at-a-glance.html">Proof</a><a href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener">GitHub</a></div>
|
|
43
|
+
<div class="nav-group"><p class="nav-title">Start here</p><ul><li><a href="../guides/getting-started.html">Get started in 5 minutes</a></li><li><a href="../guides/real-world-scenarios.html">Real-world scenarios</a></li><li><a href="../guides/how-it-works.html">How it works, in pictures</a></li><li><a href="../guides/reading-a-report.html">Reading and triaging a report</a></li><li><a href="../guides/ci-recipes.html">CI recipes</a></li><li><a href="../guides/mcp-server.html">Use ArchSutra as an MCP server</a></li><li><a href="../guides/cheat-sheet.html">Cheat sheet</a></li><li><a href="../guides/evidence-at-a-glance.html">Evidence at a glance</a></li></ul></div><div class="nav-group"><p class="nav-title">Handbook</p><ul><li><a href="../handbook/index.html">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" aria-current="page">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">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" aria-current="page">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">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" aria-current="page">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="supply-chain-and-release">Supply chain and release</h1>
|
|
37
|
-
<p class="lede">How releases are built, signed and attested, how to verify them, and which supply-chain controls exist.</p><p class="meta">Version 0.
|
|
49
|
+
<p class="lede">How releases are built, signed and attested, how to verify them, and which supply-chain controls exist.</p><p class="meta">Version 0.2.0 · Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/15-supply-chain-and-release.md" rel="noopener">docs/handbook/15-supply-chain-and-release.md</a></p>
|
|
38
50
|
<h2 id="controls">Controls<a class="anchor" href="#controls" aria-label="Link to this section">#</a></h2>
|
|
39
51
|
<div class="table-wrap" tabindex="0" role="region" aria-label="Table 1: Controls"><table><thead><tr><th scope="col">Control</th><th scope="col">Where</th><th scope="col">Status</th></tr></thead><tbody><tr><td>Zero runtime dependencies</td><td><code>package.json</code>; CI step <code>npm ls --omit=dev</code></td><td>enforced in CI</td></tr><tr><td>Lockfile and clean installs</td><td><code>package-lock.json</code>; CI uses <code>npm ci</code></td><td>enforced</td></tr><tr><td>GitHub Actions pinned to commit SHAs</td><td>all files in <code>.github/workflows/</code> (version in a comment)</td><td>done</td></tr><tr><td>Least-privilege workflow permissions</td><td><code>permissions: contents: read</code> by default; elevated only per job</td><td>done</td></tr><tr><td>Dependency updates</td><td>Dependabot (weekly, grouped, major TypeScript and Node typings bumps ignored)</td><td>configured</td></tr><tr><td>Static analysis</td><td>CodeQL (JavaScript/TypeScript) on push, PR and weekly</td><td>configured</td></tr><tr><td>Project health score</td><td>OpenSSF Scorecard workflow, results published</td><td>configured; no score yet</td></tr><tr><td>Developer Certificate of Origin</td><td>CI job <code>dco</code> on pull requests</td><td>configured</td></tr><tr><td>SBOM</td><td>CycloneDX JSON for production and full dependency sets, attached to each release</td><td>on release</td></tr><tr><td>Checksums</td><td><code>SHA256SUMS</code> over the tarball and SBOMs</td><td>on release</td></tr><tr><td>Build provenance attestation</td><td><code>actions/attest</code> signs the tarball with GitHub's Sigstore-based keyless signing</td><td>on release</td></tr><tr><td>Secret scanning</td><td>GitHub secret scanning and push protection (public repositories); our own audit finds no secrets in the tree</td><td>enabled by GitHub</td></tr><tr><td>Vulnerability reporting</td><td>GitHub private advisories; <code>security.txt</code></td><td>configured</td></tr></tbody></table></div>
|
|
40
52
|
<h2 id="release-procedure">Release procedure<a class="anchor" href="#release-procedure" aria-label="Link to this section">#</a></h2>
|
|
@@ -47,13 +59,18 @@ gh attestation verify archsutra-ai-X.Y.Z.tgz --repo shahvatsalofficial/archsutra
|
|
|
47
59
|
<h2 id="using-the-tool-safely">Using the tool safely<a class="anchor" href="#using-the-tool-safely" aria-label="Link to this section">#</a></h2>
|
|
48
60
|
<ul><li>Prefer a pinned release, not the moving default branch. ``<code>bash npx --yes archsutra-ai@0.1.3 audit . --output docs/architecture </code>`<code> Use </code>@0.1.3<code> on Windows. </code>0.1.2<code> installs a command named </code>archsutra<code> only, so </code>npx archsutra-ai<code> fails there with </code>'archsutra' is not recognized`.</li><li>The git tag <code>v0.1.2</code> is the attested GitHub release (tarball, SBOMs, checksums, 2 attestations). It does not contain the <code>archsutra-ai</code> bin. There is no <code>v0.1.3</code> tag. npm <code>0.1.3</code> reports <code>gitHead</code> <code>4a7ab2768c7875fedaeffcffcab18211789efd88</code>, which is not the commit that contains version <code>0.1.3</code> in git, and it has no npm provenance.</li><li>A full commit SHA is still the tightest git pin: <code>npx github:shahvatsalofficial/archsutra-ai#<40-char sha> audit .</code>. Pin a commit at or after the Windows bin fix, not <code>v0.1.2</code>, if the command you run is <code>archsutra-ai</code>.</li><li><code>npx github:...</code> builds from source on your machine (<code>prepare</code> runs <code>tsc</code>); that requires the dev dependencies (TypeScript) to be installed during the build, which come from the lockfile.</li><li>The release tarball can be inspected before running: <code>tar -tzf archsutra-ai-X.Y.Z.tgz</code>.</li></ul>
|
|
49
61
|
<h2 id="not-yet-done">Not yet done<a class="anchor" href="#not-yet-done" aria-label="Link to this section">#</a></h2>
|
|
50
|
-
<div class="table-wrap" tabindex="0" role="region" aria-label="Table 2: Not yet done"><table><thead><tr><th scope="col">Item</th><th scope="col">Why</th></tr></thead><tbody><tr><td>npm publish from GitHub Actions with provenance</td><td><code>release.yml</code> runs <code>npm publish --provenance --access public</code> on a version tag. npm must have a trusted publisher for this repository and <code>release.yml</code>, or the step fails. <code>0.1.2</code> and <code>0.1.3</code> were laptop publishes and cannot be replaced</td></tr><tr><td>Signed git tags</td><td>Needs the maintainer's signing key</td></tr><tr><td>Reproducible build verification</td><td>The TypeScript build is deterministic in practice but not independently verified</td></tr><tr><td>SLSA level claim</td><td><code>v0.1.2</code> has GitHub attestations. Scorecard Signed-Releases still scores 0. No SLSA level is claimed</td></tr></tbody></table></div></article></main>
|
|
62
|
+
<div class="table-wrap" tabindex="0" role="region" aria-label="Table 2: Not yet done"><table><thead><tr><th scope="col">Item</th><th scope="col">Why</th></tr></thead><tbody><tr><td>npm publish from GitHub Actions with provenance</td><td><code>release.yml</code> runs <code>npm publish --provenance --access public</code> on a version tag. npm must have a trusted publisher for this repository and <code>release.yml</code>, or the step fails. <code>0.1.2</code> and <code>0.1.3</code> were laptop publishes and cannot be replaced</td></tr><tr><td>Signed git tags</td><td>Needs the maintainer's signing key</td></tr><tr><td>Reproducible build verification</td><td>The TypeScript build is deterministic in practice but not independently verified</td></tr><tr><td>SLSA level claim</td><td><code>v0.1.2</code> has GitHub attestations. Scorecard Signed-Releases still scores 0. No SLSA level is claimed</td></tr></tbody></table></div></article><nav class="pn" aria-label="Previous and next page"><a class="prev" href="14-real-world-evaluation.html"><small>Previous</small><span>Real-world evaluation</span></a><a class="next" href="16-performance-and-quality-metrics.html"><small>Next</small><span>Performance and quality metrics</span></a></nav><p class="edit"><a href="https://github.com/shahvatsalofficial/archsutra-ai/edit/main/docs/handbook/15-supply-chain-and-release.md" rel="noopener">Edit this page on GitHub</a></p></main>
|
|
51
63
|
<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="#controls">Controls</a></li><li class="l2"><a href="#release-procedure">Release procedure</a></li><li class="l2"><a href="#verify-a-release">Verify a release</a></li><li class="l2"><a href="#using-the-tool-safely">Using the tool safely</a></li><li class="l2"><a href="#not-yet-done">Not yet done</a></li></ul></nav></aside>
|
|
52
64
|
</div>
|
|
53
65
|
<footer class="footer">
|
|
54
66
|
<div class="footer-inner">
|
|
55
|
-
<
|
|
56
|
-
|
|
67
|
+
<div class="footer-grid">
|
|
68
|
+
<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>
|
|
69
|
+
<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>
|
|
70
|
+
<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>
|
|
71
|
+
<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>
|
|
72
|
+
</div>
|
|
73
|
+
<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>
|
|
57
74
|
</div>
|
|
58
75
|
</footer>
|
|
59
76
|
<script src="../assets/site.js" type="module"></script>
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
<meta name="description" content="Measured speed, memory, test coverage and robustness checks, with the exact commands and caveats.">
|
|
8
8
|
<link rel="canonical" href="https://shahvatsalofficial.github.io/archsutra-ai/handbook/16-performance-and-quality-metrics.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="Performance and quality metrics | ArchSutra AI">
|
|
12
13
|
<meta property="og:description" content="Measured speed, memory, test coverage and robustness checks, with the exact commands and caveats.">
|
|
@@ -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{
|
|
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":"Performance and quality metrics","description":"Measured speed, memory, test coverage and robustness checks, with the exact commands and caveats.","author":{"@type":"Person","name":"Vatsal Shah","url":"https://shahvatsal.com"},"inLanguage":"en","isPartOf":{"@type":"WebSite","name":"ArchSutra AI","url":"https://shahvatsalofficial.github.io/archsutra-ai"}}</script>
|
|
23
24
|
</head>
|
|
24
|
-
<body class="doc">
|
|
25
|
+
<body class="doc" data-root="../">
|
|
25
26
|
<a class="skip" href="#main">Skip to content</a>
|
|
26
27
|
<header class="topbar">
|
|
27
28
|
<div class="topbar-inner">
|
|
28
|
-
<
|
|
29
|
-
<
|
|
30
|
-
<
|
|
31
|
-
<
|
|
29
|
+
<a class="brand" href="../index.html" aria-label="ArchSutra AI home"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a>
|
|
30
|
+
<nav class="top-links" aria-label="Primary"><a href="../guides/getting-started.html">Get started</a><a href="../guides/real-world-scenarios.html">Scenarios</a><a href="../handbook/index.html" aria-current="true">Handbook</a><a href="../guides/evidence-at-a-glance.html">Proof</a></nav>
|
|
31
|
+
<span class="spacer"></span>
|
|
32
|
+
<div class="search" role="search"><label class="sr-only" for="q">Search the documentation</label><input id="q" type="search" placeholder="Search docs ( / )" autocomplete="off" aria-controls="results" aria-expanded="false"><ul id="results" class="results" role="listbox" hidden></ul></div>
|
|
33
|
+
<a class="gh-btn" href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M9 19c-4.3 1.4-4.3-2.5-6-3m12 5v-3.5c0-1 .1-1.4-.5-2 2.8-.3 5.5-1.4 5.5-6a4.6 4.6 0 0 0-1.3-3.2 4.2 4.2 0 0 0-.1-3.2s-1.1-.3-3.5 1.3a12 12 0 0 0-6.2 0C6.5 2.8 5.4 3.1 5.4 3.1a4.2 4.2 0 0 0-.1 3.2A4.6 4.6 0 0 0 4 9.5c0 4.6 2.7 5.7 5.5 6-.6.6-.6 1.2-.5 2V21"/></svg><span>GitHub</span></a>
|
|
34
|
+
<button class="icon-btn theme-btn" type="button" aria-label="Switch between light and dark theme"><span class="sun"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></svg></span><span class="moon"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z"/></svg></span></button>
|
|
35
|
+
<button class="icon-btn menu-btn" type="button" aria-label="Open menu" aria-expanded="false" aria-controls="drawer"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h16M4 12h16M4 17h16"/></svg></button>
|
|
32
36
|
</div>
|
|
33
37
|
</header>
|
|
38
|
+
<div id="drawer" class="drawer" aria-hidden="true">
|
|
39
|
+
<div class="drawer-scrim" data-close></div>
|
|
40
|
+
<div class="drawer-panel" role="dialog" aria-label="Menu">
|
|
41
|
+
<div class="drawer-head"><a class="brand" href="../index.html"><svg viewBox="0 0 32 32" aria-hidden="true"><rect width="32" height="32" rx="9" fill="currentColor" opacity=".14"/><path d="M6 24 16 7l10 17M10.5 18h11" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg><span>ArchSutra <b>AI</b></span></a><button class="icon-btn" type="button" data-close aria-label="Close menu"><svg class="icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div>
|
|
42
|
+
<div class="primary-links"><a href="../index.html">Home</a><a href="../guides/getting-started.html">Get started</a><a href="../guides/real-world-scenarios.html">Scenarios</a><a href="../handbook/index.html">Handbook</a><a href="../guides/evidence-at-a-glance.html">Proof</a><a href="https://github.com/shahvatsalofficial/archsutra-ai" rel="noopener">GitHub</a></div>
|
|
43
|
+
<div class="nav-group"><p class="nav-title">Start here</p><ul><li><a href="../guides/getting-started.html">Get started in 5 minutes</a></li><li><a href="../guides/real-world-scenarios.html">Real-world scenarios</a></li><li><a href="../guides/how-it-works.html">How it works, in pictures</a></li><li><a href="../guides/reading-a-report.html">Reading and triaging a report</a></li><li><a href="../guides/ci-recipes.html">CI recipes</a></li><li><a href="../guides/mcp-server.html">Use ArchSutra as an MCP server</a></li><li><a href="../guides/cheat-sheet.html">Cheat sheet</a></li><li><a href="../guides/evidence-at-a-glance.html">Evidence at a glance</a></li></ul></div><div class="nav-group"><p class="nav-title">Handbook</p><ul><li><a href="../handbook/index.html">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" aria-current="page">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">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" aria-current="page">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">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" aria-current="page">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="performance-and-quality-metrics">Performance and quality metrics</h1>
|
|
37
|
-
<p class="lede">Measured speed, memory, test coverage and robustness checks, with the exact commands and caveats.</p><p class="meta">Version 0.
|
|
49
|
+
<p class="lede">Measured speed, memory, test coverage and robustness checks, with the exact commands and caveats.</p><p class="meta">Version 0.2.0 · Source: <a href="https://github.com/shahvatsalofficial/archsutra-ai/blob/main/docs/handbook/16-performance-and-quality-metrics.md" rel="noopener">docs/handbook/16-performance-and-quality-metrics.md</a></p>
|
|
38
50
|
<p>All numbers are measured, reproducible, and from a developer laptop (Windows 11), so absolute timings are pessimistic compared with Linux CI because of slower file-system access and antivirus scanning.</p>
|
|
39
51
|
<h2 id="speed-and-memory-synthetic-repositories">Speed and memory (synthetic repositories)<a class="anchor" href="#speed-and-memory-synthetic-repositories" aria-label="Link to this section">#</a></h2>
|
|
40
52
|
<p>Generated by <code>node scripts/bench.mjs</code> into <a href="../proof/benchmarks.md"><code>docs/proof/benchmarks.md</code></a>. Each case runs in a fresh process so peak memory is meaningful.</p>
|
|
@@ -51,13 +63,18 @@
|
|
|
51
63
|
<h2 id="robustness-checks-in-the-test-suite">Robustness checks in the test suite<a class="anchor" href="#robustness-checks-in-the-test-suite" aria-label="Link to this section">#</a></h2>
|
|
52
64
|
<div class="table-wrap" tabindex="0" role="region" aria-label="Table 4: Robustness checks in the test suite"><table><thead><tr><th scope="col">Check</th><th scope="col">Test</th></tr></thead><tbody><tr><td>Pathological and very long lines finish under 3 s (ReDoS guard)</td><td><code>adversarial inputs: long and pathological lines ...</code></td></tr><tr><td>Hostile file names, binary content, bidi characters never crash or execute</td><td><code>hostile file names and binary content ...</code></td></tr><tr><td>Path traversal rejected</td><td><code>safeJoin rejects traversal</code>, <code>export ... blocks escaping --output</code></td></tr><tr><td>Symlinks not followed</td><td><code>walk does not follow symlinks</code></td></tr><tr><td>Secrets never appear in output</td><td><code>redact ...</code>, <code>audit finds seeded problems ...</code></td></tr><tr><td>Total-byte budget reported as truncation</td><td><code>total-bytes budget truncates and reports it</code></td></tr></tbody></table></div>
|
|
53
65
|
<h2 id="quality-gates-in-ci">Quality gates in CI<a class="anchor" href="#quality-gates-in-ci" aria-label="Link to this section">#</a></h2>
|
|
54
|
-
<p>Typecheck (strict TypeScript),
|
|
66
|
+
<p>Typecheck (strict TypeScript), 52 tests on Ubuntu and Windows across Node 20, 22 and 24 (plus Ubuntu on the newest Node), structural verification of skills, agents, links and diagrams, a self-audit with <code>--fail-on high</code>, a production-dependency check, CodeQL, and (on pull requests) the DCO check. macOS is not in CI.</p></article><nav class="pn" aria-label="Previous and next page"><a class="prev" href="15-supply-chain-and-release.html"><small>Previous</small><span>Supply chain and release</span></a></nav><p class="edit"><a href="https://github.com/shahvatsalofficial/archsutra-ai/edit/main/docs/handbook/16-performance-and-quality-metrics.md" rel="noopener">Edit this page on GitHub</a></p></main>
|
|
55
67
|
<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="#speed-and-memory-synthetic-repositories">Speed and memory (synthetic repositories)</a></li><li class="l2"><a href="#speed-on-real-repositories">Speed on real repositories</a></li><li class="l2"><a href="#bounds-why-runtime-is-limited">Bounds (why runtime is limited)</a></li><li class="l2"><a href="#test-coverage">Test coverage</a></li><li class="l2"><a href="#robustness-checks-in-the-test-suite">Robustness checks in the test suite</a></li><li class="l2"><a href="#quality-gates-in-ci">Quality gates in CI</a></li></ul></nav></aside>
|
|
56
68
|
</div>
|
|
57
69
|
<footer class="footer">
|
|
58
70
|
<div class="footer-inner">
|
|
59
|
-
<
|
|
60
|
-
|
|
71
|
+
<div class="footer-grid">
|
|
72
|
+
<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>
|
|
73
|
+
<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>
|
|
74
|
+
<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>
|
|
75
|
+
<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>
|
|
76
|
+
</div>
|
|
77
|
+
<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>
|
|
61
78
|
</div>
|
|
62
79
|
</footer>
|
|
63
80
|
<script src="../assets/site.js" type="module"></script>
|
|
@@ -57,4 +57,4 @@ Weakest areas: CLI argument-error branches and rarely used `verify` branches. CI
|
|
|
57
57
|
|
|
58
58
|
## Quality gates in CI
|
|
59
59
|
|
|
60
|
-
Typecheck (strict TypeScript),
|
|
60
|
+
Typecheck (strict TypeScript), 52 tests on Ubuntu and Windows across Node 20, 22 and 24 (plus Ubuntu on the newest Node), structural verification of skills, agents, links and diagrams, a self-audit with `--fail-on high`, a production-dependency check, CodeQL, and (on pull requests) the DCO check. macOS is not in CI.
|
package/docs/handbook/README.md
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- summary: Start here. Map of every document, who it is for, and the facts that never change. -->
|
|
4
4
|
|
|
5
|
-
This handbook is the complete reference for **ArchSutra AI** (v0.
|
|
5
|
+
This handbook is the complete reference for **ArchSutra AI** (v0.2.0): what it is, what it does, how it is built, how to use it, how far you can trust it, and where it is going. It is written so that a new engineer, an executive, an auditor, or a future maintainer can understand the whole system without asking anyone.
|
|
6
6
|
|
|
7
7
|
> **One-sentence summary.** ArchSutra AI is an open-source set of portable Agent Skills and a deterministic, offline CLI that give AI coding assistants (Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI) an evidence-first way to design, audit, threat-model and modernize software architecture, with no extra API key.
|
|
8
8
|
|
|
9
|
+
> **New here?** Start with [Get started in 5 minutes](../guides/getting-started.md), then pick a story in [Real-world scenarios](../guides/real-world-scenarios.md). The handbook below is the complete reference.
|
|
10
|
+
|
|
9
11
|
## Choose your path
|
|
10
12
|
|
|
11
13
|
| You are | Read first | Then |
|
|
@@ -45,7 +47,7 @@ Also: [Live smoke tests](../compatibility/smoke-tests/README.md), [Accessibility
|
|
|
45
47
|
|
|
46
48
|
| Item | Value |
|
|
47
49
|
|---|---|
|
|
48
|
-
| Version | 0.
|
|
50
|
+
| Version | 0.2.0 |
|
|
49
51
|
| Creator | [Vatsal Shah](https://shahvatsal.com) |
|
|
50
52
|
| License | Apache-2.0 |
|
|
51
53
|
| Language / runtime | TypeScript (strict, ESM), Node.js 20+ |
|