pramanasutra 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +104 -93
- package/README.md +16 -1
- package/docs/00-start-here.html +20 -11
- package/docs/01-executive-summary.html +10 -7
- package/docs/02-functional-specification.html +12 -10
- package/docs/03-architecture.html +11 -7
- package/docs/04-technical-reference.html +9 -7
- package/docs/05-user-guide.html +13 -7
- package/docs/06-cli-and-reports.html +10 -7
- package/docs/07-rule-catalog.html +12 -9
- package/docs/08-skills-and-agents.html +10 -7
- package/docs/09-security-and-privacy.html +9 -7
- package/docs/10-legal-and-compliance.html +10 -8
- package/docs/11-testing-and-proof.html +11 -8
- package/docs/12-ci-and-release.html +10 -7
- package/docs/13-roadmap-and-status.html +13 -11
- package/docs/14-faq-and-glossary.html +9 -7
- package/docs/15-maintainer-guide.html +10 -8
- package/docs/16-real-world-scenarios.html +293 -0
- package/docs/audit/report.html +2 -2
- package/docs/audit/report.json +2 -2
- package/docs/audit/report.md +2 -2
- package/docs/audit/report.sarif.json +1 -1
- package/docs/diagrams/ci-pipeline.svg +21 -0
- package/docs/diagrams/components.svg +19 -0
- package/docs/diagrams/evidence-binding.svg +12 -0
- package/docs/diagrams/evidence-states.svg +39 -0
- package/docs/diagrams/gate-flow.svg +23 -0
- package/docs/diagrams/overview.svg +25 -0
- package/docs/diagrams/proof-graphs.svg +32 -0
- package/docs/diagrams/quickstart.svg +25 -0
- package/docs/diagrams/report-files.svg +22 -0
- package/docs/diagrams/rules-overview.svg +35 -0
- package/docs/diagrams/scenario-ai-claim.svg +14 -0
- package/docs/diagrams/scenario-focused-test.svg +28 -0
- package/docs/diagrams/scenario-picker.svg +22 -0
- package/docs/diagrams/skills-team.svg +15 -0
- package/docs/diagrams/trust-boundaries.svg +22 -0
- package/docs/index.html +16 -8
- package/docs/proof/test-results.txt +44 -44
- package/docs/samples/clean-project/report.html +1 -1
- package/docs/samples/clean-project/report.json +1 -1
- package/docs/samples/clean-project/report.md +1 -1
- package/docs/samples/clean-project/report.sarif.json +1 -1
- package/docs/samples/focused-test/report.html +1 -1
- package/docs/samples/focused-test/report.json +1 -1
- package/docs/samples/focused-test/report.md +1 -1
- package/docs/samples/focused-test/report.sarif.json +1 -1
- package/docs/samples/missing-ci/report.html +1 -1
- package/docs/samples/missing-ci/report.json +1 -1
- package/docs/samples/missing-ci/report.md +1 -1
- package/docs/samples/missing-ci/report.sarif.json +1 -1
- package/docs/samples/missing-tests/report.html +1 -1
- package/docs/samples/missing-tests/report.json +1 -1
- package/docs/samples/missing-tests/report.md +1 -1
- package/docs/samples/missing-tests/report.sarif.json +1 -1
- package/docs/samples/multi-language/report.html +1 -1
- package/docs/samples/multi-language/report.json +1 -1
- package/docs/samples/multi-language/report.md +1 -1
- package/docs/samples/multi-language/report.sarif.json +1 -1
- package/docs/samples/unsafe-names/report.html +1 -1
- package/docs/samples/unsafe-names/report.json +1 -1
- package/docs/samples/unsafe-names/report.md +1 -1
- package/docs/samples/unsafe-names/report.sarif.json +1 -1
- package/docs/sitemap.xml +1 -0
- package/documents/pramanasutra/00-start-here.md +18 -2
- package/documents/pramanasutra/01-executive-summary.md +3 -0
- package/documents/pramanasutra/02-functional-specification.md +2 -2
- package/documents/pramanasutra/03-architecture.md +6 -0
- package/documents/pramanasutra/05-user-guide.md +11 -0
- package/documents/pramanasutra/06-cli-and-reports.md +3 -0
- package/documents/pramanasutra/07-rule-catalog.md +3 -1
- package/documents/pramanasutra/08-skills-and-agents.md +3 -0
- package/documents/pramanasutra/10-legal-and-compliance.md +1 -1
- package/documents/pramanasutra/11-testing-and-proof.md +4 -1
- package/documents/pramanasutra/12-ci-and-release.md +3 -0
- package/documents/pramanasutra/13-roadmap-and-status.md +2 -2
- package/documents/pramanasutra/16-real-world-scenarios.md +252 -0
- package/documents/pramanasutra/audit/report.html +2 -2
- package/documents/pramanasutra/audit/report.json +2 -2
- package/documents/pramanasutra/audit/report.md +2 -2
- package/documents/pramanasutra/audit/report.sarif.json +1 -1
- package/documents/pramanasutra/diagrams/ci-pipeline.svg +21 -0
- package/documents/pramanasutra/diagrams/components.svg +19 -0
- package/documents/pramanasutra/diagrams/evidence-binding.svg +12 -0
- package/documents/pramanasutra/diagrams/evidence-states.svg +39 -0
- package/documents/pramanasutra/diagrams/gate-flow.svg +23 -0
- package/documents/pramanasutra/diagrams/overview.svg +25 -0
- package/documents/pramanasutra/diagrams/proof-graphs.svg +32 -0
- package/documents/pramanasutra/diagrams/quickstart.svg +25 -0
- package/documents/pramanasutra/diagrams/report-files.svg +22 -0
- package/documents/pramanasutra/diagrams/rules-overview.svg +35 -0
- package/documents/pramanasutra/diagrams/scenario-ai-claim.svg +14 -0
- package/documents/pramanasutra/diagrams/scenario-focused-test.svg +28 -0
- package/documents/pramanasutra/diagrams/scenario-picker.svg +22 -0
- package/documents/pramanasutra/diagrams/skills-team.svg +15 -0
- package/documents/pramanasutra/diagrams/trust-boundaries.svg +22 -0
- package/documents/pramanasutra/html/00-start-here.html +20 -11
- package/documents/pramanasutra/html/01-executive-summary.html +10 -7
- package/documents/pramanasutra/html/02-functional-specification.html +12 -10
- package/documents/pramanasutra/html/03-architecture.html +11 -7
- package/documents/pramanasutra/html/04-technical-reference.html +9 -7
- package/documents/pramanasutra/html/05-user-guide.html +13 -7
- package/documents/pramanasutra/html/06-cli-and-reports.html +10 -7
- package/documents/pramanasutra/html/07-rule-catalog.html +12 -9
- package/documents/pramanasutra/html/08-skills-and-agents.html +10 -7
- package/documents/pramanasutra/html/09-security-and-privacy.html +9 -7
- package/documents/pramanasutra/html/10-legal-and-compliance.html +10 -8
- package/documents/pramanasutra/html/11-testing-and-proof.html +11 -8
- package/documents/pramanasutra/html/12-ci-and-release.html +10 -7
- package/documents/pramanasutra/html/13-roadmap-and-status.html +13 -11
- package/documents/pramanasutra/html/14-faq-and-glossary.html +9 -7
- package/documents/pramanasutra/html/15-maintainer-guide.html +10 -8
- package/documents/pramanasutra/html/16-real-world-scenarios.html +293 -0
- package/documents/pramanasutra/html/audit/report.html +2 -2
- package/documents/pramanasutra/html/audit/report.json +2 -2
- package/documents/pramanasutra/html/audit/report.md +2 -2
- package/documents/pramanasutra/html/audit/report.sarif.json +1 -1
- package/documents/pramanasutra/html/diagrams/ci-pipeline.svg +21 -0
- package/documents/pramanasutra/html/diagrams/components.svg +19 -0
- package/documents/pramanasutra/html/diagrams/evidence-binding.svg +12 -0
- package/documents/pramanasutra/html/diagrams/evidence-states.svg +39 -0
- package/documents/pramanasutra/html/diagrams/gate-flow.svg +23 -0
- package/documents/pramanasutra/html/diagrams/overview.svg +25 -0
- package/documents/pramanasutra/html/diagrams/proof-graphs.svg +32 -0
- package/documents/pramanasutra/html/diagrams/quickstart.svg +25 -0
- package/documents/pramanasutra/html/diagrams/report-files.svg +22 -0
- package/documents/pramanasutra/html/diagrams/rules-overview.svg +35 -0
- package/documents/pramanasutra/html/diagrams/scenario-ai-claim.svg +14 -0
- package/documents/pramanasutra/html/diagrams/scenario-focused-test.svg +28 -0
- package/documents/pramanasutra/html/diagrams/scenario-picker.svg +22 -0
- package/documents/pramanasutra/html/diagrams/skills-team.svg +15 -0
- package/documents/pramanasutra/html/diagrams/trust-boundaries.svg +22 -0
- package/documents/pramanasutra/html/index.html +16 -8
- package/documents/pramanasutra/html/proof/test-results.txt +44 -44
- package/documents/pramanasutra/html/samples/clean-project/report.html +1 -1
- package/documents/pramanasutra/html/samples/clean-project/report.json +1 -1
- package/documents/pramanasutra/html/samples/clean-project/report.md +1 -1
- package/documents/pramanasutra/html/samples/clean-project/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/focused-test/report.html +1 -1
- package/documents/pramanasutra/html/samples/focused-test/report.json +1 -1
- package/documents/pramanasutra/html/samples/focused-test/report.md +1 -1
- package/documents/pramanasutra/html/samples/focused-test/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/missing-ci/report.html +1 -1
- package/documents/pramanasutra/html/samples/missing-ci/report.json +1 -1
- package/documents/pramanasutra/html/samples/missing-ci/report.md +1 -1
- package/documents/pramanasutra/html/samples/missing-ci/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/missing-tests/report.html +1 -1
- package/documents/pramanasutra/html/samples/missing-tests/report.json +1 -1
- package/documents/pramanasutra/html/samples/missing-tests/report.md +1 -1
- package/documents/pramanasutra/html/samples/missing-tests/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/multi-language/report.html +1 -1
- package/documents/pramanasutra/html/samples/multi-language/report.json +1 -1
- package/documents/pramanasutra/html/samples/multi-language/report.md +1 -1
- package/documents/pramanasutra/html/samples/multi-language/report.sarif.json +1 -1
- package/documents/pramanasutra/html/samples/unsafe-names/report.html +1 -1
- package/documents/pramanasutra/html/samples/unsafe-names/report.json +1 -1
- package/documents/pramanasutra/html/samples/unsafe-names/report.md +1 -1
- package/documents/pramanasutra/html/samples/unsafe-names/report.sarif.json +1 -1
- package/documents/pramanasutra/html/sitemap.xml +1 -0
- package/documents/pramanasutra/proof/test-results.txt +44 -44
- package/documents/pramanasutra/samples/clean-project/report.html +1 -1
- package/documents/pramanasutra/samples/clean-project/report.json +1 -1
- package/documents/pramanasutra/samples/clean-project/report.md +1 -1
- package/documents/pramanasutra/samples/clean-project/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/focused-test/report.html +1 -1
- package/documents/pramanasutra/samples/focused-test/report.json +1 -1
- package/documents/pramanasutra/samples/focused-test/report.md +1 -1
- package/documents/pramanasutra/samples/focused-test/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/missing-ci/report.html +1 -1
- package/documents/pramanasutra/samples/missing-ci/report.json +1 -1
- package/documents/pramanasutra/samples/missing-ci/report.md +1 -1
- package/documents/pramanasutra/samples/missing-ci/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/missing-tests/report.html +1 -1
- package/documents/pramanasutra/samples/missing-tests/report.json +1 -1
- package/documents/pramanasutra/samples/missing-tests/report.md +1 -1
- package/documents/pramanasutra/samples/missing-tests/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/multi-language/report.html +1 -1
- package/documents/pramanasutra/samples/multi-language/report.json +1 -1
- package/documents/pramanasutra/samples/multi-language/report.md +1 -1
- package/documents/pramanasutra/samples/multi-language/report.sarif.json +1 -1
- package/documents/pramanasutra/samples/unsafe-names/report.html +1 -1
- package/documents/pramanasutra/samples/unsafe-names/report.json +1 -1
- package/documents/pramanasutra/samples/unsafe-names/report.md +1 -1
- package/documents/pramanasutra/samples/unsafe-names/report.sarif.json +1 -1
- package/examples/sample-output/clean-project/report.html +1 -1
- package/examples/sample-output/clean-project/report.json +1 -1
- package/examples/sample-output/clean-project/report.md +1 -1
- package/examples/sample-output/clean-project/report.sarif.json +1 -1
- package/examples/sample-output/focused-test/report.html +1 -1
- package/examples/sample-output/focused-test/report.json +1 -1
- package/examples/sample-output/focused-test/report.md +1 -1
- package/examples/sample-output/focused-test/report.sarif.json +1 -1
- package/examples/sample-output/missing-ci/report.html +1 -1
- package/examples/sample-output/missing-ci/report.json +1 -1
- package/examples/sample-output/missing-ci/report.md +1 -1
- package/examples/sample-output/missing-ci/report.sarif.json +1 -1
- package/examples/sample-output/missing-tests/report.html +1 -1
- package/examples/sample-output/missing-tests/report.json +1 -1
- package/examples/sample-output/missing-tests/report.md +1 -1
- package/examples/sample-output/missing-tests/report.sarif.json +1 -1
- package/examples/sample-output/multi-language/report.html +1 -1
- package/examples/sample-output/multi-language/report.json +1 -1
- package/examples/sample-output/multi-language/report.md +1 -1
- package/examples/sample-output/multi-language/report.sarif.json +1 -1
- package/examples/sample-output/unsafe-names/report.html +1 -1
- package/examples/sample-output/unsafe-names/report.json +1 -1
- package/examples/sample-output/unsafe-names/report.md +1 -1
- package/examples/sample-output/unsafe-names/report.sarif.json +1 -1
- package/llms.txt +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,93 +1,104 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 0.3.
|
|
4
|
-
|
|
5
|
-
### Added
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
- The
|
|
25
|
-
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
###
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- The
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
- `
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.3.6 - 2026-11-23
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- 15 diagrams in `documents/pramanasutra/diagrams/` (generated by `scripts/make-diagrams.mjs`): overview, release-gate flowchart, report files, evidence states and binding, trust boundaries, CI pipeline, skills team, component map, rules table, recorded-results graphs, quick start and scenario figures. Each is a self-contained SVG with a text alternative.
|
|
7
|
+
- New chapter `16-real-world-scenarios.md`: eight stories using real terminal output captured from the committed fixtures.
|
|
8
|
+
- The documentation site and the README now show the diagrams. The site accepts `` as a captioned, click-to-open figure.
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Content width on the site is wider so diagrams are readable.
|
|
12
|
+
- No scanner, gate, evidence or report behavior changed.
|
|
13
|
+
|
|
14
|
+
## 0.3.5 - 2026-11-16
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
- Node 24 (current LTS) joins the required CI matrix: Ubuntu and Windows, Node 20, 22 and 24.
|
|
18
|
+
- Reports, the documentation site and package metadata link the author site https://shahvatsal.com.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- Version bump only for code: no scanner, gate or evidence behavior changed.
|
|
22
|
+
|
|
23
|
+
### Not in this release
|
|
24
|
+
- The CLI still does not run the target's tests, a browser, a load generator, or a vulnerability scanner.
|
|
25
|
+
- Evidence JSON is still unsigned. macOS stays off the required CI matrix.
|
|
26
|
+
|
|
27
|
+
## 0.3.4 - 2026-11-07
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
- `report.sarif.json` (SARIF 2.1.0) is written with `report.md`, `report.html` and `report.json`. Nothing uploads it.
|
|
31
|
+
- `--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.
|
|
32
|
+
- 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.
|
|
33
|
+
- `scripts/ci-gate.mjs` writes that `github` object when `GITHUB_REPOSITORY`, `GITHUB_SHA`, `GITHUB_RUN_ID` and `GITHUB_WORKFLOW` are set.
|
|
34
|
+
- CI file detection also matches CircleCI (`.circleci/config.yml`), Buildkite (`.buildkite/pipeline.yml`), Drone (`.drone.yml`) and Woodpecker (`woodpecker.yml`).
|
|
35
|
+
- The 17 skill workflows are different procedures. A test rejects a copied Safe workflow.
|
|
36
|
+
- The documentation site opens on a product page. The 16 handbook chapters stay linked from it.
|
|
37
|
+
- `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.
|
|
38
|
+
- The Windows symlink test uses a directory junction when the OS refuses a symlink.
|
|
39
|
+
|
|
40
|
+
### Not in this release
|
|
41
|
+
- The CLI still does not run the target's tests, a browser, a load generator, or a vulnerability scanner.
|
|
42
|
+
- Evidence JSON is still unsigned. A person can hand-write a `ci-environment` file.
|
|
43
|
+
- macOS stays off the required CI matrix.
|
|
44
|
+
- The twelve `packages/*` READMEs that say planned are still notes.
|
|
45
|
+
|
|
46
|
+
## 0.3.3 - 2026-11-06
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
- 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.
|
|
50
|
+
|
|
51
|
+
## 0.3.2 - 2026-11-06
|
|
52
|
+
|
|
53
|
+
### Added
|
|
54
|
+
- `.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.
|
|
55
|
+
|
|
56
|
+
### Fixed
|
|
57
|
+
- `@vatsalshah/pramanasutra` cannot be published. npm user `shahvatsal` does not own that scope (registry 404).
|
|
58
|
+
- `@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`.
|
|
59
|
+
- `bin` path no longer starts with `./`, which npm 11 rewrote and reported as removed.
|
|
60
|
+
|
|
61
|
+
## 0.3.0 - 2026-11-06
|
|
62
|
+
|
|
63
|
+
### Added
|
|
64
|
+
- 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.
|
|
65
|
+
- Self-audit of this repository as `documents/pramanasutra/audit/report.md` and `report.html`, produced by the CLI from a real unit-test run.
|
|
66
|
+
- Sample audits copied beside the docs. Evidence counts are now a section in both Markdown and HTML reports, not only a state word.
|
|
67
|
+
- `.pramanasutraignore` so labeled bad fixtures are excluded from a scan and the exclusion is written into the report. `..` entries are rejected.
|
|
68
|
+
- `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.
|
|
69
|
+
- Skip detection for `test.todo` / `xtest`, `pytest.skip()`, `pytest.xfail()`, `self.skipTest` and `raise unittest.SkipTest`.
|
|
70
|
+
- Binary test files (NUL byte) are skipped and the scan is marked partial, so the gate cannot go ready.
|
|
71
|
+
- `version` and `--version`. `doctor` includes the version from `package.json`.
|
|
72
|
+
|
|
73
|
+
### Fixed
|
|
74
|
+
- 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.
|
|
75
|
+
- `--help` and `--version` were rejected as unknown options.
|
|
76
|
+
- Markdown reports escape `<` and `>` so a hostile path is not raw HTML on GitHub.
|
|
77
|
+
- The malicious-filename escape test no longer depends on creating a file the OS forbids, so it runs on Windows.
|
|
78
|
+
|
|
79
|
+
### Changed
|
|
80
|
+
- Reports lead with how to read them, a findings table, the test files seen, and the workflows seen.
|
|
81
|
+
- `actions/checkout` and `actions/setup-node` are pinned to commit SHAs.
|
|
82
|
+
- Documentation HTML does not load a chart library from a CDN.
|
|
83
|
+
|
|
84
|
+
## 0.2.0 - 2026-11-04
|
|
85
|
+
|
|
86
|
+
### Added
|
|
87
|
+
- `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.
|
|
88
|
+
- `--policy <file>`: fail-closed policy loader (unknown keys rejected, safety flags cannot be weakened). New policy keys `blockOnSkippedTests`, `requireCi`, `requireLicense`, `requireTests`.
|
|
89
|
+
- 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).
|
|
90
|
+
- Skip detection for pytest, unittest, JUnit and Go; test-file detection for Java, Kotlin, C#, Swift, Scala, PHP, Dart and Ruby naming conventions.
|
|
91
|
+
- Six labeled fixtures, generated sample reports (`examples/sample-output`), captured test results and fixture evaluation (`docs/proof`).
|
|
92
|
+
- 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.
|
|
93
|
+
|
|
94
|
+
### Fixed
|
|
95
|
+
- CI failed on Windows/Node 20 because `node --test tests/*.test.mjs` depended on shell globbing; the test file is now named explicitly.
|
|
96
|
+
- `scan` no longer recurses into its own `pramanasutra-reports` output.
|
|
97
|
+
- Reports no longer print "tests not run" ambiguously when evidence is supplied.
|
|
98
|
+
|
|
99
|
+
### Changed
|
|
100
|
+
- GitHub Actions bumped to `checkout@v7`, `setup-node@v7`, `codeql-action@v4`.
|
|
101
|
+
|
|
102
|
+
## 0.1.0 - Starter snapshot
|
|
103
|
+
|
|
104
|
+
- Dependency-free local QA scanner, conservative release gate, Markdown/JSON/HTML reports, portable specialist skills, IDE skill installer and CLI tests.
|
package/README.md
CHANGED
|
@@ -19,7 +19,15 @@ PramanaSutra AI (from *pramana*, "valid proof") is an open-source **QA and relea
|
|
|
19
19
|
|
|
20
20
|
> **No extra API key.** Skills use the IDE's own model. The CLI makes no network calls and has no telemetry.
|
|
21
21
|
|
|
22
|
-
Created by **[Vatsal Shah](https://shahvatsal.com)**. Official site: [shahvatsal.com](https://shahvatsal.com). Apache-2.0. Version 0.3.
|
|
22
|
+
Created by **[Vatsal Shah](https://shahvatsal.com)**. Official site: [shahvatsal.com](https://shahvatsal.com). Apache-2.0. Version 0.3.6. The npm page stays on the last published tarball until `npm view pramanasutra version` matches this line.
|
|
23
|
+
|
|
24
|
+
## At a glance
|
|
25
|
+
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
The tool never runs your tests. It reads the project and reads the test results you give it, then decides one of three outcomes.
|
|
29
|
+
|
|
30
|
+

|
|
23
31
|
|
|
24
32
|
## Install
|
|
25
33
|
|
|
@@ -91,6 +99,12 @@ Every `scan` and `release-check` writes the four files together unless you pass
|
|
|
91
99
|
|
|
92
100
|
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
101
|
|
|
102
|
+
## Real-world scenarios
|
|
103
|
+
|
|
104
|
+
Eight true stories with the real terminal output: a stray `test.only`, an AI that says "all tests pass", a pull-request gate, piled-up skipped tests, a pasted JSON, a legacy service, hostile file names, and teaching your IDE. [Read the scenarios](https://shahvatsalofficial.github.io/pramanasutra-ai/16-real-world-scenarios.html).
|
|
105
|
+
|
|
106
|
+

|
|
107
|
+
|
|
94
108
|
## Release gate
|
|
95
109
|
|
|
96
110
|
| Decision | Exit | Meaning |
|
|
@@ -126,6 +140,7 @@ The maintained pack is [documents/pramanasutra](https://github.com/shahvatsaloff
|
|
|
126
140
|
| Architecture | [03](https://shahvatsalofficial.github.io/pramanasutra-ai/03-architecture.html) |
|
|
127
141
|
| Technical reference | [04](https://shahvatsalofficial.github.io/pramanasutra-ai/04-technical-reference.html) |
|
|
128
142
|
| User guide | [05](https://shahvatsalofficial.github.io/pramanasutra-ai/05-user-guide.html) |
|
|
143
|
+
| Real-world scenarios | [16](https://shahvatsalofficial.github.io/pramanasutra-ai/16-real-world-scenarios.html) |
|
|
129
144
|
| Security | [09](https://shahvatsalofficial.github.io/pramanasutra-ai/09-security-and-privacy.html) |
|
|
130
145
|
| Legal | [10](https://shahvatsalofficial.github.io/pramanasutra-ai/10-legal-and-compliance.html) |
|
|
131
146
|
| Roadmap | [13](https://shahvatsalofficial.github.io/pramanasutra-ai/13-roadmap-and-status.html) |
|