pramanasutra 0.0.0-stage → 0.3.2

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 (247) hide show
  1. package/.agents/skills/pramanasutra-access/SKILL.md +34 -0
  2. package/.agents/skills/pramanasutra-api/SKILL.md +34 -0
  3. package/.agents/skills/pramanasutra-data/SKILL.md +34 -0
  4. package/.agents/skills/pramanasutra-defect/SKILL.md +34 -0
  5. package/.agents/skills/pramanasutra-evidence/SKILL.md +34 -0
  6. package/.agents/skills/pramanasutra-flake/SKILL.md +34 -0
  7. package/.agents/skills/pramanasutra-flow/SKILL.md +34 -0
  8. package/.agents/skills/pramanasutra-load/SKILL.md +34 -0
  9. package/.agents/skills/pramanasutra-pipeline/SKILL.md +34 -0
  10. package/.agents/skills/pramanasutra-prime/SKILL.md +38 -0
  11. package/.agents/skills/pramanasutra-regression/SKILL.md +34 -0
  12. package/.agents/skills/pramanasutra-release/SKILL.md +34 -0
  13. package/.agents/skills/pramanasutra-secure/SKILL.md +34 -0
  14. package/.agents/skills/pramanasutra-strategy/SKILL.md +34 -0
  15. package/.agents/skills/pramanasutra-unit/SKILL.md +34 -0
  16. package/.agents/skills/pramanasutra-verify/SKILL.md +34 -0
  17. package/.agents/skills/pramanasutra-visual/SKILL.md +34 -0
  18. package/.claude/agents/pramanasutra-prime.md +7 -0
  19. package/CHANGELOG.md +56 -0
  20. package/LICENSE +201 -0
  21. package/NOTICE +2 -0
  22. package/README.md +138 -2
  23. package/docs/.nojekyll +0 -0
  24. package/docs/00-start-here.html +195 -0
  25. package/docs/01-executive-summary.html +192 -0
  26. package/docs/02-functional-specification.html +199 -0
  27. package/docs/03-architecture.html +233 -0
  28. package/docs/04-technical-reference.html +204 -0
  29. package/docs/05-user-guide.html +232 -0
  30. package/docs/06-cli-and-reports.html +200 -0
  31. package/docs/07-rule-catalog.html +194 -0
  32. package/docs/08-skills-and-agents.html +191 -0
  33. package/docs/09-security-and-privacy.html +192 -0
  34. package/docs/10-legal-and-compliance.html +203 -0
  35. package/docs/11-testing-and-proof.html +197 -0
  36. package/docs/12-ci-and-release.html +208 -0
  37. package/docs/13-roadmap-and-status.html +186 -0
  38. package/docs/14-faq-and-glossary.html +204 -0
  39. package/docs/15-maintainer-guide.html +200 -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 +39 -0
  47. package/docs/audit/report.json +59 -0
  48. package/docs/audit/report.md +80 -0
  49. package/docs/commands.md +13 -0
  50. package/docs/compatibility.md +15 -0
  51. package/docs/configuration.md +3 -0
  52. package/docs/execution-safety.md +3 -0
  53. package/docs/handbook/01-executive-summary.html +1 -0
  54. package/docs/handbook/01-executive-summary.md +51 -0
  55. package/docs/handbook/02-functional-specification.html +1 -0
  56. package/docs/handbook/02-functional-specification.md +69 -0
  57. package/docs/handbook/03-technical-specification.html +1 -0
  58. package/docs/handbook/03-technical-specification.md +85 -0
  59. package/docs/handbook/04-architecture.html +1 -0
  60. package/docs/handbook/04-architecture.md +107 -0
  61. package/docs/handbook/05-user-guide.html +1 -0
  62. package/docs/handbook/05-user-guide.md +117 -0
  63. package/docs/handbook/06-cli-reference.html +1 -0
  64. package/docs/handbook/06-cli-reference.md +88 -0
  65. package/docs/handbook/07-security-privacy-legal.html +1 -0
  66. package/docs/handbook/07-security-privacy-legal.md +65 -0
  67. package/docs/handbook/08-testing-and-proof.html +1 -0
  68. package/docs/handbook/08-testing-and-proof.md +83 -0
  69. package/docs/handbook/09-compatibility-and-roadmap.html +1 -0
  70. package/docs/handbook/09-compatibility-and-roadmap.md +53 -0
  71. package/docs/handbook/10-contributor-guide.html +1 -0
  72. package/docs/handbook/10-contributor-guide.md +64 -0
  73. package/docs/handbook/11-glossary-and-faq.html +1 -0
  74. package/docs/handbook/11-glossary-and-faq.md +52 -0
  75. package/docs/handbook/12-rule-catalog.html +1 -0
  76. package/docs/handbook/12-rule-catalog.md +65 -0
  77. package/docs/handbook/README.md +40 -0
  78. package/docs/handbook/index.html +1 -0
  79. package/docs/index.html +195 -0
  80. package/docs/legal/trademark-and-name-clearance.html +1 -0
  81. package/docs/legal/trademark-and-name-clearance.md +32 -0
  82. package/docs/master-claude-prompt.md +483 -0
  83. package/docs/proof/eval-results.json +91 -0
  84. package/docs/proof/test-results.txt +51 -0
  85. package/docs/quality-gates.md +10 -0
  86. package/docs/report-schema.md +22 -0
  87. package/docs/roadmap.md +3 -0
  88. package/docs/robots.txt +22 -0
  89. package/docs/samples/clean-project/report.html +29 -0
  90. package/docs/samples/clean-project/report.json +45 -0
  91. package/docs/samples/clean-project/report.md +67 -0
  92. package/docs/samples/focused-test/report.html +29 -0
  93. package/docs/samples/focused-test/report.json +60 -0
  94. package/docs/samples/focused-test/report.md +74 -0
  95. package/docs/samples/missing-ci/report.html +29 -0
  96. package/docs/samples/missing-ci/report.json +59 -0
  97. package/docs/samples/missing-ci/report.md +75 -0
  98. package/docs/samples/missing-tests/report.html +29 -0
  99. package/docs/samples/missing-tests/report.json +59 -0
  100. package/docs/samples/missing-tests/report.md +75 -0
  101. package/docs/samples/multi-language/report.html +33 -0
  102. package/docs/samples/multi-language/report.json +116 -0
  103. package/docs/samples/multi-language/report.md +110 -0
  104. package/docs/samples/unsafe-names/report.html +29 -0
  105. package/docs/samples/unsafe-names/report.json +61 -0
  106. package/docs/samples/unsafe-names/report.md +75 -0
  107. package/docs/server-deployment.md +3 -0
  108. package/docs/sitemap.xml +20 -0
  109. package/docs/standards.md +12 -0
  110. package/docs/status.md +20 -0
  111. package/docs/troubleshooting.md +7 -0
  112. package/docs/trust-model.md +3 -0
  113. package/documents/pramanasutra/00-start-here.md +85 -0
  114. package/documents/pramanasutra/01-executive-summary.md +61 -0
  115. package/documents/pramanasutra/02-functional-specification.md +90 -0
  116. package/documents/pramanasutra/03-architecture.md +102 -0
  117. package/documents/pramanasutra/04-technical-reference.md +121 -0
  118. package/documents/pramanasutra/05-user-guide.md +152 -0
  119. package/documents/pramanasutra/06-cli-and-reports.md +79 -0
  120. package/documents/pramanasutra/07-rule-catalog.md +79 -0
  121. package/documents/pramanasutra/08-skills-and-agents.md +68 -0
  122. package/documents/pramanasutra/09-security-and-privacy.md +73 -0
  123. package/documents/pramanasutra/10-legal-and-compliance.md +72 -0
  124. package/documents/pramanasutra/11-testing-and-proof.md +72 -0
  125. package/documents/pramanasutra/12-ci-and-release.md +89 -0
  126. package/documents/pramanasutra/13-roadmap-and-status.md +68 -0
  127. package/documents/pramanasutra/14-faq-and-glossary.md +81 -0
  128. package/documents/pramanasutra/15-maintainer-guide.md +81 -0
  129. package/documents/pramanasutra/README.md +11 -0
  130. package/documents/pramanasutra/audit/report.html +39 -0
  131. package/documents/pramanasutra/audit/report.json +59 -0
  132. package/documents/pramanasutra/audit/report.md +80 -0
  133. package/documents/pramanasutra/html/00-start-here.html +195 -0
  134. package/documents/pramanasutra/html/01-executive-summary.html +192 -0
  135. package/documents/pramanasutra/html/02-functional-specification.html +199 -0
  136. package/documents/pramanasutra/html/03-architecture.html +233 -0
  137. package/documents/pramanasutra/html/04-technical-reference.html +204 -0
  138. package/documents/pramanasutra/html/05-user-guide.html +232 -0
  139. package/documents/pramanasutra/html/06-cli-and-reports.html +200 -0
  140. package/documents/pramanasutra/html/07-rule-catalog.html +194 -0
  141. package/documents/pramanasutra/html/08-skills-and-agents.html +191 -0
  142. package/documents/pramanasutra/html/09-security-and-privacy.html +192 -0
  143. package/documents/pramanasutra/html/10-legal-and-compliance.html +203 -0
  144. package/documents/pramanasutra/html/11-testing-and-proof.html +197 -0
  145. package/documents/pramanasutra/html/12-ci-and-release.html +208 -0
  146. package/documents/pramanasutra/html/13-roadmap-and-status.html +186 -0
  147. package/documents/pramanasutra/html/14-faq-and-glossary.html +204 -0
  148. package/documents/pramanasutra/html/15-maintainer-guide.html +200 -0
  149. package/documents/pramanasutra/html/audit/report.html +39 -0
  150. package/documents/pramanasutra/html/audit/report.json +59 -0
  151. package/documents/pramanasutra/html/audit/report.md +80 -0
  152. package/documents/pramanasutra/html/index.html +195 -0
  153. package/documents/pramanasutra/html/proof/eval-results.json +91 -0
  154. package/documents/pramanasutra/html/proof/test-results.txt +51 -0
  155. package/documents/pramanasutra/html/robots.txt +22 -0
  156. package/documents/pramanasutra/html/samples/clean-project/report.html +29 -0
  157. package/documents/pramanasutra/html/samples/clean-project/report.json +45 -0
  158. package/documents/pramanasutra/html/samples/clean-project/report.md +67 -0
  159. package/documents/pramanasutra/html/samples/focused-test/report.html +29 -0
  160. package/documents/pramanasutra/html/samples/focused-test/report.json +60 -0
  161. package/documents/pramanasutra/html/samples/focused-test/report.md +74 -0
  162. package/documents/pramanasutra/html/samples/missing-ci/report.html +29 -0
  163. package/documents/pramanasutra/html/samples/missing-ci/report.json +59 -0
  164. package/documents/pramanasutra/html/samples/missing-ci/report.md +75 -0
  165. package/documents/pramanasutra/html/samples/missing-tests/report.html +29 -0
  166. package/documents/pramanasutra/html/samples/missing-tests/report.json +59 -0
  167. package/documents/pramanasutra/html/samples/missing-tests/report.md +75 -0
  168. package/documents/pramanasutra/html/samples/multi-language/report.html +33 -0
  169. package/documents/pramanasutra/html/samples/multi-language/report.json +116 -0
  170. package/documents/pramanasutra/html/samples/multi-language/report.md +110 -0
  171. package/documents/pramanasutra/html/samples/unsafe-names/report.html +29 -0
  172. package/documents/pramanasutra/html/samples/unsafe-names/report.json +61 -0
  173. package/documents/pramanasutra/html/samples/unsafe-names/report.md +75 -0
  174. package/documents/pramanasutra/html/sitemap.xml +20 -0
  175. package/documents/pramanasutra/proof/eval-results.json +91 -0
  176. package/documents/pramanasutra/proof/test-results.txt +51 -0
  177. package/documents/pramanasutra/samples/clean-project/report.html +29 -0
  178. package/documents/pramanasutra/samples/clean-project/report.json +45 -0
  179. package/documents/pramanasutra/samples/clean-project/report.md +67 -0
  180. package/documents/pramanasutra/samples/focused-test/report.html +29 -0
  181. package/documents/pramanasutra/samples/focused-test/report.json +60 -0
  182. package/documents/pramanasutra/samples/focused-test/report.md +74 -0
  183. package/documents/pramanasutra/samples/missing-ci/report.html +29 -0
  184. package/documents/pramanasutra/samples/missing-ci/report.json +59 -0
  185. package/documents/pramanasutra/samples/missing-ci/report.md +75 -0
  186. package/documents/pramanasutra/samples/missing-tests/report.html +29 -0
  187. package/documents/pramanasutra/samples/missing-tests/report.json +59 -0
  188. package/documents/pramanasutra/samples/missing-tests/report.md +75 -0
  189. package/documents/pramanasutra/samples/multi-language/report.html +33 -0
  190. package/documents/pramanasutra/samples/multi-language/report.json +116 -0
  191. package/documents/pramanasutra/samples/multi-language/report.md +110 -0
  192. package/documents/pramanasutra/samples/unsafe-names/report.html +29 -0
  193. package/documents/pramanasutra/samples/unsafe-names/report.json +61 -0
  194. package/documents/pramanasutra/samples/unsafe-names/report.md +75 -0
  195. package/examples/dotnet-app/README.md +3 -0
  196. package/examples/evidence/passing.json +12 -0
  197. package/examples/java-service/README.md +3 -0
  198. package/examples/mobile/README.md +3 -0
  199. package/examples/python-api/README.md +3 -0
  200. package/examples/release-policy/README.md +3 -0
  201. package/examples/sample-app/README.md +3 -0
  202. package/examples/sample-app/package.json +8 -0
  203. package/examples/sample-app/src/math.js +1 -0
  204. package/examples/sample-app/tests/math.test.js +5 -0
  205. package/examples/sample-output/clean-project/report.html +29 -0
  206. package/examples/sample-output/clean-project/report.json +45 -0
  207. package/examples/sample-output/clean-project/report.md +67 -0
  208. package/examples/sample-output/focused-test/report.html +29 -0
  209. package/examples/sample-output/focused-test/report.json +60 -0
  210. package/examples/sample-output/focused-test/report.md +74 -0
  211. package/examples/sample-output/missing-ci/report.html +29 -0
  212. package/examples/sample-output/missing-ci/report.json +59 -0
  213. package/examples/sample-output/missing-ci/report.md +75 -0
  214. package/examples/sample-output/missing-tests/report.html +29 -0
  215. package/examples/sample-output/missing-tests/report.json +59 -0
  216. package/examples/sample-output/missing-tests/report.md +75 -0
  217. package/examples/sample-output/multi-language/report.html +33 -0
  218. package/examples/sample-output/multi-language/report.json +116 -0
  219. package/examples/sample-output/multi-language/report.md +110 -0
  220. package/examples/sample-output/unsafe-names/report.html +29 -0
  221. package/examples/sample-output/unsafe-names/report.json +61 -0
  222. package/examples/sample-output/unsafe-names/report.md +75 -0
  223. package/llms.txt +60 -0
  224. package/package.json +65 -4
  225. package/packages/cli/bin/pramanasutra.mjs +90 -0
  226. package/packages/cli/lib/evidence.mjs +46 -0
  227. package/packages/cli/lib/installer.mjs +39 -0
  228. package/packages/cli/lib/policy.mjs +33 -0
  229. package/packages/cli/lib/report.mjs +169 -0
  230. package/packages/cli/lib/scanner.mjs +146 -0
  231. package/policies/recommended.json +11 -0
  232. package/policies/strict.json +12 -0
  233. package/templates/defect-report.md +11 -0
  234. package/templates/qa-strategy.md +9 -0
  235. package/templates/release-notes.md +9 -0
  236. package/templates/release-readiness.md +9 -0
  237. package/templates/rollback-plan.md +7 -0
  238. package/templates/test-evidence.json +11 -0
  239. package/templates/test-plan.md +4 -0
  240. package/templates/traceability-matrix.csv +1 -0
  241. package/workflows/create-test-plan.md +9 -0
  242. package/workflows/implement-tests.md +9 -0
  243. package/workflows/inspect-project.md +9 -0
  244. package/workflows/investigate-failure.md +9 -0
  245. package/workflows/post-release-observability.md +9 -0
  246. package/workflows/release-readiness.md +9 -0
  247. package/workflows/verify-regression.md +9 -0
@@ -0,0 +1,85 @@
1
+ # Technical specification
2
+
3
+ <!-- summary: Modules, algorithms, hard limits, data schemas and error handling of the PramanaSutra AI v0.2.0 CLI. -->
4
+
5
+ ## Stack
6
+
7
+ - Plain ES modules (`.mjs`), Node.js 20 or newer, **zero runtime dependencies**, no build step.
8
+ - Test runner: built-in `node --test`. Test file: `tests/cli.test.mjs`.
9
+ - Choice rationale: a zero-dependency executable starter is easy to audit and has no supply-chain surface. A move to TypeScript is possible once the module boundaries stabilize.
10
+
11
+ ## Modules
12
+
13
+ | File | Responsibility |
14
+ |---|---|
15
+ | `packages/cli/bin/pramanasutra.mjs` | Argument parsing, command dispatch, exit codes |
16
+ | `packages/cli/lib/scanner.mjs` | Directory walk, test/CI/manifest detection, rules, gate evaluation |
17
+ | `packages/cli/lib/evidence.mjs` | Evidence file loading, validation, classification |
18
+ | `packages/cli/lib/policy.mjs` | Fail-closed policy loading |
19
+ | `packages/cli/lib/report.mjs` | Markdown, HTML and JSON report writers |
20
+ | `packages/cli/lib/installer.mjs` | Skill installation for host-specific paths |
21
+ | `scripts/generate-proof.mjs` | Regenerates test results, fixture evaluation and sample reports |
22
+ | `scripts/build-docs.mjs` | Builds the HTML documentation site from Markdown |
23
+
24
+ ## Scanner algorithm
25
+
26
+ 1. Resolve the target and require a real directory (symlink roots are refused).
27
+ 2. Iterative depth-first walk, children sorted by name for deterministic output.
28
+ 3. Skip symbolic links (counted, never followed).
29
+ 4. Skip directories: `.git`, `node_modules`, `.venv`, `venv`, `dist`, `build`, `target`, `coverage`, `.next`, `.nuxt`, `.turbo`, `.cache`, `reports`, `pramanasutra-reports`, `.idea`, `.gradle`, `vendor`, `bin`, `obj`.
30
+ 5. Classify files: test files by path and name conventions, manifests, CI workflows, license.
31
+ 6. Read **only test files** of known source extensions, line by line, applying rules.
32
+ 7. Build the report object and the limitations list.
33
+
34
+ ### Hard limits
35
+
36
+ | Limit | Value | When hit |
37
+ |---|---|---|
38
+ | Max depth | 22 | Scan marked partial |
39
+ | Max files | 20,000 | Scan marked partial |
40
+ | Max test-file size read | 2,000,000 bytes | File skipped, reported in limitations |
41
+ | Evidence file size | 1,000,000 bytes | Rejected |
42
+ | Policy file size | 100,000 bytes | Rejected |
43
+
44
+ A partial scan can never reach `READY_FOR_HUMAN_APPROVAL`.
45
+
46
+ ## Data schemas
47
+
48
+ ### Report (`report.json`, schema 1.0.0)
49
+
50
+ Top-level keys: `schemaVersion`, `product`, `generatedAt`, `scannedPath` (base name only), `capabilities`, `inventory`, `findings`, `limitations`, `releaseGate`.
51
+
52
+ - `capabilities`: `staticAudit`, `testExecution`, `browser`, `securityScan`, `performanceTest`, `aiInference`, each one of `executed`, `not-run`, `not-supported`, `evidence-supplied`.
53
+ - `findings[]`: `id`, `ruleId`, `severity`, `confidence`, `title`, `description`, `evidence {path, line}`, `recommendation`, `status`.
54
+ - `releaseGate`: `decision`, `policy`, `reasons[]`, `requiresHumanApproval`, `executedTestEvidence`, `evidenceState`, `automatedDeploymentAuthorized`.
55
+
56
+ ### Evidence (input)
57
+
58
+ `schemaVersion` ("1.0.0"), `source` (`local-executed`, `ci-ingested`, `external-unverified`), `command`, `executedAt` (ISO-8601), `exitCode` (integer), `passed`, `failed`, optional `skipped`, `environment`, `commit`.
59
+
60
+ ### Policy (input)
61
+
62
+ Booleans: `releaseRequiresExecutedEvidence`, `blockOnFocusedTests`, `blockOnSkippedTests`, `requireCi`, `requireLicense`, `requireTests`. Fixed safety keys that cannot be weakened: `allowAutomatedDeployment` must be `false`, `manualApprovalsRequired` must be `true`. `name` is a label. Unknown keys are an error.
63
+
64
+ ## Error handling
65
+
66
+ All failures are caught in `main()`, printed as `PramanaSutra error: <message>` and returned as exit code 1. No stack traces are shown for expected errors.
67
+
68
+ ## Exit codes
69
+
70
+ | Code | Meaning |
71
+ |---|---|
72
+ | 0 | Success, or `READY_FOR_HUMAN_APPROVAL` |
73
+ | 1 | Invalid input or runtime error |
74
+ | 2 | `NO_GO` |
75
+ | 3 | `REVIEW_REQUIRED` |
76
+
77
+ ## Determinism
78
+
79
+ Sorted traversal, fixed rule order, no randomness. The only varying field is `generatedAt`.
80
+
81
+ ## Known technical limits
82
+
83
+ - Rules are line-based regular expressions, not language parsers. Multi-line constructs and unusual formatting can be missed or misread.
84
+ - Only a fixed set of naming conventions identify test files. Unconventional layouts yield `NO_TESTS` false positives.
85
+ - Windows cannot represent some file names (for example those containing `"`); those cases are tested on POSIX only.
@@ -0,0 +1 @@
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="index,follow"><link rel="canonical" href="https://shahvatsalofficial.github.io/pramanasutra-ai/03-architecture.html"><meta http-equiv="refresh" content="0; url=../03-architecture.html"><title>Moved — PramanaSutra AI</title></head><body><p>This page moved to <a href="../03-architecture.html">Architecture</a>.</p></body></html>
@@ -0,0 +1,107 @@
1
+ # Architecture
2
+
3
+ <!-- summary: Context, components, data flow, trust boundaries and design decisions of PramanaSutra AI, with diagrams. -->
4
+
5
+ ## Principles
6
+
7
+ 1. **Evidence over assertion.** Observations, executed results and AI interpretation are separate classes of information.
8
+ 2. **Fail closed.** Unknown input, missing evidence and partial scans never produce a green outcome.
9
+ 3. **Read-only by default.** The inspected project is never modified or executed.
10
+ 4. **No hidden I/O.** The CLI makes no network calls.
11
+ 5. **Human in the loop.** No path leads to automated deployment.
12
+
13
+ ## Context
14
+
15
+ ```mermaid
16
+ flowchart LR
17
+ Dev["Developer / AI IDE"] -->|"runs"| CLI["pramanasutra CLI"]
18
+ CI["CI system"] -->|"runs"| CLI
19
+ Skills["17 Agent Skills (SKILL.md)"] -->|"guide"| Dev
20
+ CLI -->|"reads, never writes"| Repo[("Inspected project")]
21
+ Runner["Your test runner / CI"] -->|"produces"| Ev["test-evidence.json"]
22
+ Ev -->|"--evidence"| CLI
23
+ CLI --> Out["report.md, report.html, report.json"]
24
+ CLI -->|"exit code 0/2/3"| CI
25
+ ```
26
+
27
+ ## Components
28
+
29
+ ```mermaid
30
+ flowchart TB
31
+ Bin["bin/pramanasutra.mjs: parse, dispatch, exit codes"]
32
+ Bin --> Scan["scanner.mjs: walk, classify, rules"]
33
+ Bin --> Gate["scanner.mjs: evaluateGate"]
34
+ Bin --> Ev["evidence.mjs: validate, classify"]
35
+ Bin --> Pol["policy.mjs: fail-closed load"]
36
+ Bin --> Rep["report.mjs: md, html, json"]
37
+ Bin --> Inst["installer.mjs: copy skills"]
38
+ Scan --> Gate
39
+ Ev --> Gate
40
+ Pol --> Gate
41
+ Gate --> Rep
42
+ ```
43
+
44
+ ## Release-gate flow
45
+
46
+ ```mermaid
47
+ flowchart TD
48
+ S["Static findings"] --> B{"Blocking finding under policy?"}
49
+ B -- yes --> NG["NO_GO (exit 2)"]
50
+ B -- no --> E{"Evidence state"}
51
+ E -- failing --> NG
52
+ E -- "absent / inconclusive / unverified" --> RR["REVIEW_REQUIRED (exit 3)"]
53
+ E -- passing --> M{"Any missing: partial scan, tests, CI, license?"}
54
+ M -- yes --> RR
55
+ M -- no --> RH["READY_FOR_HUMAN_APPROVAL (exit 0)"]
56
+ ```
57
+
58
+ ## Trust boundaries
59
+
60
+ | Boundary | Trusted | Untrusted |
61
+ |---|---|---|
62
+ | Engine | The PramanaSutra code you installed | n/a |
63
+ | Inspected project | n/a | All files, names, comments, test content |
64
+ | Evidence file | Schema-valid fields only | Claims of provenance (a human must verify) |
65
+ | Skill files | Instructions | Anything inside the project that tries to instruct the agent |
66
+
67
+ Consequences: file names and contents are only ever matched against rules or escaped for output; nothing from the project is executed; text found in the project is never treated as an instruction.
68
+
69
+ ## Skills and the CLI
70
+
71
+ The CLI and the skills are separate on purpose. The CLI is deterministic and offline. The skills are instructions that an AI IDE's own model follows. They share vocabulary (finding, evidence, gate) but not code, so the CLI works with no AI at all.
72
+
73
+ ```mermaid
74
+ flowchart LR
75
+ subgraph Deterministic
76
+ CLI["CLI"] --> Rep["Reports"]
77
+ end
78
+ subgraph "AI IDE (optional)"
79
+ Skill["Prime + specialists"] --> Model["IDE model"]
80
+ end
81
+ Skill -->|"asks user to run"| CLI
82
+ Rep -->|"read as evidence"| Skill
83
+ ```
84
+
85
+ ## Key decisions
86
+
87
+ | Decision | Reason | Trade-off |
88
+ |---|---|---|
89
+ | Zero dependencies, plain ESM | Auditable, no supply-chain surface | No type checking |
90
+ | Line-based rules | Fast, language-agnostic | Misses multi-line constructs |
91
+ | Evidence as an input file | Works with any runner or CI | Provenance is only as good as the source |
92
+ | Reports written to cwd by default | Users always get readable output | Writes a folder in the working directory (`--no-report` disables) |
93
+ | Policy fail-closed | Prevents silent weakening | Typos error out instead of being ignored |
94
+
95
+ ## Failure modes
96
+
97
+ | Failure | Behavior |
98
+ |---|---|
99
+ | Unreadable directory | Recorded in limitations; scan marked partial |
100
+ | Huge repository | Limits applied; scan marked partial |
101
+ | Malformed evidence or policy | Exit 1, nothing evaluated |
102
+ | Output directory not writable | Exit 1 with message |
103
+ | Symlink target | Skipped and counted |
104
+
105
+ ## Future architecture
106
+
107
+ A runner package with command allowlists, sandboxing and consent prompts; a framework-adapter interface (`detect`, `plan`, `prepare`, `run`, `collect`, `normalize`); and an authenticated server mode. All are planned and not implemented. See [roadmap](09-compatibility-and-roadmap.md).
@@ -0,0 +1 @@
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="index,follow"><link rel="canonical" href="https://shahvatsalofficial.github.io/pramanasutra-ai/05-user-guide.html"><meta http-equiv="refresh" content="0; url=../05-user-guide.html"><title>Moved — PramanaSutra AI</title></head><body><p>This page moved to <a href="../05-user-guide.html">User guide</a>.</p></body></html>
@@ -0,0 +1,117 @@
1
+ # User guide
2
+
3
+ <!-- summary: Install, run, read reports, supply test evidence, install the skills in your AI IDE and wire PramanaSutra AI into CI. -->
4
+
5
+ ## Requirements
6
+
7
+ Node.js 20 or newer. Nothing else: no install step, no account, no API key.
8
+
9
+ ## 1. Run it (60 seconds)
10
+
11
+ ```bash
12
+ npx github:shahvatsalofficial/pramanasutra-ai doctor
13
+ npx github:shahvatsalofficial/pramanasutra-ai release-check --path .
14
+ ```
15
+
16
+ Or from a clone:
17
+
18
+ ```bash
19
+ git clone https://github.com/shahvatsalofficial/pramanasutra-ai.git
20
+ cd pramanasutra-ai
21
+ node packages/cli/bin/pramanasutra.mjs release-check --path examples/sample-app
22
+ ```
23
+
24
+ The sample app has a deliberate `test.only`, so the expected result is `NO_GO` and exit code 2.
25
+
26
+ ## 2. Read the reports
27
+
28
+ Each run writes three files to `./pramanasutra-reports` (or `--out <dir>`):
29
+
30
+ | File | For | Contents |
31
+ |---|---|---|
32
+ | `report.md` | People, pull requests | Decision, summary, capabilities, every finding with fix, gate reasons, limitations |
33
+ | `report.html` | People, sharing | Same content, styled, light and dark, printable, all text escaped |
34
+ | `report.json` | Tools, CI | Machine-readable schema 1.0.0 |
35
+
36
+ Open `report.html` in a browser. Use `--no-report` to write nothing.
37
+
38
+ ## 3. Supply test evidence
39
+
40
+ PramanaSutra does not run your tests. Run them with your own tool, then describe the result:
41
+
42
+ ```json
43
+ {
44
+ "schemaVersion": "1.0.0",
45
+ "source": "ci-ingested",
46
+ "command": "npm test",
47
+ "executedAt": "2026-11-01T10:00:00Z",
48
+ "exitCode": 0,
49
+ "passed": 12,
50
+ "failed": 0
51
+ }
52
+ ```
53
+
54
+ ```bash
55
+ npx github:shahvatsalofficial/pramanasutra-ai verify --evidence test-evidence.json
56
+ npx github:shahvatsalofficial/pramanasutra-ai release-check --path . --evidence test-evidence.json
57
+ ```
58
+
59
+ Use `source: "local-executed"` for a run you did yourself, `ci-ingested` for results taken from CI, and `external-unverified` when you cannot vouch for it (this never reaches ready).
60
+
61
+ ## 4. Choose a policy
62
+
63
+ ```bash
64
+ node packages/cli/bin/pramanasutra.mjs release-check --path . --policy policies/strict.json --evidence test-evidence.json
65
+ ```
66
+
67
+ `recommended.json` blocks on focused tests. `strict.json` also blocks on skipped tests. See the [CLI reference](06-cli-reference.md) for every key.
68
+
69
+ ## 5. Install the skills in your AI IDE
70
+
71
+ ```bash
72
+ npx github:shahvatsalofficial/pramanasutra-ai init --ide claude --target .
73
+ ```
74
+
75
+ Choices: `claude`, `cursor`, `codex`, `gemini`, `copilot`, `generic`, `all`. Existing skills are never overwritten without `--force`.
76
+
77
+ Then ask your assistant:
78
+
79
+ > PramanaSutra Prime: assess this repository's test quality and release readiness. Stay read-only, cite file and line, separate observed facts from executed results, and ask before running any tests.
80
+
81
+ ## 6. Use it in CI (GitHub Actions)
82
+
83
+ ```yaml
84
+ name: QA gate
85
+ on: [pull_request]
86
+ permissions:
87
+ contents: read
88
+ jobs:
89
+ gate:
90
+ runs-on: ubuntu-latest
91
+ steps:
92
+ - uses: actions/checkout@v7
93
+ - uses: actions/setup-node@v7
94
+ with: { node-version: '22' }
95
+ - run: npm test
96
+ - run: |
97
+ cat > test-evidence.json <<EOF
98
+ {"schemaVersion":"1.0.0","source":"ci-ingested","command":"npm test","executedAt":"$(date -u +%FT%TZ)","exitCode":0,"passed":1,"failed":0}
99
+ EOF
100
+ - run: npx github:shahvatsalofficial/pramanasutra-ai release-check --path . --evidence test-evidence.json
101
+ - uses: actions/upload-artifact@v4
102
+ if: always()
103
+ with: { name: qa-report, path: pramanasutra-reports }
104
+ ```
105
+
106
+ The placeholder `passed: 1` above must be replaced with real counts parsed from your runner; never hard-code passing evidence.
107
+
108
+ ## Troubleshooting
109
+
110
+ | Symptom | Cause and fix |
111
+ |---|---|
112
+ | `Missing value for --path` | Pass a directory after `--path` |
113
+ | `Scan target must be a real directory` | The path is a file, missing, or a symlink |
114
+ | `Invalid evidence: ...` | Fix the listed fields; see section 3 |
115
+ | `Invalid policy: unknown key` | Policies are fail-closed; remove or correct the key |
116
+ | `No test files detected` on a real project | Your test layout is unusual; see the [rule catalog](12-rule-catalog.md) for recognised names |
117
+ | Exit code 3 and you expected 0 | Read "Gate reasons" in the report; something required is missing |
@@ -0,0 +1 @@
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="index,follow"><link rel="canonical" href="https://shahvatsalofficial.github.io/pramanasutra-ai/06-cli-and-reports.html"><meta http-equiv="refresh" content="0; url=../06-cli-and-reports.html"><title>Moved — PramanaSutra AI</title></head><body><p>This page moved to <a href="../06-cli-and-reports.html">CLI and reports</a>.</p></body></html>
@@ -0,0 +1,88 @@
1
+ # CLI reference
2
+
3
+ <!-- summary: Every pramanasutra command, flag, exit code, policy key and environment fact. -->
4
+
5
+ Binary: `pramanasutra` (`packages/cli/bin/pramanasutra.mjs`). Without installation use `npx github:shahvatsalofficial/pramanasutra-ai <command>` or `node packages/cli/bin/pramanasutra.mjs <command>`.
6
+
7
+ ## Commands
8
+
9
+ | Command | Purpose |
10
+ |---|---|
11
+ | `help` | Print usage |
12
+ | `doctor [--json]` | Check Node version and platform; confirms no AI key is needed |
13
+ | `agents list [--json]` | List the 17 bundled skills |
14
+ | `scan --path <dir> [--out <dir>] [--no-report] [--json]` | Static QA audit and reports |
15
+ | `release-check --path <dir> [--evidence <file>] [--policy <file>] [--out <dir>] [--no-report] [--json]` | Scan plus release gate |
16
+ | `verify --evidence <file> [--json]` | Validate an evidence file |
17
+ | `init --ide <name> --target <dir> [--force]` | Copy skills into a project |
18
+
19
+ ## Flags
20
+
21
+ | Flag | Applies to | Meaning |
22
+ |---|---|---|
23
+ | `--path` | scan, release-check | Directory to inspect. Must be a real directory |
24
+ | `--out` | scan, release-check | Report directory (default `./pramanasutra-reports`) |
25
+ | `--no-report` | scan, release-check | Do not write report files |
26
+ | `--evidence` | release-check, verify | Test-evidence JSON file |
27
+ | `--policy` | release-check | Policy JSON file |
28
+ | `--ide` | init | `claude`, `cursor`, `codex`, `gemini`, `copilot`, `generic`, `all` |
29
+ | `--target` | init | Existing directory to install into |
30
+ | `--force` | init | Overwrite existing skill directories |
31
+ | `--json` | most | Print JSON instead of text |
32
+
33
+ `scan` rejects `--evidence` and `--policy` with exit 1 because they only affect the gate.
34
+
35
+ ## Exit codes
36
+
37
+ | Code | Meaning |
38
+ |---|---|
39
+ | 0 | Success or `READY_FOR_HUMAN_APPROVAL` |
40
+ | 1 | Invalid input or error |
41
+ | 2 | `NO_GO` (release-check) |
42
+ | 3 | `REVIEW_REQUIRED` (release-check) |
43
+
44
+ `scan` exits 0 even when it has findings. Use `release-check` to gate a build.
45
+
46
+ ## Skill install locations
47
+
48
+ | `--ide` | Directory under `--target` |
49
+ |---|---|
50
+ | claude | `.claude/skills/` |
51
+ | cursor | `.cursor/skills/` |
52
+ | codex | `.agents/skills/` |
53
+ | gemini | `.gemini/skills/` |
54
+ | copilot | `.github/skills/` |
55
+ | generic | `.agents/skills/` |
56
+ | all | all of the above |
57
+
58
+ The installer refuses symlinked destination components, refuses a non-directory target, and never overwrites without `--force`.
59
+
60
+ ## Policy keys
61
+
62
+ | Key | Type | Default | Meaning |
63
+ |---|---|---|---|
64
+ | `name` | string | recommended | Label shown in reports |
65
+ | `releaseRequiresExecutedEvidence` | boolean | true | Passing evidence needed for ready |
66
+ | `blockOnFocusedTests` | boolean | true | Focused tests give `NO_GO` |
67
+ | `blockOnSkippedTests` | boolean | false | Skipped tests give `NO_GO` |
68
+ | `requireCi` | boolean | true | Missing CI means review required |
69
+ | `requireLicense` | boolean | true | Missing license means review required |
70
+ | `requireTests` | boolean | true | No test files means review required |
71
+ | `schemaVersion` | "1.0.0" | | Accepted for documentation |
72
+ | `allowAutomatedDeployment` | must be `false` | | Cannot be weakened |
73
+ | `manualApprovalsRequired` | must be `true` | | Cannot be weakened |
74
+
75
+ Any other key, or a wrong type, makes the command fail with exit 1.
76
+
77
+ ## Examples
78
+
79
+ ```bash
80
+ pramanasutra scan --path . --out reports/qa
81
+ pramanasutra release-check --path . --evidence ci-evidence.json --policy policies/strict.json
82
+ pramanasutra verify --evidence ci-evidence.json --json
83
+ pramanasutra init --ide all --target ../my-app
84
+ ```
85
+
86
+ ## Environment
87
+
88
+ No environment variables are read. No files are read outside `--path`, `--evidence`, `--policy` and the bundled skills. No network access.
@@ -0,0 +1 @@
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="index,follow"><link rel="canonical" href="https://shahvatsalofficial.github.io/pramanasutra-ai/09-security-and-privacy.html"><meta http-equiv="refresh" content="0; url=../09-security-and-privacy.html"><title>Moved — PramanaSutra AI</title></head><body><p>This page moved to <a href="../09-security-and-privacy.html">Security and privacy</a>.</p></body></html>
@@ -0,0 +1,65 @@
1
+ # Security, privacy and legal
2
+
3
+ <!-- summary: Threat model, privacy guarantees, license, trademarks, disclaimers and the legal checks not yet performed for PramanaSutra AI. -->
4
+
5
+ ## Security model
6
+
7
+ ### Assets and threats
8
+
9
+ | Threat | Control | Test |
10
+ |---|---|---|
11
+ | Malicious repository executes code on scan | The scanner only reads files; it never runs scripts, installs packages or spawns processes | No `child_process` in the CLI |
12
+ | Symlink escapes the scan root | Symlinks are skipped, never followed; symlink roots refused | Symlink test |
13
+ | HTML injection or XSS through file names or text | Every dynamic value is escaped before it enters HTML | XSS and escape tests |
14
+ | Path leakage in shared reports | Only the base name of the scanned directory is recorded | Report test |
15
+ | Resource exhaustion | Depth, file-count and file-size limits; partial scans are flagged | Limits documented |
16
+ | Weakened policy | Fail-closed parser; safety flags cannot be changed | Policy tests |
17
+ | Forged evidence | Provenance field; unverified sources never reach ready; human approval always required | Evidence tests |
18
+ | Overwriting user skills | `init` refuses without `--force`; symlinked destinations refused | Installer tests |
19
+ | Prompt injection via project text | Skills instruct agents to treat project content as data | Skill text |
20
+
21
+ ### Not covered
22
+
23
+ PramanaSutra is not a vulnerability scanner, not a SAST tool and not a penetration test. It has had **no independent security review**. Do not rely on it to find security defects.
24
+
25
+ ## Privacy
26
+
27
+ - The CLI makes **no network requests** and has **no telemetry**.
28
+ - Reports are written to your disk only.
29
+ - Reports contain relative file paths and rule text, not source excerpts.
30
+ - When you use the skills, your AI IDE's provider processes prompts and code under the provider's own terms. PramanaSutra does not control that.
31
+ - `.env.example` documents only optional future settings; no secret is read by the CLI.
32
+
33
+ ## License
34
+
35
+ Apache License 2.0 (`LICENSE`). `NOTICE` carries attribution. Contributions are accepted under the same license. There are **no runtime dependencies**, so no third-party code is redistributed; see `THIRD_PARTY_NOTICES.md`.
36
+
37
+ ## Trademarks and names
38
+
39
+ - "PramanaSutra" and "PramanaSutra AI" are project names. They are **not registered trademarks** and have **not been trademark-cleared** (see [name clearance](../legal/trademark-and-name-clearance.md)).
40
+ - Claude, Claude Code, Anthropic, Cursor, OpenAI, Codex, GitHub, GitHub Copilot, Gemini and Google are trademarks of their owners and are used only to describe compatibility. This project is not affiliated with or endorsed by them.
41
+
42
+ ## Disclaimers
43
+
44
+ - Provided "as is" without warranty, as stated in Apache-2.0 sections 7 and 8.
45
+ - Output is decision support. It is not a certification of quality, security, accessibility, safety or regulatory compliance.
46
+ - Nothing here is legal, financial or investment advice.
47
+ - A clean report does not prove the absence of defects.
48
+
49
+ ## Compliance statements deliberately not made
50
+
51
+ No claim of SOC 2, ISO 27001, GDPR, HIPAA, PCI-DSS, SLSA level or OpenSSF score is made. Standards are referenced as inspiration, never as conformance.
52
+
53
+ ## Checks not yet done
54
+
55
+ | Check | Status |
56
+ |---|---|
57
+ | Lawyer review of license, notices and wording | Not done |
58
+ | Trademark search in target jurisdictions | Not done |
59
+ | Independent security review | Not done |
60
+ | Live smoke tests in each AI IDE | Not done |
61
+ | Accessibility audit of the HTML reports and docs | Basic (semantic HTML, contrast tokens, keyboard focus); no formal audit |
62
+
63
+ ## Reporting a vulnerability
64
+
65
+ Use GitHub private vulnerability reporting on the repository, or open a minimal public issue that asks for a private channel without exploit details. See `SECURITY.md`.
@@ -0,0 +1 @@
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="index,follow"><link rel="canonical" href="https://shahvatsalofficial.github.io/pramanasutra-ai/11-testing-and-proof.html"><meta http-equiv="refresh" content="0; url=../11-testing-and-proof.html"><title>Moved — PramanaSutra AI</title></head><body><p>This page moved to <a href="../11-testing-and-proof.html">Testing and proof</a>.</p></body></html>
@@ -0,0 +1,83 @@
1
+ # Testing and proof
2
+
3
+ <!-- summary: Real test results, labeled-fixture evaluation, sample reports and the exact commands to reproduce everything in PramanaSutra AI. -->
4
+
5
+ Everything on this page is reproducible from a clean clone. Nothing is estimated or invented.
6
+
7
+ ## Headline results
8
+
9
+ | Evidence | Result | Where |
10
+ |---|---|---|
11
+ | Automated tests (`npm test`) | **34 tests: 32 passed, 0 failed, 2 skipped** | [`docs/proof/test-results.txt`](../proof/test-results.txt) |
12
+ | Why 2 are skipped | Symlink creation needs OS privileges on Windows; file names with `"` are impossible on Windows. Both run on Linux and macOS in CI | test names in the capture |
13
+ | Labeled fixtures | **6 of 6** produce exactly the expected rules and decision | [`docs/proof/eval-results.json`](../proof/eval-results.json) |
14
+ | Precision / recall on labeled fixtures | 1.0 / 1.0 | same file; see caveat below |
15
+ | CI matrix | Ubuntu, macOS, Windows x Node 20, 22 | [Actions](https://github.com/shahvatsalofficial/pramanasutra-ai/actions) |
16
+ | CodeQL | Runs on push, pull request and weekly | [Actions](https://github.com/shahvatsalofficial/pramanasutra-ai/actions/workflows/codeql.yml) |
17
+ | Runtime dependencies | **0** | `package.json` |
18
+ | Network calls from the CLI | **0** (no `http`, `net`, `fetch` or `child_process` in `packages/`) | source |
19
+
20
+ ### Read the fine print
21
+
22
+ The fixtures were written by the rule author. Perfect precision and recall on them is a **regression guarantee**, not a measure of real-world accuracy. Real repositories will produce false positives and false negatives. No large-scale evaluation on public repositories has been done yet, and no independent labeler has reviewed results.
23
+
24
+ ## What the test suite covers
25
+
26
+ | Area | Tests |
27
+ |---|---|
28
+ | CLI | `doctor`, `agents list`, unknown flags, missing values, missing paths without stack traces |
29
+ | Scanner | focused tests, skipped tests (JS, pytest, Go), no tests, no CI, no license, look-alike strings, symlinks, naming conventions, file-name look-alikes |
30
+ | Evidence | valid, failing, zero-pass, external-unverified, malformed, non-JSON |
31
+ | Gate | exit codes 0, 2 and 3; never ready without evidence |
32
+ | Policy | strict vs recommended, unknown keys, weakened safety flags, wrong types, bundled policies |
33
+ | Reports | defaults, `--no-report`, no write into the scanned project, HTML escaping, content of MD and HTML |
34
+ | Installer | install, collision refusal, invalid target |
35
+ | Skills | unique names, frontmatter, safe-workflow section |
36
+ | Fixtures | six committed projects with expected results |
37
+
38
+ ## The labeled fixtures
39
+
40
+ | Fixture | Purpose | Expected rules | Expected decision |
41
+ |---|---|---|---|
42
+ | `clean-project` (with `evidence.json`) | Clean control | none | `READY_FOR_HUMAN_APPROVAL` |
43
+ | `focused-test` | `test.only` | `FOCUSED_TEST` | `NO_GO` |
44
+ | `missing-ci` | No pipeline | `NO_CI` | `REVIEW_REQUIRED` |
45
+ | `missing-tests` | No tests | `NO_TESTS` | `REVIEW_REQUIRED` |
46
+ | `unsafe-names` | Spaces, `&`, `$`, quotes, Unicode in names | `FOCUSED_TEST` | `NO_GO` |
47
+ | `multi-language` | pytest, JUnit, Go skips | 3x `SKIPPED_TEST`, `NO_CI`, `NO_LICENSE` | `REVIEW_REQUIRED` |
48
+
49
+ ## Sample reports
50
+
51
+ Generated from the fixtures with a fixed timestamp, committed in [`examples/sample-output`](https://github.com/shahvatsalofficial/pramanasutra-ai/tree/main/examples/sample-output):
52
+
53
+ - `focused-test/report.md`, `report.html`, `report.json` (a `NO_GO`)
54
+ - `clean-project/` (a `READY_FOR_HUMAN_APPROVAL` with supplied CI evidence)
55
+ - `missing-ci/`, `missing-tests/`, `unsafe-names/`, `multi-language/`
56
+
57
+ Abridged `NO_GO` output:
58
+
59
+ ```text
60
+ PramanaSutra release-check: 4 file(s), 1 test file(s), 1 finding(s). Gate: NO_GO.
61
+ Tests executed by this tool: NO. Evidence: absent.
62
+ FOCUSED_TEST high medium tests/a.test.js:2 Focused test found
63
+ ```
64
+
65
+ ## Reproduce
66
+
67
+ ```bash
68
+ git clone https://github.com/shahvatsalofficial/pramanasutra-ai.git
69
+ cd pramanasutra-ai
70
+ npm test
71
+ node scripts/generate-proof.mjs # rewrites docs/proof and examples/sample-output
72
+ node packages/cli/bin/pramanasutra.mjs release-check --path fixtures/focused-test --no-report ; echo "exit=$?"
73
+ ```
74
+
75
+ Expected: the last command prints `Gate: NO_GO` and `exit=2`.
76
+
77
+ ## History worth knowing
78
+
79
+ The first CI run failed on Windows with Node 20 because `node --test tests/*.test.mjs` relies on shell glob expansion that Windows does not do. It was fixed by naming the test file explicitly. The fix and the failed run are in the commit history.
80
+
81
+ ## Not yet proven
82
+
83
+ Behavior inside each live AI IDE; accuracy on real-world repositories; an independent security review; performance on very large repositories (limits exist, benchmarks do not); accessibility audit of the HTML output.
@@ -0,0 +1 @@
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="index,follow"><link rel="canonical" href="https://shahvatsalofficial.github.io/pramanasutra-ai/13-roadmap-and-status.html"><meta http-equiv="refresh" content="0; url=../13-roadmap-and-status.html"><title>Moved — PramanaSutra AI</title></head><body><p>This page moved to <a href="../13-roadmap-and-status.html">Roadmap and status</a>.</p></body></html>
@@ -0,0 +1,53 @@
1
+ # Compatibility and roadmap
2
+
3
+ <!-- summary: Supported platforms and AI hosts with honest verification status, plus the phased roadmap for PramanaSutra AI. -->
4
+
5
+ ## Platforms
6
+
7
+ | Platform | Node 20 | Node 22 | Evidence |
8
+ |---|---|---|---|
9
+ | Ubuntu (GitHub-hosted) | CI | CI | [CI workflow](https://github.com/shahvatsalofficial/pramanasutra-ai/actions/workflows/ci.yml) |
10
+ | macOS (GitHub-hosted) | CI | CI | same |
11
+ | Windows (GitHub-hosted) | CI | CI | same |
12
+ | Local Windows 11, Node 24 | n/a | n/a | `docs/proof/test-results.txt` |
13
+
14
+ CI configuration alone is not proof: check the badge and Actions tab for current results.
15
+
16
+ ## AI hosts
17
+
18
+ "Adapter" means the installer writes skills to the layout documented by the vendor. It does **not** mean the host was exercised live.
19
+
20
+ | Host | Skill path | Level | Live smoke test |
21
+ |---|---|---|---|
22
+ | Claude Code | `.claude/skills/<name>/SKILL.md` | adapter | Pending |
23
+ | Cursor | `.cursor/skills/<name>/SKILL.md` | adapter | Pending |
24
+ | OpenAI Codex | `.agents/skills/<name>/SKILL.md` | adapter | Pending |
25
+ | GitHub Copilot | `.github/skills/<name>/SKILL.md` | adapter | Pending |
26
+ | Gemini CLI | `.gemini/skills/<name>/SKILL.md` | adapter | Pending |
27
+ | Any other tool | portable `SKILL.md` + `AGENTS.md` | generic | Not claimed |
28
+
29
+ Vendor layouts change. Re-check the vendor documentation before relying on a path.
30
+
31
+ ## Languages the static rules understand
32
+
33
+ JavaScript/TypeScript (Jest, Vitest, Mocha, node:test), Python (pytest, unittest), Java/Kotlin (JUnit), Go. Test-file *detection* also covers C#, Swift, Scala, PHP, Dart and Ruby naming conventions; skip/focus *rules* for those are not implemented.
34
+
35
+ ## Roadmap
36
+
37
+ Each phase ships code, tests, docs and a runnable example. Dates are intentionally absent.
38
+
39
+ | Phase | Theme | Status |
40
+ |---|---|---|
41
+ | A | Foundation: CLI, scanner, reports, gate, skills, installer | Done in 0.2.0 |
42
+ | B | Evidence and policy: ingestion, validation, fail-closed policy | Done in 0.2.0 |
43
+ | C | JUnit XML and TAP parsing so evidence is generated, not typed | Planned |
44
+ | D | Consent-based runner with command allowlist, timeouts, output caps, sandbox warnings | Planned |
45
+ | E | Change impact: map a git diff to tests | Planned |
46
+ | F | Flaky-test clinic: rerun policy with recorded evidence | Planned |
47
+ | G | Release engineering: waivers with owner and expiry, artifact hashes, SBOM ingestion | Planned |
48
+ | H | Browser/E2E, accessibility, performance and visual integrations | Planned |
49
+ | I | Authenticated server mode and local/cloud model adapters | Planned |
50
+
51
+ ## Next concrete change
52
+
53
+ JUnit XML evidence ingestion: `release-check --junit results.xml` that derives `passed`, `failed` and `skipped` from the file, with tests for malformed XML, huge files and entity-expansion attacks.
@@ -0,0 +1 @@
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="robots" content="index,follow"><link rel="canonical" href="https://shahvatsalofficial.github.io/pramanasutra-ai/15-maintainer-guide.html"><meta http-equiv="refresh" content="0; url=../15-maintainer-guide.html"><title>Moved — PramanaSutra AI</title></head><body><p>This page moved to <a href="../15-maintainer-guide.html">Maintainer guide</a>.</p></body></html>