pramanasutra 0.3.5 → 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 +104 -93
- package/README.md +16 -1
- package/docs/00-start-here.html +20 -11
- package/docs/01-executive-summary.html +10 -7
- package/docs/02-functional-specification.html +12 -10
- package/docs/03-architecture.html +11 -7
- package/docs/04-technical-reference.html +9 -7
- package/docs/05-user-guide.html +13 -7
- package/docs/06-cli-and-reports.html +10 -7
- package/docs/07-rule-catalog.html +12 -9
- package/docs/08-skills-and-agents.html +10 -7
- package/docs/09-security-and-privacy.html +9 -7
- package/docs/10-legal-and-compliance.html +10 -8
- package/docs/11-testing-and-proof.html +11 -8
- package/docs/12-ci-and-release.html +10 -7
- package/docs/13-roadmap-and-status.html +13 -11
- package/docs/14-faq-and-glossary.html +9 -7
- package/docs/15-maintainer-guide.html +10 -8
- package/docs/16-real-world-scenarios.html +293 -0
- package/docs/audit/report.html +2 -2
- package/docs/audit/report.json +2 -2
- package/docs/audit/report.md +2 -2
- 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 +16 -8
- package/docs/proof/test-results.txt +44 -44
- package/docs/samples/clean-project/report.html +1 -1
- package/docs/samples/clean-project/report.json +1 -1
- package/docs/samples/clean-project/report.md +1 -1
- package/docs/samples/clean-project/report.sarif.json +1 -1
- package/docs/samples/focused-test/report.html +1 -1
- package/docs/samples/focused-test/report.json +1 -1
- package/docs/samples/focused-test/report.md +1 -1
- package/docs/samples/focused-test/report.sarif.json +1 -1
- package/docs/samples/missing-ci/report.html +1 -1
- package/docs/samples/missing-ci/report.json +1 -1
- package/docs/samples/missing-ci/report.md +1 -1
- package/docs/samples/missing-ci/report.sarif.json +1 -1
- package/docs/samples/missing-tests/report.html +1 -1
- package/docs/samples/missing-tests/report.json +1 -1
- package/docs/samples/missing-tests/report.md +1 -1
- package/docs/samples/missing-tests/report.sarif.json +1 -1
- package/docs/samples/multi-language/report.html +1 -1
- package/docs/samples/multi-language/report.json +1 -1
- package/docs/samples/multi-language/report.md +1 -1
- package/docs/samples/multi-language/report.sarif.json +1 -1
- package/docs/samples/unsafe-names/report.html +1 -1
- package/docs/samples/unsafe-names/report.json +1 -1
- package/docs/samples/unsafe-names/report.md +1 -1
- 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 +3 -0
- 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 +3 -0
- package/documents/pramanasutra/13-roadmap-and-status.md +2 -2
- package/documents/pramanasutra/16-real-world-scenarios.md +252 -0
- package/documents/pramanasutra/audit/report.html +2 -2
- package/documents/pramanasutra/audit/report.json +2 -2
- package/documents/pramanasutra/audit/report.md +2 -2
- 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 +20 -11
- package/documents/pramanasutra/html/01-executive-summary.html +10 -7
- package/documents/pramanasutra/html/02-functional-specification.html +12 -10
- package/documents/pramanasutra/html/03-architecture.html +11 -7
- package/documents/pramanasutra/html/04-technical-reference.html +9 -7
- package/documents/pramanasutra/html/05-user-guide.html +13 -7
- package/documents/pramanasutra/html/06-cli-and-reports.html +10 -7
- package/documents/pramanasutra/html/07-rule-catalog.html +12 -9
- package/documents/pramanasutra/html/08-skills-and-agents.html +10 -7
- package/documents/pramanasutra/html/09-security-and-privacy.html +9 -7
- package/documents/pramanasutra/html/10-legal-and-compliance.html +10 -8
- package/documents/pramanasutra/html/11-testing-and-proof.html +11 -8
- package/documents/pramanasutra/html/12-ci-and-release.html +10 -7
- package/documents/pramanasutra/html/13-roadmap-and-status.html +13 -11
- package/documents/pramanasutra/html/14-faq-and-glossary.html +9 -7
- package/documents/pramanasutra/html/15-maintainer-guide.html +10 -8
- package/documents/pramanasutra/html/16-real-world-scenarios.html +293 -0
- package/documents/pramanasutra/html/audit/report.html +2 -2
- package/documents/pramanasutra/html/audit/report.json +2 -2
- package/documents/pramanasutra/html/audit/report.md +2 -2
- 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 +16 -8
- package/documents/pramanasutra/html/proof/test-results.txt +44 -44
- package/documents/pramanasutra/html/samples/clean-project/report.html +1 -1
- package/documents/pramanasutra/html/samples/clean-project/report.json +1 -1
- package/documents/pramanasutra/html/samples/clean-project/report.md +1 -1
- package/documents/pramanasutra/html/samples/clean-project/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/focused-test/report.html +1 -1
- package/documents/pramanasutra/html/samples/focused-test/report.json +1 -1
- package/documents/pramanasutra/html/samples/focused-test/report.md +1 -1
- package/documents/pramanasutra/html/samples/focused-test/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/missing-ci/report.html +1 -1
- package/documents/pramanasutra/html/samples/missing-ci/report.json +1 -1
- package/documents/pramanasutra/html/samples/missing-ci/report.md +1 -1
- package/documents/pramanasutra/html/samples/missing-ci/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/missing-tests/report.html +1 -1
- package/documents/pramanasutra/html/samples/missing-tests/report.json +1 -1
- package/documents/pramanasutra/html/samples/missing-tests/report.md +1 -1
- package/documents/pramanasutra/html/samples/missing-tests/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/multi-language/report.html +1 -1
- package/documents/pramanasutra/html/samples/multi-language/report.json +1 -1
- package/documents/pramanasutra/html/samples/multi-language/report.md +1 -1
- package/documents/pramanasutra/html/samples/multi-language/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/unsafe-names/report.html +1 -1
- package/documents/pramanasutra/html/samples/unsafe-names/report.json +1 -1
- package/documents/pramanasutra/html/samples/unsafe-names/report.md +1 -1
- 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 +1 -1
- package/documents/pramanasutra/samples/clean-project/report.json +1 -1
- package/documents/pramanasutra/samples/clean-project/report.md +1 -1
- package/documents/pramanasutra/samples/clean-project/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/focused-test/report.html +1 -1
- package/documents/pramanasutra/samples/focused-test/report.json +1 -1
- package/documents/pramanasutra/samples/focused-test/report.md +1 -1
- package/documents/pramanasutra/samples/focused-test/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/missing-ci/report.html +1 -1
- package/documents/pramanasutra/samples/missing-ci/report.json +1 -1
- package/documents/pramanasutra/samples/missing-ci/report.md +1 -1
- package/documents/pramanasutra/samples/missing-ci/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/missing-tests/report.html +1 -1
- package/documents/pramanasutra/samples/missing-tests/report.json +1 -1
- package/documents/pramanasutra/samples/missing-tests/report.md +1 -1
- package/documents/pramanasutra/samples/missing-tests/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/multi-language/report.html +1 -1
- package/documents/pramanasutra/samples/multi-language/report.json +1 -1
- package/documents/pramanasutra/samples/multi-language/report.md +1 -1
- package/documents/pramanasutra/samples/multi-language/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/unsafe-names/report.html +1 -1
- package/documents/pramanasutra/samples/unsafe-names/report.json +1 -1
- package/documents/pramanasutra/samples/unsafe-names/report.md +1 -1
- package/documents/pramanasutra/samples/unsafe-names/report.sarif.json +1 -1
- package/examples/sample-output/clean-project/report.html +1 -1
- package/examples/sample-output/clean-project/report.json +1 -1
- package/examples/sample-output/clean-project/report.md +1 -1
- package/examples/sample-output/clean-project/report.sarif.json +1 -1
- package/examples/sample-output/focused-test/report.html +1 -1
- package/examples/sample-output/focused-test/report.json +1 -1
- package/examples/sample-output/focused-test/report.md +1 -1
- package/examples/sample-output/focused-test/report.sarif.json +1 -1
- package/examples/sample-output/missing-ci/report.html +1 -1
- package/examples/sample-output/missing-ci/report.json +1 -1
- package/examples/sample-output/missing-ci/report.md +1 -1
- package/examples/sample-output/missing-ci/report.sarif.json +1 -1
- package/examples/sample-output/missing-tests/report.html +1 -1
- package/examples/sample-output/missing-tests/report.json +1 -1
- package/examples/sample-output/missing-tests/report.md +1 -1
- package/examples/sample-output/missing-tests/report.sarif.json +1 -1
- package/examples/sample-output/multi-language/report.html +1 -1
- package/examples/sample-output/multi-language/report.json +1 -1
- package/examples/sample-output/multi-language/report.md +1 -1
- package/examples/sample-output/multi-language/report.sarif.json +1 -1
- package/examples/sample-output/unsafe-names/report.html +1 -1
- package/examples/sample-output/unsafe-names/report.json +1 -1
- package/examples/sample-output/unsafe-names/report.md +1 -1
- package/examples/sample-output/unsafe-names/report.sarif.json +1 -1
- package/llms.txt +2 -1
- package/package.json +1 -1
|
@@ -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>
|