pramanasutra 0.3.4 → 0.3.6
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 +24 -0
- package/README.md +18 -3
- package/docs/00-start-here.html +160 -151
- package/docs/01-executive-summary.html +151 -148
- package/docs/02-functional-specification.html +152 -150
- package/docs/03-architecture.html +151 -147
- package/docs/04-technical-reference.html +149 -147
- package/docs/05-user-guide.html +153 -147
- package/docs/06-cli-and-reports.html +150 -147
- package/docs/07-rule-catalog.html +152 -149
- package/docs/08-skills-and-agents.html +150 -147
- package/docs/09-security-and-privacy.html +149 -147
- package/docs/10-legal-and-compliance.html +150 -148
- package/docs/11-testing-and-proof.html +151 -148
- package/docs/12-ci-and-release.html +151 -148
- package/docs/13-roadmap-and-status.html +155 -153
- package/docs/14-faq-and-glossary.html +149 -147
- package/docs/15-maintainer-guide.html +150 -148
- package/docs/16-real-world-scenarios.html +293 -0
- package/docs/audit/report.html +3 -3
- package/docs/audit/report.json +2 -2
- package/docs/audit/report.md +3 -3
- package/docs/audit/report.sarif.json +1 -1
- package/docs/diagrams/ci-pipeline.svg +21 -0
- package/docs/diagrams/components.svg +19 -0
- package/docs/diagrams/evidence-binding.svg +12 -0
- package/docs/diagrams/evidence-states.svg +39 -0
- package/docs/diagrams/gate-flow.svg +23 -0
- package/docs/diagrams/overview.svg +25 -0
- package/docs/diagrams/proof-graphs.svg +32 -0
- package/docs/diagrams/quickstart.svg +25 -0
- package/docs/diagrams/report-files.svg +22 -0
- package/docs/diagrams/rules-overview.svg +35 -0
- package/docs/diagrams/scenario-ai-claim.svg +14 -0
- package/docs/diagrams/scenario-focused-test.svg +28 -0
- package/docs/diagrams/scenario-picker.svg +22 -0
- package/docs/diagrams/skills-team.svg +15 -0
- package/docs/diagrams/trust-boundaries.svg +22 -0
- package/docs/index.html +157 -149
- package/docs/proof/test-results.txt +44 -44
- package/docs/samples/clean-project/report.html +2 -2
- package/docs/samples/clean-project/report.json +1 -1
- package/docs/samples/clean-project/report.md +2 -2
- package/docs/samples/clean-project/report.sarif.json +1 -1
- package/docs/samples/focused-test/report.html +2 -2
- package/docs/samples/focused-test/report.json +1 -1
- package/docs/samples/focused-test/report.md +2 -2
- package/docs/samples/focused-test/report.sarif.json +1 -1
- package/docs/samples/missing-ci/report.html +2 -2
- package/docs/samples/missing-ci/report.json +1 -1
- package/docs/samples/missing-ci/report.md +2 -2
- package/docs/samples/missing-ci/report.sarif.json +1 -1
- package/docs/samples/missing-tests/report.html +2 -2
- package/docs/samples/missing-tests/report.json +1 -1
- package/docs/samples/missing-tests/report.md +2 -2
- package/docs/samples/missing-tests/report.sarif.json +1 -1
- package/docs/samples/multi-language/report.html +2 -2
- package/docs/samples/multi-language/report.json +1 -1
- package/docs/samples/multi-language/report.md +2 -2
- package/docs/samples/multi-language/report.sarif.json +1 -1
- package/docs/samples/unsafe-names/report.html +2 -2
- package/docs/samples/unsafe-names/report.json +1 -1
- package/docs/samples/unsafe-names/report.md +2 -2
- package/docs/samples/unsafe-names/report.sarif.json +1 -1
- package/docs/sitemap.xml +1 -0
- package/documents/pramanasutra/00-start-here.md +18 -2
- package/documents/pramanasutra/01-executive-summary.md +4 -1
- package/documents/pramanasutra/02-functional-specification.md +2 -2
- package/documents/pramanasutra/03-architecture.md +6 -0
- package/documents/pramanasutra/05-user-guide.md +11 -0
- package/documents/pramanasutra/06-cli-and-reports.md +3 -0
- package/documents/pramanasutra/07-rule-catalog.md +3 -1
- package/documents/pramanasutra/08-skills-and-agents.md +3 -0
- package/documents/pramanasutra/10-legal-and-compliance.md +1 -1
- package/documents/pramanasutra/11-testing-and-proof.md +4 -1
- package/documents/pramanasutra/12-ci-and-release.md +4 -1
- package/documents/pramanasutra/13-roadmap-and-status.md +4 -4
- package/documents/pramanasutra/16-real-world-scenarios.md +252 -0
- package/documents/pramanasutra/README.md +11 -11
- package/documents/pramanasutra/audit/report.html +3 -3
- package/documents/pramanasutra/audit/report.json +2 -2
- package/documents/pramanasutra/audit/report.md +3 -3
- package/documents/pramanasutra/audit/report.sarif.json +1 -1
- package/documents/pramanasutra/diagrams/ci-pipeline.svg +21 -0
- package/documents/pramanasutra/diagrams/components.svg +19 -0
- package/documents/pramanasutra/diagrams/evidence-binding.svg +12 -0
- package/documents/pramanasutra/diagrams/evidence-states.svg +39 -0
- package/documents/pramanasutra/diagrams/gate-flow.svg +23 -0
- package/documents/pramanasutra/diagrams/overview.svg +25 -0
- package/documents/pramanasutra/diagrams/proof-graphs.svg +32 -0
- package/documents/pramanasutra/diagrams/quickstart.svg +25 -0
- package/documents/pramanasutra/diagrams/report-files.svg +22 -0
- package/documents/pramanasutra/diagrams/rules-overview.svg +35 -0
- package/documents/pramanasutra/diagrams/scenario-ai-claim.svg +14 -0
- package/documents/pramanasutra/diagrams/scenario-focused-test.svg +28 -0
- package/documents/pramanasutra/diagrams/scenario-picker.svg +22 -0
- package/documents/pramanasutra/diagrams/skills-team.svg +15 -0
- package/documents/pramanasutra/diagrams/trust-boundaries.svg +22 -0
- package/documents/pramanasutra/html/00-start-here.html +160 -151
- package/documents/pramanasutra/html/01-executive-summary.html +151 -148
- package/documents/pramanasutra/html/02-functional-specification.html +152 -150
- package/documents/pramanasutra/html/03-architecture.html +151 -147
- package/documents/pramanasutra/html/04-technical-reference.html +149 -147
- package/documents/pramanasutra/html/05-user-guide.html +153 -147
- package/documents/pramanasutra/html/06-cli-and-reports.html +150 -147
- package/documents/pramanasutra/html/07-rule-catalog.html +152 -149
- package/documents/pramanasutra/html/08-skills-and-agents.html +150 -147
- package/documents/pramanasutra/html/09-security-and-privacy.html +149 -147
- package/documents/pramanasutra/html/10-legal-and-compliance.html +150 -148
- package/documents/pramanasutra/html/11-testing-and-proof.html +151 -148
- package/documents/pramanasutra/html/12-ci-and-release.html +151 -148
- package/documents/pramanasutra/html/13-roadmap-and-status.html +155 -153
- package/documents/pramanasutra/html/14-faq-and-glossary.html +149 -147
- package/documents/pramanasutra/html/15-maintainer-guide.html +150 -148
- package/documents/pramanasutra/html/16-real-world-scenarios.html +293 -0
- package/documents/pramanasutra/html/audit/report.html +3 -3
- package/documents/pramanasutra/html/audit/report.json +2 -2
- package/documents/pramanasutra/html/audit/report.md +3 -3
- package/documents/pramanasutra/html/audit/report.sarif.json +1 -1
- package/documents/pramanasutra/html/diagrams/ci-pipeline.svg +21 -0
- package/documents/pramanasutra/html/diagrams/components.svg +19 -0
- package/documents/pramanasutra/html/diagrams/evidence-binding.svg +12 -0
- package/documents/pramanasutra/html/diagrams/evidence-states.svg +39 -0
- package/documents/pramanasutra/html/diagrams/gate-flow.svg +23 -0
- package/documents/pramanasutra/html/diagrams/overview.svg +25 -0
- package/documents/pramanasutra/html/diagrams/proof-graphs.svg +32 -0
- package/documents/pramanasutra/html/diagrams/quickstart.svg +25 -0
- package/documents/pramanasutra/html/diagrams/report-files.svg +22 -0
- package/documents/pramanasutra/html/diagrams/rules-overview.svg +35 -0
- package/documents/pramanasutra/html/diagrams/scenario-ai-claim.svg +14 -0
- package/documents/pramanasutra/html/diagrams/scenario-focused-test.svg +28 -0
- package/documents/pramanasutra/html/diagrams/scenario-picker.svg +22 -0
- package/documents/pramanasutra/html/diagrams/skills-team.svg +15 -0
- package/documents/pramanasutra/html/diagrams/trust-boundaries.svg +22 -0
- package/documents/pramanasutra/html/index.html +157 -149
- package/documents/pramanasutra/html/proof/test-results.txt +44 -44
- package/documents/pramanasutra/html/samples/clean-project/report.html +2 -2
- package/documents/pramanasutra/html/samples/clean-project/report.json +1 -1
- package/documents/pramanasutra/html/samples/clean-project/report.md +2 -2
- package/documents/pramanasutra/html/samples/clean-project/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/focused-test/report.html +2 -2
- package/documents/pramanasutra/html/samples/focused-test/report.json +1 -1
- package/documents/pramanasutra/html/samples/focused-test/report.md +2 -2
- package/documents/pramanasutra/html/samples/focused-test/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/missing-ci/report.html +2 -2
- package/documents/pramanasutra/html/samples/missing-ci/report.json +1 -1
- package/documents/pramanasutra/html/samples/missing-ci/report.md +2 -2
- package/documents/pramanasutra/html/samples/missing-ci/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/missing-tests/report.html +2 -2
- package/documents/pramanasutra/html/samples/missing-tests/report.json +1 -1
- package/documents/pramanasutra/html/samples/missing-tests/report.md +2 -2
- package/documents/pramanasutra/html/samples/missing-tests/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/multi-language/report.html +2 -2
- package/documents/pramanasutra/html/samples/multi-language/report.json +1 -1
- package/documents/pramanasutra/html/samples/multi-language/report.md +2 -2
- package/documents/pramanasutra/html/samples/multi-language/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/unsafe-names/report.html +2 -2
- package/documents/pramanasutra/html/samples/unsafe-names/report.json +1 -1
- package/documents/pramanasutra/html/samples/unsafe-names/report.md +2 -2
- package/documents/pramanasutra/html/samples/unsafe-names/report.sarif.json +1 -1
- package/documents/pramanasutra/html/sitemap.xml +1 -0
- package/documents/pramanasutra/proof/test-results.txt +44 -44
- package/documents/pramanasutra/samples/clean-project/report.html +2 -2
- package/documents/pramanasutra/samples/clean-project/report.json +1 -1
- package/documents/pramanasutra/samples/clean-project/report.md +2 -2
- package/documents/pramanasutra/samples/clean-project/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/focused-test/report.html +2 -2
- package/documents/pramanasutra/samples/focused-test/report.json +1 -1
- package/documents/pramanasutra/samples/focused-test/report.md +2 -2
- package/documents/pramanasutra/samples/focused-test/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/missing-ci/report.html +2 -2
- package/documents/pramanasutra/samples/missing-ci/report.json +1 -1
- package/documents/pramanasutra/samples/missing-ci/report.md +2 -2
- package/documents/pramanasutra/samples/missing-ci/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/missing-tests/report.html +2 -2
- package/documents/pramanasutra/samples/missing-tests/report.json +1 -1
- package/documents/pramanasutra/samples/missing-tests/report.md +2 -2
- package/documents/pramanasutra/samples/missing-tests/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/multi-language/report.html +2 -2
- package/documents/pramanasutra/samples/multi-language/report.json +1 -1
- package/documents/pramanasutra/samples/multi-language/report.md +2 -2
- package/documents/pramanasutra/samples/multi-language/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/unsafe-names/report.html +2 -2
- package/documents/pramanasutra/samples/unsafe-names/report.json +1 -1
- package/documents/pramanasutra/samples/unsafe-names/report.md +2 -2
- package/documents/pramanasutra/samples/unsafe-names/report.sarif.json +1 -1
- package/examples/sample-output/clean-project/report.html +2 -2
- package/examples/sample-output/clean-project/report.json +1 -1
- package/examples/sample-output/clean-project/report.md +2 -2
- package/examples/sample-output/clean-project/report.sarif.json +1 -1
- package/examples/sample-output/focused-test/report.html +2 -2
- package/examples/sample-output/focused-test/report.json +1 -1
- package/examples/sample-output/focused-test/report.md +2 -2
- package/examples/sample-output/focused-test/report.sarif.json +1 -1
- package/examples/sample-output/missing-ci/report.html +2 -2
- package/examples/sample-output/missing-ci/report.json +1 -1
- package/examples/sample-output/missing-ci/report.md +2 -2
- package/examples/sample-output/missing-ci/report.sarif.json +1 -1
- package/examples/sample-output/missing-tests/report.html +2 -2
- package/examples/sample-output/missing-tests/report.json +1 -1
- package/examples/sample-output/missing-tests/report.md +2 -2
- package/examples/sample-output/missing-tests/report.sarif.json +1 -1
- package/examples/sample-output/multi-language/report.html +2 -2
- package/examples/sample-output/multi-language/report.json +1 -1
- package/examples/sample-output/multi-language/report.md +2 -2
- package/examples/sample-output/multi-language/report.sarif.json +1 -1
- package/examples/sample-output/unsafe-names/report.html +2 -2
- package/examples/sample-output/unsafe-names/report.json +1 -1
- package/examples/sample-output/unsafe-names/report.md +2 -2
- package/examples/sample-output/unsafe-names/report.sarif.json +1 -1
- package/llms.txt +2 -1
- package/package.json +5 -2
- package/packages/cli/lib/report.mjs +2 -2
|
@@ -6,7 +6,7 @@ This audit is four files with the same facts: **report.md** (this file), **repor
|
|
|
6
6
|
|---|---|
|
|
7
7
|
| Project | `PramanaSutra-AI` |
|
|
8
8
|
| Generated | 2026-11-06T00:00:00.000Z |
|
|
9
|
-
| Tool | PramanaSutra AI 0.3.
|
|
9
|
+
| Tool | PramanaSutra AI 0.3.6 (schema 1.0.0) |
|
|
10
10
|
| **Release decision** | **READY_FOR_HUMAN_APPROVAL** |
|
|
11
11
|
| Policy | recommended |
|
|
12
12
|
| Supplied test evidence | passing |
|
|
@@ -15,7 +15,7 @@ This audit is four files with the same facts: **report.md** (this file), **repor
|
|
|
15
15
|
|
|
16
16
|
## Summary
|
|
17
17
|
|
|
18
|
-
- Files inspected:
|
|
18
|
+
- Files inspected: 369
|
|
19
19
|
- Test files detected: 1
|
|
20
20
|
- CI workflows detected: 3
|
|
21
21
|
- Manifests detected: 1
|
|
@@ -80,4 +80,4 @@ None.
|
|
|
80
80
|
- This report is decision support, not a compliance certification or legal advice.
|
|
81
81
|
|
|
82
82
|
---
|
|
83
|
-
*Created by Vatsal Shah. Generated locally; nothing was sent over the network. Same audit: report.html, report.json and report.sarif.json.*
|
|
83
|
+
*Created by [Vatsal Shah](https://shahvatsal.com). Official site: [shahvatsal.com](https://shahvatsal.com). Generated locally; nothing was sent over the network. Same audit: report.html, report.json and report.sarif.json.*
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 340" width="960" height="340" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">A pull request through CI to a human decision</title><desc id="d">A pull request runs the tests on Ubuntu and Windows across Node 20, 22 and 24. A real evidence file is written from the test output, release-check runs, reports are kept, and a person reviews before release.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="338" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<rect x="20" y="40" width="205" height="100" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="122.5" y="86.025" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="122.5" dy="0">1 Pull request</tspan></text><text x="122.5" y="106.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="122.5" dy="0">code and tests change</tspan></text>
|
|
6
|
+
<rect x="262" y="40" width="205" height="100" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="364.5" y="77.25" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="364.5" dy="0">2 Real tests run</tspan></text><text x="364.5" y="98.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="364.5" dy="0">Ubuntu and Windows</tspan><tspan x="364.5" dy="17.6">Node 20, 22, 24</tspan></text>
|
|
7
|
+
<rect x="504" y="40" width="205" height="100" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="606.5" y="77.25" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="606.5" dy="0">3 Evidence written</tspan></text><text x="606.5" y="98.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="606.5" dy="0">from the real output</tspan><tspan x="606.5" dy="17.6">scripts/ci-gate.mjs</tspan></text>
|
|
8
|
+
<rect x="746" y="40" width="195" height="100" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/><text x="843.5" y="77.25" font-size="16" font-weight="700" fill="#0f3d3e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="843.5" dy="0">4 release-check</tspan></text><text x="843.5" y="98.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="843.5" dy="0">scan + gate</tspan><tspan x="843.5" dy="17.6">exit 0, 2 or 3</tspan></text>
|
|
9
|
+
<polyline points="225,90 262,90" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
10
|
+
<polyline points="467,90 504,90" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
11
|
+
<polyline points="709,90 746,90" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
12
|
+
<polyline points="843,140 843,175 122,175 122,210" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
13
|
+
<rect x="20" y="210" width="205" height="100" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="122.5" y="247.25" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="122.5" dy="0">5 Reports kept</tspan></text><text x="122.5" y="268.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="122.5" dy="0">md, html, json, sarif</tspan><tspan x="122.5" dy="17.6">as CI artifacts</tspan></text>
|
|
14
|
+
<rect x="262" y="210" width="205" height="100" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="364.5" y="247.25" font-size="16" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="364.5" dy="0">6 Human review</tspan></text><text x="364.5" y="268.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="364.5" dy="0">read report.html</tspan><tspan x="364.5" dy="17.6">decide</tspan></text>
|
|
15
|
+
<rect x="504" y="210" width="205" height="100" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="606.5" y="256.025" font-size="16" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="606.5" dy="0">7 Merge or release</tspan></text><text x="606.5" y="276.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="606.5" dy="0">a person clicks it</tspan></text>
|
|
16
|
+
<rect x="746" y="210" width="195" height="100" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="843.5" y="247.25" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="843.5" dy="0">8 Publish</tspan></text><text x="843.5" y="268.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="843.5" dy="0">npm, GitHub release</tspan><tspan x="843.5" dy="17.6">after a person says go</tspan></text>
|
|
17
|
+
<polyline points="225,260 262,260" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
18
|
+
<polyline points="467,260 504,260" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
19
|
+
<polyline points="709,260 746,260" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
20
|
+
<text x="480" y="330" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">A red step 4 (exit 2 or 3) stops here. Nothing is released by the tool.</tspan></text>
|
|
21
|
+
</svg>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 430" width="960" height="430" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">Inside the CLI</title><desc id="d">The bin file parses arguments and sets the exit code. It calls the scanner, the evidence and policy loaders and the report writer, and the installer copies skills into IDE folders.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="428" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<rect x="280" y="20" width="400" height="70" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/><text x="480" y="51.025000000000006" font-size="16" font-weight="700" fill="#0f3d3e" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="480" dy="0">bin/pramanasutra.mjs</tspan></text><text x="480" y="71.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">parse arguments, dispatch, exit code</tspan></text>
|
|
6
|
+
<rect x="20" y="170" width="160" height="110" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="100" y="211.8" font-size="14.5" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="100" dy="0">scanner.mjs</tspan></text><text x="100" y="230.65" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="100" dy="0">walk files, 5 rules</tspan><tspan x="100" dy="17.6">evaluateGate</tspan></text>
|
|
7
|
+
<polyline points="480,90 480,130 100,130 100,170" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
8
|
+
<rect x="210" y="170" width="160" height="110" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="290" y="211.8" font-size="14.5" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="290" dy="0">evidence.mjs</tspan></text><text x="290" y="230.65" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="290" dy="0">validate JSON</tspan><tspan x="290" dy="17.6">classify state</tspan></text>
|
|
9
|
+
<polyline points="480,90 480,130 290,130 290,170" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
10
|
+
<rect x="400" y="170" width="160" height="110" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="480" y="211.8" font-size="14.5" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="480" dy="0">policy.mjs</tspan></text><text x="480" y="230.65" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">fail-closed load</tspan><tspan x="480" dy="17.6">unknown key = error</tspan></text>
|
|
11
|
+
<polyline points="480,90 480,130 480,130 480,170" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
12
|
+
<rect x="590" y="170" width="160" height="110" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="670" y="211.8" font-size="14.5" font-weight="700" fill="#166534" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="670" dy="0">report.mjs</tspan></text><text x="670" y="230.65" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="670" dy="0">md, html</tspan><tspan x="670" dy="17.6">json, sarif</tspan></text>
|
|
13
|
+
<polyline points="480,90 480,130 670,130 670,170" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
14
|
+
<rect x="780" y="170" width="160" height="110" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="860" y="211.8" font-size="14.5" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="860" dy="0">installer.mjs</tspan></text><text x="860" y="230.65" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="860" dy="0">copy 17 skills</tspan><tspan x="860" dy="17.6">refuse overwrite</tspan></text>
|
|
15
|
+
<polyline points="480,90 480,130 860,130 860,170" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
16
|
+
<rect x="20" y="330" width="700" height="80" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="370" y="365.575" font-size="14.5" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="370" dy="0">Zero runtime dependencies. Node standard library only. No network.</tspan></text><text x="370" y="384.425" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="370" dy="0">Runs git diff --name-only (read-only) only when you pass --changed</tspan></text>
|
|
17
|
+
<rect x="740" y="330" width="200" height="80" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="840" y="365.575" font-size="14.5" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="840" dy="0">.agents/skills</tspan></text><text x="840" y="384.425" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="840" dy="0">17 SKILL.md sources</tspan></text>
|
|
18
|
+
<polyline points="860,330 860,280" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
19
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 300" width="960" height="300" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">Evidence binding: three honest labels</title><desc id="d">Binding is none when no evidence file is given, unbound when the file names no GitHub run, and ci-environment when it names a repository, commit, run id and workflow. None of these is a signature.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="298" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<rect x="20" y="40" width="280" height="150" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="160" y="103.45" font-size="20" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="160" dy="0">none</tspan></text><text x="160" y="129.45" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="160" dy="0">no evidence file</tspan><tspan x="160" dy="17.6">nothing to bind</tspan></text>
|
|
6
|
+
<rect x="340" y="40" width="280" height="150" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="480" y="103.45" font-size="20" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">unbound</tspan></text><text x="480" y="129.45" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">a file, but no GitHub identity</tspan><tspan x="480" dy="17.6">anyone could have typed it</tspan></text>
|
|
7
|
+
<rect x="660" y="40" width="280" height="150" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="800" y="103.45" font-size="20" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="800" dy="0">ci-environment</tspan></text><text x="800" y="129.45" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="800" dy="0">repository, commit, run id</tspan><tspan x="800" dy="17.6">and workflow are named</tspan></text>
|
|
8
|
+
<polyline points="300,115 340,115" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
9
|
+
<polyline points="620,115 660,115" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
10
|
+
<text x="480" y="225" font-size="14" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">More claims as you move right.</tspan></text>
|
|
11
|
+
<text x="480" y="252" font-size="13.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">No label is a cryptographic signature. A person can still hand-write a ci-environment file.</tspan></text>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 420" width="960" height="420" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">How supplied test results are classified</title><desc id="d">Five evidence states: absent, failing, inconclusive, unverified and passing, and the gate effect of each.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="418" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<text x="30" y="32" font-size="12" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">WHAT YOU SUPPLY</tspan></text>
|
|
6
|
+
<text x="490" y="32" font-size="12" font-weight="700" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">STATE</tspan></text>
|
|
7
|
+
<text x="930" y="32" font-size="12" font-weight="700" fill="#5e584e" text-anchor="end" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="930" dy="0">GATE EFFECT</tspan></text>
|
|
8
|
+
<rect x="30" y="50" width="360" height="58" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
|
|
9
|
+
<text x="46" y="85" font-size="14.5" font-weight="400" fill="#1c1915" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="46" dy="0">No --evidence file</tspan></text>
|
|
10
|
+
<rect x="415" y="65" width="150" height="28" rx="14" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.4"/><text x="490" y="83.9" font-size="14" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">absent</tspan></text>
|
|
11
|
+
<polyline points="390,79 415,79" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
12
|
+
<polyline points="565,79 640,79" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
13
|
+
<rect x="640" y="50" width="290" height="58" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="785" y="83.5" font-size="15" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="785" dy="0">REVIEW_REQUIRED</tspan></text>
|
|
14
|
+
<rect x="30" y="122" width="360" height="58" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
|
|
15
|
+
<text x="46" y="157" font-size="14.5" font-weight="400" fill="#1c1915" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="46" dy="0">failed above 0, or exit code not 0</tspan></text>
|
|
16
|
+
<rect x="415" y="137" width="150" height="28" rx="14" fill="#fee2e2" stroke="#991b1b" stroke-width="1.4"/><text x="490" y="155.9" font-size="14" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">failing</tspan></text>
|
|
17
|
+
<polyline points="390,151 415,151" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
18
|
+
<polyline points="565,151 640,151" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
19
|
+
<rect x="640" y="122" width="290" height="58" rx="12" fill="#fee2e2" stroke="#991b1b" stroke-width="1.6"/><text x="785" y="155.5" font-size="15" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="785" dy="0">NO_GO</tspan></text>
|
|
20
|
+
<rect x="30" y="194" width="360" height="58" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
|
|
21
|
+
<text x="46" y="229" font-size="14.5" font-weight="400" fill="#1c1915" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="46" dy="0">passed is 0</tspan></text>
|
|
22
|
+
<rect x="415" y="209" width="150" height="28" rx="14" fill="#fef3c7" stroke="#92400e" stroke-width="1.4"/><text x="490" y="227.9" font-size="14" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">inconclusive</tspan></text>
|
|
23
|
+
<polyline points="390,223 415,223" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
24
|
+
<polyline points="565,223 640,223" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
25
|
+
<rect x="640" y="194" width="290" height="58" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="785" y="227.5" font-size="15" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="785" dy="0">REVIEW_REQUIRED</tspan></text>
|
|
26
|
+
<rect x="30" y="266" width="360" height="58" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
|
|
27
|
+
<text x="46" y="301" font-size="14.5" font-weight="400" fill="#1c1915" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="46" dy="0">source is external-unverified</tspan></text>
|
|
28
|
+
<rect x="415" y="281" width="150" height="28" rx="14" fill="#fef3c7" stroke="#92400e" stroke-width="1.4"/><text x="490" y="299.9" font-size="14" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">unverified</tspan></text>
|
|
29
|
+
<polyline points="390,295 415,295" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
30
|
+
<polyline points="565,295 640,295" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
31
|
+
<rect x="640" y="266" width="290" height="58" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="785" y="299.5" font-size="15" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="785" dy="0">REVIEW_REQUIRED</tspan></text>
|
|
32
|
+
<rect x="30" y="338" width="360" height="58" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
|
|
33
|
+
<text x="46" y="373" font-size="14.5" font-weight="400" fill="#1c1915" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="46" dy="0">exit 0, passed above 0, failed 0, trusted source</tspan></text>
|
|
34
|
+
<rect x="415" y="353" width="150" height="28" rx="14" fill="#dcfce7" stroke="#166534" stroke-width="1.4"/><text x="490" y="371.9" font-size="14" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">passing</tspan></text>
|
|
35
|
+
<polyline points="390,367 415,367" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
36
|
+
<polyline points="565,367 640,367" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
37
|
+
<rect x="640" y="338" width="290" height="58" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="785" y="371.5" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="785" dy="0">Counts toward READY</tspan></text>
|
|
38
|
+
<text x="480" y="412" font-size="12.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Other checks (no blocking finding, complete scan, tests, CI, license) still apply to the last row.</tspan></text>
|
|
39
|
+
</svg>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 800" width="960" height="800" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">How the release gate decides</title><desc id="d">Flowchart. A blocking finding or failing evidence gives NO_GO. Missing evidence, a partial scan, no tests, no CI or no license gives REVIEW_REQUIRED. Only when nothing is missing is the result READY_FOR_HUMAN_APPROVAL, which still needs a person.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="798" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<rect x="370" y="26" width="220" height="28" rx="14" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.4"/><text x="480" y="44.9" font-size="14" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">release-check runs</tspan></text>
|
|
6
|
+
<polyline points="480,54 480,92" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
7
|
+
<polygon points="480,95 630,160 480,225 330,160" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="480" y="158" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Blocking finding?</tspan></text><text x="480" y="178" font-size="12.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">e.g. a focused test (.only)</tspan></text>
|
|
8
|
+
<polyline points="630,160 720,160" fill="none" stroke="#991b1b" stroke-width="2" marker-end="url(#ah)"/><text x="675" y="150" font-size="13" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="675" dy="0">yes</tspan></text>
|
|
9
|
+
<rect x="720" y="120" width="215" height="80" rx="12" fill="#fee2e2" stroke="#991b1b" stroke-width="1.6"/><text x="827.5" y="147.25" font-size="16" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="827.5" dy="0">NO_GO</tspan></text><text x="827.5" y="168.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="827.5" dy="0">exit code 2</tspan><tspan x="827.5" dy="17.6">fix, then re-check</tspan></text>
|
|
10
|
+
<polyline points="480,225 480,275" fill="none" stroke="#166534" stroke-width="2" marker-end="url(#ah)"/><text x="497" y="252" font-size="13" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="497" dy="0">no</tspan></text>
|
|
11
|
+
<polygon points="480,275 630,340 480,405 330,340" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="480" y="338" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Evidence failing?</tspan></text><text x="480" y="358" font-size="12.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">failures, or exit code not 0</tspan></text>
|
|
12
|
+
<polyline points="630,340 700,340 700,170 720,170" fill="none" stroke="#991b1b" stroke-width="2" marker-end="url(#ah)"/><text x="665" y="330" font-size="13" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="665" dy="0">yes</tspan></text>
|
|
13
|
+
<polyline points="480,405 480,455" fill="none" stroke="#166534" stroke-width="2" marker-end="url(#ah)"/><text x="497" y="432" font-size="13" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="497" dy="0">no</tspan></text>
|
|
14
|
+
<polygon points="480,455 630,520 480,585 330,520" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="480" y="518" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Anything missing?</tspan></text><text x="480" y="538" font-size="12.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">see the list on the right</tspan></text>
|
|
15
|
+
<polyline points="630,520 720,520" fill="none" stroke="#92400e" stroke-width="2" marker-end="url(#ah)"/><text x="675" y="510" font-size="13" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="675" dy="0">yes</tspan></text>
|
|
16
|
+
<rect x="720" y="430" width="215" height="180" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="827.5" y="471.85" font-size="15" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="827.5" dy="0">REVIEW_REQUIRED</tspan></text><text x="827.5" y="491.35" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="827.5" dy="0">exit code 3</tspan><tspan x="827.5" dy="17.6"></tspan><tspan x="827.5" dy="17.6">Missing when:</tspan><tspan x="827.5" dy="17.6">evidence is not passing</tspan><tspan x="827.5" dy="17.6">scan is partial</tspan><tspan x="827.5" dy="17.6">no tests, CI or license</tspan></text>
|
|
17
|
+
<polyline points="480,585 480,645" fill="none" stroke="#166534" stroke-width="2" marker-end="url(#ah)"/><text x="497" y="620" font-size="13" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="497" dy="0">no</tspan></text>
|
|
18
|
+
<rect x="310" y="645" width="340" height="70" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="480" y="676.0250000000001" font-size="16" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">READY_FOR_HUMAN_APPROVAL</tspan></text><text x="480" y="696.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">exit code 0</tspan></text>
|
|
19
|
+
<polyline points="480,715 480,745" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
20
|
+
<rect x="315" y="751" width="330" height="28" rx="14" fill="#dcfce7" stroke="#166534" stroke-width="1.4"/><text x="480" y="769.9" font-size="14" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">A person reviews and decides</tspan></text>
|
|
21
|
+
<text x="30" y="225" font-size="13" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">Checked in this order.</tspan><tspan x="30" dy="16.9">First match wins.</tspan></text>
|
|
22
|
+
<rect x="30" y="600" width="230" height="120" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="145" y="639.4875000000001" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="145" dy="0">Always true</tspan></text><text x="145" y="660.2875" font-size="12.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="145" dy="0">requiresHumanApproval: true</tspan><tspan x="145" dy="16.9">automatedDeploymentAuthorized:</tspan><tspan x="145" dy="16.9">false</tspan></text>
|
|
23
|
+
</svg>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 430" width="960" height="430" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">How PramanaSutra AI works</title><desc id="d">Your project files, your test results and an optional policy go into the pramanasutra command. It scans, checks the evidence and decides a gate. It writes four report files and an exit code, and a person makes the final call.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="428" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<text x="30" y="30" font-size="12" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">YOU PROVIDE</tspan></text>
|
|
6
|
+
<text x="340" y="30" font-size="12" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="340" dy="0">THE CLI DECIDES (OFFLINE, NO NETWORK)</tspan></text>
|
|
7
|
+
<text x="680" y="30" font-size="12" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="680" dy="0">YOU GET</tspan></text>
|
|
8
|
+
<rect x="30" y="45" width="250" height="90" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="155" y="86.025" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">Your project files</tspan></text><text x="155" y="106.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">read-only, never executed</tspan></text>
|
|
9
|
+
<rect x="30" y="170" width="250" height="90" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/><text x="155" y="211.02499999999998" font-size="16" font-weight="700" fill="#0f3d3e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">Test results (evidence)</tspan></text><text x="155" y="231.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">JSON from your own runner or CI</tspan></text>
|
|
10
|
+
<rect x="30" y="295" width="250" height="80" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="155" y="331.025" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">Policy (optional)</tspan></text><text x="155" y="351.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">fail-closed JSON</tspan></text>
|
|
11
|
+
<rect x="335" y="45" width="280" height="330" rx="14" fill="#ffffff" stroke="#0b5f63" stroke-width="2"/>
|
|
12
|
+
<rect x="355" y="62" width="240" height="80" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="475" y="98.025" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">1 Scan</tspan></text><text x="475" y="118.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">5 static rules, file and line</tspan></text>
|
|
13
|
+
<rect x="355" y="160" width="240" height="80" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="475" y="196.02499999999998" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">2 Check evidence</tspan></text><text x="475" y="216.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">shape, state, binding label</tspan></text>
|
|
14
|
+
<rect x="355" y="258" width="240" height="100" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/><text x="475" y="295.25" font-size="16" font-weight="700" fill="#0f3d3e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">3 Gate</tspan></text><text x="475" y="316.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">apply policy to findings</tspan><tspan x="475" dy="17.6">and evidence</tspan></text>
|
|
15
|
+
<polyline points="280,90 310,90 310,102 355,102" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
16
|
+
<polyline points="280,215 355,200" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
17
|
+
<polyline points="280,335 310,335 310,318 355,318" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
18
|
+
<polyline points="615,120 680,120" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
19
|
+
<polyline points="615,300 680,300" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
20
|
+
<rect x="680" y="45" width="250" height="150" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="805" y="89.7" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">Four report files</tspan></text><text x="805" y="110.5" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">report.md</tspan><tspan x="805" dy="17.6">report.html</tspan><tspan x="805" dy="17.6">report.json</tspan><tspan x="805" dy="17.6">report.sarif.json</tspan></text>
|
|
21
|
+
<rect x="680" y="225" width="250" height="70" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="805" y="256.025" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">Exit code</tspan></text><text x="805" y="276.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">0 ready 2 NO_GO 3 review</tspan></text>
|
|
22
|
+
<rect x="680" y="320" width="250" height="70" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="805" y="351.025" font-size="16" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">A person decides</tspan></text><text x="805" y="371.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">never an automatic deploy</tspan></text>
|
|
23
|
+
<polyline points="805,295 805,320" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
24
|
+
<text x="480" y="412" font-size="13.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">The tool never runs your tests. It reads files and reads the results you hand it.</tspan></text>
|
|
25
|
+
</svg>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 470" width="960" height="470" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">Recorded results</title><desc id="d">Forty-three of forty-three unit tests passed, six of six labeled fixtures matched, and six of six required CI jobs passed on commit 43309a8.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="468" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<text x="30" y="34" font-size="13" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">UNIT TESTS (tests/cli.test.mjs)</tspan></text>
|
|
6
|
+
<rect x="30" y="46" width="900" height="34" rx="8" fill="#166534"/>
|
|
7
|
+
<text x="480" y="69" font-size="15" font-weight="700" fill="#ffffff" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">43 passed 0 failed 0 skipped</tspan></text>
|
|
8
|
+
<text x="30" y="120" font-size="13" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">LABELED FIXTURES (rule author wrote them: a regression lock, not field accuracy)</tspan></text>
|
|
9
|
+
<rect x="30" y="132" width="900" height="34" rx="8" fill="#166534"/>
|
|
10
|
+
<text x="480" y="155" font-size="15" font-weight="700" fill="#ffffff" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">6 of 6 matched the expected rules and gate 0 false positives 0 false negatives</tspan></text>
|
|
11
|
+
<text x="30" y="206" font-size="13" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">REQUIRED CI JOBS on commit 43309a8 (macOS is not scheduled)</tspan></text>
|
|
12
|
+
<rect x="30" y="222" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
|
|
13
|
+
<text x="170" y="249" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="170" dy="0">Ubuntu Node 20</tspan></text>
|
|
14
|
+
<text x="170" y="270" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="170" dy="0">passed</tspan></text>
|
|
15
|
+
<rect x="330" y="222" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
|
|
16
|
+
<text x="470" y="249" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="470" dy="0">Ubuntu Node 22</tspan></text>
|
|
17
|
+
<text x="470" y="270" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="470" dy="0">passed</tspan></text>
|
|
18
|
+
<rect x="630" y="222" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
|
|
19
|
+
<text x="770" y="249" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="770" dy="0">Ubuntu Node 24</tspan></text>
|
|
20
|
+
<text x="770" y="270" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="770" dy="0">passed</tspan></text>
|
|
21
|
+
<rect x="30" y="300" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
|
|
22
|
+
<text x="170" y="327" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="170" dy="0">Windows Node 20</tspan></text>
|
|
23
|
+
<text x="170" y="348" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="170" dy="0">passed</tspan></text>
|
|
24
|
+
<rect x="330" y="300" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
|
|
25
|
+
<text x="470" y="327" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="470" dy="0">Windows Node 22</tspan></text>
|
|
26
|
+
<text x="470" y="348" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="470" dy="0">passed</tspan></text>
|
|
27
|
+
<rect x="630" y="300" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
|
|
28
|
+
<text x="770" y="327" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="770" dy="0">Windows Node 24</tspan></text>
|
|
29
|
+
<text x="770" y="348" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="770" dy="0">passed</tspan></text>
|
|
30
|
+
<text x="480" y="410" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Numbers come from docs/proof/test-results.txt, docs/proof/eval-results.json and the GitHub Actions run.</tspan></text>
|
|
31
|
+
<text x="480" y="436" font-size="13" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Not measured: accuracy on large real repositories, live behaviour in each AI IDE.</tspan></text>
|
|
32
|
+
</svg>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 260" width="960" height="260" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">Three steps to your first audit</title><desc id="d">Run release-check, open report.html, then fix findings and supply real test results as evidence.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="258" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<rect x="20" y="30" width="290" height="200" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/>
|
|
6
|
+
<text x="165" y="70" font-size="20" font-weight="700" fill="#0f3d3e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="165" dy="0">1 Run</tspan></text>
|
|
7
|
+
<text x="165" y="110" font-size="14" font-weight="400" fill="#1c1915" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="165" dy="0">npx pramanasutra</tspan></text>
|
|
8
|
+
<text x="165" y="132" font-size="14" font-weight="400" fill="#1c1915" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="165" dy="0">release-check --path .</tspan></text>
|
|
9
|
+
<text x="165" y="175" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="165" dy="0">Offline. Read-only.</tspan></text>
|
|
10
|
+
<text x="165" y="195" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="165" dy="0">No account, no API key.</tspan></text>
|
|
11
|
+
<rect x="335" y="30" width="290" height="200" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/>
|
|
12
|
+
<text x="480" y="70" font-size="20" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">2 Read</tspan></text>
|
|
13
|
+
<text x="480" y="110" font-size="14" font-weight="400" fill="#1c1915" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="480" dy="0">pramanasutra-reports/</tspan></text>
|
|
14
|
+
<text x="480" y="132" font-size="14" font-weight="400" fill="#1c1915" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="480" dy="0">report.html</tspan></text>
|
|
15
|
+
<text x="480" y="175" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Gate, findings with</tspan></text>
|
|
16
|
+
<text x="480" y="195" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">file:line, and fixes.</tspan></text>
|
|
17
|
+
<rect x="650" y="30" width="290" height="200" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
|
|
18
|
+
<text x="795" y="70" font-size="20" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="795" dy="0">3 Prove</tspan></text>
|
|
19
|
+
<text x="795" y="110" font-size="14" font-weight="400" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="795" dy="0">run your tests, then</tspan></text>
|
|
20
|
+
<text x="795" y="132" font-size="14" font-weight="400" fill="#1c1915" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="795" dy="0">--evidence results.json</tspan></text>
|
|
21
|
+
<text x="795" y="175" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="795" dy="0">Only real results</tspan></text>
|
|
22
|
+
<text x="795" y="195" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="795" dy="0">can reach READY.</tspan></text>
|
|
23
|
+
<polyline points="310,130 335,130" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
24
|
+
<polyline points="625,130 650,130" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
25
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 380" width="960" height="380" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">One audit, four files</title><desc id="d">One scan writes report.md for pull requests, report.html for browsers, report.json for tools and report.sarif.json for code scanning. The facts are the same in all four.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="378" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<rect x="30" y="120" width="240" height="130" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/><text x="150" y="172.85" font-size="18" font-weight="700" fill="#0f3d3e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="150" dy="0">One scan</tspan></text><text x="150" y="196.25" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="150" dy="0">one set of facts</tspan><tspan x="150" dy="17.6">written four ways</tspan></text>
|
|
6
|
+
<rect x="350" y="20" width="580" height="70" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/>
|
|
7
|
+
<text x="375" y="50" font-size="17" font-weight="700" fill="#1e40af" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="375" dy="0">report.md</tspan></text>
|
|
8
|
+
<text x="375" y="72" font-size="14" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="375" dy="0">Pull requests, tickets, plain reading</tspan></text>
|
|
9
|
+
<polyline points="270,185 310,185 310,55 350,55" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
10
|
+
<rect x="350" y="110" width="580" height="70" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
|
|
11
|
+
<text x="375" y="140" font-size="17" font-weight="700" fill="#166534" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="375" dy="0">report.html</tspan></text>
|
|
12
|
+
<text x="375" y="162" font-size="14" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="375" dy="0">Open in a browser. Share or print. Light and dark.</tspan></text>
|
|
13
|
+
<polyline points="270,185 310,185 310,145 350,145" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
14
|
+
<rect x="350" y="200" width="580" height="70" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/>
|
|
15
|
+
<text x="375" y="230" font-size="17" font-weight="700" fill="#1c1915" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="375" dy="0">report.json</tspan></text>
|
|
16
|
+
<text x="375" y="252" font-size="14" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="375" dy="0">Scripts and CI. Stable schema 1.0.0.</tspan></text>
|
|
17
|
+
<polyline points="270,185 310,185 310,235 350,235" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
18
|
+
<rect x="350" y="290" width="580" height="70" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/>
|
|
19
|
+
<text x="375" y="320" font-size="17" font-weight="700" fill="#92400e" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="375" dy="0">report.sarif.json</tspan></text>
|
|
20
|
+
<text x="375" y="342" font-size="14" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="375" dy="0">SARIF 2.1.0 for code scanning. Not uploaded for you.</tspan></text>
|
|
21
|
+
<polyline points="270,185 310,185 310,325 350,325" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
22
|
+
</svg>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 400" width="960" height="400" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">The five static rules</title><desc id="d">FOCUSED_TEST is high and blocks. SKIPPED_TEST is low and blocks only under the strict policy. NO_TESTS, NO_CI and NO_LICENSE are medium or low and require review.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="398" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<text x="30" y="32" font-size="12" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">RULE</tspan></text>
|
|
6
|
+
<text x="300" y="32" font-size="12" font-weight="700" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="300" dy="0">SEVERITY</tspan></text>
|
|
7
|
+
<text x="430" y="32" font-size="12" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="430" dy="0">WHAT IT SEES</tspan></text>
|
|
8
|
+
<text x="930" y="32" font-size="12" font-weight="700" fill="#5e584e" text-anchor="end" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="930" dy="0">GATE EFFECT</tspan></text>
|
|
9
|
+
<rect x="20" y="46" width="920" height="56" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
|
|
10
|
+
<text x="36" y="80" font-size="15.5" font-weight="700" fill="#1c1915" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="36" dy="0">FOCUSED_TEST</tspan></text>
|
|
11
|
+
<rect x="250" y="60" width="100" height="28" rx="14" fill="#fee2e2" stroke="#991b1b" stroke-width="1.4"/><text x="300" y="78.55" font-size="13" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="300" dy="0">high</tspan></text>
|
|
12
|
+
<text x="430" y="79" font-size="13.5" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="430" dy="0">test.only, fit, fdescribe</tspan></text>
|
|
13
|
+
<rect x="675" y="60" width="250" height="28" rx="14" fill="#fee2e2" stroke="#991b1b" stroke-width="1.4"/><text x="800" y="78.375" font-size="12.5" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="800" dy="0">NO_GO</tspan></text>
|
|
14
|
+
<rect x="20" y="114" width="920" height="56" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
|
|
15
|
+
<text x="36" y="148" font-size="15.5" font-weight="700" fill="#1c1915" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="36" dy="0">SKIPPED_TEST</tspan></text>
|
|
16
|
+
<rect x="250" y="128" width="100" height="28" rx="14" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.4"/><text x="300" y="146.55" font-size="13" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="300" dy="0">low</tspan></text>
|
|
17
|
+
<text x="430" y="147" font-size="13.5" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="430" dy="0">.skip, xit, @Disabled, t.Skip</tspan></text>
|
|
18
|
+
<rect x="675" y="128" width="250" height="28" rx="14" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.4"/><text x="800" y="146.375" font-size="12.5" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="800" dy="0">NO_GO under strict policy only</tspan></text>
|
|
19
|
+
<rect x="20" y="182" width="920" height="56" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
|
|
20
|
+
<text x="36" y="216" font-size="15.5" font-weight="700" fill="#1c1915" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="36" dy="0">NO_TESTS</tspan></text>
|
|
21
|
+
<rect x="250" y="196" width="100" height="28" rx="14" fill="#fef3c7" stroke="#92400e" stroke-width="1.4"/><text x="300" y="214.55" font-size="13" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="300" dy="0">medium</tspan></text>
|
|
22
|
+
<text x="430" y="215" font-size="13.5" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="430" dy="0">no file looks like a test</tspan></text>
|
|
23
|
+
<rect x="675" y="196" width="250" height="28" rx="14" fill="#fef3c7" stroke="#92400e" stroke-width="1.4"/><text x="800" y="214.375" font-size="12.5" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="800" dy="0">REVIEW_REQUIRED</tspan></text>
|
|
24
|
+
<rect x="20" y="250" width="920" height="56" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
|
|
25
|
+
<text x="36" y="284" font-size="15.5" font-weight="700" fill="#1c1915" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="36" dy="0">NO_CI</tspan></text>
|
|
26
|
+
<rect x="250" y="264" width="100" height="28" rx="14" fill="#fef3c7" stroke="#92400e" stroke-width="1.4"/><text x="300" y="282.55" font-size="13" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="300" dy="0">medium</tspan></text>
|
|
27
|
+
<text x="430" y="283" font-size="13.5" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="430" dy="0">no recognised pipeline file</tspan></text>
|
|
28
|
+
<rect x="675" y="264" width="250" height="28" rx="14" fill="#fef3c7" stroke="#92400e" stroke-width="1.4"/><text x="800" y="282.375" font-size="12.5" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="800" dy="0">REVIEW_REQUIRED</tspan></text>
|
|
29
|
+
<rect x="20" y="318" width="920" height="56" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
|
|
30
|
+
<text x="36" y="352" font-size="15.5" font-weight="700" fill="#1c1915" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="36" dy="0">NO_LICENSE</tspan></text>
|
|
31
|
+
<rect x="250" y="332" width="100" height="28" rx="14" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.4"/><text x="300" y="350.55" font-size="13" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="300" dy="0">low</tspan></text>
|
|
32
|
+
<text x="430" y="351" font-size="13.5" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="430" dy="0">no LICENSE at the root</tspan></text>
|
|
33
|
+
<rect x="675" y="332" width="250" height="28" rx="14" fill="#fef3c7" stroke="#92400e" stroke-width="1.4"/><text x="800" y="350.375" font-size="12.5" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="800" dy="0">REVIEW_REQUIRED</tspan></text>
|
|
34
|
+
<text x="480" y="390" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Rules read test files only, line by line. They are heuristics, not parsers.</tspan></text>
|
|
35
|
+
</svg>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 360" width="960" height="360" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">Scenario: "all tests pass" is a claim, not evidence</title><desc id="d">Without an evidence file from a real run the gate returns REVIEW_REQUIRED. With passing evidence it can reach READY_FOR_HUMAN_APPROVAL.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="358" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<rect x="20" y="120" width="210" height="100" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="125" y="165.725" font-size="15" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="125" dy="0">An assistant says</tspan></text><text x="125" y="185.225" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="125" dy="0">"All tests pass."</tspan></text>
|
|
6
|
+
<polyline points="230,170 290,170" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
7
|
+
<polygon points="405,105 520,170 405,235 290,170" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="405" y="168" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="405" dy="0">Evidence file?</tspan></text><text x="405" y="188" font-size="12.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="405" dy="0">from a real run</tspan></text>
|
|
8
|
+
<polyline points="405,105 405,70 560,70" fill="none" stroke="#92400e" stroke-width="2" marker-end="url(#ah)"/><text x="440" y="62" font-size="13" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="440" dy="0">no</tspan></text>
|
|
9
|
+
<rect x="560" y="30" width="380" height="80" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="750" y="56.95" font-size="15" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="750" dy="0">REVIEW_REQUIRED (exit 3)</tspan></text><text x="750" y="76.45" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="750" dy="0">a claim is not evidence</tspan><tspan x="750" dy="17.6">run the tests, then supply the result</tspan></text>
|
|
10
|
+
<polyline points="405,235 405,290 560,290" fill="none" stroke="#166534" stroke-width="2" marker-end="url(#ah)"/><text x="440" y="282" font-size="13" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="440" dy="0">yes</tspan></text>
|
|
11
|
+
<rect x="560" y="150" width="380" height="120" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="750" y="196.95" font-size="15" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="750" dy="0">Evidence: ci-ingested</tspan></text><text x="750" y="216.45" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="750" dy="0">exit 0, passed 12, failed 0</tspan><tspan x="750" dy="17.6">verify checks the JSON shape</tspan></text>
|
|
12
|
+
<polyline points="750,270 750,295" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
13
|
+
<rect x="560" y="295" width="380" height="55" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="750" y="327" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="750" dy="0">READY_FOR_HUMAN_APPROVAL (exit 0)</tspan></text>
|
|
14
|
+
</svg>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 420" width="960" height="420" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">Scenario: a focused test hides half the suite</title><desc id="d">A test.only on line 2 means the runner executes 1 of 2 tests and still shows green. PramanaSutra reports FOCUSED_TEST at tests/a.test.js:2 and returns NO_GO with exit code 2. After the fix, 2 of 2 run.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="418" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<text x="30" y="32" font-size="14" font-weight="700" fill="#991b1b" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">BEFORE: green build, half the coverage</tspan></text>
|
|
6
|
+
<rect x="30" y="48" width="420" height="108" rx="10" fill="#1b2423"/>
|
|
7
|
+
<text x="46" y="78" font-size="13.5" font-weight="400" fill="#f3efe6" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="46" dy="0">import { test } from "node:test";</tspan></text>
|
|
8
|
+
<rect x="30" y="88" width="420" height="26" fill="#7f1d1d"/>
|
|
9
|
+
<text x="46" y="106" font-size="13.5" font-weight="400" fill="#fecaca" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="46" dy="0">test.only("only this runs", () => {});</tspan></text>
|
|
10
|
+
<text x="46" y="134" font-size="13.5" font-weight="400" fill="#f3efe6" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="46" dy="0">test("silently skipped", () => {});</tspan></text>
|
|
11
|
+
<text x="14" y="106" font-size="12" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="14" dy="0">2</tspan></text>
|
|
12
|
+
<text x="30" y="186" font-size="13" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">Tests the runner executes</tspan></text>
|
|
13
|
+
<rect x="30" y="196" width="420" height="22" rx="6" fill="#efeae0"/><rect x="30" y="196" width="210" height="22" rx="6" fill="#991b1b"/>
|
|
14
|
+
<text x="125" y="213" font-size="13" font-weight="700" fill="#ffffff" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="125" dy="0">1 of 2 run</tspan></text>
|
|
15
|
+
<polyline points="250,232 250,262" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
16
|
+
<rect x="30" y="266" width="420" height="120" rx="12" fill="#fee2e2" stroke="#991b1b" stroke-width="1.6"/><text x="240" y="304.175" font-size="15" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="240" dy="0">PramanaSutra: NO_GO (exit 2)</tspan></text><text x="240" y="323.675" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="240" dy="0">FOCUSED_TEST high</tspan><tspan x="240" dy="17.6">tests/a.test.js:2</tspan><tspan x="240" dy="17.6">Remove .only, run the full suite</tspan></text>
|
|
17
|
+
<polyline points="450,130 510,130" fill="none" stroke="#166534" stroke-width="2" marker-end="url(#ah)"/><text x="480" y="120" font-size="13" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">fix</tspan></text>
|
|
18
|
+
<text x="510" y="32" font-size="14" font-weight="700" fill="#166534" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="510" dy="0">AFTER: full suite runs, evidence supplied</tspan></text>
|
|
19
|
+
<rect x="510" y="48" width="420" height="108" rx="10" fill="#1b2423"/>
|
|
20
|
+
<text x="526" y="78" font-size="13.5" font-weight="400" fill="#f3efe6" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="526" dy="0">import { test } from "node:test";</tspan></text>
|
|
21
|
+
<text x="526" y="106" font-size="13.5" font-weight="400" fill="#bbf7d0" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="526" dy="0">test("only this runs", () => {});</tspan></text>
|
|
22
|
+
<text x="526" y="134" font-size="13.5" font-weight="400" fill="#bbf7d0" text-anchor="start" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="526" dy="0">test("no longer skipped", () => {});</tspan></text>
|
|
23
|
+
<text x="510" y="186" font-size="13" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="510" dy="0">Tests the runner executes</tspan></text>
|
|
24
|
+
<rect x="510" y="196" width="420" height="22" rx="6" fill="#166534"/>
|
|
25
|
+
<text x="720" y="213" font-size="13" font-weight="700" fill="#ffffff" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="720" dy="0">2 of 2</tspan></text>
|
|
26
|
+
<polyline points="720,232 720,262" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
27
|
+
<rect x="510" y="266" width="420" height="120" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="720" y="304.175" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="720" dy="0">READY_FOR_HUMAN_APPROVAL (exit 0)</tspan></text><text x="720" y="323.675" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="720" dy="0">with passing evidence supplied</tspan><tspan x="720" dy="17.6">and no other blocker</tspan><tspan x="720" dy="17.6">a person still approves</tspan></text>
|
|
28
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 330" width="960" height="330" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">Which story is yours?</title><desc id="d">A decision guide: stop a release with a hidden problem, stories 1, 4 and 6; check a claim that tests pass, stories 2 and 5; make every pull request prove itself, story 3; teach an AI assistant the method, story 8.</desc>
|
|
3
|
+
<defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
|
|
4
|
+
<rect x="1" y="1" width="958" height="328" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<rect x="330" y="20" width="300" height="60" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/><text x="480" y="54.8" font-size="16" font-weight="700" fill="#0f3d3e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">What are you trying to do?</tspan></text>
|
|
6
|
+
<polyline points="480,80 480,110 127,110 127,150" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
7
|
+
<rect x="20" y="150" width="215" height="80" rx="12" fill="#fee2e2" stroke="#991b1b" stroke-width="1.6"/><text x="127.5" y="194.04999999999998" font-size="13.5" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="127.5" dy="0">Stop a release with a hidden problem</tspan></text>
|
|
8
|
+
<polyline points="127,230 127,262" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
9
|
+
<rect x="20" y="262" width="215" height="48" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="127.5" y="290.5" font-size="15" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="127.5" dy="0">Stories 1, 4, 6</tspan></text>
|
|
10
|
+
<polyline points="480,80 480,110 362,110 362,150" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
11
|
+
<rect x="255" y="150" width="215" height="80" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="362.5" y="194.04999999999998" font-size="13.5" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="362.5" dy="0">Check a claim that tests pass</tspan></text>
|
|
12
|
+
<polyline points="362,230 362,262" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
13
|
+
<rect x="255" y="262" width="215" height="48" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="362.5" y="290.5" font-size="15" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="362.5" dy="0">Stories 2, 5</tspan></text>
|
|
14
|
+
<polyline points="480,80 480,110 597,110 597,150" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
15
|
+
<rect x="490" y="150" width="215" height="80" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="597.5" y="194.04999999999998" font-size="13.5" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="597.5" dy="0">Make every pull request prove itself</tspan></text>
|
|
16
|
+
<polyline points="597,230 597,262" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
17
|
+
<rect x="490" y="262" width="215" height="48" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="597.5" y="290.5" font-size="15" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="597.5" dy="0">Story 3</tspan></text>
|
|
18
|
+
<polyline points="480,80 480,110 832,110 832,150" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
19
|
+
<rect x="725" y="150" width="215" height="80" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="832.5" y="194.04999999999998" font-size="13.5" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="832.5" dy="0">Teach an AI assistant the method</tspan></text>
|
|
20
|
+
<polyline points="832,230 832,262" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
21
|
+
<rect x="725" y="262" width="215" height="48" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="832.5" y="290.5" font-size="15" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="832.5" dy="0">Story 8</tspan></text>
|
|
22
|
+
</svg>
|