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.
Files changed (211) hide show
  1. package/CHANGELOG.md +104 -93
  2. package/README.md +16 -1
  3. package/docs/00-start-here.html +20 -11
  4. package/docs/01-executive-summary.html +10 -7
  5. package/docs/02-functional-specification.html +12 -10
  6. package/docs/03-architecture.html +11 -7
  7. package/docs/04-technical-reference.html +9 -7
  8. package/docs/05-user-guide.html +13 -7
  9. package/docs/06-cli-and-reports.html +10 -7
  10. package/docs/07-rule-catalog.html +12 -9
  11. package/docs/08-skills-and-agents.html +10 -7
  12. package/docs/09-security-and-privacy.html +9 -7
  13. package/docs/10-legal-and-compliance.html +10 -8
  14. package/docs/11-testing-and-proof.html +11 -8
  15. package/docs/12-ci-and-release.html +10 -7
  16. package/docs/13-roadmap-and-status.html +13 -11
  17. package/docs/14-faq-and-glossary.html +9 -7
  18. package/docs/15-maintainer-guide.html +10 -8
  19. package/docs/16-real-world-scenarios.html +293 -0
  20. package/docs/audit/report.html +2 -2
  21. package/docs/audit/report.json +2 -2
  22. package/docs/audit/report.md +2 -2
  23. package/docs/audit/report.sarif.json +1 -1
  24. package/docs/diagrams/ci-pipeline.svg +21 -0
  25. package/docs/diagrams/components.svg +19 -0
  26. package/docs/diagrams/evidence-binding.svg +12 -0
  27. package/docs/diagrams/evidence-states.svg +39 -0
  28. package/docs/diagrams/gate-flow.svg +23 -0
  29. package/docs/diagrams/overview.svg +25 -0
  30. package/docs/diagrams/proof-graphs.svg +32 -0
  31. package/docs/diagrams/quickstart.svg +25 -0
  32. package/docs/diagrams/report-files.svg +22 -0
  33. package/docs/diagrams/rules-overview.svg +35 -0
  34. package/docs/diagrams/scenario-ai-claim.svg +14 -0
  35. package/docs/diagrams/scenario-focused-test.svg +28 -0
  36. package/docs/diagrams/scenario-picker.svg +22 -0
  37. package/docs/diagrams/skills-team.svg +15 -0
  38. package/docs/diagrams/trust-boundaries.svg +22 -0
  39. package/docs/index.html +16 -8
  40. package/docs/proof/test-results.txt +44 -44
  41. package/docs/samples/clean-project/report.html +1 -1
  42. package/docs/samples/clean-project/report.json +1 -1
  43. package/docs/samples/clean-project/report.md +1 -1
  44. package/docs/samples/clean-project/report.sarif.json +1 -1
  45. package/docs/samples/focused-test/report.html +1 -1
  46. package/docs/samples/focused-test/report.json +1 -1
  47. package/docs/samples/focused-test/report.md +1 -1
  48. package/docs/samples/focused-test/report.sarif.json +1 -1
  49. package/docs/samples/missing-ci/report.html +1 -1
  50. package/docs/samples/missing-ci/report.json +1 -1
  51. package/docs/samples/missing-ci/report.md +1 -1
  52. package/docs/samples/missing-ci/report.sarif.json +1 -1
  53. package/docs/samples/missing-tests/report.html +1 -1
  54. package/docs/samples/missing-tests/report.json +1 -1
  55. package/docs/samples/missing-tests/report.md +1 -1
  56. package/docs/samples/missing-tests/report.sarif.json +1 -1
  57. package/docs/samples/multi-language/report.html +1 -1
  58. package/docs/samples/multi-language/report.json +1 -1
  59. package/docs/samples/multi-language/report.md +1 -1
  60. package/docs/samples/multi-language/report.sarif.json +1 -1
  61. package/docs/samples/unsafe-names/report.html +1 -1
  62. package/docs/samples/unsafe-names/report.json +1 -1
  63. package/docs/samples/unsafe-names/report.md +1 -1
  64. package/docs/samples/unsafe-names/report.sarif.json +1 -1
  65. package/docs/sitemap.xml +1 -0
  66. package/documents/pramanasutra/00-start-here.md +18 -2
  67. package/documents/pramanasutra/01-executive-summary.md +3 -0
  68. package/documents/pramanasutra/02-functional-specification.md +2 -2
  69. package/documents/pramanasutra/03-architecture.md +6 -0
  70. package/documents/pramanasutra/05-user-guide.md +11 -0
  71. package/documents/pramanasutra/06-cli-and-reports.md +3 -0
  72. package/documents/pramanasutra/07-rule-catalog.md +3 -1
  73. package/documents/pramanasutra/08-skills-and-agents.md +3 -0
  74. package/documents/pramanasutra/10-legal-and-compliance.md +1 -1
  75. package/documents/pramanasutra/11-testing-and-proof.md +4 -1
  76. package/documents/pramanasutra/12-ci-and-release.md +3 -0
  77. package/documents/pramanasutra/13-roadmap-and-status.md +2 -2
  78. package/documents/pramanasutra/16-real-world-scenarios.md +252 -0
  79. package/documents/pramanasutra/audit/report.html +2 -2
  80. package/documents/pramanasutra/audit/report.json +2 -2
  81. package/documents/pramanasutra/audit/report.md +2 -2
  82. package/documents/pramanasutra/audit/report.sarif.json +1 -1
  83. package/documents/pramanasutra/diagrams/ci-pipeline.svg +21 -0
  84. package/documents/pramanasutra/diagrams/components.svg +19 -0
  85. package/documents/pramanasutra/diagrams/evidence-binding.svg +12 -0
  86. package/documents/pramanasutra/diagrams/evidence-states.svg +39 -0
  87. package/documents/pramanasutra/diagrams/gate-flow.svg +23 -0
  88. package/documents/pramanasutra/diagrams/overview.svg +25 -0
  89. package/documents/pramanasutra/diagrams/proof-graphs.svg +32 -0
  90. package/documents/pramanasutra/diagrams/quickstart.svg +25 -0
  91. package/documents/pramanasutra/diagrams/report-files.svg +22 -0
  92. package/documents/pramanasutra/diagrams/rules-overview.svg +35 -0
  93. package/documents/pramanasutra/diagrams/scenario-ai-claim.svg +14 -0
  94. package/documents/pramanasutra/diagrams/scenario-focused-test.svg +28 -0
  95. package/documents/pramanasutra/diagrams/scenario-picker.svg +22 -0
  96. package/documents/pramanasutra/diagrams/skills-team.svg +15 -0
  97. package/documents/pramanasutra/diagrams/trust-boundaries.svg +22 -0
  98. package/documents/pramanasutra/html/00-start-here.html +20 -11
  99. package/documents/pramanasutra/html/01-executive-summary.html +10 -7
  100. package/documents/pramanasutra/html/02-functional-specification.html +12 -10
  101. package/documents/pramanasutra/html/03-architecture.html +11 -7
  102. package/documents/pramanasutra/html/04-technical-reference.html +9 -7
  103. package/documents/pramanasutra/html/05-user-guide.html +13 -7
  104. package/documents/pramanasutra/html/06-cli-and-reports.html +10 -7
  105. package/documents/pramanasutra/html/07-rule-catalog.html +12 -9
  106. package/documents/pramanasutra/html/08-skills-and-agents.html +10 -7
  107. package/documents/pramanasutra/html/09-security-and-privacy.html +9 -7
  108. package/documents/pramanasutra/html/10-legal-and-compliance.html +10 -8
  109. package/documents/pramanasutra/html/11-testing-and-proof.html +11 -8
  110. package/documents/pramanasutra/html/12-ci-and-release.html +10 -7
  111. package/documents/pramanasutra/html/13-roadmap-and-status.html +13 -11
  112. package/documents/pramanasutra/html/14-faq-and-glossary.html +9 -7
  113. package/documents/pramanasutra/html/15-maintainer-guide.html +10 -8
  114. package/documents/pramanasutra/html/16-real-world-scenarios.html +293 -0
  115. package/documents/pramanasutra/html/audit/report.html +2 -2
  116. package/documents/pramanasutra/html/audit/report.json +2 -2
  117. package/documents/pramanasutra/html/audit/report.md +2 -2
  118. package/documents/pramanasutra/html/audit/report.sarif.json +1 -1
  119. package/documents/pramanasutra/html/diagrams/ci-pipeline.svg +21 -0
  120. package/documents/pramanasutra/html/diagrams/components.svg +19 -0
  121. package/documents/pramanasutra/html/diagrams/evidence-binding.svg +12 -0
  122. package/documents/pramanasutra/html/diagrams/evidence-states.svg +39 -0
  123. package/documents/pramanasutra/html/diagrams/gate-flow.svg +23 -0
  124. package/documents/pramanasutra/html/diagrams/overview.svg +25 -0
  125. package/documents/pramanasutra/html/diagrams/proof-graphs.svg +32 -0
  126. package/documents/pramanasutra/html/diagrams/quickstart.svg +25 -0
  127. package/documents/pramanasutra/html/diagrams/report-files.svg +22 -0
  128. package/documents/pramanasutra/html/diagrams/rules-overview.svg +35 -0
  129. package/documents/pramanasutra/html/diagrams/scenario-ai-claim.svg +14 -0
  130. package/documents/pramanasutra/html/diagrams/scenario-focused-test.svg +28 -0
  131. package/documents/pramanasutra/html/diagrams/scenario-picker.svg +22 -0
  132. package/documents/pramanasutra/html/diagrams/skills-team.svg +15 -0
  133. package/documents/pramanasutra/html/diagrams/trust-boundaries.svg +22 -0
  134. package/documents/pramanasutra/html/index.html +16 -8
  135. package/documents/pramanasutra/html/proof/test-results.txt +44 -44
  136. package/documents/pramanasutra/html/samples/clean-project/report.html +1 -1
  137. package/documents/pramanasutra/html/samples/clean-project/report.json +1 -1
  138. package/documents/pramanasutra/html/samples/clean-project/report.md +1 -1
  139. package/documents/pramanasutra/html/samples/clean-project/report.sarif.json +1 -1
  140. package/documents/pramanasutra/html/samples/focused-test/report.html +1 -1
  141. package/documents/pramanasutra/html/samples/focused-test/report.json +1 -1
  142. package/documents/pramanasutra/html/samples/focused-test/report.md +1 -1
  143. package/documents/pramanasutra/html/samples/focused-test/report.sarif.json +1 -1
  144. package/documents/pramanasutra/html/samples/missing-ci/report.html +1 -1
  145. package/documents/pramanasutra/html/samples/missing-ci/report.json +1 -1
  146. package/documents/pramanasutra/html/samples/missing-ci/report.md +1 -1
  147. package/documents/pramanasutra/html/samples/missing-ci/report.sarif.json +1 -1
  148. package/documents/pramanasutra/html/samples/missing-tests/report.html +1 -1
  149. package/documents/pramanasutra/html/samples/missing-tests/report.json +1 -1
  150. package/documents/pramanasutra/html/samples/missing-tests/report.md +1 -1
  151. package/documents/pramanasutra/html/samples/missing-tests/report.sarif.json +1 -1
  152. package/documents/pramanasutra/html/samples/multi-language/report.html +1 -1
  153. package/documents/pramanasutra/html/samples/multi-language/report.json +1 -1
  154. package/documents/pramanasutra/html/samples/multi-language/report.md +1 -1
  155. package/documents/pramanasutra/html/samples/multi-language/report.sarif.json +1 -1
  156. package/documents/pramanasutra/html/samples/unsafe-names/report.html +1 -1
  157. package/documents/pramanasutra/html/samples/unsafe-names/report.json +1 -1
  158. package/documents/pramanasutra/html/samples/unsafe-names/report.md +1 -1
  159. package/documents/pramanasutra/html/samples/unsafe-names/report.sarif.json +1 -1
  160. package/documents/pramanasutra/html/sitemap.xml +1 -0
  161. package/documents/pramanasutra/proof/test-results.txt +44 -44
  162. package/documents/pramanasutra/samples/clean-project/report.html +1 -1
  163. package/documents/pramanasutra/samples/clean-project/report.json +1 -1
  164. package/documents/pramanasutra/samples/clean-project/report.md +1 -1
  165. package/documents/pramanasutra/samples/clean-project/report.sarif.json +1 -1
  166. package/documents/pramanasutra/samples/focused-test/report.html +1 -1
  167. package/documents/pramanasutra/samples/focused-test/report.json +1 -1
  168. package/documents/pramanasutra/samples/focused-test/report.md +1 -1
  169. package/documents/pramanasutra/samples/focused-test/report.sarif.json +1 -1
  170. package/documents/pramanasutra/samples/missing-ci/report.html +1 -1
  171. package/documents/pramanasutra/samples/missing-ci/report.json +1 -1
  172. package/documents/pramanasutra/samples/missing-ci/report.md +1 -1
  173. package/documents/pramanasutra/samples/missing-ci/report.sarif.json +1 -1
  174. package/documents/pramanasutra/samples/missing-tests/report.html +1 -1
  175. package/documents/pramanasutra/samples/missing-tests/report.json +1 -1
  176. package/documents/pramanasutra/samples/missing-tests/report.md +1 -1
  177. package/documents/pramanasutra/samples/missing-tests/report.sarif.json +1 -1
  178. package/documents/pramanasutra/samples/multi-language/report.html +1 -1
  179. package/documents/pramanasutra/samples/multi-language/report.json +1 -1
  180. package/documents/pramanasutra/samples/multi-language/report.md +1 -1
  181. package/documents/pramanasutra/samples/multi-language/report.sarif.json +1 -1
  182. package/documents/pramanasutra/samples/unsafe-names/report.html +1 -1
  183. package/documents/pramanasutra/samples/unsafe-names/report.json +1 -1
  184. package/documents/pramanasutra/samples/unsafe-names/report.md +1 -1
  185. package/documents/pramanasutra/samples/unsafe-names/report.sarif.json +1 -1
  186. package/examples/sample-output/clean-project/report.html +1 -1
  187. package/examples/sample-output/clean-project/report.json +1 -1
  188. package/examples/sample-output/clean-project/report.md +1 -1
  189. package/examples/sample-output/clean-project/report.sarif.json +1 -1
  190. package/examples/sample-output/focused-test/report.html +1 -1
  191. package/examples/sample-output/focused-test/report.json +1 -1
  192. package/examples/sample-output/focused-test/report.md +1 -1
  193. package/examples/sample-output/focused-test/report.sarif.json +1 -1
  194. package/examples/sample-output/missing-ci/report.html +1 -1
  195. package/examples/sample-output/missing-ci/report.json +1 -1
  196. package/examples/sample-output/missing-ci/report.md +1 -1
  197. package/examples/sample-output/missing-ci/report.sarif.json +1 -1
  198. package/examples/sample-output/missing-tests/report.html +1 -1
  199. package/examples/sample-output/missing-tests/report.json +1 -1
  200. package/examples/sample-output/missing-tests/report.md +1 -1
  201. package/examples/sample-output/missing-tests/report.sarif.json +1 -1
  202. package/examples/sample-output/multi-language/report.html +1 -1
  203. package/examples/sample-output/multi-language/report.json +1 -1
  204. package/examples/sample-output/multi-language/report.md +1 -1
  205. package/examples/sample-output/multi-language/report.sarif.json +1 -1
  206. package/examples/sample-output/unsafe-names/report.html +1 -1
  207. package/examples/sample-output/unsafe-names/report.json +1 -1
  208. package/examples/sample-output/unsafe-names/report.md +1 -1
  209. package/examples/sample-output/unsafe-names/report.sarif.json +1 -1
  210. package/llms.txt +2 -1
  211. package/package.json +1 -1
@@ -0,0 +1,252 @@
1
+ # Real-world scenarios
2
+
3
+ <!-- summary: Eight true-to-life situations where PramanaSutra AI helps, each with the exact commands, the real terminal output captured from this repository's fixtures, and what to do next. -->
4
+
5
+ Every command on this page was run against a committed project in `fixtures/` of this repository. The terminal output is copied, not written by hand. Where a picture helps, it is drawn from the same facts.
6
+
7
+ > **Note:** Nothing here runs your tests. In each story the tests are run by your own tool. PramanaSutra reads the project and reads the result you hand it.
8
+
9
+ ## The eight stories at a glance
10
+
11
+ | # | Story | Who feels it | What PramanaSutra does |
12
+ |---|---|---|---|
13
+ | 1 | A stray `test.only` before Friday's release | Developer | Finds it by line and blocks with `NO_GO` |
14
+ | 2 | "The AI said all tests pass" | Tech lead | Refuses to treat a claim as evidence |
15
+ | 3 | The pull-request gate | Team | Fails the build with an exit code and a readable report |
16
+ | 4 | Skipped tests pile up | QA lead | Lists every skip in three languages, can block on them |
17
+ | 5 | The pasted "passing" JSON | Release manager | Labels how much the evidence can be trusted |
18
+ | 6 | A legacy service with no tests | New owner | Says plainly that nothing was found, not that it is fine |
19
+ | 7 | A repository with hostile file names | Security reviewer | Scans safely and escapes every name in the report |
20
+ | 8 | Teaching your AI IDE the method | Any developer | Installs 17 skills and shows the prompt to use |
21
+
22
+ ## Story 1: the stray `test.only`
23
+
24
+ **The situation.** It is 16:40 on a Friday. A developer was debugging one test and typed `test.only`. The build is green because the runner now executes **one** test. Nobody notices.
25
+
26
+ ![Before and after fixing a test.only: 1 of 2 tests run, then 2 of 2, and the gate moves from NO_GO to ready for a human](diagrams/scenario-focused-test.svg)
27
+
28
+ **What you run.**
29
+
30
+ ```bash
31
+ npx pramanasutra release-check --path fixtures/focused-test
32
+ ```
33
+
34
+ **What you see.**
35
+
36
+ ```text
37
+ PramanaSutra release-check: 4 file(s), 1 test file(s), 1 finding(s). Gate: NO_GO. Tests executed by this tool: NO. Evidence: absent.
38
+ exit=2
39
+ ```
40
+
41
+ **What the report says** (`report.md`, trimmed):
42
+
43
+ ```text
44
+ | high | `FOCUSED_TEST` | `tests/a.test.js:2` | Remove .only / fit / fdescribe, then execute the full suite. |
45
+ ```
46
+
47
+ **What you do.** Delete `.only` on line 2, run your full suite, write the result to an evidence file, and run the check again. See [story 2](#story-2-the-ai-said-all-tests-pass) for that last step.
48
+
49
+ **Why it matters.** A focused test is the cheapest way to lose coverage without any alarm. The scanner reads the line, not the runner's summary, so it still sees the problem when the build is green.
50
+
51
+ ## Story 2: "the AI said all tests pass"
52
+
53
+ **The situation.** An assistant summarised a pull request and wrote "all tests pass". There is no log. You need to know whether to believe it.
54
+
55
+ ![A claim of passing tests is not evidence: with no evidence file the result is REVIEW_REQUIRED, with real evidence it can reach ready for a human](diagrams/scenario-ai-claim.svg)
56
+
57
+ **Step 1: check the project without evidence.**
58
+
59
+ ```bash
60
+ npx pramanasutra release-check --path fixtures/clean-project
61
+ ```
62
+
63
+ ```text
64
+ PramanaSutra release-check: 6 file(s), 1 test file(s), 0 finding(s). Gate: REVIEW_REQUIRED. Tests executed by this tool: NO. Evidence: absent.
65
+ exit=3
66
+ ```
67
+
68
+ A clean project with no findings still stops at `REVIEW_REQUIRED`. The reason is in the report: *No executed-test evidence supplied.*
69
+
70
+ **Step 2: run the tests yourself, then describe the result.**
71
+
72
+ ```json
73
+ {
74
+ "schemaVersion": "1.0.0",
75
+ "source": "ci-ingested",
76
+ "command": "npm test",
77
+ "executedAt": "2026-11-01T10:00:00Z",
78
+ "exitCode": 0,
79
+ "passed": 1,
80
+ "failed": 0
81
+ }
82
+ ```
83
+
84
+ ```bash
85
+ npx pramanasutra verify --evidence evidence.json
86
+ npx pramanasutra release-check --path fixtures/clean-project --evidence fixtures/clean-project/evidence.json
87
+ ```
88
+
89
+ ```text
90
+ Evidence valid: source=ci-ingested, passed=1, failed=0, exitCode=0. Provenance is only as trustworthy as its source.
91
+ PramanaSutra release-check: 6 file(s), 1 test file(s), 0 finding(s). Gate: READY_FOR_HUMAN_APPROVAL. Tests executed by this tool: NO. Evidence: passing.
92
+ exit=0
93
+ ```
94
+
95
+ **The lesson.** The first answer was `REVIEW_REQUIRED` for a project that really was fine. That is the design. Being right without proof does not count.
96
+
97
+ > **Important:** `READY_FOR_HUMAN_APPROVAL` is not a deploy order. The gate always records `requiresHumanApproval: true` and `automatedDeploymentAuthorized: false`.
98
+
99
+ ## Story 3: the pull-request gate
100
+
101
+ **The situation.** Your team wants every pull request to prove its tests ran before a person reviews it.
102
+
103
+ ![A pull request through tests, evidence, the gate and a human decision to release](diagrams/ci-pipeline.svg)
104
+
105
+ This repository does exactly that. The `CI` workflow runs the real tests on Ubuntu and Windows with Node 20, 22 and 24. Then `scripts/ci-gate.mjs` reads the real test output, writes an evidence file, and runs `release-check` on the repository.
106
+
107
+ ```yaml
108
+ - run: npm test
109
+ - name: Release gate on this repo, using the test run as evidence
110
+ run: node scripts/ci-gate.mjs
111
+ ```
112
+
113
+ On the latest run all six jobs passed. A red step means the process stopped there: exit 2 is a blocker, exit 3 is missing evidence. A person reads `report.html` and decides.
114
+
115
+ > **Tip:** Upload the `pramanasutra-reports` folder as a CI artifact so reviewers can open the HTML report from the pull request.
116
+
117
+ Read [CI and release](12-ci-and-release.md) for the full workflow and for why macOS is not on the required matrix.
118
+
119
+ ## Story 4: skipped tests pile up
120
+
121
+ **The situation.** A polyglot repository has Python, Java and Go tests. Over the years people added skips "just for now".
122
+
123
+ ```bash
124
+ npx pramanasutra release-check --path fixtures/multi-language
125
+ ```
126
+
127
+ ```text
128
+ PramanaSutra release-check: 3 file(s), 3 test file(s), 5 finding(s). Gate: REVIEW_REQUIRED. Tests executed by this tool: NO. Evidence: absent.
129
+ exit=3
130
+ ```
131
+
132
+ Three of the five findings are skips, with exact locations:
133
+
134
+ | Rule | Where | What it saw |
135
+ |---|---|---|
136
+ | `SKIPPED_TEST` | `tests/test_api.py:3` | `@pytest.mark.skip(...)` |
137
+ | `SKIPPED_TEST` | `src/UserServiceTest.java:2` | `@Disabled` |
138
+ | `SKIPPED_TEST` | `pkg/b_test.go:3` | `t.Skip("later")` |
139
+
140
+ The other two are `NO_CI` and `NO_LICENSE`. By default skips only ask for review. If your team wants skips to stop a release, use the strict policy:
141
+
142
+ ```bash
143
+ npx pramanasutra release-check --path fixtures/multi-language --policy policies/strict.json
144
+ ```
145
+
146
+ ```text
147
+ PramanaSutra release-check: 3 file(s), 3 test file(s), 5 finding(s). Gate: NO_GO. Tests executed by this tool: NO. Evidence: absent.
148
+ exit=2
149
+ ```
150
+
151
+ ![The five rules, their severity and their effect on the gate](diagrams/rules-overview.svg)
152
+
153
+ ## Story 5: the pasted "passing" JSON
154
+
155
+ **The situation.** Someone pastes a JSON file that says the tests passed. How much should you trust it?
156
+
157
+ The tool cannot prove the tests ran. It can refuse to over-trust. It gives the evidence a state and a binding label.
158
+
159
+ ![Five evidence states and the gate effect of each](diagrams/evidence-states.svg)
160
+
161
+ Two real examples against the same clean project:
162
+
163
+ ```bash
164
+ # failures reported: exit code 1, 2 failed
165
+ npx pramanasutra release-check --path fixtures/clean-project --evidence fail.json
166
+ ```
167
+
168
+ ```text
169
+ Gate: NO_GO. Evidence: failing.
170
+ exit=2
171
+ ```
172
+
173
+ ```bash
174
+ # a file that admits its source is unverified
175
+ npx pramanasutra release-check --path fixtures/clean-project --evidence unverified.json
176
+ ```
177
+
178
+ ```text
179
+ Gate: REVIEW_REQUIRED. Evidence: unverified.
180
+ exit=3
181
+ ```
182
+
183
+ ![The three evidence binding labels and why none is a signature](diagrams/evidence-binding.svg)
184
+
185
+ The report also states a binding: `none`, `unbound` or `ci-environment`. A `ci-environment` file names a repository, commit, run id and workflow. That is more context, **not a signature**. A person can still type it by hand.
186
+
187
+ ## Story 6: a legacy service with no tests
188
+
189
+ **The situation.** You inherit a service. Nobody can say whether it has tests.
190
+
191
+ ```bash
192
+ npx pramanasutra release-check --path fixtures/missing-tests
193
+ ```
194
+
195
+ ```text
196
+ PramanaSutra release-check: 4 file(s), 0 test file(s), 1 finding(s). Gate: REVIEW_REQUIRED. Tests executed by this tool: NO. Evidence: absent.
197
+ exit=3
198
+ ```
199
+
200
+ The finding is `NO_TESTS`. It means *no file matched the known test naming conventions*. It does not mean the service has no tests. Some ecosystems keep tests beside the code with no naming pattern. The rule catalog explains the conventions that are recognised. Read [Rule catalog](07-rule-catalog.md) before you act on this finding.
201
+
202
+ **What good looks like.** You open `report.html`, see one finding with an explanation, and learn exactly what was and was not checked. The report never says "no risk".
203
+
204
+ ## Story 7: a repository with hostile file names
205
+
206
+ **The situation.** You review an unfamiliar repository. File names contain spaces, `&`, `$`, quotes and Unicode. Some tools break. Some reports become a way to inject HTML.
207
+
208
+ ```bash
209
+ npx pramanasutra release-check --path fixtures/unsafe-names
210
+ ```
211
+
212
+ ```text
213
+ PramanaSutra release-check: 5 file(s), 2 test file(s), 1 finding(s). Gate: NO_GO. Tests executed by this tool: NO. Evidence: absent.
214
+ exit=2
215
+ ```
216
+
217
+ ![Trust boundaries: untrusted project text enters a trusted read-only engine, and reports escape every value](diagrams/trust-boundaries.svg)
218
+
219
+ The scanner never runs the project and never follows symbolic links. Every name that reaches `report.html` or `report.md` is escaped. A committed test proves a name that looks like HTML cannot become markup.
220
+
221
+ ## Story 8: teaching your AI IDE the method
222
+
223
+ **The situation.** You use Cursor, Claude Code, Codex, Copilot or Gemini CLI and want the assistant to follow the same evidence-first method.
224
+
225
+ ```bash
226
+ npx pramanasutra init --ide cursor --target .
227
+ ```
228
+
229
+ ```text
230
+ Installed 17 skill directories into .cursor/skills. No AI model called.
231
+ ```
232
+
233
+ Then ask:
234
+
235
+ > PramanaSutra Prime: assess this repository's test quality and release readiness. Stay read-only, cite file and line, separate observed facts from executed results, and ask before running any tests.
236
+
237
+ ![The 17 skills grouped by job around PramanaSutra Prime](diagrams/skills-team.svg)
238
+
239
+ **What to expect.** The skill is instructions. Your IDE's own model reads them and follows them. The installer only copies files. Nobody has yet published a smoke test showing a host loaded a skill and obeyed it. The [roadmap](13-roadmap-and-status.md) lists that as not proven.
240
+
241
+ ## Pick your story
242
+
243
+ ![Decision guide: which of the eight stories matches what you are trying to do](diagrams/scenario-picker.svg)
244
+
245
+ Read it as a list too: hidden problem, stories 1, 4 and 6. A claim, stories 2 and 5. Pull requests, story 3. AI assistant, story 8.
246
+
247
+ ## What none of the stories claim
248
+
249
+ - The tool did not run any test in any story.
250
+ - A clean result is not proof the code is correct.
251
+ - A ready result is not a release. A person decides.
252
+ - Fixture results are a regression check written by the rule author, not field accuracy.
@@ -14,9 +14,9 @@ code{font-family:ui-monospace,Consolas,monospace;background:var(--bg);padding:.0
14
14
  @media(prefers-color-scheme:dark){.skip{color:#10201f}}
15
15
  @media print{body{background:#fff;color:#000}.card{break-inside:avoid}.skip{display:none}}
16
16
  @media(max-width:640px){body{font-size:16px}}</style></head><body><a class="skip" href="#content">Skip to content</a><main id="content">
17
- <p class="muted">PramanaSutra AI &middot; QA &amp; Release Audit &middot; Markdown, HTML, JSON and SARIF are the same audit</p><h1>PramanaSutra-AI</h1><p class="muted">Generated 2026-11-06T00:00:00.000Z &middot; schema 1.0.0 &middot; tool 0.3.5</p>
17
+ <p class="muted">PramanaSutra AI &middot; QA &amp; Release Audit &middot; Markdown, HTML, JSON and SARIF are the same audit</p><h1>PramanaSutra-AI</h1><p class="muted">Generated 2026-11-06T00:00:00.000Z &middot; schema 1.0.0 &middot; tool 0.3.6</p>
18
18
  <section class="card banner READY_FOR_HUMAN_APPROVAL" role="status"><p class="muted" style="margin:0">Release decision</p><p style="margin:.35rem 0"><span class="pill READY_FOR_HUMAN_APPROVAL">READY_FOR_HUMAN_APPROVAL</span></p><p style="margin:.4rem 0 0">All policy checks passed. A human must still approve; this is never a deploy order.</p><p class="muted" style="margin:.35rem 0 0">Policy: recommended &middot; Supplied test evidence: passing</p></section>
19
- <section class="grid" aria-label="Summary"><div class="stat card"><b>320</b><span>files inspected</span></div><div class="stat card"><b>1</b><span>test files</span></div><div class="stat card"><b>3</b><span>CI workflows</span></div><div class="stat card"><b>0</b><span>findings</span></div><div class="stat card"><b>0</b><span>critical + high</span></div></section>
19
+ <section class="grid" aria-label="Summary"><div class="stat card"><b>369</b><span>files inspected</span></div><div class="stat card"><b>1</b><span>test files</span></div><div class="stat card"><b>3</b><span>CI workflows</span></div><div class="stat card"><b>0</b><span>findings</span></div><div class="stat card"><b>0</b><span>critical + high</span></div></section>
20
20
  <p class="card"><strong>Tests executed by PramanaSutra: NO (static scan only). Executed-test results count only when supplied as evidence.</strong></p>
21
21
  <h2>Supplied test evidence</h2><div class="card"><p>These numbers come from the evidence file the operator supplied. PramanaSutra did not run that command.</p><table><tbody>
22
22
  <tr><th scope="row">Source</th><td><code>local-executed</code></td></tr>
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
3
  "product": "PramanaSutra AI",
4
- "toolVersion": "0.3.5",
4
+ "toolVersion": "0.3.6",
5
5
  "generatedAt": "2026-11-06T00:00:00.000Z",
6
6
  "scannedPath": "PramanaSutra-AI",
7
7
  "capabilities": {
@@ -13,7 +13,7 @@
13
13
  "aiInference": "not-run"
14
14
  },
15
15
  "inventory": {
16
- "fileCount": 320,
16
+ "fileCount": 369,
17
17
  "testFiles": [
18
18
  "tests/cli.test.mjs"
19
19
  ],
@@ -6,7 +6,7 @@ This audit is four files with the same facts: **report.md** (this file), **repor
6
6
  |---|---|
7
7
  | Project | `PramanaSutra-AI` |
8
8
  | Generated | 2026-11-06T00:00:00.000Z |
9
- | Tool | PramanaSutra AI 0.3.5 (schema 1.0.0) |
9
+ | Tool | PramanaSutra AI 0.3.6 (schema 1.0.0) |
10
10
  | **Release decision** | **READY_FOR_HUMAN_APPROVAL** |
11
11
  | Policy | recommended |
12
12
  | Supplied test evidence | passing |
@@ -15,7 +15,7 @@ This audit is four files with the same facts: **report.md** (this file), **repor
15
15
 
16
16
  ## Summary
17
17
 
18
- - Files inspected: 320
18
+ - Files inspected: 369
19
19
  - Test files detected: 1
20
20
  - CI workflows detected: 3
21
21
  - Manifests detected: 1
@@ -5,7 +5,7 @@
5
5
  "tool": {
6
6
  "driver": {
7
7
  "name": "PramanaSutra AI",
8
- "version": "0.3.5",
8
+ "version": "0.3.6",
9
9
  "informationUri": "https://github.com/shahvatsalofficial/pramanasutra-ai",
10
10
  "rules": []
11
11
  }
@@ -0,0 +1,21 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 340" width="960" height="340" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
2
+ <title id="t">A pull request through CI to a human decision</title><desc id="d">A pull request runs the tests on Ubuntu and Windows across Node 20, 22 and 24. A real evidence file is written from the test output, release-check runs, reports are kept, and a person reviews before release.</desc>
3
+ <defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
4
+ <rect x="1" y="1" width="958" height="338" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
5
+ <rect x="20" y="40" width="205" height="100" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="122.5" y="86.025" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="122.5" dy="0">1 Pull request</tspan></text><text x="122.5" y="106.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="122.5" dy="0">code and tests change</tspan></text>
6
+ <rect x="262" y="40" width="205" height="100" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="364.5" y="77.25" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="364.5" dy="0">2 Real tests run</tspan></text><text x="364.5" y="98.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="364.5" dy="0">Ubuntu and Windows</tspan><tspan x="364.5" dy="17.6">Node 20, 22, 24</tspan></text>
7
+ <rect x="504" y="40" width="205" height="100" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="606.5" y="77.25" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="606.5" dy="0">3 Evidence written</tspan></text><text x="606.5" y="98.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="606.5" dy="0">from the real output</tspan><tspan x="606.5" dy="17.6">scripts/ci-gate.mjs</tspan></text>
8
+ <rect x="746" y="40" width="195" height="100" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/><text x="843.5" y="77.25" font-size="16" font-weight="700" fill="#0f3d3e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="843.5" dy="0">4 release-check</tspan></text><text x="843.5" y="98.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="843.5" dy="0">scan + gate</tspan><tspan x="843.5" dy="17.6">exit 0, 2 or 3</tspan></text>
9
+ <polyline points="225,90 262,90" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
10
+ <polyline points="467,90 504,90" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
11
+ <polyline points="709,90 746,90" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
12
+ <polyline points="843,140 843,175 122,175 122,210" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
13
+ <rect x="20" y="210" width="205" height="100" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="122.5" y="247.25" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="122.5" dy="0">5 Reports kept</tspan></text><text x="122.5" y="268.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="122.5" dy="0">md, html, json, sarif</tspan><tspan x="122.5" dy="17.6">as CI artifacts</tspan></text>
14
+ <rect x="262" y="210" width="205" height="100" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="364.5" y="247.25" font-size="16" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="364.5" dy="0">6 Human review</tspan></text><text x="364.5" y="268.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="364.5" dy="0">read report.html</tspan><tspan x="364.5" dy="17.6">decide</tspan></text>
15
+ <rect x="504" y="210" width="205" height="100" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="606.5" y="256.025" font-size="16" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="606.5" dy="0">7 Merge or release</tspan></text><text x="606.5" y="276.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="606.5" dy="0">a person clicks it</tspan></text>
16
+ <rect x="746" y="210" width="195" height="100" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="843.5" y="247.25" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="843.5" dy="0">8 Publish</tspan></text><text x="843.5" y="268.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="843.5" dy="0">npm, GitHub release</tspan><tspan x="843.5" dy="17.6">after a person says go</tspan></text>
17
+ <polyline points="225,260 262,260" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
18
+ <polyline points="467,260 504,260" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
19
+ <polyline points="709,260 746,260" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
20
+ <text x="480" y="330" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">A red step 4 (exit 2 or 3) stops here. Nothing is released by the tool.</tspan></text>
21
+ </svg>
@@ -0,0 +1,19 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 430" width="960" height="430" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
2
+ <title id="t">Inside the CLI</title><desc id="d">The bin file parses arguments and sets the exit code. It calls the scanner, the evidence and policy loaders and the report writer, and the installer copies skills into IDE folders.</desc>
3
+ <defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
4
+ <rect x="1" y="1" width="958" height="428" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
5
+ <rect x="280" y="20" width="400" height="70" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/><text x="480" y="51.025000000000006" font-size="16" font-weight="700" fill="#0f3d3e" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="480" dy="0">bin/pramanasutra.mjs</tspan></text><text x="480" y="71.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">parse arguments, dispatch, exit code</tspan></text>
6
+ <rect x="20" y="170" width="160" height="110" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="100" y="211.8" font-size="14.5" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="100" dy="0">scanner.mjs</tspan></text><text x="100" y="230.65" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="100" dy="0">walk files, 5 rules</tspan><tspan x="100" dy="17.6">evaluateGate</tspan></text>
7
+ <polyline points="480,90 480,130 100,130 100,170" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
8
+ <rect x="210" y="170" width="160" height="110" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="290" y="211.8" font-size="14.5" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="290" dy="0">evidence.mjs</tspan></text><text x="290" y="230.65" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="290" dy="0">validate JSON</tspan><tspan x="290" dy="17.6">classify state</tspan></text>
9
+ <polyline points="480,90 480,130 290,130 290,170" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
10
+ <rect x="400" y="170" width="160" height="110" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="480" y="211.8" font-size="14.5" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="480" dy="0">policy.mjs</tspan></text><text x="480" y="230.65" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">fail-closed load</tspan><tspan x="480" dy="17.6">unknown key = error</tspan></text>
11
+ <polyline points="480,90 480,130 480,130 480,170" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
12
+ <rect x="590" y="170" width="160" height="110" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="670" y="211.8" font-size="14.5" font-weight="700" fill="#166534" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="670" dy="0">report.mjs</tspan></text><text x="670" y="230.65" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="670" dy="0">md, html</tspan><tspan x="670" dy="17.6">json, sarif</tspan></text>
13
+ <polyline points="480,90 480,130 670,130 670,170" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
14
+ <rect x="780" y="170" width="160" height="110" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="860" y="211.8" font-size="14.5" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="860" dy="0">installer.mjs</tspan></text><text x="860" y="230.65" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="860" dy="0">copy 17 skills</tspan><tspan x="860" dy="17.6">refuse overwrite</tspan></text>
15
+ <polyline points="480,90 480,130 860,130 860,170" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
16
+ <rect x="20" y="330" width="700" height="80" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="370" y="365.575" font-size="14.5" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="370" dy="0">Zero runtime dependencies. Node standard library only. No network.</tspan></text><text x="370" y="384.425" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="370" dy="0">Runs git diff --name-only (read-only) only when you pass --changed</tspan></text>
17
+ <rect x="740" y="330" width="200" height="80" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="840" y="365.575" font-size="14.5" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace"><tspan x="840" dy="0">.agents/skills</tspan></text><text x="840" y="384.425" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="840" dy="0">17 SKILL.md sources</tspan></text>
18
+ <polyline points="860,330 860,280" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
19
+ </svg>
@@ -0,0 +1,12 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 300" width="960" height="300" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
2
+ <title id="t">Evidence binding: three honest labels</title><desc id="d">Binding is none when no evidence file is given, unbound when the file names no GitHub run, and ci-environment when it names a repository, commit, run id and workflow. None of these is a signature.</desc>
3
+ <defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
4
+ <rect x="1" y="1" width="958" height="298" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
5
+ <rect x="20" y="40" width="280" height="150" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="160" y="103.45" font-size="20" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="160" dy="0">none</tspan></text><text x="160" y="129.45" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="160" dy="0">no evidence file</tspan><tspan x="160" dy="17.6">nothing to bind</tspan></text>
6
+ <rect x="340" y="40" width="280" height="150" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="480" y="103.45" font-size="20" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">unbound</tspan></text><text x="480" y="129.45" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">a file, but no GitHub identity</tspan><tspan x="480" dy="17.6">anyone could have typed it</tspan></text>
7
+ <rect x="660" y="40" width="280" height="150" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="800" y="103.45" font-size="20" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="800" dy="0">ci-environment</tspan></text><text x="800" y="129.45" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="800" dy="0">repository, commit, run id</tspan><tspan x="800" dy="17.6">and workflow are named</tspan></text>
8
+ <polyline points="300,115 340,115" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
9
+ <polyline points="620,115 660,115" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
10
+ <text x="480" y="225" font-size="14" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">More claims as you move right.</tspan></text>
11
+ <text x="480" y="252" font-size="13.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">No label is a cryptographic signature. A person can still hand-write a ci-environment file.</tspan></text>
12
+ </svg>
@@ -0,0 +1,39 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 420" width="960" height="420" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
2
+ <title id="t">How supplied test results are classified</title><desc id="d">Five evidence states: absent, failing, inconclusive, unverified and passing, and the gate effect of each.</desc>
3
+ <defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
4
+ <rect x="1" y="1" width="958" height="418" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
5
+ <text x="30" y="32" font-size="12" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">WHAT YOU SUPPLY</tspan></text>
6
+ <text x="490" y="32" font-size="12" font-weight="700" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">STATE</tspan></text>
7
+ <text x="930" y="32" font-size="12" font-weight="700" fill="#5e584e" text-anchor="end" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="930" dy="0">GATE EFFECT</tspan></text>
8
+ <rect x="30" y="50" width="360" height="58" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
9
+ <text x="46" y="85" font-size="14.5" font-weight="400" fill="#1c1915" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="46" dy="0">No --evidence file</tspan></text>
10
+ <rect x="415" y="65" width="150" height="28" rx="14" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.4"/><text x="490" y="83.9" font-size="14" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">absent</tspan></text>
11
+ <polyline points="390,79 415,79" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
12
+ <polyline points="565,79 640,79" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
13
+ <rect x="640" y="50" width="290" height="58" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="785" y="83.5" font-size="15" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="785" dy="0">REVIEW_REQUIRED</tspan></text>
14
+ <rect x="30" y="122" width="360" height="58" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
15
+ <text x="46" y="157" font-size="14.5" font-weight="400" fill="#1c1915" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="46" dy="0">failed above 0, or exit code not 0</tspan></text>
16
+ <rect x="415" y="137" width="150" height="28" rx="14" fill="#fee2e2" stroke="#991b1b" stroke-width="1.4"/><text x="490" y="155.9" font-size="14" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">failing</tspan></text>
17
+ <polyline points="390,151 415,151" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
18
+ <polyline points="565,151 640,151" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
19
+ <rect x="640" y="122" width="290" height="58" rx="12" fill="#fee2e2" stroke="#991b1b" stroke-width="1.6"/><text x="785" y="155.5" font-size="15" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="785" dy="0">NO_GO</tspan></text>
20
+ <rect x="30" y="194" width="360" height="58" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
21
+ <text x="46" y="229" font-size="14.5" font-weight="400" fill="#1c1915" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="46" dy="0">passed is 0</tspan></text>
22
+ <rect x="415" y="209" width="150" height="28" rx="14" fill="#fef3c7" stroke="#92400e" stroke-width="1.4"/><text x="490" y="227.9" font-size="14" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">inconclusive</tspan></text>
23
+ <polyline points="390,223 415,223" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
24
+ <polyline points="565,223 640,223" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
25
+ <rect x="640" y="194" width="290" height="58" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="785" y="227.5" font-size="15" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="785" dy="0">REVIEW_REQUIRED</tspan></text>
26
+ <rect x="30" y="266" width="360" height="58" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
27
+ <text x="46" y="301" font-size="14.5" font-weight="400" fill="#1c1915" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="46" dy="0">source is external-unverified</tspan></text>
28
+ <rect x="415" y="281" width="150" height="28" rx="14" fill="#fef3c7" stroke="#92400e" stroke-width="1.4"/><text x="490" y="299.9" font-size="14" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">unverified</tspan></text>
29
+ <polyline points="390,295 415,295" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
30
+ <polyline points="565,295 640,295" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
31
+ <rect x="640" y="266" width="290" height="58" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="785" y="299.5" font-size="15" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="785" dy="0">REVIEW_REQUIRED</tspan></text>
32
+ <rect x="30" y="338" width="360" height="58" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/>
33
+ <text x="46" y="373" font-size="14.5" font-weight="400" fill="#1c1915" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="46" dy="0">exit 0, passed above 0, failed 0, trusted source</tspan></text>
34
+ <rect x="415" y="353" width="150" height="28" rx="14" fill="#dcfce7" stroke="#166534" stroke-width="1.4"/><text x="490" y="371.9" font-size="14" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="490" dy="0">passing</tspan></text>
35
+ <polyline points="390,367 415,367" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
36
+ <polyline points="565,367 640,367" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
37
+ <rect x="640" y="338" width="290" height="58" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="785" y="371.5" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="785" dy="0">Counts toward READY</tspan></text>
38
+ <text x="480" y="412" font-size="12.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Other checks (no blocking finding, complete scan, tests, CI, license) still apply to the last row.</tspan></text>
39
+ </svg>
@@ -0,0 +1,23 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 800" width="960" height="800" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
2
+ <title id="t">How the release gate decides</title><desc id="d">Flowchart. A blocking finding or failing evidence gives NO_GO. Missing evidence, a partial scan, no tests, no CI or no license gives REVIEW_REQUIRED. Only when nothing is missing is the result READY_FOR_HUMAN_APPROVAL, which still needs a person.</desc>
3
+ <defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
4
+ <rect x="1" y="1" width="958" height="798" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
5
+ <rect x="370" y="26" width="220" height="28" rx="14" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.4"/><text x="480" y="44.9" font-size="14" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">release-check runs</tspan></text>
6
+ <polyline points="480,54 480,92" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
7
+ <polygon points="480,95 630,160 480,225 330,160" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="480" y="158" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Blocking finding?</tspan></text><text x="480" y="178" font-size="12.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">e.g. a focused test (.only)</tspan></text>
8
+ <polyline points="630,160 720,160" fill="none" stroke="#991b1b" stroke-width="2" marker-end="url(#ah)"/><text x="675" y="150" font-size="13" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="675" dy="0">yes</tspan></text>
9
+ <rect x="720" y="120" width="215" height="80" rx="12" fill="#fee2e2" stroke="#991b1b" stroke-width="1.6"/><text x="827.5" y="147.25" font-size="16" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="827.5" dy="0">NO_GO</tspan></text><text x="827.5" y="168.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="827.5" dy="0">exit code 2</tspan><tspan x="827.5" dy="17.6">fix, then re-check</tspan></text>
10
+ <polyline points="480,225 480,275" fill="none" stroke="#166534" stroke-width="2" marker-end="url(#ah)"/><text x="497" y="252" font-size="13" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="497" dy="0">no</tspan></text>
11
+ <polygon points="480,275 630,340 480,405 330,340" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="480" y="338" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Evidence failing?</tspan></text><text x="480" y="358" font-size="12.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">failures, or exit code not 0</tspan></text>
12
+ <polyline points="630,340 700,340 700,170 720,170" fill="none" stroke="#991b1b" stroke-width="2" marker-end="url(#ah)"/><text x="665" y="330" font-size="13" font-weight="700" fill="#991b1b" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="665" dy="0">yes</tspan></text>
13
+ <polyline points="480,405 480,455" fill="none" stroke="#166534" stroke-width="2" marker-end="url(#ah)"/><text x="497" y="432" font-size="13" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="497" dy="0">no</tspan></text>
14
+ <polygon points="480,455 630,520 480,585 330,520" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="480" y="518" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Anything missing?</tspan></text><text x="480" y="538" font-size="12.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">see the list on the right</tspan></text>
15
+ <polyline points="630,520 720,520" fill="none" stroke="#92400e" stroke-width="2" marker-end="url(#ah)"/><text x="675" y="510" font-size="13" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="675" dy="0">yes</tspan></text>
16
+ <rect x="720" y="430" width="215" height="180" rx="12" fill="#fef3c7" stroke="#92400e" stroke-width="1.6"/><text x="827.5" y="471.85" font-size="15" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="827.5" dy="0">REVIEW_REQUIRED</tspan></text><text x="827.5" y="491.35" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="827.5" dy="0">exit code 3</tspan><tspan x="827.5" dy="17.6"></tspan><tspan x="827.5" dy="17.6">Missing when:</tspan><tspan x="827.5" dy="17.6">evidence is not passing</tspan><tspan x="827.5" dy="17.6">scan is partial</tspan><tspan x="827.5" dy="17.6">no tests, CI or license</tspan></text>
17
+ <polyline points="480,585 480,645" fill="none" stroke="#166534" stroke-width="2" marker-end="url(#ah)"/><text x="497" y="620" font-size="13" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="497" dy="0">no</tspan></text>
18
+ <rect x="310" y="645" width="340" height="70" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="480" y="676.0250000000001" font-size="16" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">READY_FOR_HUMAN_APPROVAL</tspan></text><text x="480" y="696.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">exit code 0</tspan></text>
19
+ <polyline points="480,715 480,745" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
20
+ <rect x="315" y="751" width="330" height="28" rx="14" fill="#dcfce7" stroke="#166534" stroke-width="1.4"/><text x="480" y="769.9" font-size="14" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">A person reviews and decides</tspan></text>
21
+ <text x="30" y="225" font-size="13" font-weight="400" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">Checked in this order.</tspan><tspan x="30" dy="16.9">First match wins.</tspan></text>
22
+ <rect x="30" y="600" width="230" height="120" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="145" y="639.4875000000001" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="145" dy="0">Always true</tspan></text><text x="145" y="660.2875" font-size="12.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="145" dy="0">requiresHumanApproval: true</tspan><tspan x="145" dy="16.9">automatedDeploymentAuthorized:</tspan><tspan x="145" dy="16.9">false</tspan></text>
23
+ </svg>
@@ -0,0 +1,25 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 430" width="960" height="430" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
2
+ <title id="t">How PramanaSutra AI works</title><desc id="d">Your project files, your test results and an optional policy go into the pramanasutra command. It scans, checks the evidence and decides a gate. It writes four report files and an exit code, and a person makes the final call.</desc>
3
+ <defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
4
+ <rect x="1" y="1" width="958" height="428" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
5
+ <text x="30" y="30" font-size="12" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">YOU PROVIDE</tspan></text>
6
+ <text x="340" y="30" font-size="12" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="340" dy="0">THE CLI DECIDES (OFFLINE, NO NETWORK)</tspan></text>
7
+ <text x="680" y="30" font-size="12" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="680" dy="0">YOU GET</tspan></text>
8
+ <rect x="30" y="45" width="250" height="90" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="155" y="86.025" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">Your project files</tspan></text><text x="155" y="106.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">read-only, never executed</tspan></text>
9
+ <rect x="30" y="170" width="250" height="90" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/><text x="155" y="211.02499999999998" font-size="16" font-weight="700" fill="#0f3d3e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">Test results (evidence)</tspan></text><text x="155" y="231.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">JSON from your own runner or CI</tspan></text>
10
+ <rect x="30" y="295" width="250" height="80" rx="12" fill="#efeae0" stroke="#cfc6b4" stroke-width="1.6"/><text x="155" y="331.025" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">Policy (optional)</tspan></text><text x="155" y="351.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="155" dy="0">fail-closed JSON</tspan></text>
11
+ <rect x="335" y="45" width="280" height="330" rx="14" fill="#ffffff" stroke="#0b5f63" stroke-width="2"/>
12
+ <rect x="355" y="62" width="240" height="80" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="475" y="98.025" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">1 Scan</tspan></text><text x="475" y="118.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">5 static rules, file and line</tspan></text>
13
+ <rect x="355" y="160" width="240" height="80" rx="12" fill="#dbeafe" stroke="#1e40af" stroke-width="1.6"/><text x="475" y="196.02499999999998" font-size="16" font-weight="700" fill="#1e40af" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">2 Check evidence</tspan></text><text x="475" y="216.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">shape, state, binding label</tspan></text>
14
+ <rect x="355" y="258" width="240" height="100" rx="12" fill="#dff0ee" stroke="#0b5f63" stroke-width="1.6"/><text x="475" y="295.25" font-size="16" font-weight="700" fill="#0f3d3e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">3 Gate</tspan></text><text x="475" y="316.05" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="475" dy="0">apply policy to findings</tspan><tspan x="475" dy="17.6">and evidence</tspan></text>
15
+ <polyline points="280,90 310,90 310,102 355,102" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
16
+ <polyline points="280,215 355,200" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
17
+ <polyline points="280,335 310,335 310,318 355,318" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
18
+ <polyline points="615,120 680,120" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
19
+ <polyline points="615,300 680,300" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
20
+ <rect x="680" y="45" width="250" height="150" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="805" y="89.7" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">Four report files</tspan></text><text x="805" y="110.5" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">report.md</tspan><tspan x="805" dy="17.6">report.html</tspan><tspan x="805" dy="17.6">report.json</tspan><tspan x="805" dy="17.6">report.sarif.json</tspan></text>
21
+ <rect x="680" y="225" width="250" height="70" rx="12" fill="#ffffff" stroke="#cfc6b4" stroke-width="1.6"/><text x="805" y="256.025" font-size="16" font-weight="700" fill="#1c1915" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">Exit code</tspan></text><text x="805" y="276.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">0 ready 2 NO_GO 3 review</tspan></text>
22
+ <rect x="680" y="320" width="250" height="70" rx="12" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/><text x="805" y="351.025" font-size="16" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">A person decides</tspan></text><text x="805" y="371.825" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="805" dy="0">never an automatic deploy</tspan></text>
23
+ <polyline points="805,295 805,320" fill="none" stroke="#5e584e" stroke-width="2" marker-end="url(#ah)"/>
24
+ <text x="480" y="412" font-size="13.5" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">The tool never runs your tests. It reads files and reads the results you hand it.</tspan></text>
25
+ </svg>
@@ -0,0 +1,32 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 470" width="960" height="470" role="img" aria-labelledby="t d" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif">
2
+ <title id="t">Recorded results</title><desc id="d">Forty-three of forty-three unit tests passed, six of six labeled fixtures matched, and six of six required CI jobs passed on commit 43309a8.</desc>
3
+ <defs><marker id="ah" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0 0 L10 5 L0 10 z" fill="#5e584e"/></marker></defs>
4
+ <rect x="1" y="1" width="958" height="468" rx="16" fill="#fffdf8" stroke="#cfc6b4" stroke-width="2"/>
5
+ <text x="30" y="34" font-size="13" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">UNIT TESTS (tests/cli.test.mjs)</tspan></text>
6
+ <rect x="30" y="46" width="900" height="34" rx="8" fill="#166534"/>
7
+ <text x="480" y="69" font-size="15" font-weight="700" fill="#ffffff" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">43 passed 0 failed 0 skipped</tspan></text>
8
+ <text x="30" y="120" font-size="13" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">LABELED FIXTURES (rule author wrote them: a regression lock, not field accuracy)</tspan></text>
9
+ <rect x="30" y="132" width="900" height="34" rx="8" fill="#166534"/>
10
+ <text x="480" y="155" font-size="15" font-weight="700" fill="#ffffff" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">6 of 6 matched the expected rules and gate 0 false positives 0 false negatives</tspan></text>
11
+ <text x="30" y="206" font-size="13" font-weight="700" fill="#5e584e" text-anchor="start" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="30" dy="0">REQUIRED CI JOBS on commit 43309a8 (macOS is not scheduled)</tspan></text>
12
+ <rect x="30" y="222" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
13
+ <text x="170" y="249" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="170" dy="0">Ubuntu Node 20</tspan></text>
14
+ <text x="170" y="270" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="170" dy="0">passed</tspan></text>
15
+ <rect x="330" y="222" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
16
+ <text x="470" y="249" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="470" dy="0">Ubuntu Node 22</tspan></text>
17
+ <text x="470" y="270" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="470" dy="0">passed</tspan></text>
18
+ <rect x="630" y="222" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
19
+ <text x="770" y="249" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="770" dy="0">Ubuntu Node 24</tspan></text>
20
+ <text x="770" y="270" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="770" dy="0">passed</tspan></text>
21
+ <rect x="30" y="300" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
22
+ <text x="170" y="327" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="170" dy="0">Windows Node 20</tspan></text>
23
+ <text x="170" y="348" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="170" dy="0">passed</tspan></text>
24
+ <rect x="330" y="300" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
25
+ <text x="470" y="327" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="470" dy="0">Windows Node 22</tspan></text>
26
+ <text x="470" y="348" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="470" dy="0">passed</tspan></text>
27
+ <rect x="630" y="300" width="280" height="62" rx="10" fill="#dcfce7" stroke="#166534" stroke-width="1.6"/>
28
+ <text x="770" y="327" font-size="15" font-weight="700" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="770" dy="0">Windows Node 24</tspan></text>
29
+ <text x="770" y="348" font-size="13" font-weight="400" fill="#166534" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="770" dy="0">passed</tspan></text>
30
+ <text x="480" y="410" font-size="13" font-weight="400" fill="#5e584e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Numbers come from docs/proof/test-results.txt, docs/proof/eval-results.json and the GitHub Actions run.</tspan></text>
31
+ <text x="480" y="436" font-size="13" font-weight="700" fill="#92400e" text-anchor="middle" font-family="system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif"><tspan x="480" dy="0">Not measured: accuracy on large real repositories, live behaviour in each AI IDE.</tspan></text>
32
+ </svg>