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.
- package/.agents/skills/pramanasutra-access/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-api/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-data/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-defect/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-evidence/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-flake/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-flow/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-load/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-pipeline/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-prime/SKILL.md +22 -0
- package/.agents/skills/pramanasutra-regression/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-release/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-secure/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-strategy/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-unit/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-verify/SKILL.md +21 -0
- package/.agents/skills/pramanasutra-visual/SKILL.md +21 -0
- package/.claude/agents/pramanasutra-prime.md +7 -0
- package/CHANGELOG.md +80 -0
- package/LICENSE +201 -0
- package/NOTICE +2 -0
- package/README.md +141 -2
- package/docs/.nojekyll +0 -0
- package/docs/00-start-here.html +207 -0
- package/docs/01-executive-summary.html +205 -0
- package/docs/02-functional-specification.html +212 -0
- package/docs/03-architecture.html +246 -0
- package/docs/04-technical-reference.html +217 -0
- package/docs/05-user-guide.html +246 -0
- package/docs/06-cli-and-reports.html +213 -0
- package/docs/07-rule-catalog.html +207 -0
- package/docs/08-skills-and-agents.html +204 -0
- package/docs/09-security-and-privacy.html +205 -0
- package/docs/10-legal-and-compliance.html +216 -0
- package/docs/11-testing-and-proof.html +210 -0
- package/docs/12-ci-and-release.html +221 -0
- package/docs/13-roadmap-and-status.html +199 -0
- package/docs/14-faq-and-glossary.html +217 -0
- package/docs/15-maintainer-guide.html +213 -0
- package/docs/agent-catalog.md +3 -0
- package/docs/api.md +3 -0
- package/docs/architecture.md +15 -0
- package/docs/assets/favicon.svg +1 -0
- package/docs/assets/site.css +183 -0
- package/docs/assets/site.js +79 -0
- package/docs/audit/report.html +41 -0
- package/docs/audit/report.json +61 -0
- package/docs/audit/report.md +83 -0
- package/docs/audit/report.sarif.json +16 -0
- package/docs/commands.md +13 -0
- package/docs/compatibility.md +15 -0
- package/docs/configuration.md +3 -0
- package/docs/execution-safety.md +3 -0
- package/docs/handbook/01-executive-summary.html +1 -0
- package/docs/handbook/01-executive-summary.md +51 -0
- package/docs/handbook/02-functional-specification.html +1 -0
- package/docs/handbook/02-functional-specification.md +69 -0
- package/docs/handbook/03-technical-specification.html +1 -0
- package/docs/handbook/03-technical-specification.md +85 -0
- package/docs/handbook/04-architecture.html +1 -0
- package/docs/handbook/04-architecture.md +107 -0
- package/docs/handbook/05-user-guide.html +1 -0
- package/docs/handbook/05-user-guide.md +118 -0
- package/docs/handbook/06-cli-reference.html +1 -0
- package/docs/handbook/06-cli-reference.md +88 -0
- package/docs/handbook/07-security-privacy-legal.html +1 -0
- package/docs/handbook/07-security-privacy-legal.md +65 -0
- package/docs/handbook/08-testing-and-proof.html +1 -0
- package/docs/handbook/08-testing-and-proof.md +83 -0
- package/docs/handbook/09-compatibility-and-roadmap.html +1 -0
- package/docs/handbook/09-compatibility-and-roadmap.md +53 -0
- package/docs/handbook/10-contributor-guide.html +1 -0
- package/docs/handbook/10-contributor-guide.md +64 -0
- package/docs/handbook/11-glossary-and-faq.html +1 -0
- package/docs/handbook/11-glossary-and-faq.md +52 -0
- package/docs/handbook/12-rule-catalog.html +1 -0
- package/docs/handbook/12-rule-catalog.md +65 -0
- package/docs/handbook/README.md +40 -0
- package/docs/handbook/index.html +1 -0
- package/docs/index.html +213 -0
- package/docs/legal/trademark-and-name-clearance.html +1 -0
- package/docs/legal/trademark-and-name-clearance.md +32 -0
- package/docs/master-claude-prompt.md +483 -0
- package/docs/proof/eval-results.json +91 -0
- package/docs/proof/test-results.txt +56 -0
- package/docs/quality-gates.md +10 -0
- package/docs/report-schema.md +22 -0
- package/docs/roadmap.md +3 -0
- package/docs/robots.txt +22 -0
- package/docs/samples/clean-project/report.html +30 -0
- package/docs/samples/clean-project/report.json +46 -0
- package/docs/samples/clean-project/report.md +69 -0
- package/docs/samples/clean-project/report.sarif.json +16 -0
- package/docs/samples/focused-test/report.html +30 -0
- package/docs/samples/focused-test/report.json +61 -0
- package/docs/samples/focused-test/report.md +76 -0
- package/docs/samples/focused-test/report.sarif.json +43 -0
- package/docs/samples/missing-ci/report.html +30 -0
- package/docs/samples/missing-ci/report.json +60 -0
- package/docs/samples/missing-ci/report.md +77 -0
- package/docs/samples/missing-ci/report.sarif.json +40 -0
- package/docs/samples/missing-tests/report.html +30 -0
- package/docs/samples/missing-tests/report.json +60 -0
- package/docs/samples/missing-tests/report.md +77 -0
- package/docs/samples/missing-tests/report.sarif.json +40 -0
- package/docs/samples/multi-language/report.html +34 -0
- package/docs/samples/multi-language/report.json +117 -0
- package/docs/samples/multi-language/report.md +112 -0
- package/docs/samples/multi-language/report.sarif.json +125 -0
- package/docs/samples/unsafe-names/report.html +30 -0
- package/docs/samples/unsafe-names/report.json +62 -0
- package/docs/samples/unsafe-names/report.md +77 -0
- package/docs/samples/unsafe-names/report.sarif.json +43 -0
- package/docs/server-deployment.md +3 -0
- package/docs/sitemap.xml +20 -0
- package/docs/standards.md +12 -0
- package/docs/status.md +22 -0
- package/docs/troubleshooting.md +7 -0
- package/docs/trust-model.md +3 -0
- package/documents/pramanasutra/00-start-here.md +82 -0
- package/documents/pramanasutra/01-executive-summary.md +61 -0
- package/documents/pramanasutra/02-functional-specification.md +90 -0
- package/documents/pramanasutra/03-architecture.md +102 -0
- package/documents/pramanasutra/04-technical-reference.md +123 -0
- package/documents/pramanasutra/05-user-guide.md +155 -0
- package/documents/pramanasutra/06-cli-and-reports.md +79 -0
- package/documents/pramanasutra/07-rule-catalog.md +79 -0
- package/documents/pramanasutra/08-skills-and-agents.md +68 -0
- package/documents/pramanasutra/09-security-and-privacy.md +73 -0
- package/documents/pramanasutra/10-legal-and-compliance.md +72 -0
- package/documents/pramanasutra/11-testing-and-proof.md +72 -0
- package/documents/pramanasutra/12-ci-and-release.md +89 -0
- package/documents/pramanasutra/13-roadmap-and-status.md +73 -0
- package/documents/pramanasutra/14-faq-and-glossary.md +81 -0
- package/documents/pramanasutra/15-maintainer-guide.md +81 -0
- package/documents/pramanasutra/README.md +11 -0
- package/documents/pramanasutra/audit/report.html +41 -0
- package/documents/pramanasutra/audit/report.json +61 -0
- package/documents/pramanasutra/audit/report.md +83 -0
- package/documents/pramanasutra/audit/report.sarif.json +16 -0
- package/documents/pramanasutra/html/00-start-here.html +207 -0
- package/documents/pramanasutra/html/01-executive-summary.html +205 -0
- package/documents/pramanasutra/html/02-functional-specification.html +212 -0
- package/documents/pramanasutra/html/03-architecture.html +246 -0
- package/documents/pramanasutra/html/04-technical-reference.html +217 -0
- package/documents/pramanasutra/html/05-user-guide.html +246 -0
- package/documents/pramanasutra/html/06-cli-and-reports.html +213 -0
- package/documents/pramanasutra/html/07-rule-catalog.html +207 -0
- package/documents/pramanasutra/html/08-skills-and-agents.html +204 -0
- package/documents/pramanasutra/html/09-security-and-privacy.html +205 -0
- package/documents/pramanasutra/html/10-legal-and-compliance.html +216 -0
- package/documents/pramanasutra/html/11-testing-and-proof.html +210 -0
- package/documents/pramanasutra/html/12-ci-and-release.html +221 -0
- package/documents/pramanasutra/html/13-roadmap-and-status.html +199 -0
- package/documents/pramanasutra/html/14-faq-and-glossary.html +217 -0
- package/documents/pramanasutra/html/15-maintainer-guide.html +213 -0
- package/documents/pramanasutra/html/audit/report.html +41 -0
- package/documents/pramanasutra/html/audit/report.json +61 -0
- package/documents/pramanasutra/html/audit/report.md +83 -0
- package/documents/pramanasutra/html/audit/report.sarif.json +16 -0
- package/documents/pramanasutra/html/index.html +213 -0
- package/documents/pramanasutra/html/proof/eval-results.json +91 -0
- package/documents/pramanasutra/html/proof/test-results.txt +56 -0
- package/documents/pramanasutra/html/robots.txt +22 -0
- package/documents/pramanasutra/html/samples/clean-project/report.html +30 -0
- package/documents/pramanasutra/html/samples/clean-project/report.json +46 -0
- package/documents/pramanasutra/html/samples/clean-project/report.md +69 -0
- package/documents/pramanasutra/html/samples/clean-project/report.sarif.json +16 -0
- package/documents/pramanasutra/html/samples/focused-test/report.html +30 -0
- package/documents/pramanasutra/html/samples/focused-test/report.json +61 -0
- package/documents/pramanasutra/html/samples/focused-test/report.md +76 -0
- package/documents/pramanasutra/html/samples/focused-test/report.sarif.json +43 -0
- package/documents/pramanasutra/html/samples/missing-ci/report.html +30 -0
- package/documents/pramanasutra/html/samples/missing-ci/report.json +60 -0
- package/documents/pramanasutra/html/samples/missing-ci/report.md +77 -0
- package/documents/pramanasutra/html/samples/missing-ci/report.sarif.json +40 -0
- package/documents/pramanasutra/html/samples/missing-tests/report.html +30 -0
- package/documents/pramanasutra/html/samples/missing-tests/report.json +60 -0
- package/documents/pramanasutra/html/samples/missing-tests/report.md +77 -0
- package/documents/pramanasutra/html/samples/missing-tests/report.sarif.json +40 -0
- package/documents/pramanasutra/html/samples/multi-language/report.html +34 -0
- package/documents/pramanasutra/html/samples/multi-language/report.json +117 -0
- package/documents/pramanasutra/html/samples/multi-language/report.md +112 -0
- package/documents/pramanasutra/html/samples/multi-language/report.sarif.json +125 -0
- package/documents/pramanasutra/html/samples/unsafe-names/report.html +30 -0
- package/documents/pramanasutra/html/samples/unsafe-names/report.json +62 -0
- package/documents/pramanasutra/html/samples/unsafe-names/report.md +77 -0
- package/documents/pramanasutra/html/samples/unsafe-names/report.sarif.json +43 -0
- package/documents/pramanasutra/html/sitemap.xml +20 -0
- package/documents/pramanasutra/proof/eval-results.json +91 -0
- package/documents/pramanasutra/proof/test-results.txt +56 -0
- package/documents/pramanasutra/samples/clean-project/report.html +30 -0
- package/documents/pramanasutra/samples/clean-project/report.json +46 -0
- package/documents/pramanasutra/samples/clean-project/report.md +69 -0
- package/documents/pramanasutra/samples/clean-project/report.sarif.json +16 -0
- package/documents/pramanasutra/samples/focused-test/report.html +30 -0
- package/documents/pramanasutra/samples/focused-test/report.json +61 -0
- package/documents/pramanasutra/samples/focused-test/report.md +76 -0
- package/documents/pramanasutra/samples/focused-test/report.sarif.json +43 -0
- package/documents/pramanasutra/samples/missing-ci/report.html +30 -0
- package/documents/pramanasutra/samples/missing-ci/report.json +60 -0
- package/documents/pramanasutra/samples/missing-ci/report.md +77 -0
- package/documents/pramanasutra/samples/missing-ci/report.sarif.json +40 -0
- package/documents/pramanasutra/samples/missing-tests/report.html +30 -0
- package/documents/pramanasutra/samples/missing-tests/report.json +60 -0
- package/documents/pramanasutra/samples/missing-tests/report.md +77 -0
- package/documents/pramanasutra/samples/missing-tests/report.sarif.json +40 -0
- package/documents/pramanasutra/samples/multi-language/report.html +34 -0
- package/documents/pramanasutra/samples/multi-language/report.json +117 -0
- package/documents/pramanasutra/samples/multi-language/report.md +112 -0
- package/documents/pramanasutra/samples/multi-language/report.sarif.json +125 -0
- package/documents/pramanasutra/samples/unsafe-names/report.html +30 -0
- package/documents/pramanasutra/samples/unsafe-names/report.json +62 -0
- package/documents/pramanasutra/samples/unsafe-names/report.md +77 -0
- package/documents/pramanasutra/samples/unsafe-names/report.sarif.json +43 -0
- package/examples/dotnet-app/README.md +3 -0
- package/examples/evidence/passing.json +12 -0
- package/examples/java-service/README.md +3 -0
- package/examples/mobile/README.md +3 -0
- package/examples/python-api/README.md +3 -0
- package/examples/release-policy/README.md +3 -0
- package/examples/sample-app/README.md +3 -0
- package/examples/sample-app/package.json +8 -0
- package/examples/sample-app/src/math.js +1 -0
- package/examples/sample-app/tests/math.test.js +5 -0
- package/examples/sample-output/clean-project/report.html +30 -0
- package/examples/sample-output/clean-project/report.json +46 -0
- package/examples/sample-output/clean-project/report.md +69 -0
- package/examples/sample-output/clean-project/report.sarif.json +16 -0
- package/examples/sample-output/focused-test/report.html +30 -0
- package/examples/sample-output/focused-test/report.json +61 -0
- package/examples/sample-output/focused-test/report.md +76 -0
- package/examples/sample-output/focused-test/report.sarif.json +43 -0
- package/examples/sample-output/missing-ci/report.html +30 -0
- package/examples/sample-output/missing-ci/report.json +60 -0
- package/examples/sample-output/missing-ci/report.md +77 -0
- package/examples/sample-output/missing-ci/report.sarif.json +40 -0
- package/examples/sample-output/missing-tests/report.html +30 -0
- package/examples/sample-output/missing-tests/report.json +60 -0
- package/examples/sample-output/missing-tests/report.md +77 -0
- package/examples/sample-output/missing-tests/report.sarif.json +40 -0
- package/examples/sample-output/multi-language/report.html +34 -0
- package/examples/sample-output/multi-language/report.json +117 -0
- package/examples/sample-output/multi-language/report.md +112 -0
- package/examples/sample-output/multi-language/report.sarif.json +125 -0
- package/examples/sample-output/unsafe-names/report.html +30 -0
- package/examples/sample-output/unsafe-names/report.json +62 -0
- package/examples/sample-output/unsafe-names/report.md +77 -0
- package/examples/sample-output/unsafe-names/report.sarif.json +43 -0
- package/llms.txt +63 -0
- package/package.json +65 -4
- package/packages/cli/bin/pramanasutra.mjs +91 -0
- package/packages/cli/lib/evidence.mjs +60 -0
- package/packages/cli/lib/installer.mjs +39 -0
- package/packages/cli/lib/policy.mjs +33 -0
- package/packages/cli/lib/report.mjs +224 -0
- package/packages/cli/lib/scanner.mjs +164 -0
- package/policies/recommended.json +11 -0
- package/policies/strict.json +12 -0
- package/templates/defect-report.md +11 -0
- package/templates/qa-strategy.md +9 -0
- package/templates/release-notes.md +9 -0
- package/templates/release-readiness.md +9 -0
- package/templates/rollback-plan.md +7 -0
- package/templates/test-evidence.json +11 -0
- package/templates/test-plan.md +4 -0
- package/templates/traceability-matrix.csv +1 -0
- package/workflows/create-test-plan.md +9 -0
- package/workflows/implement-tests.md +9 -0
- package/workflows/inspect-project.md +9 -0
- package/workflows/investigate-failure.md +9 -0
- package/workflows/post-release-observability.md +9 -0
- package/workflows/release-readiness.md +9 -0
- package/workflows/verify-regression.md +9 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/NOTICE
ADDED
package/README.md
CHANGED
|
@@ -1,3 +1,142 @@
|
|
|
1
|
-
#
|
|
1
|
+
# PramanaSutra AI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
QA and release-readiness agent for Claude Code, Cursor, Codex, GitHub Copilot and Gemini CLI.
|
|
4
|
+
|
|
5
|
+
[](https://github.com/shahvatsalofficial/pramanasutra-ai/actions/workflows/ci.yml)
|
|
6
|
+
[](https://github.com/shahvatsalofficial/pramanasutra-ai/actions/workflows/codeql.yml)
|
|
7
|
+
[](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/LICENSE)
|
|
8
|
+
[](https://www.npmjs.com/package/pramanasutra)
|
|
9
|
+

|
|
10
|
+

|
|
11
|
+
|
|
12
|
+
Evidence-first review with `file:line` findings. The audit is Markdown, HTML, JSON, and SARIF. No extra API key.
|
|
13
|
+
|
|
14
|
+
[Documentation](https://shahvatsalofficial.github.io/pramanasutra-ai/) · [Start here](https://shahvatsalofficial.github.io/pramanasutra-ai/00-start-here.html) · [GitHub](https://github.com/shahvatsalofficial/pramanasutra-ai) · [npm](https://www.npmjs.com/package/pramanasutra)
|
|
15
|
+
|
|
16
|
+
PramanaSutra AI (from *pramana*, "valid proof") is an open-source **QA and release-readiness agent**. It ships 17 portable [Agent Skills](https://agentskills.io/specification), led by **PramanaSutra Prime**, and a deterministic offline CLI. The CLI reads a repository, does not run its tests, and writes **`report.md`**, **`report.html`**, **`report.json`** and **`report.sarif.json`** of the same audit. The release gate is `NO_GO`, `REVIEW_REQUIRED` or `READY_FOR_HUMAN_APPROVAL`. A ready result still needs a person. It is never a deploy order.
|
|
17
|
+
|
|
18
|
+
`scan` and `release-check` use the same exit codes. Exit `2` is `NO_GO`, `3` is `REVIEW_REQUIRED`, `0` is `READY_FOR_HUMAN_APPROVAL`. A scan with no evidence file is `REVIEW_REQUIRED`. `--changed` lists names from `git diff`. It does not choose or run tests. An evidence file with no `github` object is marked **unbound**. A file that names a repository, commit, run id and workflow is marked **ci-environment**. That label is not a signature. PramanaSutra does not ask GitHub whether those four values are real.
|
|
19
|
+
|
|
20
|
+
> **No extra API key.** Skills use the IDE's own model. The CLI makes no network calls and has no telemetry.
|
|
21
|
+
|
|
22
|
+
Created by **[Vatsal Shah](https://github.com/shahvatsalofficial)**. Apache-2.0. Version 0.3.4. The npm page stays on the last published tarball until `npm view pramanasutra version` matches this line.
|
|
23
|
+
|
|
24
|
+
## Install
|
|
25
|
+
|
|
26
|
+
Node.js 20 or newer.
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npx pramanasutra release-check --path .
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm install -g pramanasutra
|
|
34
|
+
pramanasutra release-check --path .
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Writes `./pramanasutra-reports/report.md`, `report.html`, `report.json` and `report.sarif.json` in the current directory. Exit `2` is `NO_GO`, `3` is `REVIEW_REQUIRED`, `0` is `READY_FOR_HUMAN_APPROVAL`. `scan` and `release-check` use that mapping. Exit 0 still needs passing evidence.
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npx pramanasutra init --ide cursor --target .
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
`--ide` is `claude`, `cursor`, `codex`, `gemini`, `copilot`, `generic` or `all`.
|
|
44
|
+
|
|
45
|
+
From a clone of the repository:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
node packages/cli/bin/pramanasutra.mjs doctor
|
|
49
|
+
node packages/cli/bin/pramanasutra.mjs release-check --path fixtures/focused-test --no-report
|
|
50
|
+
node packages/cli/bin/pramanasutra.mjs release-check --path fixtures/clean-project --evidence fixtures/clean-project/evidence.json --no-report
|
|
51
|
+
npm test
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
The first check exits 2. The second exits 0.
|
|
55
|
+
|
|
56
|
+
## Why
|
|
57
|
+
|
|
58
|
+
| Problem | What PramanaSutra does |
|
|
59
|
+
|---|---|
|
|
60
|
+
| An assistant says the tests passed without running them | Static findings and supplied evidence stay in different sections. The gate cannot go ready without a valid evidence file |
|
|
61
|
+
| `test.only` slips into main | `FOCUSED_TEST` cites `file:line` and the default policy returns `NO_GO` |
|
|
62
|
+
| A green board hides what was not checked | Every report lists capabilities as executed, not-run, not-supported, or evidence-supplied |
|
|
63
|
+
| Another key, another bill | Zero runtime dependencies |
|
|
64
|
+
|
|
65
|
+
## Proof
|
|
66
|
+
|
|
67
|
+
| Evidence | Result |
|
|
68
|
+
|---|---|
|
|
69
|
+
| Unit tests on the captured Windows run | **43 tests, 43 passed, 0 failed, 0 skipped**. The symlink test uses a directory junction when Windows refuses a symlink. [test-results.txt](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/documents/pramanasutra/proof/test-results.txt) |
|
|
70
|
+
| Labeled fixtures | 6 of 6 match the expected rules and decision. Precision and recall are 1 **on those author-written fixtures**, which is a regression lock, not field accuracy. [eval-results.json](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/documents/pramanasutra/proof/eval-results.json) |
|
|
71
|
+
| This repository, with that test output as evidence | `READY_FOR_HUMAN_APPROVAL`, 0 findings, after `fixtures/` and `examples/sample-app/` were excluded and named in the report. [Audit Markdown](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/documents/pramanasutra/audit/report.md), [audit HTML](https://shahvatsalofficial.github.io/pramanasutra-ai/audit/report.html) |
|
|
72
|
+
| Required CI | Ubuntu and Windows, Node 20 and 22, then the same release gate. [Actions](https://github.com/shahvatsalofficial/pramanasutra-ai/actions) |
|
|
73
|
+
| macOS in GitHub Actions | Not scheduled. Jobs were cancelled with zero steps: [41884015367](https://github.com/shahvatsalofficial/pramanasutra-ai/actions/runs/41884015367) (queued) and [42098256304](https://github.com/shahvatsalofficial/pramanasutra-ai/actions/runs/42098256304) (cancelled in about a second, no runner). That is not a test result |
|
|
74
|
+
| Runtime dependencies | 0 |
|
|
75
|
+
| Network calls by the CLI | 0 |
|
|
76
|
+
|
|
77
|
+
Not yet proven: live behavior in each IDE, accuracy on large real repositories, an independent security review, trademark clearance. Details: [testing and proof](https://shahvatsalofficial.github.io/pramanasutra-ai/11-testing-and-proof.html) and [legal](https://shahvatsalofficial.github.io/pramanasutra-ai/10-legal-and-compliance.html).
|
|
78
|
+
|
|
79
|
+
## Reports
|
|
80
|
+
|
|
81
|
+
Every `scan` and `release-check` writes the four files together unless you pass `--no-report`. Default directory: `./pramanasutra-reports` in the current working directory, not inside the scanned tree.
|
|
82
|
+
|
|
83
|
+
| File | Use |
|
|
84
|
+
|---|---|
|
|
85
|
+
| `report.md` | Pull requests and plain reading |
|
|
86
|
+
| `report.html` | Browser. No remote assets. Light, dark, print |
|
|
87
|
+
| `report.json` | CI and scripts. Schema 1.0.0 |
|
|
88
|
+
| `report.sarif.json` | SARIF 2.1.0. The file is written locally. Nothing uploads it |
|
|
89
|
+
|
|
90
|
+
`--changed` adds a changed-file list when `git diff` works. A directory that is not a Git checkout says `git diff was not available for this directory, so no changed-file list was collected.`
|
|
91
|
+
|
|
92
|
+
Open a finished example: [Markdown](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/documents/pramanasutra/samples/focused-test/report.md), [HTML](https://shahvatsalofficial.github.io/pramanasutra-ai/samples/focused-test/report.html). How to read them: [CLI and reports](https://shahvatsalofficial.github.io/pramanasutra-ai/06-cli-and-reports.html).
|
|
93
|
+
|
|
94
|
+
## Release gate
|
|
95
|
+
|
|
96
|
+
| Decision | Exit | Meaning |
|
|
97
|
+
|---|---|---|
|
|
98
|
+
| `NO_GO` | 2 | Blocking static finding, or supplied evidence shows failure |
|
|
99
|
+
| `REVIEW_REQUIRED` | 3 | Evidence missing, untrusted, empty, or scan incomplete, or policy requires tests, CI or a license that were not found |
|
|
100
|
+
| `READY_FOR_HUMAN_APPROVAL` | 0 | Passing `local-executed` or `ci-ingested` evidence and clean policy checks. A human still approves |
|
|
101
|
+
|
|
102
|
+
`external-unverified` evidence cannot reach ready. The gate object always has `automatedDeploymentAuthorized: false`.
|
|
103
|
+
|
|
104
|
+
## Skills
|
|
105
|
+
|
|
106
|
+
`pramanasutra-prime` plus strategy, unit, flow, api, visual, access, load, data, secure, regression, flake, defect, pipeline, release, evidence, verify. Each `## Safe workflow` is a different procedure. They are instructions. They do not run tests, open a browser, or sign evidence. Canonical source: [`.agents/skills`](https://github.com/shahvatsalofficial/pramanasutra-ai/tree/main/.agents/skills). Catalog: [skills and agents](https://shahvatsalofficial.github.io/pramanasutra-ai/08-skills-and-agents.html).
|
|
107
|
+
|
|
108
|
+
These directories are notes, not programs: `packages/runner`, `packages/server`, `packages/reporter`, `packages/quality-gates`, `packages/release`, `packages/impact`, `packages/integrators`, `packages/evidence`, `packages/discovery`, `packages/core`, `packages/static-audit`, `packages/test-generation`. The CLI does not import them.
|
|
109
|
+
|
|
110
|
+
| Host | Skill path | Verified live? |
|
|
111
|
+
|---|---|---|
|
|
112
|
+
| Claude Code | `.claude/skills` | No |
|
|
113
|
+
| Cursor | `.cursor/skills` | No |
|
|
114
|
+
| OpenAI Codex | `.agents/skills` | No |
|
|
115
|
+
| GitHub Copilot | `.github/skills` | No |
|
|
116
|
+
| Gemini CLI | `.gemini/skills` | No |
|
|
117
|
+
|
|
118
|
+
## Documentation
|
|
119
|
+
|
|
120
|
+
The maintained pack is [documents/pramanasutra](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/documents/pramanasutra/00-start-here.md). The same pages as HTML: [GitHub Pages](https://shahvatsalofficial.github.io/pramanasutra-ai/).
|
|
121
|
+
|
|
122
|
+
| | |
|
|
123
|
+
|---|---|
|
|
124
|
+
| Executive | [01](https://shahvatsalofficial.github.io/pramanasutra-ai/01-executive-summary.html) |
|
|
125
|
+
| Functional spec | [02](https://shahvatsalofficial.github.io/pramanasutra-ai/02-functional-specification.html) |
|
|
126
|
+
| Architecture | [03](https://shahvatsalofficial.github.io/pramanasutra-ai/03-architecture.html) |
|
|
127
|
+
| Technical reference | [04](https://shahvatsalofficial.github.io/pramanasutra-ai/04-technical-reference.html) |
|
|
128
|
+
| User guide | [05](https://shahvatsalofficial.github.io/pramanasutra-ai/05-user-guide.html) |
|
|
129
|
+
| Security | [09](https://shahvatsalofficial.github.io/pramanasutra-ai/09-security-and-privacy.html) |
|
|
130
|
+
| Legal | [10](https://shahvatsalofficial.github.io/pramanasutra-ai/10-legal-and-compliance.html) |
|
|
131
|
+
| Roadmap | [13](https://shahvatsalofficial.github.io/pramanasutra-ai/13-roadmap-and-status.html) |
|
|
132
|
+
| FAQ | [14](https://shahvatsalofficial.github.io/pramanasutra-ai/14-faq-and-glossary.html) |
|
|
133
|
+
|
|
134
|
+
Machine-readable summary: [llms.txt](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/llms.txt).
|
|
135
|
+
|
|
136
|
+
## Legal
|
|
137
|
+
|
|
138
|
+
Apache-2.0 ([LICENSE](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/LICENSE), [NOTICE](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/NOTICE)). No runtime dependencies ([third-party notices](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/THIRD_PARTY_NOTICES.md)). Claude, Cursor, OpenAI, Codex, GitHub, Copilot, Gemini and other product names belong to their owners. This project is not affiliated with or endorsed by them. "PramanaSutra" is not claimed as a registered trademark and has not been clearance-searched. Output is decision support, not a certification and not legal advice. Provided "AS IS". Full notice: [legal and compliance](https://shahvatsalofficial.github.io/pramanasutra-ai/10-legal-and-compliance.html).
|
|
139
|
+
|
|
140
|
+
## Contributing
|
|
141
|
+
|
|
142
|
+
[Maintainer guide](https://shahvatsalofficial.github.io/pramanasutra-ai/15-maintainer-guide.html), [CONTRIBUTING.md](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/CONTRIBUTING.md), [SECURITY.md](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/SECURITY.md). Citation: [CITATION.cff](https://github.com/shahvatsalofficial/pramanasutra-ai/blob/main/CITATION.cff).
|
package/docs/.nojekyll
ADDED
|
File without changes
|