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
|
@@ -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>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 520" width="960" height="520" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
|
|
2
|
+
<title id="t">The 17 agent skills</title><desc id="d">PramanaSutra Prime is the chief orchestrator. Sixteen specialist skills are grouped into plan, write tests, investigate, and ship and verify.</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="518" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
|
|
5
|
+
<rect x="335" y="215" width="290" height="90" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/><text x="480" y="247.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="480" dy="0">pramanasutra-prime</tspan></text><text x="480" y="271.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="480" dy="0">chief orchestrator</tspan><tspan x="480" dy="17.6">scope, safety, delegation</tspan></text>
|
|
6
|
+
<rect x="30" y="20" width="400" height="150" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="230" y="73.475" 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="230" dy="0">Plan</tspan></text><text x="230" y="94.27499999999999" 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="230" dy="0">pramanasutra-strategy</tspan><tspan x="230" dy="17.6">risk-based test strategy</tspan><tspan x="230" dy="17.6">coverage objectives</tspan></text>
|
|
7
|
+
<rect x="530" y="20" width="400" height="150" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="730" y="73.475" 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="730" dy="0">Write and design tests</tspan></text><text x="730" y="94.27499999999999" 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="730" dy="0">-unit -flow -api -visual</tspan><tspan x="730" dy="17.6">-access -load -data</tspan><tspan x="730" dy="17.6">one skill per kind of test</tspan></text>
|
|
8
|
+
<rect x="30" y="350" width="400" height="150" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="230" y="403.47499999999997" font-size="16" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="230" dy="0">Investigate</tspan></text><text x="230" y="424.275" 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="230" dy="0">-regression what changed</tspan><tspan x="230" dy="17.6">-flake why it is unstable</tspan><tspan x="230" dy="17.6">-defect failure to bug report</tspan></text>
|
|
9
|
+
<rect x="530" y="350" width="400" height="150" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="730" y="403.47499999999997" 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="730" dy="0">Ship and verify</tspan></text><text x="730" y="424.275" 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="730" dy="0">-pipeline -release -secure</tspan><tspan x="730" dy="17.6">-evidence -verify</tspan><tspan x="730" dy="17.6">verify reviews the evidence</tspan></text>
|
|
10
|
+
<polyline points="335,245 430,130" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
11
|
+
<polyline points="625,245 530,130" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
12
|
+
<polyline points="335,275 430,390" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
13
|
+
<polyline points="625,275 530,390" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
14
|
+
<text x="480" y="340" 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">Skills are instructions your IDE model follows. They do not run tests.</tspan></text>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
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">Trust boundaries</title><desc id="d">Untrusted project files, file names, comments and evidence text flow into the CLI, which only reads and matches text and never executes it. Reports escape every value.</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
|
+
<rect x="20" y="20" width="270" height="320" rx="14" fill="#fee2e2" stroke="#991b1b" stroke-width="1.6" stroke-dasharray="7 5"/>
|
|
6
|
+
<text x="155" y="48" 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="155" dy="0">UNTRUSTED INPUT</tspan></text>
|
|
7
|
+
<rect x="40" y="65" width="230" height="55" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="155" y="97.3" 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">Project files</tspan></text>
|
|
8
|
+
<rect x="40" y="135" width="230" height="55" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="155" y="167.29999999999998" 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">File names and paths</tspan></text>
|
|
9
|
+
<rect x="40" y="205" width="230" height="55" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="155" y="237.29999999999998" 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">Comments and test text</tspan></text>
|
|
10
|
+
<rect x="40" y="275" width="230" height="55" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="155" y="307.3" 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">Evidence JSON text</tspan></text>
|
|
11
|
+
<rect x="345" y="20" width="270" height="320" rx="14" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/>
|
|
12
|
+
<text x="480" y="48" font-size="13" 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">TRUSTED ENGINE</tspan></text>
|
|
13
|
+
<rect x="365" y="70" width="230" height="250" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="480" y="147.14999999999998" 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="480" dy="0">pramanasutra CLI</tspan></text><text x="480" y="167.95" 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">reads text and matches rules</tspan><tspan x="480" dy="17.6">validates the JSON shape</tspan><tspan x="480" dy="17.6">skips symbolic links</tspan><tspan x="480" dy="17.6">never executes project code</tspan><tspan x="480" dy="17.6">makes no network call</tspan><tspan x="480" dy="17.6">writes only the report folder</tspan></text>
|
|
14
|
+
<rect x="670" y="20" width="270" height="320" rx="14" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
|
|
15
|
+
<text x="805" y="48" 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="805" dy="0">OUTPUT</tspan></text>
|
|
16
|
+
<rect x="690" y="70" width="230" height="120" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="805" y="117.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="805" dy="0">Reports</tspan></text><text x="805" y="138.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="805" dy="0">every value is escaped</tspan><tspan x="805" dy="17.6">in HTML and Markdown</tspan></text>
|
|
17
|
+
<rect x="690" y="210" width="230" height="110" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="805" y="261.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="281.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, 2 or 3 for a pipeline</tspan></text>
|
|
18
|
+
<polyline points="290,180 345,180" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/><text x="318" y="168" font-size="13" font-weight="700" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="318" dy="0">read only</tspan></text>
|
|
19
|
+
<polyline points="615,130 670,130" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
20
|
+
<polyline points="615,260 670,260" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
|
|
21
|
+
<rect x="20" y="360" width="920" height="48" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="480" y="388.34999999999997" font-size="14.5" 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">Provenance of evidence is claimed, not proven. A person must still decide whether to trust the source.</tspan></text>
|
|
22
|
+
</svg>
|