pramanasutra 0.0.0-stage → 0.3.4

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 (274) hide show
  1. package/.agents/skills/pramanasutra-access/SKILL.md +21 -0
  2. package/.agents/skills/pramanasutra-api/SKILL.md +21 -0
  3. package/.agents/skills/pramanasutra-data/SKILL.md +21 -0
  4. package/.agents/skills/pramanasutra-defect/SKILL.md +21 -0
  5. package/.agents/skills/pramanasutra-evidence/SKILL.md +21 -0
  6. package/.agents/skills/pramanasutra-flake/SKILL.md +21 -0
  7. package/.agents/skills/pramanasutra-flow/SKILL.md +21 -0
  8. package/.agents/skills/pramanasutra-load/SKILL.md +21 -0
  9. package/.agents/skills/pramanasutra-pipeline/SKILL.md +21 -0
  10. package/.agents/skills/pramanasutra-prime/SKILL.md +22 -0
  11. package/.agents/skills/pramanasutra-regression/SKILL.md +21 -0
  12. package/.agents/skills/pramanasutra-release/SKILL.md +21 -0
  13. package/.agents/skills/pramanasutra-secure/SKILL.md +21 -0
  14. package/.agents/skills/pramanasutra-strategy/SKILL.md +21 -0
  15. package/.agents/skills/pramanasutra-unit/SKILL.md +21 -0
  16. package/.agents/skills/pramanasutra-verify/SKILL.md +21 -0
  17. package/.agents/skills/pramanasutra-visual/SKILL.md +21 -0
  18. package/.claude/agents/pramanasutra-prime.md +7 -0
  19. package/CHANGELOG.md +80 -0
  20. package/LICENSE +201 -0
  21. package/NOTICE +2 -0
  22. package/README.md +141 -2
  23. package/docs/.nojekyll +0 -0
  24. package/docs/00-start-here.html +207 -0
  25. package/docs/01-executive-summary.html +205 -0
  26. package/docs/02-functional-specification.html +212 -0
  27. package/docs/03-architecture.html +246 -0
  28. package/docs/04-technical-reference.html +217 -0
  29. package/docs/05-user-guide.html +246 -0
  30. package/docs/06-cli-and-reports.html +213 -0
  31. package/docs/07-rule-catalog.html +207 -0
  32. package/docs/08-skills-and-agents.html +204 -0
  33. package/docs/09-security-and-privacy.html +205 -0
  34. package/docs/10-legal-and-compliance.html +216 -0
  35. package/docs/11-testing-and-proof.html +210 -0
  36. package/docs/12-ci-and-release.html +221 -0
  37. package/docs/13-roadmap-and-status.html +199 -0
  38. package/docs/14-faq-and-glossary.html +217 -0
  39. package/docs/15-maintainer-guide.html +213 -0
  40. package/docs/agent-catalog.md +3 -0
  41. package/docs/api.md +3 -0
  42. package/docs/architecture.md +15 -0
  43. package/docs/assets/favicon.svg +1 -0
  44. package/docs/assets/site.css +183 -0
  45. package/docs/assets/site.js +79 -0
  46. package/docs/audit/report.html +41 -0
  47. package/docs/audit/report.json +61 -0
  48. package/docs/audit/report.md +83 -0
  49. package/docs/audit/report.sarif.json +16 -0
  50. package/docs/commands.md +13 -0
  51. package/docs/compatibility.md +15 -0
  52. package/docs/configuration.md +3 -0
  53. package/docs/execution-safety.md +3 -0
  54. package/docs/handbook/01-executive-summary.html +1 -0
  55. package/docs/handbook/01-executive-summary.md +51 -0
  56. package/docs/handbook/02-functional-specification.html +1 -0
  57. package/docs/handbook/02-functional-specification.md +69 -0
  58. package/docs/handbook/03-technical-specification.html +1 -0
  59. package/docs/handbook/03-technical-specification.md +85 -0
  60. package/docs/handbook/04-architecture.html +1 -0
  61. package/docs/handbook/04-architecture.md +107 -0
  62. package/docs/handbook/05-user-guide.html +1 -0
  63. package/docs/handbook/05-user-guide.md +118 -0
  64. package/docs/handbook/06-cli-reference.html +1 -0
  65. package/docs/handbook/06-cli-reference.md +88 -0
  66. package/docs/handbook/07-security-privacy-legal.html +1 -0
  67. package/docs/handbook/07-security-privacy-legal.md +65 -0
  68. package/docs/handbook/08-testing-and-proof.html +1 -0
  69. package/docs/handbook/08-testing-and-proof.md +83 -0
  70. package/docs/handbook/09-compatibility-and-roadmap.html +1 -0
  71. package/docs/handbook/09-compatibility-and-roadmap.md +53 -0
  72. package/docs/handbook/10-contributor-guide.html +1 -0
  73. package/docs/handbook/10-contributor-guide.md +64 -0
  74. package/docs/handbook/11-glossary-and-faq.html +1 -0
  75. package/docs/handbook/11-glossary-and-faq.md +52 -0
  76. package/docs/handbook/12-rule-catalog.html +1 -0
  77. package/docs/handbook/12-rule-catalog.md +65 -0
  78. package/docs/handbook/README.md +40 -0
  79. package/docs/handbook/index.html +1 -0
  80. package/docs/index.html +213 -0
  81. package/docs/legal/trademark-and-name-clearance.html +1 -0
  82. package/docs/legal/trademark-and-name-clearance.md +32 -0
  83. package/docs/master-claude-prompt.md +483 -0
  84. package/docs/proof/eval-results.json +91 -0
  85. package/docs/proof/test-results.txt +56 -0
  86. package/docs/quality-gates.md +10 -0
  87. package/docs/report-schema.md +22 -0
  88. package/docs/roadmap.md +3 -0
  89. package/docs/robots.txt +22 -0
  90. package/docs/samples/clean-project/report.html +30 -0
  91. package/docs/samples/clean-project/report.json +46 -0
  92. package/docs/samples/clean-project/report.md +69 -0
  93. package/docs/samples/clean-project/report.sarif.json +16 -0
  94. package/docs/samples/focused-test/report.html +30 -0
  95. package/docs/samples/focused-test/report.json +61 -0
  96. package/docs/samples/focused-test/report.md +76 -0
  97. package/docs/samples/focused-test/report.sarif.json +43 -0
  98. package/docs/samples/missing-ci/report.html +30 -0
  99. package/docs/samples/missing-ci/report.json +60 -0
  100. package/docs/samples/missing-ci/report.md +77 -0
  101. package/docs/samples/missing-ci/report.sarif.json +40 -0
  102. package/docs/samples/missing-tests/report.html +30 -0
  103. package/docs/samples/missing-tests/report.json +60 -0
  104. package/docs/samples/missing-tests/report.md +77 -0
  105. package/docs/samples/missing-tests/report.sarif.json +40 -0
  106. package/docs/samples/multi-language/report.html +34 -0
  107. package/docs/samples/multi-language/report.json +117 -0
  108. package/docs/samples/multi-language/report.md +112 -0
  109. package/docs/samples/multi-language/report.sarif.json +125 -0
  110. package/docs/samples/unsafe-names/report.html +30 -0
  111. package/docs/samples/unsafe-names/report.json +62 -0
  112. package/docs/samples/unsafe-names/report.md +77 -0
  113. package/docs/samples/unsafe-names/report.sarif.json +43 -0
  114. package/docs/server-deployment.md +3 -0
  115. package/docs/sitemap.xml +20 -0
  116. package/docs/standards.md +12 -0
  117. package/docs/status.md +22 -0
  118. package/docs/troubleshooting.md +7 -0
  119. package/docs/trust-model.md +3 -0
  120. package/documents/pramanasutra/00-start-here.md +82 -0
  121. package/documents/pramanasutra/01-executive-summary.md +61 -0
  122. package/documents/pramanasutra/02-functional-specification.md +90 -0
  123. package/documents/pramanasutra/03-architecture.md +102 -0
  124. package/documents/pramanasutra/04-technical-reference.md +123 -0
  125. package/documents/pramanasutra/05-user-guide.md +155 -0
  126. package/documents/pramanasutra/06-cli-and-reports.md +79 -0
  127. package/documents/pramanasutra/07-rule-catalog.md +79 -0
  128. package/documents/pramanasutra/08-skills-and-agents.md +68 -0
  129. package/documents/pramanasutra/09-security-and-privacy.md +73 -0
  130. package/documents/pramanasutra/10-legal-and-compliance.md +72 -0
  131. package/documents/pramanasutra/11-testing-and-proof.md +72 -0
  132. package/documents/pramanasutra/12-ci-and-release.md +89 -0
  133. package/documents/pramanasutra/13-roadmap-and-status.md +73 -0
  134. package/documents/pramanasutra/14-faq-and-glossary.md +81 -0
  135. package/documents/pramanasutra/15-maintainer-guide.md +81 -0
  136. package/documents/pramanasutra/README.md +11 -0
  137. package/documents/pramanasutra/audit/report.html +41 -0
  138. package/documents/pramanasutra/audit/report.json +61 -0
  139. package/documents/pramanasutra/audit/report.md +83 -0
  140. package/documents/pramanasutra/audit/report.sarif.json +16 -0
  141. package/documents/pramanasutra/html/00-start-here.html +207 -0
  142. package/documents/pramanasutra/html/01-executive-summary.html +205 -0
  143. package/documents/pramanasutra/html/02-functional-specification.html +212 -0
  144. package/documents/pramanasutra/html/03-architecture.html +246 -0
  145. package/documents/pramanasutra/html/04-technical-reference.html +217 -0
  146. package/documents/pramanasutra/html/05-user-guide.html +246 -0
  147. package/documents/pramanasutra/html/06-cli-and-reports.html +213 -0
  148. package/documents/pramanasutra/html/07-rule-catalog.html +207 -0
  149. package/documents/pramanasutra/html/08-skills-and-agents.html +204 -0
  150. package/documents/pramanasutra/html/09-security-and-privacy.html +205 -0
  151. package/documents/pramanasutra/html/10-legal-and-compliance.html +216 -0
  152. package/documents/pramanasutra/html/11-testing-and-proof.html +210 -0
  153. package/documents/pramanasutra/html/12-ci-and-release.html +221 -0
  154. package/documents/pramanasutra/html/13-roadmap-and-status.html +199 -0
  155. package/documents/pramanasutra/html/14-faq-and-glossary.html +217 -0
  156. package/documents/pramanasutra/html/15-maintainer-guide.html +213 -0
  157. package/documents/pramanasutra/html/audit/report.html +41 -0
  158. package/documents/pramanasutra/html/audit/report.json +61 -0
  159. package/documents/pramanasutra/html/audit/report.md +83 -0
  160. package/documents/pramanasutra/html/audit/report.sarif.json +16 -0
  161. package/documents/pramanasutra/html/index.html +213 -0
  162. package/documents/pramanasutra/html/proof/eval-results.json +91 -0
  163. package/documents/pramanasutra/html/proof/test-results.txt +56 -0
  164. package/documents/pramanasutra/html/robots.txt +22 -0
  165. package/documents/pramanasutra/html/samples/clean-project/report.html +30 -0
  166. package/documents/pramanasutra/html/samples/clean-project/report.json +46 -0
  167. package/documents/pramanasutra/html/samples/clean-project/report.md +69 -0
  168. package/documents/pramanasutra/html/samples/clean-project/report.sarif.json +16 -0
  169. package/documents/pramanasutra/html/samples/focused-test/report.html +30 -0
  170. package/documents/pramanasutra/html/samples/focused-test/report.json +61 -0
  171. package/documents/pramanasutra/html/samples/focused-test/report.md +76 -0
  172. package/documents/pramanasutra/html/samples/focused-test/report.sarif.json +43 -0
  173. package/documents/pramanasutra/html/samples/missing-ci/report.html +30 -0
  174. package/documents/pramanasutra/html/samples/missing-ci/report.json +60 -0
  175. package/documents/pramanasutra/html/samples/missing-ci/report.md +77 -0
  176. package/documents/pramanasutra/html/samples/missing-ci/report.sarif.json +40 -0
  177. package/documents/pramanasutra/html/samples/missing-tests/report.html +30 -0
  178. package/documents/pramanasutra/html/samples/missing-tests/report.json +60 -0
  179. package/documents/pramanasutra/html/samples/missing-tests/report.md +77 -0
  180. package/documents/pramanasutra/html/samples/missing-tests/report.sarif.json +40 -0
  181. package/documents/pramanasutra/html/samples/multi-language/report.html +34 -0
  182. package/documents/pramanasutra/html/samples/multi-language/report.json +117 -0
  183. package/documents/pramanasutra/html/samples/multi-language/report.md +112 -0
  184. package/documents/pramanasutra/html/samples/multi-language/report.sarif.json +125 -0
  185. package/documents/pramanasutra/html/samples/unsafe-names/report.html +30 -0
  186. package/documents/pramanasutra/html/samples/unsafe-names/report.json +62 -0
  187. package/documents/pramanasutra/html/samples/unsafe-names/report.md +77 -0
  188. package/documents/pramanasutra/html/samples/unsafe-names/report.sarif.json +43 -0
  189. package/documents/pramanasutra/html/sitemap.xml +20 -0
  190. package/documents/pramanasutra/proof/eval-results.json +91 -0
  191. package/documents/pramanasutra/proof/test-results.txt +56 -0
  192. package/documents/pramanasutra/samples/clean-project/report.html +30 -0
  193. package/documents/pramanasutra/samples/clean-project/report.json +46 -0
  194. package/documents/pramanasutra/samples/clean-project/report.md +69 -0
  195. package/documents/pramanasutra/samples/clean-project/report.sarif.json +16 -0
  196. package/documents/pramanasutra/samples/focused-test/report.html +30 -0
  197. package/documents/pramanasutra/samples/focused-test/report.json +61 -0
  198. package/documents/pramanasutra/samples/focused-test/report.md +76 -0
  199. package/documents/pramanasutra/samples/focused-test/report.sarif.json +43 -0
  200. package/documents/pramanasutra/samples/missing-ci/report.html +30 -0
  201. package/documents/pramanasutra/samples/missing-ci/report.json +60 -0
  202. package/documents/pramanasutra/samples/missing-ci/report.md +77 -0
  203. package/documents/pramanasutra/samples/missing-ci/report.sarif.json +40 -0
  204. package/documents/pramanasutra/samples/missing-tests/report.html +30 -0
  205. package/documents/pramanasutra/samples/missing-tests/report.json +60 -0
  206. package/documents/pramanasutra/samples/missing-tests/report.md +77 -0
  207. package/documents/pramanasutra/samples/missing-tests/report.sarif.json +40 -0
  208. package/documents/pramanasutra/samples/multi-language/report.html +34 -0
  209. package/documents/pramanasutra/samples/multi-language/report.json +117 -0
  210. package/documents/pramanasutra/samples/multi-language/report.md +112 -0
  211. package/documents/pramanasutra/samples/multi-language/report.sarif.json +125 -0
  212. package/documents/pramanasutra/samples/unsafe-names/report.html +30 -0
  213. package/documents/pramanasutra/samples/unsafe-names/report.json +62 -0
  214. package/documents/pramanasutra/samples/unsafe-names/report.md +77 -0
  215. package/documents/pramanasutra/samples/unsafe-names/report.sarif.json +43 -0
  216. package/examples/dotnet-app/README.md +3 -0
  217. package/examples/evidence/passing.json +12 -0
  218. package/examples/java-service/README.md +3 -0
  219. package/examples/mobile/README.md +3 -0
  220. package/examples/python-api/README.md +3 -0
  221. package/examples/release-policy/README.md +3 -0
  222. package/examples/sample-app/README.md +3 -0
  223. package/examples/sample-app/package.json +8 -0
  224. package/examples/sample-app/src/math.js +1 -0
  225. package/examples/sample-app/tests/math.test.js +5 -0
  226. package/examples/sample-output/clean-project/report.html +30 -0
  227. package/examples/sample-output/clean-project/report.json +46 -0
  228. package/examples/sample-output/clean-project/report.md +69 -0
  229. package/examples/sample-output/clean-project/report.sarif.json +16 -0
  230. package/examples/sample-output/focused-test/report.html +30 -0
  231. package/examples/sample-output/focused-test/report.json +61 -0
  232. package/examples/sample-output/focused-test/report.md +76 -0
  233. package/examples/sample-output/focused-test/report.sarif.json +43 -0
  234. package/examples/sample-output/missing-ci/report.html +30 -0
  235. package/examples/sample-output/missing-ci/report.json +60 -0
  236. package/examples/sample-output/missing-ci/report.md +77 -0
  237. package/examples/sample-output/missing-ci/report.sarif.json +40 -0
  238. package/examples/sample-output/missing-tests/report.html +30 -0
  239. package/examples/sample-output/missing-tests/report.json +60 -0
  240. package/examples/sample-output/missing-tests/report.md +77 -0
  241. package/examples/sample-output/missing-tests/report.sarif.json +40 -0
  242. package/examples/sample-output/multi-language/report.html +34 -0
  243. package/examples/sample-output/multi-language/report.json +117 -0
  244. package/examples/sample-output/multi-language/report.md +112 -0
  245. package/examples/sample-output/multi-language/report.sarif.json +125 -0
  246. package/examples/sample-output/unsafe-names/report.html +30 -0
  247. package/examples/sample-output/unsafe-names/report.json +62 -0
  248. package/examples/sample-output/unsafe-names/report.md +77 -0
  249. package/examples/sample-output/unsafe-names/report.sarif.json +43 -0
  250. package/llms.txt +63 -0
  251. package/package.json +65 -4
  252. package/packages/cli/bin/pramanasutra.mjs +91 -0
  253. package/packages/cli/lib/evidence.mjs +60 -0
  254. package/packages/cli/lib/installer.mjs +39 -0
  255. package/packages/cli/lib/policy.mjs +33 -0
  256. package/packages/cli/lib/report.mjs +224 -0
  257. package/packages/cli/lib/scanner.mjs +164 -0
  258. package/policies/recommended.json +11 -0
  259. package/policies/strict.json +12 -0
  260. package/templates/defect-report.md +11 -0
  261. package/templates/qa-strategy.md +9 -0
  262. package/templates/release-notes.md +9 -0
  263. package/templates/release-readiness.md +9 -0
  264. package/templates/rollback-plan.md +7 -0
  265. package/templates/test-evidence.json +11 -0
  266. package/templates/test-plan.md +4 -0
  267. package/templates/traceability-matrix.csv +1 -0
  268. package/workflows/create-test-plan.md +9 -0
  269. package/workflows/implement-tests.md +9 -0
  270. package/workflows/inspect-project.md +9 -0
  271. package/workflows/investigate-failure.md +9 -0
  272. package/workflows/post-release-observability.md +9 -0
  273. package/workflows/release-readiness.md +9 -0
  274. package/workflows/verify-regression.md +9 -0
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-access
3
+ description: Plans accessibility and cross-device tests, including manual verification. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Accessibility QA Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Plans accessibility and cross-device tests, including manual verification. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read the page source or component the operator names.
17
+ 2. Note missing names you can see in that text: a control with no accessible name, an image with an empty `alt` that is not marked decorative.
18
+ 3. Do not run axe, pa11y, or a browser. Say the check was a text reading.
19
+ 4. Ask the operator to run their own accessibility tool and keep its report outside PramanaSutra's gate.
20
+
21
+ Never approve a release. Never claim an accessibility score.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-api
3
+ description: Reviews REST, GraphQL, gRPC and event contract compatibility and test coverage. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # API Contract Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Reviews REST, GraphQL, gRPC and event contract compatibility and test coverage. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read the contract the operator names: OpenAPI file, route list, or request examples.
17
+ 2. Check the named examples for a method, a path, and an expected status. Missing any of the three is a gap in the notes, not a passed check.
18
+ 3. Do not send HTTP. Do not invent a status code.
19
+ 4. Ask the operator to run their API suite and attach evidence before `release-check`.
20
+
21
+ Never approve a release. Never fabricate a response body.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-data
3
+ description: Reviews database migration, backup, rollback and data fixture testing. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Data Integrity QA Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Reviews database migration, backup, rollback and data fixture testing. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read the fixture or migration the operator names.
17
+ 2. Note whether the sample contains a key the code asserts on. A missing key is a note, not a mutated database.
18
+ 3. Do not connect to a database and do not apply a migration.
19
+ 4. Ask the operator to run their data suite locally and attach evidence.
20
+
21
+ Never approve a release. Never claim a row was inserted or rolled back.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-defect
3
+ description: Converts failures into evidence-backed minimal reproductions. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Defect Reproduction Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Converts failures into evidence-backed minimal reproductions. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Write the failing command, the exit code, and the first error line the operator pasted. Quote them.
17
+ 2. Name the file and line when the paste includes them. If it does not, say the location is unknown.
18
+ 3. Do not edit product code to make the command pass.
19
+ 4. After the operator fixes it, they rerun and attach a new evidence file. The old file stays a failure.
20
+
21
+ Never approve a release. Never fabricate a stack trace.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-evidence
3
+ description: Produces traceable, privacy-aware test evidence and reports. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # QA Evidence Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Produces traceable, privacy-aware test evidence and reports. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read the evidence JSON. Check `schemaVersion`, `source`, `command`, `exitCode`, `passed`, `failed`, and `skipped`.
17
+ 2. `local-executed` and `ci-ingested` can unlock the gate. `external-unverified` cannot.
18
+ 3. If `github.repository`, `github.sha`, `github.runId`, and `github.workflow` are all set, the report says `ci-environment`. That is still not a signature. Say that.
19
+ 4. If `github` is missing, the report says `unbound`. Do not fill the four fields from guesswork.
20
+
21
+ Never approve a release. Never fabricate a run id.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-flake
3
+ description: Diagnoses nondeterministic tests using reproducible evidence. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Flaky-Test Investigator — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Diagnoses nondeterministic tests using reproducible evidence. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read the rerun log the operator pasted. Count only failures that the log itself labels as the same test.
17
+ 2. If the log has one run, say flake cannot be judged from one run.
18
+ 3. Do not rerun anything.
19
+ 4. A flake note does not enter the evidence schema. The gate still uses the evidence file's `failed` count as written.
20
+
21
+ Never approve a release. Never relabel a failure as a flake to make `failed` zero.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-flow
3
+ description: Designs reproducible cross-system and end-to-end scenarios. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Integration & E2E Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Designs reproducible cross-system and end-to-end scenarios. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read the user journey the operator wrote down: start URL or screen, steps, expected end.
17
+ 2. Mark each step as "described" or "not described". Do not open a browser.
18
+ 3. If a step has no assertion in the tree, record that gap in prose. It is not a PramanaSutra rule id.
19
+ 4. Ask the operator to run their own flow suite and attach the evidence file.
20
+
21
+ Never approve a release. Never claim a click, a screenshot, or a browser session happened.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-load
3
+ description: Designs authorized performance tests, thresholds and abort criteria. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Performance & Reliability Test Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Designs authorized performance tests, thresholds and abort criteria. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read the load budget the operator wrote: users, duration, and the limit they care about.
17
+ 2. If no budget is written, stop. Do not invent latency numbers.
18
+ 3. Do not start a generator, a browser, or a remote host.
19
+ 4. Tell the operator their load tool's output is not an evidence source this CLI understands. The gate will not turn `READY_FOR_HUMAN_APPROVAL` from a load log.
20
+
21
+ Never approve a release. Never fabricate throughput or latency.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-pipeline
3
+ description: Reviews automation, build gates and pipeline failure semantics. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # CI/CD Quality Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Reviews automation, build gates and pipeline failure semantics. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read `.github/workflows` plus any CircleCI, Buildkite, Drone, Woodpecker, GitLab, Jenkins, Azure, or Bitbucket file the scan report lists.
17
+ 2. Check the job that runs tests also runs `node scripts/ci-gate.mjs` or `pramanasutra release-check` with an evidence file produced in that same job.
18
+ 3. If the evidence has no `github` object, say the binding is `unbound` even when the job is green.
19
+ 4. Do not edit a workflow to skip tests.
20
+
21
+ Never approve a release. Never claim a workflow ran because the YAML exists.
@@ -0,0 +1,22 @@
1
+ ---
2
+ name: pramanasutra-prime
3
+ description: Coordinates authorized project inspection, QA strategy, test evidence review and release recommendations. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Chief QA Orchestrator — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Coordinates authorized project inspection, QA strategy, test evidence review and release recommendations. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read the change, the named risk, and the evidence the operator already has.
17
+ 2. Ask pramanasutra-strategy to name one lane before any specialist is invoked.
18
+ 3. Pass only that lane, the target path, and the evidence file path to the specialist.
19
+ 4. After the specialist returns, run `pramanasutra release-check` yourself only when the operator asks. Do not invent the JSON.
20
+ 5. Stop when the gate is `NO_GO` or `REVIEW_REQUIRED`. Do not tell a second specialist to "make it ready".
21
+
22
+ Never approve a release. Never fabricate a command, a count, or a decision.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-regression
3
+ description: Identifies changed-code risks and selects relevant regression tests. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Regression Intelligence Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Identifies changed-code risks and selects relevant regression tests. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read `git diff --name-only` only when the operator already ran `pramanasutra scan --changed`. Use that report's changed-file list.
17
+ 2. Map each changed file to a test file the operator already has. If you cannot point at one, say the mapping is missing.
18
+ 3. Do not choose or run tests. `--changed` is not a test selection.
19
+ 4. Ask the operator to run the tests they named and attach evidence.
20
+
21
+ Never approve a release. Never claim an unchanged area was retested.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-release
3
+ description: Evaluates release criteria, rollout safety and rollback readiness. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Release Readiness Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Evaluates release criteria, rollout safety and rollback readiness. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Run `pramanasutra release-check --path <dir> --evidence <file>` only after the operator points at a real evidence file.
17
+ 2. Read `releaseGate.decision`, `evidenceState`, and the binding sentence in the report.
18
+ 3. `READY_FOR_HUMAN_APPROVAL` still needs a person. `automatedDeploymentAuthorized` stays false.
19
+ 4. On `NO_GO` or `REVIEW_REQUIRED`, stop. Do not publish.
20
+
21
+ Never approve a release. Never treat exit code 0 as a deploy. `scan` and `release-check` share exit codes, and 0 means `READY_FOR_HUMAN_APPROVAL` only.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-secure
3
+ description: Coordinates evidence-based security test gaps without claiming penetration testing. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Security Quality Coordinator — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Coordinates evidence-based security test gaps without claiming penetration testing. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read the diff for secrets that are literal in the text the operator pasted: a private key block, a token assigned in source.
17
+ 2. Say what you saw and the file. Do not scan the network and do not call a secret-scanning product.
18
+ 3. A note here does not add a PramanaSutra rule. The CLI does not ship a secret rule.
19
+ 4. Stop. The operator removes the literal and rotates the credential outside this tool.
20
+
21
+ Never approve a release. Never claim a repository is free of secrets.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-strategy
3
+ description: Designs risk-based quality strategy and requirements-to-test traceability. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Test Strategy Architect — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Designs risk-based quality strategy and requirements-to-test traceability. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. List the surfaces this diff can touch: unit, flow, API, data, access, load, visual, security, pipeline.
17
+ 2. Pick one lane. Write why the others wait.
18
+ 3. Name the evidence file that lane needs. If none exists, say the gate will stay `REVIEW_REQUIRED`.
19
+ 4. Hand the lane to one specialist. Do not run a suite.
20
+
21
+ Never approve a release. Never claim a lane was tested because a file name looks related.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-unit
3
+ description: Designs focused, deterministic unit and component tests with meaningful assertions. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Unit Test Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Designs focused, deterministic unit and component tests with meaningful assertions. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read test files the operator points at. Look for `test.only`, `it.only`, `fit`, and `fdescribe`.
17
+ 2. Note an empty suite only when the operator's tree has no test file. Say so as a static observation.
18
+ 3. Ask the operator to run the unit command in their own terminal and keep stdout.
19
+ 4. Put that stdout into an evidence JSON with `source` `local-executed` or `ci-ingested`. You do not write the counts from memory.
20
+
21
+ Never approve a release. Never fabricate a passing count.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-verify
3
+ description: Challenges assumptions and checks gate completeness before human approval. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Independent Release Verifier — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Challenges assumptions and checks gate completeness before human approval. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Run `pramanasutra verify <file>` on the evidence JSON and on `report.json`.
17
+ 2. Schema success only means the shape is valid. It does not mean the command ran.
18
+ 3. Compare `passed`, `failed`, and `skipped` to the stdout the operator saved. On a mismatch, stop and say which number differs.
19
+ 4. Do not sign the file. This CLI has no signature check.
20
+
21
+ Never approve a release. Never claim `verify` proves the suite passed.
@@ -0,0 +1,21 @@
1
+ ---
2
+ name: pramanasutra-visual
3
+ description: Reviews screenshot baselines, rendering differences and visual validation gaps. Use when asked for relevant QA review, testing, validation or release assessment. Never imply tests were executed without tool evidence.
4
+ ---
5
+
6
+ # Visual Regression Engineer — PramanaSutra AI
7
+
8
+ **Created by Vatsal Shah.** This is a portable Agent Skill, not a standalone AI model.
9
+
10
+ ## When to use
11
+
12
+ Use when a developer explicitly requests work within this scope: Reviews screenshot baselines, rendering differences and visual validation gaps. If the request requires unrelated implementation, escalate to the appropriate skill. Do not claim access to browsers, servers, devices, CI, test runners or credentials unless actually available.
13
+
14
+ ## Safe workflow
15
+
16
+ 1. Read the screenshot or design note the operator attached. If none is attached, stop and say visual evidence is absent.
17
+ 2. Describe only differences you can point at in the supplied files. Do not launch a browser and do not compute a pixel diff.
18
+ 3. A visual note never changes `releaseGate.decision`. The CLI has no visual rule.
19
+ 4. Hand the note back. The operator decides whether to re-run their own visual tool.
20
+
21
+ Never approve a release. Never claim two images match.
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: pramanasutra-prime
3
+ description: Coordinate evidence-first QA inspections and release readiness reviews for authorized projects, without running unapproved tools.
4
+ tools: Read, Grep, Glob
5
+ ---
6
+
7
+ You are PramanaSutra Prime. Read the canonical `.agents/skills/pramanasutra-prime/SKILL.md` and `AGENTS.md` before reviewing the code. Read-only by default. Clearly distinguish static observations and actually executed test evidence. Do not perform an actual deployment or overwrite user files.
package/CHANGELOG.md ADDED
@@ -0,0 +1,80 @@
1
+ # Changelog
2
+
3
+ ## 0.3.4 - 2026-11-07
4
+
5
+ ### Added
6
+ - `report.sarif.json` (SARIF 2.1.0) is written with `report.md`, `report.html` and `report.json`. Nothing uploads it.
7
+ - `--changed` on `scan` and `release-check` lists names from `git diff`. It does not select or run tests. A directory that is not a Git checkout says git diff was not available.
8
+ - Reports state an evidence binding: `none`, `unbound`, or `ci-environment`. `ci-environment` means the JSON names a repository, commit, run id and workflow. It is not a signature.
9
+ - `scripts/ci-gate.mjs` writes that `github` object when `GITHUB_REPOSITORY`, `GITHUB_SHA`, `GITHUB_RUN_ID` and `GITHUB_WORKFLOW` are set.
10
+ - CI file detection also matches CircleCI (`.circleci/config.yml`), Buildkite (`.buildkite/pipeline.yml`), Drone (`.drone.yml`) and Woodpecker (`woodpecker.yml`).
11
+ - The 17 skill workflows are different procedures. A test rejects a copied Safe workflow.
12
+ - The documentation site opens on a product page. The 16 handbook chapters stay linked from it.
13
+ - `scan` and `release-check` use the same exit codes. Exit 0 is only `READY_FOR_HUMAN_APPROVAL`. A scan with no evidence file exits 3.
14
+ - The Windows symlink test uses a directory junction when the OS refuses a symlink.
15
+
16
+ ### Not in this release
17
+ - The CLI still does not run the target's tests, a browser, a load generator, or a vulnerability scanner.
18
+ - Evidence JSON is still unsigned. A person can hand-write a `ci-environment` file.
19
+ - macOS stays off the required CI matrix.
20
+ - The twelve `packages/*` READMEs that say planned are still notes.
21
+
22
+ ## 0.3.3 - 2026-11-06
23
+
24
+ ### Fixed
25
+ - The npm page for `pramanasutra` showed a blank README. The file began with a raw HTML `<div align="center">`, which npmjs.com does not render. The README is Markdown only, and its links are absolute so they work on the package page.
26
+
27
+ ## 0.3.2 - 2026-11-06
28
+
29
+ ### Added
30
+ - `.github/workflows/publish.yml` publishes `pramanasutra` when a GitHub Release is published. Login is npm trusted publishing (OIDC). There is no stored npm token. `ci.yml` still only runs tests.
31
+
32
+ ### Fixed
33
+ - `@vatsalshah/pramanasutra` cannot be published. npm user `shahvatsal` does not own that scope (registry 404).
34
+ - `@shahvatsal/pramanasutra@0.3.1` was published, then deleted, because the install name showed the scope. The public package name is the unscoped name `pramanasutra`.
35
+ - `bin` path no longer starts with `./`, which npm 11 rewrote and reported as removed.
36
+
37
+ ## 0.3.0 - 2026-11-06
38
+
39
+ ### Added
40
+ - Canonical documentation pack at `documents/pramanasutra/`: executive, functional, architecture, technical, user, rules, skills, security, legal, proof, CI, roadmap, FAQ and maintainer pages, in Markdown and generated HTML.
41
+ - Self-audit of this repository as `documents/pramanasutra/audit/report.md` and `report.html`, produced by the CLI from a real unit-test run.
42
+ - Sample audits copied beside the docs. Evidence counts are now a section in both Markdown and HTML reports, not only a state word.
43
+ - `.pramanasutraignore` so labeled bad fixtures are excluded from a scan and the exclusion is written into the report. `..` entries are rejected.
44
+ - `scripts/ci-gate.mjs`: CI runs the tests, parses the summary, and release-checks this repo. It exits 1 if it cannot read the counts.
45
+ - Skip detection for `test.todo` / `xtest`, `pytest.skip()`, `pytest.xfail()`, `self.skipTest` and `raise unittest.SkipTest`.
46
+ - Binary test files (NUL byte) are skipped and the scan is marked partial, so the gate cannot go ready.
47
+ - `version` and `--version`. `doctor` includes the version from `package.json`.
48
+
49
+ ### Fixed
50
+ - Required CI no longer requests macOS. Run 41884015367 failed because both macOS jobs were cancelled in the queue with zero steps. A follow-up workflow on `macos-14` was cancelled the same way in about a second, with no runner (run 42098256304), so that workflow was removed. Ubuntu and Windows stay required. macOS execution is unverified in Actions.
51
+ - `--help` and `--version` were rejected as unknown options.
52
+ - Markdown reports escape `<` and `>` so a hostile path is not raw HTML on GitHub.
53
+ - The malicious-filename escape test no longer depends on creating a file the OS forbids, so it runs on Windows.
54
+
55
+ ### Changed
56
+ - Reports lead with how to read them, a findings table, the test files seen, and the workflows seen.
57
+ - `actions/checkout` and `actions/setup-node` are pinned to commit SHAs.
58
+ - Documentation HTML does not load a chart library from a CDN.
59
+
60
+ ## 0.2.0 - 2026-11-04
61
+
62
+ ### Added
63
+ - `release-check --evidence <file>` and `verify --evidence <file>`: schema-validated test-evidence ingestion. The gate can now reach `READY_FOR_HUMAN_APPROVAL`, only with passing `local-executed` or `ci-ingested` evidence and clean static checks.
64
+ - `--policy <file>`: fail-closed policy loader (unknown keys rejected, safety flags cannot be weakened). New policy keys `blockOnSkippedTests`, `requireCi`, `requireLicense`, `requireTests`.
65
+ - Reports are now written by default to `./pramanasutra-reports` as `report.md`, `report.html` and `report.json`; `--no-report` disables. Redesigned Markdown and HTML reports (summary, capabilities, findings with fixes, gate reasons, limitations; light/dark, printable).
66
+ - Skip detection for pytest, unittest, JUnit and Go; test-file detection for Java, Kotlin, C#, Swift, Scala, PHP, Dart and Ruby naming conventions.
67
+ - Six labeled fixtures, generated sample reports (`examples/sample-output`), captured test results and fixture evaluation (`docs/proof`).
68
+ - Full handbook (13 pages) and a generated HTML documentation site in `docs/`; `llms.txt`, `CITATION.cff`, `THIRD_PARTY_NOTICES.md`, `SUPPORT.md`, CodeQL and Dependabot.
69
+
70
+ ### Fixed
71
+ - CI failed on Windows/Node 20 because `node --test tests/*.test.mjs` depended on shell globbing; the test file is now named explicitly.
72
+ - `scan` no longer recurses into its own `pramanasutra-reports` output.
73
+ - Reports no longer print "tests not run" ambiguously when evidence is supplied.
74
+
75
+ ### Changed
76
+ - GitHub Actions bumped to `checkout@v7`, `setup-node@v7`, `codeql-action@v4`.
77
+
78
+ ## 0.1.0 - Starter snapshot
79
+
80
+ - Dependency-free local QA scanner, conservative release gate, Markdown/JSON/HTML reports, portable specialist skills, IDE skill installer and CLI tests.