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
@@ -3,49 +3,49 @@
3
3
  # exit code: 0
4
4
  # This file is the command output. It is not a summary written by hand.
5
5
 
6
- ✔ doctor succeeds without a provider key (751.1273ms)
7
- ✔ agents catalog includes Prime and 16 specialists (7.5751ms)
8
- ✔ focused test is high-severity blocker with exact evidence (19.2577ms)
9
- ✔ skipped test is reported and not disguised as executed test (9.2731ms)
10
- ✔ no tests, CI or license produce transparent warnings (6.2023ms)
11
- ✔ clean static project still requires review without test run (36.0143ms)
12
- ✔ report HTML escapes untrusted strings (13.8489ms)
13
- ✔ scan command creates three reports without executing tests (679.1625ms)
14
- ✔ release-check exit code signals NO_GO (669.2494ms)
15
- ✔ release-check exit code signals REVIEW_REQUIRED (633.7995ms)
16
- ✔ installer copies canonical skills into Claude target and prevents overwrite (276.5629ms)
17
- ✔ installer refuses a target file or missing directory (7.4155ms)
18
- ✔ unknown options or missing values fail clearly (1353.7792ms)
19
- ✔ nested symlink is skipped rather than followed (14.8413ms)
20
- ✔ heuristic avoids matches embedded in fixture strings (13.8573ms)
21
- ✔ reports do not disclose absolute target paths by default (9.9414ms)
22
- ✔ passing CI evidence on clean project reaches READY_FOR_HUMAN_APPROVAL (exit 0) (1942.7615ms)
23
- ✔ failing evidence yields NO_GO (1262.5983ms)
24
- ✔ external-unverified evidence never reaches READY (1508.4063ms)
25
- ✔ zero-pass evidence is inconclusive, absent evidence is never READY (2814.6084ms)
26
- ✔ verify rejects malformed evidence and accepts valid evidence (3431.8769ms)
27
- ✔ version and --version print the package version (2415.629ms)
28
- ✔ release report quotes supplied evidence in Markdown and HTML (819.7496ms)
29
- ✔ pytest.skip(), test.todo and binary tests are handled (21.6877ms)
30
- ✔ pytest/JUnit/Go skip markers are reported (15.9473ms)
31
- ✔ missing path and traversal-style output fail closed without stack trace (990.1527ms)
32
- ✔ HTML and Markdown reports escape malicious file names (14.7936ms)
33
- ✔ scan writes md, html and json reports by default into ./pramanasutra-reports (1120.138ms)
34
- ✔ --no-report writes nothing (1143.4487ms)
35
- ✔ scan rejects --evidence/--policy; they are release-check only (1844.4575ms)
36
- ✔ strict policy turns skipped tests into NO_GO; recommended does not (6636.0205ms)
37
- ✔ policy is fail-closed: unknown keys and weakened safety flags are rejected (6762.1552ms)
38
- ✔ bundled policies load (3026.0806ms)
39
- ✔ Java/C#/Ruby naming conventions are detected, look-alikes are not (49.2561ms)
40
- ✔ report markdown and html contain decision, evidence location and remediation (14.9246ms)
41
- ✔ committed fixtures produce the expected rules and decisions (18.766ms)
42
- ✔ .pramanasutraignore excludes labeled fixtures and rejects traversal (50.7729ms)
43
- ✔ skills: unique names, frontmatter matches folder, non-empty workflow, no network or execution instructions (23.9804ms)
44
- ✔ CircleCI config is recognised as CI (32.7872ms)
45
- ✔ evidence binding is quoted for unbound and ci-environment files (0.8579ms)
46
- ✔ SARIF 2.1.0 is written beside the other reports (1728.7182ms)
47
- ✔ --changed without a git repository says diff was unavailable (1568.5656ms)
48
- ✔ help says scan does not fail the build (1261.3253ms)
6
+ ✔ doctor succeeds without a provider key (722.0187ms)
7
+ ✔ agents catalog includes Prime and 16 specialists (13.3037ms)
8
+ ✔ focused test is high-severity blocker with exact evidence (21.503ms)
9
+ ✔ skipped test is reported and not disguised as executed test (17.07ms)
10
+ ✔ no tests, CI or license produce transparent warnings (14.3847ms)
11
+ ✔ clean static project still requires review without test run (51.9279ms)
12
+ ✔ report HTML escapes untrusted strings (16.1959ms)
13
+ ✔ scan command creates three reports without executing tests (803.0463ms)
14
+ ✔ release-check exit code signals NO_GO (744.9129ms)
15
+ ✔ release-check exit code signals REVIEW_REQUIRED (835.519ms)
16
+ ✔ installer copies canonical skills into Claude target and prevents overwrite (403.9268ms)
17
+ ✔ installer refuses a target file or missing directory (11.8072ms)
18
+ ✔ unknown options or missing values fail clearly (1413.1167ms)
19
+ ✔ nested symlink is skipped rather than followed (16.4437ms)
20
+ ✔ heuristic avoids matches embedded in fixture strings (12.8367ms)
21
+ ✔ reports do not disclose absolute target paths by default (17.3308ms)
22
+ ✔ passing CI evidence on clean project reaches READY_FOR_HUMAN_APPROVAL (exit 0) (793.7802ms)
23
+ ✔ failing evidence yields NO_GO (803.1318ms)
24
+ ✔ external-unverified evidence never reaches READY (835.2619ms)
25
+ ✔ zero-pass evidence is inconclusive, absent evidence is never READY (1640.1249ms)
26
+ ✔ verify rejects malformed evidence and accepts valid evidence (2254.7026ms)
27
+ ✔ version and --version print the package version (2268.118ms)
28
+ ✔ release report quotes supplied evidence in Markdown and HTML (784.5988ms)
29
+ ✔ pytest.skip(), test.todo and binary tests are handled (38.7163ms)
30
+ ✔ pytest/JUnit/Go skip markers are reported (33.675ms)
31
+ ✔ missing path and traversal-style output fail closed without stack trace (728.3131ms)
32
+ ✔ HTML and Markdown reports escape malicious file names (20.865ms)
33
+ ✔ scan writes md, html and json reports by default into ./pramanasutra-reports (822.1429ms)
34
+ ✔ --no-report writes nothing (807.6104ms)
35
+ ✔ scan rejects --evidence/--policy; they are release-check only (762.4124ms)
36
+ ✔ strict policy turns skipped tests into NO_GO; recommended does not (1631.0605ms)
37
+ ✔ policy is fail-closed: unknown keys and weakened safety flags are rejected (2287.1366ms)
38
+ ✔ bundled policies load (1421.2519ms)
39
+ ✔ Java/C#/Ruby naming conventions are detected, look-alikes are not (53.5189ms)
40
+ ✔ report markdown and html contain decision, evidence location and remediation (20.3677ms)
41
+ ✔ committed fixtures produce the expected rules and decisions (24.4143ms)
42
+ ✔ .pramanasutraignore excludes labeled fixtures and rejects traversal (58.5934ms)
43
+ ✔ skills: unique names, frontmatter matches folder, non-empty workflow, no network or execution instructions (17.5924ms)
44
+ ✔ CircleCI config is recognised as CI (46.4374ms)
45
+ ✔ evidence binding is quoted for unbound and ci-environment files (0.7723ms)
46
+ ✔ SARIF 2.1.0 is written beside the other reports (781.2447ms)
47
+ ✔ --changed without a git repository says diff was unavailable (970.9948ms)
48
+ ✔ help says scan does not fail the build (739.2031ms)
49
49
  ℹ tests 43
50
50
  ℹ suites 0
51
51
  ℹ pass 43
@@ -53,4 +53,4 @@
53
53
  ℹ cancelled 0
54
54
  ℹ skipped 0
55
55
  ℹ todo 0
56
- ℹ duration_ms 46418.0128
56
+ ℹ duration_ms 26835.9897
@@ -14,7 +14,7 @@ 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>clean-project</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>clean-project</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
19
  <section class="grid" aria-label="Summary"><div class="stat card"><b>6</b><span>files inspected</span></div><div class="stat card"><b>1</b><span>test files</span></div><div class="stat card"><b>1</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>
@@ -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": "clean-project",
7
7
  "capabilities": {
@@ -6,7 +6,7 @@ This audit is four files with the same facts: **report.md** (this file), **repor
6
6
  |---|---|
7
7
  | Project | `clean-project` |
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 |
@@ -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
  }
@@ -14,7 +14,7 @@ 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>focused-test</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>focused-test</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 NO_GO" role="status"><p class="muted" style="margin:0">Release decision</p><p style="margin:.35rem 0"><span class="pill NO_GO">NO_GO</span></p><p style="margin:.4rem 0 0">Blocking issue found. Do not release until it is fixed and re-checked.</p><p class="muted" style="margin:.35rem 0 0">Policy: recommended &middot; Supplied test evidence: absent</p></section>
19
19
  <section class="grid" aria-label="Summary"><div class="stat card"><b>4</b><span>files inspected</span></div><div class="stat card"><b>1</b><span>test files</span></div><div class="stat card"><b>1</b><span>CI workflows</span></div><div class="stat card"><b>1</b><span>findings</span></div><div class="stat card"><b>1</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>
@@ -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": "focused-test",
7
7
  "capabilities": {
@@ -6,7 +6,7 @@ This audit is four files with the same facts: **report.md** (this file), **repor
6
6
  |---|---|
7
7
  | Project | `focused-test` |
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** | **NO_GO** |
11
11
  | Policy | recommended |
12
12
  | Supplied test evidence | absent |
@@ -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
  {
@@ -14,7 +14,7 @@ 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>missing-ci</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>missing-ci</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 REVIEW_REQUIRED" role="status"><p class="muted" style="margin:0">Release decision</p><p style="margin:.35rem 0"><span class="pill REVIEW_REQUIRED">REVIEW_REQUIRED</span></p><p style="margin:.4rem 0 0">Evidence is missing or incomplete. A human must review before any release decision.</p><p class="muted" style="margin:.35rem 0 0">Policy: recommended &middot; Supplied test evidence: absent</p></section>
19
19
  <section class="grid" aria-label="Summary"><div class="stat card"><b>3</b><span>files inspected</span></div><div class="stat card"><b>1</b><span>test files</span></div><div class="stat card"><b>0</b><span>CI workflows</span></div><div class="stat card"><b>1</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>
@@ -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": "missing-ci",
7
7
  "capabilities": {
@@ -6,7 +6,7 @@ This audit is four files with the same facts: **report.md** (this file), **repor
6
6
  |---|---|
7
7
  | Project | `missing-ci` |
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** | **REVIEW_REQUIRED** |
11
11
  | Policy | recommended |
12
12
  | Supplied test evidence | absent |
@@ -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
  {
@@ -14,7 +14,7 @@ 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>missing-tests</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>missing-tests</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 REVIEW_REQUIRED" role="status"><p class="muted" style="margin:0">Release decision</p><p style="margin:.35rem 0"><span class="pill REVIEW_REQUIRED">REVIEW_REQUIRED</span></p><p style="margin:.4rem 0 0">Evidence is missing or incomplete. A human must review before any release decision.</p><p class="muted" style="margin:.35rem 0 0">Policy: recommended &middot; Supplied test evidence: absent</p></section>
19
19
  <section class="grid" aria-label="Summary"><div class="stat card"><b>4</b><span>files inspected</span></div><div class="stat card"><b>0</b><span>test files</span></div><div class="stat card"><b>1</b><span>CI workflows</span></div><div class="stat card"><b>1</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>
@@ -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": "missing-tests",
7
7
  "capabilities": {
@@ -6,7 +6,7 @@ This audit is four files with the same facts: **report.md** (this file), **repor
6
6
  |---|---|
7
7
  | Project | `missing-tests` |
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** | **REVIEW_REQUIRED** |
11
11
  | Policy | recommended |
12
12
  | Supplied test evidence | absent |
@@ -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
  {
@@ -14,7 +14,7 @@ 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>multi-language</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>multi-language</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 REVIEW_REQUIRED" role="status"><p class="muted" style="margin:0">Release decision</p><p style="margin:.35rem 0"><span class="pill REVIEW_REQUIRED">REVIEW_REQUIRED</span></p><p style="margin:.4rem 0 0">Evidence is missing or incomplete. A human must review before any release decision.</p><p class="muted" style="margin:.35rem 0 0">Policy: recommended &middot; Supplied test evidence: absent</p></section>
19
19
  <section class="grid" aria-label="Summary"><div class="stat card"><b>3</b><span>files inspected</span></div><div class="stat card"><b>3</b><span>test files</span></div><div class="stat card"><b>0</b><span>CI workflows</span></div><div class="stat card"><b>5</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>
@@ -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": "multi-language",
7
7
  "capabilities": {
@@ -6,7 +6,7 @@ This audit is four files with the same facts: **report.md** (this file), **repor
6
6
  |---|---|
7
7
  | Project | `multi-language` |
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** | **REVIEW_REQUIRED** |
11
11
  | Policy | recommended |
12
12
  | Supplied test evidence | absent |
@@ -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
  {
@@ -14,7 +14,7 @@ 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>unsafe-names</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>unsafe-names</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 NO_GO" role="status"><p class="muted" style="margin:0">Release decision</p><p style="margin:.35rem 0"><span class="pill NO_GO">NO_GO</span></p><p style="margin:.4rem 0 0">Blocking issue found. Do not release until it is fixed and re-checked.</p><p class="muted" style="margin:.35rem 0 0">Policy: recommended &middot; Supplied test evidence: absent</p></section>
19
19
  <section class="grid" aria-label="Summary"><div class="stat card"><b>5</b><span>files inspected</span></div><div class="stat card"><b>2</b><span>test files</span></div><div class="stat card"><b>1</b><span>CI workflows</span></div><div class="stat card"><b>1</b><span>findings</span></div><div class="stat card"><b>1</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>
@@ -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": "unsafe-names",
7
7
  "capabilities": {
@@ -6,7 +6,7 @@ This audit is four files with the same facts: **report.md** (this file), **repor
6
6
  |---|---|
7
7
  | Project | `unsafe-names` |
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** | **NO_GO** |
11
11
  | Policy | recommended |
12
12
  | Supplied test evidence | absent |
@@ -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
  {
package/docs/sitemap.xml CHANGED
@@ -17,4 +17,5 @@
17
17
  <url><loc>https://shahvatsalofficial.github.io/pramanasutra-ai/13-roadmap-and-status.html</loc></url>
18
18
  <url><loc>https://shahvatsalofficial.github.io/pramanasutra-ai/14-faq-and-glossary.html</loc></url>
19
19
  <url><loc>https://shahvatsalofficial.github.io/pramanasutra-ai/15-maintainer-guide.html</loc></url>
20
+ <url><loc>https://shahvatsalofficial.github.io/pramanasutra-ai/16-real-world-scenarios.html</loc></url>
20
21
  </urlset>
@@ -7,10 +7,22 @@ PramanaSutra AI (from Sanskrit *pramana*, "valid proof") is an open-source **QA
7
7
  1. **Seventeen Agent Skills**, led by PramanaSutra Prime, for Claude Code, Cursor, OpenAI Codex, GitHub Copilot and Gemini CLI. The skill uses the IDE's own model. There is no extra API key.
8
8
  2. **A deterministic command-line tool** that reads a project, does not run its tests, and writes four files of the same audit: `report.md`, `report.html`, `report.json` and `report.sarif.json`. `scan` and `release-check` both return `NO_GO` (exit 2), `REVIEW_REQUIRED` (exit 3) or `READY_FOR_HUMAN_APPROVAL` (exit 0).
9
9
 
10
- Created by [Vatsal Shah](https://shahvatsal.com). Official site: [shahvatsal.com](https://shahvatsal.com). Licensed Apache-2.0. Version 0.3.5. npm package: `pramanasutra`. The command line has **zero runtime dependencies** and makes **no network calls**. The copy on npmjs.com is the last tarball someone published. It can lag this version until that publish finishes.
10
+ Created by [Vatsal Shah](https://shahvatsal.com). Official site: [shahvatsal.com](https://shahvatsal.com). Licensed Apache-2.0. Version 0.3.6. npm package: `pramanasutra`. The command line has **zero runtime dependencies** and makes **no network calls**. The copy on npmjs.com is the last tarball someone published. It can lag this version until that publish finishes.
11
11
 
12
12
  > **Important:** The tool does not certify quality, security or compliance. `READY_FOR_HUMAN_APPROVAL` means the configured checks passed. A person still decides. It is never a deploy order.
13
13
 
14
+ ## The whole thing in one picture
15
+
16
+ You give the tool your project and, optionally, test results. It scans, checks the evidence and decides. A person makes the last call.
17
+
18
+ ![Overview: your project files, test results and policy go in; four report files, an exit code and a human decision come out](diagrams/overview.svg)
19
+
20
+ ## How a decision is made
21
+
22
+ The gate reads top to bottom. The first match wins. There is no score and no percentage.
23
+
24
+ ![Flowchart of the release gate: blocking finding or failing evidence gives NO_GO; anything missing gives REVIEW_REQUIRED; otherwise READY_FOR_HUMAN_APPROVAL, then a person decides](diagrams/gate-flow.svg)
25
+
14
26
  ## Who should read what
15
27
 
16
28
  | If you are | Read |
@@ -18,7 +30,7 @@ Created by [Vatsal Shah](https://shahvatsal.com). Official site: [shahvatsal.com
18
30
  | Deciding whether to adopt it | [Executive summary](01-executive-summary.md), then [Legal](10-legal-and-compliance.md) |
19
31
  | Writing requirements or a QA process | [Functional specification](02-functional-specification.md) |
20
32
  | Reviewing the design | [Architecture](03-architecture.md), then [Technical reference](04-technical-reference.md) |
21
- | Going to run it today | [User guide](05-user-guide.md) |
33
+ | Going to run it today | [User guide](05-user-guide.md), then [Real-world scenarios](16-real-world-scenarios.md) |
22
34
  | Wiring it to CI | [CI and release](12-ci-and-release.md) and [CLI and reports](06-cli-and-reports.md) |
23
35
  | Asking what a finding means | [Rule catalog](07-rule-catalog.md) |
24
36
  | Asking what the skills do | [Skills and agents](08-skills-and-agents.md) |
@@ -29,6 +41,9 @@ Created by [Vatsal Shah](https://shahvatsal.com). Official site: [shahvatsal.com
29
41
 
30
42
  ## Sixty seconds
31
43
 
44
+
45
+ ![Three steps: run release-check, read report.html, then run your tests and supply the evidence file](diagrams/quickstart.svg)
46
+
32
47
  Node.js 20 or newer.
33
48
 
34
49
  ```bash
@@ -78,5 +93,6 @@ With that same test output supplied as evidence, a release check of this reposit
78
93
  | 13 | Roadmap and status | Implemented, planned, and not claimed |
79
94
  | 14 | FAQ and glossary | Short answers and terms |
80
95
  | 15 | Maintainer guide | How to change a rule, rebuild docs, and release |
96
+ | 16 | Real-world scenarios | Eight true stories with real terminal output and pictures |
81
97
 
82
98
  Machine-readable summary for tools: [llms.txt](../../llms.txt) at the repository root.
@@ -25,6 +25,9 @@ Price of the software: zero. License: Apache-2.0. Operator cost: Node.js 20+ and
25
25
 
26
26
  ## The decision, in one table
27
27
 
28
+
29
+ ![The release gate as a flowchart. Read it as: stop on a blocker, ask for evidence if anything is missing, and hand a clean result to a person](diagrams/gate-flow.svg)
30
+
28
31
  | Gate | Exit code | Plain meaning | Typical next step |
29
32
  |---|---|---|---|
30
33
  | `NO_GO` | 2 | A blocking static finding (by default a focused test) or supplied evidence that failed | Fix, re-run the tests, re-check |
@@ -1,8 +1,8 @@
1
1
  # Functional specification
2
2
 
3
- <!-- summary: Actors, use cases, functional requirements and acceptance criteria for PramanaSutra AI 0.3.5. Planned work is marked planned and is not described as shipped. -->
3
+ <!-- summary: Actors, use cases, functional requirements and acceptance criteria for PramanaSutra AI 0.3.6. Planned work is marked planned and is not described as shipped. -->
4
4
 
5
- This specification describes version 0.3.5 as implemented. A requirement marked **planned** is not available. Tests that mention a requirement are named so a reader can find them in `tests/cli.test.mjs`.
5
+ This specification describes version 0.3.6 as implemented. A requirement marked **planned** is not available. Tests that mention a requirement are named so a reader can find them in `tests/cli.test.mjs`.
6
6
 
7
7
  ## Actors
8
8
 
@@ -4,6 +4,9 @@
4
4
 
5
5
  ## What exists at runtime
6
6
 
7
+
8
+ ![Inside the CLI: bin file, scanner, evidence, policy, report and installer modules](diagrams/components.svg)
9
+
7
10
  There is one program: `packages/cli/bin/pramanasutra.mjs`. It loads four libraries and nothing else. There is no database, no daemon, no plugin loader and no network stack in the scan path.
8
11
 
9
12
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 880 460" role="img" aria-labelledby="archTitle archDesc">
@@ -49,6 +52,9 @@ The diagram is inline. The page does not fetch a chart library. The reports box
49
52
 
50
53
  ## Trust boundaries
51
54
 
55
+
56
+ ![Trust boundaries: untrusted project text enters a trusted read-only engine, and reports escape every value](diagrams/trust-boundaries.svg)
57
+
52
58
  | Boundary | Rule |
53
59
  |---|---|
54
60
  | Target tree to scanner | Read-only. Symlinks skipped, not followed. Directories in the skip list (`.git`, `node_modules`, build outputs, `pramanasutra-reports`) are not entered |
@@ -22,6 +22,9 @@ npx pramanasutra doctor
22
22
 
23
23
  ## Check a project
24
24
 
25
+
26
+ ![Quick start: run, read, prove](diagrams/quickstart.svg)
27
+
25
28
  ```bash
26
29
  node packages/cli/bin/pramanasutra.mjs release-check --path path/to/project
27
30
  ```
@@ -68,6 +71,11 @@ This repository's own audit: [audit/report.md](audit/report.md) and [audit/repor
68
71
 
69
72
  ## Supply evidence
70
73
 
74
+
75
+ ![How each kind of evidence changes the gate](diagrams/evidence-states.svg)
76
+
77
+ ![The three evidence binding labels and why none is a signature](diagrams/evidence-binding.svg)
78
+
71
79
  The CLI will not run your tests. You run them, then describe the result. Minimum shape:
72
80
 
73
81
  ```json
@@ -133,6 +141,9 @@ The report will say how many paths were excluded. If you exclude your real tests
133
141
 
134
142
  ## Fix a NO_GO for a focused test
135
143
 
144
+
145
+ ![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)
146
+
136
147
  1. Open the path in the finding, for example `tests/a.test.js:2`.
137
148
  2. Remove `.only`, `fit` or `fdescribe`.
138
149
  3. Run the project's real test command and keep the output.
@@ -27,6 +27,9 @@ Binary name: `pramanasutra`. From a clone: `node packages/cli/bin/pramanasutra.m
27
27
 
28
28
  ## Where files are written
29
29
 
30
+
31
+ ![One audit written as four files: Markdown, HTML, JSON and SARIF](diagrams/report-files.svg)
32
+
30
33
  Default: `pramanasutra-reports` under the **current working directory**, resolved to an absolute path at write time. The scanned project is not the default output location, so a scan of a foreign tree does not drop files into it.
31
34
 
32
35
  The four names are fixed: `report.md`, `report.html`, `report.json`, `report.sarif.json`. They are written in that order, in one directory, in one call. If the directory cannot be created, nothing is reported as success. SARIF is a rendering of the findings for other tools. The CLI does not upload it and does not fetch the SARIF schema.
@@ -1,11 +1,13 @@
1
1
  # Rule catalog
2
2
 
3
- <!-- summary: Every static rule PramanaSutra AI 0.3.5 can emit, with severity, what the line looks like, a committed sample, and the misses to expect. -->
3
+ <!-- summary: Every static rule PramanaSutra AI 0.3.6 can emit, with severity, what the line looks like, a committed sample, and the misses to expect. -->
4
4
 
5
5
  Rules are regular expressions on a single line of a file already classified as a test. They are not ASTs. Confidence is `medium` unless noted. Status on a finding is `observed`, which means "the pattern matched", not "a test was executed".
6
6
 
7
7
  A line that is a string in the middle of other code does not match, because the pattern is anchored at the start of the line (after whitespace). A line that is only the declaration does match. That is why a fixture string inside `const fixture = 'test.only(...)'` is not a finding, and a real `test.only` line is.
8
8
 
9
+ ![The five rules, their severity and their effect on the gate](diagrams/rules-overview.svg)
10
+
9
11
  ## FOCUSED_TEST
10
12
 
11
13
  | | |
@@ -22,6 +22,9 @@ If an assistant using these skills claims "all tests passed" and cannot point at
22
22
 
23
23
  ## The roster
24
24
 
25
+
26
+ ![The 17 skills grouped by job around PramanaSutra Prime](diagrams/skills-team.svg)
27
+
25
28
  | Skill | Job |
26
29
  |---|---|
27
30
  | `pramanasutra-prime` | Coordinates inspection, QA strategy, evidence review and a release recommendation. Does not approve a deploy |
@@ -12,7 +12,7 @@ Apache-2.0 is a permissive license with a patent grant and a requirement to keep
12
12
 
13
13
  ## Third-party code
14
14
 
15
- Version 0.3.5 has no runtime npm dependencies and does not vendor third-party libraries inside `packages/cli`. [THIRD_PARTY_NOTICES.md](../../THIRD_PARTY_NOTICES.md) records that. If a later change adds a dependency, that file has to change in the same commit. Documentation pages use system fonts and no remote script, so the HTML does not pull in a font license or a CDN library.
15
+ Version 0.3.6 has no runtime npm dependencies and does not vendor third-party libraries inside `packages/cli`. [THIRD_PARTY_NOTICES.md](../../THIRD_PARTY_NOTICES.md) records that. If a later change adds a dependency, that file has to change in the same commit. Documentation pages use system fonts and no remote script, so the HTML does not pull in a font license or a CDN library.
16
16
 
17
17
  GitHub Actions are third-party workflows pinned by SHA for checkout and setup-node. Their licenses are their own. Using them does not copy their source into this repository.
18
18
 
@@ -22,7 +22,10 @@ The sample reports pin `generatedAt` to `2026-11-06T00:00:00.000Z` so a review i
22
22
 
23
23
  ## Captured unit run
24
24
 
25
- On the run captured for version 0.3.5 the summary was:
25
+
26
+ ![Recorded results: 43 of 43 tests, 6 of 6 fixtures, 6 of 6 CI jobs](diagrams/proof-graphs.svg)
27
+
28
+ On the run captured for version 0.3.6 the summary was:
26
29
 
27
30
  - tests: 43
28
31
  - pass: 43
@@ -4,6 +4,9 @@
4
4
 
5
5
  ## Workflows in this repository
6
6
 
7
+
8
+ ![A pull request through tests, evidence, the gate and a human decision to release](diagrams/ci-pipeline.svg)
9
+
7
10
  | File | What it gates | Badge |
8
11
  |---|---|---|
9
12
  | `.github/workflows/ci.yml` | Ubuntu and Windows, Node 20, 22 and 24. Unit tests, `doctor`, then `scripts/ci-gate.mjs`. Does not publish | The CI badge on the README |
@@ -1,10 +1,10 @@
1
1
  # Roadmap and status
2
2
 
3
- <!-- summary: Honest status of PramanaSutra AI 0.3.5. Implemented, planned, and explicitly not claimed. -->
3
+ <!-- summary: Honest status of PramanaSutra AI 0.3.6. Implemented, planned, and explicitly not claimed. -->
4
4
 
5
5
  Status words mean only what they say. **Implemented** has a command or file and a test or a committed artifact. **Planned** is a directory, a sentence, or an intention. It does not run. **Not claimed** is something people might assume that this project refuses.
6
6
 
7
- ## Implemented in 0.3.5
7
+ ## Implemented in 0.3.6
8
8
 
9
9
  | Capability | Evidence |
10
10
  |---|---|