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.
- package/.agents/skills/pramanasutra-access/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-api/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-data/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-defect/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-evidence/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-flake/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-flow/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-load/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-pipeline/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-prime/SKILL.md +38 -0
- package/.agents/skills/pramanasutra-regression/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-release/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-secure/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-strategy/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-unit/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-verify/SKILL.md +34 -0
- package/.agents/skills/pramanasutra-visual/SKILL.md +34 -0
- package/.claude/agents/pramanasutra-prime.md +7 -0
- package/CHANGELOG.md +56 -0
- package/LICENSE +201 -0
- package/NOTICE +2 -0
- package/README.md +138 -2
- package/docs/.nojekyll +0 -0
- package/docs/00-start-here.html +195 -0
- package/docs/01-executive-summary.html +192 -0
- package/docs/02-functional-specification.html +199 -0
- package/docs/03-architecture.html +233 -0
- package/docs/04-technical-reference.html +204 -0
- package/docs/05-user-guide.html +232 -0
- package/docs/06-cli-and-reports.html +200 -0
- package/docs/07-rule-catalog.html +194 -0
- package/docs/08-skills-and-agents.html +191 -0
- package/docs/09-security-and-privacy.html +192 -0
- package/docs/10-legal-and-compliance.html +203 -0
- package/docs/11-testing-and-proof.html +197 -0
- package/docs/12-ci-and-release.html +208 -0
- package/docs/13-roadmap-and-status.html +186 -0
- package/docs/14-faq-and-glossary.html +204 -0
- package/docs/15-maintainer-guide.html +200 -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 +39 -0
- package/docs/audit/report.json +59 -0
- package/docs/audit/report.md +80 -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 +117 -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 +195 -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 +51 -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 +29 -0
- package/docs/samples/clean-project/report.json +45 -0
- package/docs/samples/clean-project/report.md +67 -0
- package/docs/samples/focused-test/report.html +29 -0
- package/docs/samples/focused-test/report.json +60 -0
- package/docs/samples/focused-test/report.md +74 -0
- package/docs/samples/missing-ci/report.html +29 -0
- package/docs/samples/missing-ci/report.json +59 -0
- package/docs/samples/missing-ci/report.md +75 -0
- package/docs/samples/missing-tests/report.html +29 -0
- package/docs/samples/missing-tests/report.json +59 -0
- package/docs/samples/missing-tests/report.md +75 -0
- package/docs/samples/multi-language/report.html +33 -0
- package/docs/samples/multi-language/report.json +116 -0
- package/docs/samples/multi-language/report.md +110 -0
- package/docs/samples/unsafe-names/report.html +29 -0
- package/docs/samples/unsafe-names/report.json +61 -0
- package/docs/samples/unsafe-names/report.md +75 -0
- package/docs/server-deployment.md +3 -0
- package/docs/sitemap.xml +20 -0
- package/docs/standards.md +12 -0
- package/docs/status.md +20 -0
- package/docs/troubleshooting.md +7 -0
- package/docs/trust-model.md +3 -0
- package/documents/pramanasutra/00-start-here.md +85 -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 +121 -0
- package/documents/pramanasutra/05-user-guide.md +152 -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 +68 -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 +39 -0
- package/documents/pramanasutra/audit/report.json +59 -0
- package/documents/pramanasutra/audit/report.md +80 -0
- package/documents/pramanasutra/html/00-start-here.html +195 -0
- package/documents/pramanasutra/html/01-executive-summary.html +192 -0
- package/documents/pramanasutra/html/02-functional-specification.html +199 -0
- package/documents/pramanasutra/html/03-architecture.html +233 -0
- package/documents/pramanasutra/html/04-technical-reference.html +204 -0
- package/documents/pramanasutra/html/05-user-guide.html +232 -0
- package/documents/pramanasutra/html/06-cli-and-reports.html +200 -0
- package/documents/pramanasutra/html/07-rule-catalog.html +194 -0
- package/documents/pramanasutra/html/08-skills-and-agents.html +191 -0
- package/documents/pramanasutra/html/09-security-and-privacy.html +192 -0
- package/documents/pramanasutra/html/10-legal-and-compliance.html +203 -0
- package/documents/pramanasutra/html/11-testing-and-proof.html +197 -0
- package/documents/pramanasutra/html/12-ci-and-release.html +208 -0
- package/documents/pramanasutra/html/13-roadmap-and-status.html +186 -0
- package/documents/pramanasutra/html/14-faq-and-glossary.html +204 -0
- package/documents/pramanasutra/html/15-maintainer-guide.html +200 -0
- package/documents/pramanasutra/html/audit/report.html +39 -0
- package/documents/pramanasutra/html/audit/report.json +59 -0
- package/documents/pramanasutra/html/audit/report.md +80 -0
- package/documents/pramanasutra/html/index.html +195 -0
- package/documents/pramanasutra/html/proof/eval-results.json +91 -0
- package/documents/pramanasutra/html/proof/test-results.txt +51 -0
- package/documents/pramanasutra/html/robots.txt +22 -0
- package/documents/pramanasutra/html/samples/clean-project/report.html +29 -0
- package/documents/pramanasutra/html/samples/clean-project/report.json +45 -0
- package/documents/pramanasutra/html/samples/clean-project/report.md +67 -0
- package/documents/pramanasutra/html/samples/focused-test/report.html +29 -0
- package/documents/pramanasutra/html/samples/focused-test/report.json +60 -0
- package/documents/pramanasutra/html/samples/focused-test/report.md +74 -0
- package/documents/pramanasutra/html/samples/missing-ci/report.html +29 -0
- package/documents/pramanasutra/html/samples/missing-ci/report.json +59 -0
- package/documents/pramanasutra/html/samples/missing-ci/report.md +75 -0
- package/documents/pramanasutra/html/samples/missing-tests/report.html +29 -0
- package/documents/pramanasutra/html/samples/missing-tests/report.json +59 -0
- package/documents/pramanasutra/html/samples/missing-tests/report.md +75 -0
- package/documents/pramanasutra/html/samples/multi-language/report.html +33 -0
- package/documents/pramanasutra/html/samples/multi-language/report.json +116 -0
- package/documents/pramanasutra/html/samples/multi-language/report.md +110 -0
- package/documents/pramanasutra/html/samples/unsafe-names/report.html +29 -0
- package/documents/pramanasutra/html/samples/unsafe-names/report.json +61 -0
- package/documents/pramanasutra/html/samples/unsafe-names/report.md +75 -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 +51 -0
- package/documents/pramanasutra/samples/clean-project/report.html +29 -0
- package/documents/pramanasutra/samples/clean-project/report.json +45 -0
- package/documents/pramanasutra/samples/clean-project/report.md +67 -0
- package/documents/pramanasutra/samples/focused-test/report.html +29 -0
- package/documents/pramanasutra/samples/focused-test/report.json +60 -0
- package/documents/pramanasutra/samples/focused-test/report.md +74 -0
- package/documents/pramanasutra/samples/missing-ci/report.html +29 -0
- package/documents/pramanasutra/samples/missing-ci/report.json +59 -0
- package/documents/pramanasutra/samples/missing-ci/report.md +75 -0
- package/documents/pramanasutra/samples/missing-tests/report.html +29 -0
- package/documents/pramanasutra/samples/missing-tests/report.json +59 -0
- package/documents/pramanasutra/samples/missing-tests/report.md +75 -0
- package/documents/pramanasutra/samples/multi-language/report.html +33 -0
- package/documents/pramanasutra/samples/multi-language/report.json +116 -0
- package/documents/pramanasutra/samples/multi-language/report.md +110 -0
- package/documents/pramanasutra/samples/unsafe-names/report.html +29 -0
- package/documents/pramanasutra/samples/unsafe-names/report.json +61 -0
- package/documents/pramanasutra/samples/unsafe-names/report.md +75 -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 +29 -0
- package/examples/sample-output/clean-project/report.json +45 -0
- package/examples/sample-output/clean-project/report.md +67 -0
- package/examples/sample-output/focused-test/report.html +29 -0
- package/examples/sample-output/focused-test/report.json +60 -0
- package/examples/sample-output/focused-test/report.md +74 -0
- package/examples/sample-output/missing-ci/report.html +29 -0
- package/examples/sample-output/missing-ci/report.json +59 -0
- package/examples/sample-output/missing-ci/report.md +75 -0
- package/examples/sample-output/missing-tests/report.html +29 -0
- package/examples/sample-output/missing-tests/report.json +59 -0
- package/examples/sample-output/missing-tests/report.md +75 -0
- package/examples/sample-output/multi-language/report.html +33 -0
- package/examples/sample-output/multi-language/report.json +116 -0
- package/examples/sample-output/multi-language/report.md +110 -0
- package/examples/sample-output/unsafe-names/report.html +29 -0
- package/examples/sample-output/unsafe-names/report.json +61 -0
- package/examples/sample-output/unsafe-names/report.md +75 -0
- package/llms.txt +60 -0
- package/package.json +65 -4
- package/packages/cli/bin/pramanasutra.mjs +90 -0
- package/packages/cli/lib/evidence.mjs +46 -0
- package/packages/cli/lib/installer.mjs +39 -0
- package/packages/cli/lib/policy.mjs +33 -0
- package/packages/cli/lib/report.mjs +169 -0
- package/packages/cli/lib/scanner.mjs +146 -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
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# CI and release
|
|
2
|
+
|
|
3
|
+
<!-- summary: How PramanaSutra AI uses GitHub Actions, why macOS is not scheduled, how to fail a build on NO_GO, and how this project itself is released. -->
|
|
4
|
+
|
|
5
|
+
## Workflows in this repository
|
|
6
|
+
|
|
7
|
+
| File | What it gates | Badge |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| `.github/workflows/ci.yml` | Ubuntu and Windows, Node 20 and 22. Unit tests, `doctor`, then `scripts/ci-gate.mjs`. Does not publish | The CI badge on the README |
|
|
10
|
+
| `.github/workflows/publish.yml` | On a GitHub Release: `npm test`, then `npm publish --provenance` for the unscoped package `pramanasutra` | None. It is not a required check |
|
|
11
|
+
| `.github/workflows/codeql.yml` | CodeQL `javascript-typescript` on Ubuntu | CodeQL badge |
|
|
12
|
+
| `.github/dependabot.yml` | Update PRs for Actions | None |
|
|
13
|
+
|
|
14
|
+
`actions/checkout` and `actions/setup-node` are pinned to commit SHAs. Timeouts are 20 minutes. Concurrency cancels a superseded run on the same ref.
|
|
15
|
+
|
|
16
|
+
## Why macOS is not scheduled
|
|
17
|
+
|
|
18
|
+
On 4 November 2026, Actions run [41884015367](https://github.com/shahvatsalofficial/pramanasutra-ai/actions/runs/41884015367) finished as a failure. Ubuntu and Windows jobs succeeded. Both `macos-latest` jobs were **cancelled with zero steps**. They never checked out the repo. That failure painted the only CI badge red.
|
|
19
|
+
|
|
20
|
+
A separate `macos-14` workflow was tried on the 0.3.0 push. Run [42098256304](https://github.com/shahvatsalofficial/pramanasutra-ai/actions/runs/42098256304) cancelled both jobs in about a second. `runner_name` was empty. No step ran. Scheduling that workflow again would only add a red badge. It was removed. macOS test execution in GitHub Actions is **unverified**. The unit suite has been run on the maintainer's Windows machine, and the required workflow covers Ubuntu and Windows.
|
|
21
|
+
|
|
22
|
+
## What the gate job proves
|
|
23
|
+
|
|
24
|
+
`scripts/ci-gate.mjs`:
|
|
25
|
+
|
|
26
|
+
1. Runs `node --test --test-reporter=spec tests/cli.test.mjs`.
|
|
27
|
+
2. Reads the last `pass` and `fail` counts from that output.
|
|
28
|
+
3. If it cannot read them, exits 1. It does not invent a passing evidence file.
|
|
29
|
+
4. Writes a temporary evidence file with `source: ci-ingested` and those counts.
|
|
30
|
+
5. Runs `release-check` on the repository root with that file.
|
|
31
|
+
6. Exits with the gate code.
|
|
32
|
+
|
|
33
|
+
Because `fixtures/` and `examples/sample-app/` contain intentional focused tests, they are listed in `.pramanasutraignore`. The gate is about the product, and the report names the exclusion. A pull request that adds `test.only` under `tests/` or `packages/` fails this job with exit 2.
|
|
34
|
+
|
|
35
|
+
## Use it on your repository
|
|
36
|
+
|
|
37
|
+
Run your tests in the job you already trust. Then either:
|
|
38
|
+
|
|
39
|
+
- call your own small script that writes evidence from that output, the way `ci-gate.mjs` does, or
|
|
40
|
+
- fail only when you are ready to maintain an evidence file
|
|
41
|
+
|
|
42
|
+
Example pattern, after your tests have already run and you have written `evidence.json` honestly:
|
|
43
|
+
|
|
44
|
+
```yaml
|
|
45
|
+
- name: PramanaSutra release check
|
|
46
|
+
run: npx github:shahvatsalofficial/pramanasutra-ai release-check --path . --evidence evidence.json --out pramanasutra-reports
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Exit 2 fails the step. Exit 3 also fails a step, because it is non-zero. If you want review to be a comment and only `NO_GO` to be red, branch on the status in the shell and upload `report.md` as an artifact either way:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
set +e
|
|
53
|
+
npx github:shahvatsalofficial/pramanasutra-ai release-check --path . --evidence evidence.json --out pramanasutra-reports
|
|
54
|
+
code=$?
|
|
55
|
+
set -e
|
|
56
|
+
if [ "$code" -eq 2 ]; then exit 2; fi
|
|
57
|
+
if [ "$code" -eq 1 ]; then exit 1; fi
|
|
58
|
+
exit 0
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Exit 3 is then visible in the log and the report, and the job stays green. Do this on purpose. Do not "fix" a red gate by deleting findings.
|
|
62
|
+
|
|
63
|
+
Upload `pramanasutra-reports/report.md` and `report.html` as build artifacts so reviewers can read them without re-running.
|
|
64
|
+
|
|
65
|
+
## GitHub Pages
|
|
66
|
+
|
|
67
|
+
Pages serves the `/docs` directory on `main`. `scripts/build-docs.mjs` writes the site to `documents/pramanasutra/html` and copies it to `docs/`, including `index.html`, `sitemap.xml` and `robots.txt`. Old handbook URLs under `docs/handbook/` redirect to the new pages.
|
|
68
|
+
|
|
69
|
+
The site URL is `https://shahvatsalofficial.github.io/pramanasutra-ai/`.
|
|
70
|
+
|
|
71
|
+
`robots.txt` allows general crawlers and names common answer-engine crawlers as allowed. The content is public documentation. Do not put a private report in `docs/`.
|
|
72
|
+
|
|
73
|
+
## Releasing this project
|
|
74
|
+
|
|
75
|
+
1. Update `package.json`, `CHANGELOG.md` and `CITATION.cff` to the same version.
|
|
76
|
+
2. `node --test tests/cli.test.mjs`
|
|
77
|
+
3. `node scripts/generate-proof.mjs`
|
|
78
|
+
4. `node scripts/build-docs.mjs`
|
|
79
|
+
5. Read `documents/pramanasutra/audit/report.md`. If the gate is not what you expect, stop.
|
|
80
|
+
6. Commit, push to `main`.
|
|
81
|
+
7. Wait until the required CI workflow is green. Do not claim macOS CI passed.
|
|
82
|
+
8. On npm, as user `shahvatsal`, add a trusted publisher for `shahvatsalofficial/pramanasutra-ai` workflow file `publish.yml`. Do this once.
|
|
83
|
+
9. `gh release create vX.Y.Z` with the changelog as notes. That event runs `publish.yml`.
|
|
84
|
+
|
|
85
|
+
npm name is the unscoped package `pramanasutra`. `@shahvatsal/pramanasutra@0.3.1` was published and then deleted so the install name would not show that scope. `@vatsalshah/pramanasutra` still returns 404. Local `npm publish` asks for 2FA. `publish.yml` runs only when a GitHub Release is published, uses `id-token: write`, and does not store an npm token. Connect that workflow on npm for the package `pramanasutra` before the first release, or the job fails authentication. `ci.yml` must not publish.
|
|
86
|
+
|
|
87
|
+
## What this project will not automate
|
|
88
|
+
|
|
89
|
+
Deploy and tag signing are not implemented. `publish.yml` passes `--provenance` so npm can attach its own provenance attestation to the tarball. That is not a deploy, and it is not a separate SLSA workflow in this repository. Do not add a badge that implies either.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Roadmap and status
|
|
2
|
+
|
|
3
|
+
<!-- summary: Honest status of PramanaSutra AI 0.3.2. Implemented, planned, and explicitly not claimed. -->
|
|
4
|
+
|
|
5
|
+
Status words mean only what they say. **Implemented** has a command or file and a test or a committed artifact. **Planned** is a directory, a sentence, or an intention. It does not run. **Not claimed** is something people might assume that this project refuses.
|
|
6
|
+
|
|
7
|
+
## Implemented in 0.3.2
|
|
8
|
+
|
|
9
|
+
| Capability | Evidence |
|
|
10
|
+
|---|---|
|
|
11
|
+
| CLI: version, doctor, agents, scan, release-check, verify, init | `packages/cli`, `npm test` |
|
|
12
|
+
| Offline static rules in the [catalog](07-rule-catalog.md) | Unit tests and six fixtures |
|
|
13
|
+
| Evidence ingestion and fail-closed policy | Unit tests, `policies/` |
|
|
14
|
+
| `report.md`, `report.html`, `report.json` written together | Unit tests, `samples/`, `audit/` |
|
|
15
|
+
| Evidence counts shown in the Markdown and HTML | Unit test `release report quotes supplied evidence` |
|
|
16
|
+
| `.pramanasutraignore` | Unit test, this repo's ignore file |
|
|
17
|
+
| Skill pack, 17 files, installer for six host paths | `agents list` test, installer tests |
|
|
18
|
+
| Required CI on Ubuntu and Windows, Node 20 and 22, with a real release gate | `.github/workflows/ci.yml` |
|
|
19
|
+
| macOS in GitHub Actions | Not scheduled. Runs 41884015367 and 42098256304 cancelled with zero steps |
|
|
20
|
+
| CodeQL workflow | `.github/workflows/codeql.yml` |
|
|
21
|
+
| This documentation set, Markdown and HTML | `documents/pramanasutra/` |
|
|
22
|
+
| Public GitHub repository | `https://github.com/shahvatsalofficial/pramanasutra-ai` |
|
|
23
|
+
| npm publish workflow | `.github/workflows/publish.yml`. Runs on a GitHub Release. Needs an npm trusted publisher. No public tarball yet |
|
|
24
|
+
|
|
25
|
+
## Planned
|
|
26
|
+
|
|
27
|
+
These README-level packages exist as notes only. The CLI does not import them.
|
|
28
|
+
|
|
29
|
+
| Item | Not yet |
|
|
30
|
+
|---|---|
|
|
31
|
+
| Executing the target's tests | Would run arbitrary code. Needs an explicit, separate, opt-in design |
|
|
32
|
+
| Browser and device checks | No driver is bundled |
|
|
33
|
+
| Accessibility measurement | The access skill plans. It does not score |
|
|
34
|
+
| Performance measurement | The load skill plans. It does not generate load |
|
|
35
|
+
| Coverage, flake detection from history, mutation testing | No storage, no history |
|
|
36
|
+
| SBOM and SLSA provenance | No release attestation workflow |
|
|
37
|
+
| A long-running server or a local model adapter | `packages/server` is a note |
|
|
38
|
+
| Live smoke test in each IDE | Install paths only |
|
|
39
|
+
|
|
40
|
+
## Not claimed
|
|
41
|
+
|
|
42
|
+
| Claim | Why it is absent |
|
|
43
|
+
|---|---|
|
|
44
|
+
| Certification or compliance | Reports say they are decision support |
|
|
45
|
+
| Independent security review | None has been commissioned |
|
|
46
|
+
| Trademark clearance | [Legal](10-legal-and-compliance.md) |
|
|
47
|
+
| Field precision equal to the fixture score | The fixture score is a regression lock |
|
|
48
|
+
| macOS CI passed | Those jobs never started a runner |
|
|
49
|
+
| npm package `@vatsalshah/pramanasutra` | Registry returned 404. The account is `shahvatsal` |
|
|
50
|
+
| The assistant always obeys the skill | The host is outside this process |
|
|
51
|
+
|
|
52
|
+
## Near-term work, in order
|
|
53
|
+
|
|
54
|
+
1. Keep the required CI green on Ubuntu and Windows. Add macOS back only when a runner actually starts and the log shows test output.
|
|
55
|
+
2. On npm, connect trusted publisher `shahvatsalofficial/pramanasutra-ai` workflow `publish.yml`. Then `gh release create v0.3.2`. Confirm `npm view pramanasutra version` prints `0.3.2`. Do not publish `@vatsalshah/pramanasutra`.
|
|
56
|
+
3. One live smoke note per IDE: did `init` land where the host reads, and did a trivial prompt cite a file. Until that note exists, the compatibility table stays "not verified".
|
|
57
|
+
4. A rule only with a true-positive fixture and a false-positive fixture. No drive-by patterns.
|
|
58
|
+
|
|
59
|
+
## Compatibility summary
|
|
60
|
+
|
|
61
|
+
| Environment | Status |
|
|
62
|
+
|---|---|
|
|
63
|
+
| Node 20 and 22 on Ubuntu and Windows in CI | Required workflow. Trust the latest green run, not this sentence |
|
|
64
|
+
| Node on the maintainer's Windows machine | The captured proof file |
|
|
65
|
+
| macOS in CI | Not scheduled. Unverified |
|
|
66
|
+
| Claude Code, Cursor, Codex, Copilot, Gemini CLI | Copy paths implemented. Behavior not verified |
|
|
67
|
+
|
|
68
|
+
Older handbook pages under `docs/handbook/*.md` are earlier write-ups. The numbered files in this folder are the ones to update.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# FAQ and glossary
|
|
2
|
+
|
|
3
|
+
<!-- summary: Short answers about PramanaSutra AI and the terms used in its reports. -->
|
|
4
|
+
|
|
5
|
+
## Questions
|
|
6
|
+
|
|
7
|
+
### Is this a test framework?
|
|
8
|
+
|
|
9
|
+
No. It reviews test hygiene and release evidence. Keep Jest, pytest, JUnit, Go test, Playwright or whatever you already run. PramanaSutra reads the result only when you pass an evidence file.
|
|
10
|
+
|
|
11
|
+
### Does the scan send my code anywhere?
|
|
12
|
+
|
|
13
|
+
No. The scan, the gate, the report writer and the skill installer do not open network connections. `npx` downloads the tool before it runs; that download is npm. After the process starts, the audit stays local.
|
|
14
|
+
|
|
15
|
+
### Why is the gate REVIEW_REQUIRED when I can see tests?
|
|
16
|
+
|
|
17
|
+
Because nobody passed `--evidence`, or the evidence is unverified, or it records zero passes, or the scan was partial, or CI or a license file is missing under the policy. A clean reading of the files is not a test run. That split is the point of the tool.
|
|
18
|
+
|
|
19
|
+
### Why did a clean scan still not say ready?
|
|
20
|
+
|
|
21
|
+
`READY_FOR_HUMAN_APPROVAL` requires passing `local-executed` or `ci-ingested` evidence and the policy's static checks. No evidence file means not ready. See the clean-project sample, which includes an evidence file, versus any scan without one.
|
|
22
|
+
|
|
23
|
+
### Can I turn off the human?
|
|
24
|
+
|
|
25
|
+
No. `automatedDeploymentAuthorized` is always false, and the policy loader rejects an attempt to set it true. The ready state means "a person may now look", not "ship it".
|
|
26
|
+
|
|
27
|
+
### The HTML and the Markdown disagree. Which is wrong?
|
|
28
|
+
|
|
29
|
+
They are written from the same object in one function. If they disagree, it is a bug. Open `report.json` for the object. Please report it.
|
|
30
|
+
|
|
31
|
+
### It flagged test.only inside a string.
|
|
32
|
+
|
|
33
|
+
The pattern matches a line that starts with the declaration, after whitespace. A string later on the line does not match. A line whose first code is `test.only(` does match, even if a human considers it data. Move the sample off the start of the line, or exclude the path in `.pramanasutraignore` if it is a fixture tree. Do not ignore your real tests to silence a true positive.
|
|
34
|
+
|
|
35
|
+
### It did not see my tests.
|
|
36
|
+
|
|
37
|
+
The naming rules are in the [technical reference](04-technical-reference.md). A custom folder that matches none of them produces `NO_TESTS`. That finding means "not recognised", not "proven absent".
|
|
38
|
+
|
|
39
|
+
### Does a green CI file mean the tests ran?
|
|
40
|
+
|
|
41
|
+
No. `NO_CI` checks that a known file exists. It does not read the workflow steps.
|
|
42
|
+
|
|
43
|
+
### Is the skill going to edit my repository?
|
|
44
|
+
|
|
45
|
+
Only if you ask the assistant to and the host allows it. The skill text says to ask before running tests or changing files. The CLI `scan` and `release-check` do not edit the target. `init` writes only the skill directories you named.
|
|
46
|
+
|
|
47
|
+
### Which IDE was tested?
|
|
48
|
+
|
|
49
|
+
None end to end. The installer copies into documented paths. [Roadmap and status](13-roadmap-and-status.md) keeps the "verified live" column on No until there is a note.
|
|
50
|
+
|
|
51
|
+
### Is the name trademarked?
|
|
52
|
+
|
|
53
|
+
Not as far as this project claims, and no clearance search has been completed. Details: [Legal](10-legal-and-compliance.md).
|
|
54
|
+
|
|
55
|
+
### Where is the audit of PramanaSutra itself?
|
|
56
|
+
|
|
57
|
+
[audit/report.md](audit/report.md) and [audit/report.html](audit/report.html).
|
|
58
|
+
|
|
59
|
+
### How do I cite it?
|
|
60
|
+
|
|
61
|
+
[CITATION.cff](../../CITATION.cff) at the repository root.
|
|
62
|
+
|
|
63
|
+
## Glossary
|
|
64
|
+
|
|
65
|
+
| Term | Meaning |
|
|
66
|
+
|---|---|
|
|
67
|
+
| Agent Skill | A `SKILL.md` file an IDE may load as instructions. Not a running process |
|
|
68
|
+
| Prime | `pramanasutra-prime`, the coordinating skill |
|
|
69
|
+
| Static finding | A rule matched source text. Status `observed` |
|
|
70
|
+
| Evidence | A JSON file describing a test command someone already ran |
|
|
71
|
+
| Evidence state | `absent`, `failing`, `inconclusive`, `unverified`, or `passing` |
|
|
72
|
+
| Gate | The release decision derived from findings, evidence and policy |
|
|
73
|
+
| NO_GO | Do not release on this output. Exit 2 |
|
|
74
|
+
| REVIEW_REQUIRED | A person must look, or inputs are missing. Exit 3 |
|
|
75
|
+
| READY_FOR_HUMAN_APPROVAL | Policy checks passed. A person still approves. Exit 0 |
|
|
76
|
+
| Partial scan | The walk hit a limit or could not read something. Cannot be ready |
|
|
77
|
+
| Policy | JSON that turns optional strictness on or off, and cannot enable auto-deploy |
|
|
78
|
+
| Capability | A named activity and whether this run executed it, skipped it, or cannot do it |
|
|
79
|
+
| Ignore file | `.pramanasutraignore`, prefixes excluded from the walk, disclosed in limitations |
|
|
80
|
+
| Focused test | A declaration that runs a subset (`.only`, `fit`, `fdescribe`) |
|
|
81
|
+
| Base name | The last segment of the scanned directory. The report does not store the full path |
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Maintainer guide
|
|
2
|
+
|
|
3
|
+
<!-- summary: How to change a rule, refresh proof and HTML docs, and cut a PramanaSutra AI release without claiming results you did not run. -->
|
|
4
|
+
|
|
5
|
+
## Layout a maintainer actually edits
|
|
6
|
+
|
|
7
|
+
| Path | Edit when |
|
|
8
|
+
|---|---|
|
|
9
|
+
| `packages/cli/lib/scanner.mjs` | Rules, walk limits, gate logic, ignore file |
|
|
10
|
+
| `packages/cli/lib/evidence.mjs` | Evidence schema |
|
|
11
|
+
| `packages/cli/lib/policy.mjs` | Policy keys |
|
|
12
|
+
| `packages/cli/lib/report.mjs` | Wording or layout of `report.md` and `report.html` |
|
|
13
|
+
| `packages/cli/bin/pramanasutra.mjs` | Flags and exit codes |
|
|
14
|
+
| `packages/cli/lib/installer.mjs` | IDE paths |
|
|
15
|
+
| `.agents/skills/` | Skill text. This is the canonical copy |
|
|
16
|
+
| `tests/cli.test.mjs` | Every behavior change |
|
|
17
|
+
| `fixtures/` | A labeled tree for a rule. Excluded from the product gate by `.pramanasutraignore` |
|
|
18
|
+
| `documents/pramanasutra/*.md` | These pages. Then rebuild HTML |
|
|
19
|
+
| `scripts/generate-proof.mjs` | How samples and the self-audit are produced |
|
|
20
|
+
| `scripts/ci-gate.mjs` | How CI turns a test run into evidence |
|
|
21
|
+
| `scripts/build-docs.mjs` | HTML chrome. The words live in the Markdown |
|
|
22
|
+
|
|
23
|
+
`packages/*` other than `cli` are notes. Do not import them from the CLI until they have tests and a status-page change from planned to implemented.
|
|
24
|
+
|
|
25
|
+
## Change a rule
|
|
26
|
+
|
|
27
|
+
1. Write the smallest fixture that should match, and one that should not.
|
|
28
|
+
2. Add or extend a test in `tests/cli.test.mjs` before you celebrate the regex.
|
|
29
|
+
3. Change `scanner.mjs`.
|
|
30
|
+
4. Add the rule to [the catalog](07-rule-catalog.md) in the same change, including what it misses.
|
|
31
|
+
5. Run `node --test tests/cli.test.mjs`.
|
|
32
|
+
6. Run `node scripts/generate-proof.mjs` so samples and `eval-results.json` match.
|
|
33
|
+
7. If the self-audit gate changes, read why before you commit it. A new `NO_GO` on the product itself means the rule hit the product, not only the fixture. Fixtures are ignored. Product tests are not.
|
|
34
|
+
|
|
35
|
+
Do not weaken a test to match a sloppy pattern. Do not special-case this repository inside the scanner. Use `.pramanasutraignore` for example trees, and keep the limitation text.
|
|
36
|
+
|
|
37
|
+
## Change the report
|
|
38
|
+
|
|
39
|
+
`markdown()` and `html()` must show the same decision, the same location, and the same fix. The tests look for `NO_GO`, a `path:line`, and the remediation sentence. Escaping is not optional: a new interpolated field goes through `escMd` or `escapeHtml`. Add a hostile string to the escape test when you add a field.
|
|
40
|
+
|
|
41
|
+
Keep the report free of remote URLs for CSS, fonts and scripts. It is opened from disk and it is quoted as local.
|
|
42
|
+
|
|
43
|
+
## Change the docs
|
|
44
|
+
|
|
45
|
+
Edit the numbered Markdown. Do not hand-edit `documents/pramanasutra/html` or the mirrored files under `docs/`. Those are generated.
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
node scripts/build-docs.mjs
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
The script also writes redirects from the old `docs/handbook/*.html` names. If you rename a page, update the `moved` map in the script or the old URL 404s on Pages.
|
|
52
|
+
|
|
53
|
+
Pages must stay readable without JavaScript: the article HTML is server-side (here, build-time). JavaScript only adds search, theme and copy buttons.
|
|
54
|
+
|
|
55
|
+
## Checks before a commit that claims a fix
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
node --test tests/cli.test.mjs
|
|
59
|
+
node scripts/ci-gate.mjs
|
|
60
|
+
node scripts/generate-proof.mjs
|
|
61
|
+
node scripts/build-docs.mjs
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
`ci-gate` runs the tests again. That is deliberate. It is the path CI uses.
|
|
65
|
+
|
|
66
|
+
## Release
|
|
67
|
+
|
|
68
|
+
Follow [CI and release](12-ci-and-release.md). Version strings that must move together: `package.json`, `CHANGELOG.md`, `CITATION.cff`. The CLI reads the version from `package.json` at runtime, so the help text does not have its own copy. The docs site prints `package.json` too.
|
|
69
|
+
|
|
70
|
+
Do not commit `reports/` or `pramanasutra-reports/`. They are gitignored local output. Do commit `documents/pramanasutra/audit` and `samples`, because those are the public proof.
|
|
71
|
+
|
|
72
|
+
## Reviewing someone else's change
|
|
73
|
+
|
|
74
|
+
- A new ready-path without a test is a defect.
|
|
75
|
+
- A claim of IDE support, certification, or trademark clearance in a doc page is a defect unless the artifact exists.
|
|
76
|
+
- A dependency added "to make the HTML nicer" needs a third-party notice and a reason that beats the zero-dependency promise. System fonts and inline CSS are the current answer.
|
|
77
|
+
- Generated HTML that does not match the Markdown means the generator was not run. Ask for the rebuild. Do not patch the HTML by hand.
|
|
78
|
+
|
|
79
|
+
## Secrets
|
|
80
|
+
|
|
81
|
+
Do not commit `.env`, tokens, or a real customer tree as a fixture. The unsafe-names fixture uses punctuation in a file name on purpose. It is not a credential.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# PramanaSutra AI documents
|
|
2
|
+
|
|
3
|
+
This folder is the canonical documentation pack for the repository.
|
|
4
|
+
|
|
5
|
+
- Markdown sources: the numbered files in this directory. Read [Start here](00-start-here.md).
|
|
6
|
+
- HTML, same content, for a browser: [html/index.html](html/index.html).
|
|
7
|
+
- Audit of this repository, Markdown and HTML: [audit/report.md](audit/report.md) and [audit/report.html](audit/report.html).
|
|
8
|
+
- Sample audits: [samples](samples).
|
|
9
|
+
- Captured test output: [proof/test-results.txt](proof/test-results.txt).
|
|
10
|
+
|
|
11
|
+
The public site [shahvatsalofficial.github.io/pramanasutra-ai](https://shahvatsalofficial.github.io/pramanasutra-ai/) is a copy of `html/`, published from `docs/` by GitHub Pages. Regenerate both with `node scripts/build-docs.mjs` after editing the Markdown.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="color-scheme" content="light dark"><meta name="description" content="PramanaSutra AI QA and release audit report. Decision support, not a certification."><title>PramanaSutra AI QA & Release Audit Report</title><style>:root{--bg:#f4f1ea;--card:#fffcf7;--ink:#1c1915;--mut:#5c564c;--line:#e4ddd0;--ac:#0f3d3e;--ok:#166534;--warn:#92400e;--bad:#991b1b}
|
|
2
|
+
@media(prefers-color-scheme:dark){:root{--bg:#121410;--card:#1c1f1a;--ink:#f3efe6;--mut:#c4bbaa;--line:#34382f;--ac:#8ec9c4;--ok:#86efac;--warn:#fbbf24;--bad:#fca5a5}}
|
|
3
|
+
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
|
|
4
|
+
main{max-width:980px;margin:0 auto;padding:1.5rem 1rem 4rem}h1{font-size:clamp(1.6rem,3vw,2.1rem);line-height:1.2;margin:.2rem 0 .4rem}h2{margin-top:2.2rem;font-size:1.25rem}
|
|
5
|
+
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.25rem;margin:1rem 0}
|
|
6
|
+
.banner{border-left:6px solid var(--ac)}.NO_GO{border-color:var(--bad)}.REVIEW_REQUIRED{border-color:var(--warn)}.READY_FOR_HUMAN_APPROVAL{border-color:var(--ok)}
|
|
7
|
+
.pill{display:inline-block;padding:.12rem .7rem;border-radius:999px;font-weight:700;font-size:.85rem;border:1px solid currentColor}
|
|
8
|
+
.pill.NO_GO,.pill.critical,.pill.high{color:var(--bad)}.pill.REVIEW_REQUIRED,.pill.medium{color:var(--warn)}.pill.READY_FOR_HUMAN_APPROVAL{color:var(--ok)}.pill.low,.pill.info{color:var(--mut)}
|
|
9
|
+
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem}.stat b{display:block;font-size:1.6rem;line-height:1.2}.stat span{color:var(--mut);font-size:.88rem}
|
|
10
|
+
table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:.5rem .55rem;border-bottom:1px solid var(--line);vertical-align:top}th{color:var(--mut);font-size:.8rem;letter-spacing:.03em}
|
|
11
|
+
code{font-family:ui-monospace,Consolas,monospace;background:var(--bg);padding:.05rem .35rem;border-radius:5px;overflow-wrap:anywhere}
|
|
12
|
+
.muted{color:var(--mut)}footer{margin-top:2.5rem;color:var(--mut);font-size:.9rem}a{color:var(--ac)}:focus-visible{outline:3px solid var(--ac);outline-offset:2px}
|
|
13
|
+
.skip{position:absolute;left:-999px;top:.4rem;background:var(--ac);color:#fff;padding:.4rem .7rem;z-index:2}.skip:focus{left:.4rem}
|
|
14
|
+
@media(prefers-color-scheme:dark){.skip{color:#10201f}}
|
|
15
|
+
@media print{body{background:#fff;color:#000}.card{break-inside:avoid}.skip{display:none}}
|
|
16
|
+
@media(max-width:640px){body{font-size:16px}}</style></head><body><a class="skip" href="#content">Skip to content</a><main id="content">
|
|
17
|
+
<p class="muted">PramanaSutra AI · QA & Release Audit · Markdown, HTML and JSON are the same audit</p><h1>PramanaSutra-AI</h1><p class="muted">Generated 2026-11-06T00:00:00.000Z · schema 1.0.0 · tool 0.3.0</p>
|
|
18
|
+
<section class="card banner READY_FOR_HUMAN_APPROVAL" role="status"><p class="muted" style="margin:0">Release decision</p><p style="margin:.35rem 0"><span class="pill READY_FOR_HUMAN_APPROVAL">READY_FOR_HUMAN_APPROVAL</span></p><p style="margin:.4rem 0 0">All policy checks passed. A human must still approve; this is never a deploy order.</p><p class="muted" style="margin:.35rem 0 0">Policy: recommended · Supplied test evidence: passing</p></section>
|
|
19
|
+
<section class="grid" aria-label="Summary"><div class="stat card"><b>292</b><span>files inspected</span></div><div class="stat card"><b>1</b><span>test files</span></div><div class="stat card"><b>2</b><span>CI workflows</span></div><div class="stat card"><b>0</b><span>findings</span></div><div class="stat card"><b>0</b><span>critical + high</span></div></section>
|
|
20
|
+
<p class="card"><strong>Tests executed by PramanaSutra: NO (static scan only). Executed-test results count only when supplied as evidence.</strong></p>
|
|
21
|
+
<h2>Supplied test evidence</h2><div class="card"><p>These numbers come from the evidence file the operator supplied. PramanaSutra did not run that command.</p><table><tbody>
|
|
22
|
+
<tr><th scope="row">Source</th><td><code>local-executed</code></td></tr>
|
|
23
|
+
<tr><th scope="row">Command</th><td><code>node --test --test-reporter=spec tests/cli.test.mjs</code></td></tr>
|
|
24
|
+
<tr><th scope="row">Executed at</th><td>2026-11-06T00:00:00.000Z</td></tr>
|
|
25
|
+
<tr><th scope="row">Exit code</th><td>0</td></tr>
|
|
26
|
+
<tr><th scope="row">Passed</th><td>37</td></tr>
|
|
27
|
+
<tr><th scope="row">Failed</th><td>0</td></tr>
|
|
28
|
+
<tr><th scope="row">Skipped</th><td>1</td></tr>
|
|
29
|
+
<tr><th scope="row">Environment</th><td>win32 v24.15.0</td></tr>
|
|
30
|
+
|
|
31
|
+
</tbody></table></div>
|
|
32
|
+
<h2>Findings at a glance</h2><p class="card">No static issues detected. This does <strong>not</strong> mean the project is release-ready; other checks were not run.</p>
|
|
33
|
+
<h2>Findings</h2><p class="card">None.</p>
|
|
34
|
+
<h2>Test files seen</h2><div class="card"><ul><li><code>tests/cli.test.mjs</code></li></ul></div>
|
|
35
|
+
<h2>CI workflows seen</h2><div class="card"><ul><li><code>.github/workflows/ci.yml</code></li><li><code>.github/workflows/codeql.yml</code></li></ul></div>
|
|
36
|
+
<h2>Release gate reasons</h2><div class="card"><ul><li>All policy checks satisfied by supplied evidence and static inspection. A human must still approve and deploy.</li></ul></div>
|
|
37
|
+
<h2>Capabilities</h2><div class="card" style="overflow-x:auto"><table><thead><tr><th>Capability</th><th>State</th><th>What that means</th></tr></thead><tbody><tr><th scope="row">staticAudit</th><td><code>executed</code></td><td>Source text was inspected with heuristic rules.</td></tr><tr><th scope="row">testExecution</th><td><code>evidence-supplied</code></td><td>not-run means this tool did not execute tests. evidence-supplied means an evidence file was attached.</td></tr><tr><th scope="row">browser</th><td><code>not-supported</code></td><td>No browser was launched.</td></tr><tr><th scope="row">securityScan</th><td><code>not-run</code></td><td>This is not a vulnerability scanner.</td></tr><tr><th scope="row">performanceTest</th><td><code>not-run</code></td><td>No load or timing test was run.</td></tr><tr><th scope="row">aiInference</th><td><code>not-run</code></td><td>The CLI did not call a model.</td></tr></tbody></table></div>
|
|
38
|
+
<h2>Limitations</h2><div class="card"><ul><li>Excluded 2 path(s) listed in .pramanasutraignore. Excluded content was not inspected.</li><li>Heuristic checks do not prove the absence of bugs or release readiness.</li><li>No target tests, security scanners, browser, load tests or deploy checks were run by this tool.</li><li>This report is decision support, not a compliance certification or legal advice.</li></ul></div>
|
|
39
|
+
<footer>Created by Vatsal Shah. Generated locally; nothing was sent over the network. Not a compliance certification, a security test, or a release authorization. Open <code>report.md</code> for the same audit in Markdown.</footer></main></body></html>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"product": "PramanaSutra AI",
|
|
4
|
+
"toolVersion": "0.3.0",
|
|
5
|
+
"generatedAt": "2026-11-06T00:00:00.000Z",
|
|
6
|
+
"scannedPath": "PramanaSutra-AI",
|
|
7
|
+
"capabilities": {
|
|
8
|
+
"staticAudit": "executed",
|
|
9
|
+
"testExecution": "evidence-supplied",
|
|
10
|
+
"browser": "not-supported",
|
|
11
|
+
"securityScan": "not-run",
|
|
12
|
+
"performanceTest": "not-run",
|
|
13
|
+
"aiInference": "not-run"
|
|
14
|
+
},
|
|
15
|
+
"inventory": {
|
|
16
|
+
"fileCount": 292,
|
|
17
|
+
"testFiles": [
|
|
18
|
+
"tests/cli.test.mjs"
|
|
19
|
+
],
|
|
20
|
+
"manifests": [
|
|
21
|
+
"package.json"
|
|
22
|
+
],
|
|
23
|
+
"ciWorkflows": [
|
|
24
|
+
".github/workflows/ci.yml",
|
|
25
|
+
".github/workflows/codeql.yml"
|
|
26
|
+
],
|
|
27
|
+
"skippedSymlinks": 0,
|
|
28
|
+
"oversizedFiles": 0,
|
|
29
|
+
"binaryFiles": 0,
|
|
30
|
+
"ignoredPaths": 2,
|
|
31
|
+
"partial": false
|
|
32
|
+
},
|
|
33
|
+
"findings": [],
|
|
34
|
+
"limitations": [
|
|
35
|
+
"Excluded 2 path(s) listed in .pramanasutraignore. Excluded content was not inspected."
|
|
36
|
+
],
|
|
37
|
+
"releaseGate": {
|
|
38
|
+
"decision": "READY_FOR_HUMAN_APPROVAL",
|
|
39
|
+
"policy": "recommended",
|
|
40
|
+
"reasons": [
|
|
41
|
+
"All policy checks satisfied by supplied evidence and static inspection. A human must still approve and deploy."
|
|
42
|
+
],
|
|
43
|
+
"requiresHumanApproval": true,
|
|
44
|
+
"executedTestEvidence": true,
|
|
45
|
+
"evidenceState": "passing",
|
|
46
|
+
"automatedDeploymentAuthorized": false
|
|
47
|
+
},
|
|
48
|
+
"evidence": {
|
|
49
|
+
"schemaVersion": "1.0.0",
|
|
50
|
+
"source": "local-executed",
|
|
51
|
+
"command": "node --test --test-reporter=spec tests/cli.test.mjs",
|
|
52
|
+
"executedAt": "2026-11-06T00:00:00.000Z",
|
|
53
|
+
"exitCode": 0,
|
|
54
|
+
"passed": 37,
|
|
55
|
+
"failed": 0,
|
|
56
|
+
"skipped": 1,
|
|
57
|
+
"environment": "win32 v24.15.0"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# PramanaSutra AI: QA & Release Audit Report
|
|
2
|
+
|
|
3
|
+
This audit is three files with the same facts: **report.md** (this file), **report.html** (open in a browser) and **report.json** (for CI). A static finding is text the scanner saw. It is not a test PramanaSutra ran.
|
|
4
|
+
|
|
5
|
+
| | |
|
|
6
|
+
|---|---|
|
|
7
|
+
| Project | `PramanaSutra-AI` |
|
|
8
|
+
| Generated | 2026-11-06T00:00:00.000Z |
|
|
9
|
+
| Tool | PramanaSutra AI 0.3.0 (schema 1.0.0) |
|
|
10
|
+
| **Release decision** | **READY_FOR_HUMAN_APPROVAL** |
|
|
11
|
+
| Policy | recommended |
|
|
12
|
+
| Supplied test evidence | passing |
|
|
13
|
+
|
|
14
|
+
> **READY_FOR_HUMAN_APPROVAL.** All policy checks passed. A human must still approve; this is never a deploy order.
|
|
15
|
+
|
|
16
|
+
## Summary
|
|
17
|
+
|
|
18
|
+
- Files inspected: 292
|
|
19
|
+
- Test files detected: 1
|
|
20
|
+
- CI workflows detected: 2
|
|
21
|
+
- Manifests detected: 1
|
|
22
|
+
- Findings: 0 (critical 0, high 0, medium 0, low 0, info 0)
|
|
23
|
+
- Tests executed by PramanaSutra: NO (static scan only). Executed-test results count only when supplied as evidence.
|
|
24
|
+
|
|
25
|
+
## Supplied test evidence
|
|
26
|
+
|
|
27
|
+
These numbers come from the evidence file the operator supplied. PramanaSutra did not run that command.
|
|
28
|
+
|
|
29
|
+
| Field | Value |
|
|
30
|
+
|---|---|
|
|
31
|
+
| Source | `local-executed` |
|
|
32
|
+
| Command | `node --test --test-reporter=spec tests/cli.test.mjs` |
|
|
33
|
+
| Executed at | 2026-11-06T00:00:00.000Z |
|
|
34
|
+
| Exit code | 0 |
|
|
35
|
+
| Passed | 37 |
|
|
36
|
+
| Failed | 0 |
|
|
37
|
+
| Skipped | 1 |
|
|
38
|
+
| Environment | win32 v24.15.0 |
|
|
39
|
+
|
|
40
|
+
## Findings at a glance
|
|
41
|
+
|
|
42
|
+
No static issues detected. This does **not** mean the project is release-ready; other checks were not run.
|
|
43
|
+
|
|
44
|
+
## Findings
|
|
45
|
+
|
|
46
|
+
None.
|
|
47
|
+
|
|
48
|
+
## Test files seen
|
|
49
|
+
|
|
50
|
+
- `tests/cli.test.mjs`
|
|
51
|
+
|
|
52
|
+
## CI workflows seen
|
|
53
|
+
|
|
54
|
+
- `.github/workflows/ci.yml`
|
|
55
|
+
- `.github/workflows/codeql.yml`
|
|
56
|
+
|
|
57
|
+
## Capabilities
|
|
58
|
+
|
|
59
|
+
| Capability | State | What that means |
|
|
60
|
+
|---|---|---|
|
|
61
|
+
| staticAudit | executed | Source text was inspected with heuristic rules. |
|
|
62
|
+
| testExecution | evidence-supplied | not-run means this tool did not execute tests. evidence-supplied means an evidence file was attached. |
|
|
63
|
+
| browser | not-supported | No browser was launched. |
|
|
64
|
+
| securityScan | not-run | This is not a vulnerability scanner. |
|
|
65
|
+
| performanceTest | not-run | No load or timing test was run. |
|
|
66
|
+
| aiInference | not-run | The CLI did not call a model. |
|
|
67
|
+
|
|
68
|
+
## Release gate reasons
|
|
69
|
+
|
|
70
|
+
- All policy checks satisfied by supplied evidence and static inspection. A human must still approve and deploy.
|
|
71
|
+
|
|
72
|
+
## Limitations
|
|
73
|
+
|
|
74
|
+
- Excluded 2 path(s) listed in .pramanasutraignore. Excluded content was not inspected.
|
|
75
|
+
- Heuristic checks do not prove the absence of bugs or release readiness.
|
|
76
|
+
- No target tests, security scanners, browser, load tests or deploy checks were run by this tool.
|
|
77
|
+
- This report is decision support, not a compliance certification or legal advice.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
*Created by Vatsal Shah. Generated locally; nothing was sent over the network. Same audit: report.html and report.json.*
|