pramanasutra 0.3.2 → 0.3.5
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 +5 -18
- package/.agents/skills/pramanasutra-api/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-data/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-defect/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-evidence/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-flake/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-flow/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-load/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-pipeline/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-prime/SKILL.md +6 -22
- package/.agents/skills/pramanasutra-regression/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-release/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-secure/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-strategy/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-unit/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-verify/SKILL.md +5 -18
- package/.agents/skills/pramanasutra-visual/SKILL.md +5 -18
- package/CHANGELOG.md +93 -56
- package/README.md +64 -61
- package/docs/00-start-here.html +156 -144
- package/docs/01-executive-summary.html +149 -136
- package/docs/02-functional-specification.html +152 -139
- package/docs/03-architecture.html +148 -135
- package/docs/04-technical-reference.html +151 -138
- package/docs/05-user-guide.html +152 -138
- package/docs/06-cli-and-reports.html +153 -140
- package/docs/07-rule-catalog.html +150 -137
- package/docs/08-skills-and-agents.html +149 -136
- package/docs/09-security-and-privacy.html +147 -134
- package/docs/10-legal-and-compliance.html +148 -135
- package/docs/11-testing-and-proof.html +151 -138
- package/docs/12-ci-and-release.html +149 -136
- package/docs/13-roadmap-and-status.html +155 -142
- package/docs/14-faq-and-glossary.html +147 -134
- package/docs/15-maintainer-guide.html +147 -134
- package/docs/audit/report.html +9 -7
- package/docs/audit/report.json +7 -5
- package/docs/audit/report.md +10 -7
- package/docs/audit/report.sarif.json +16 -0
- package/docs/handbook/05-user-guide.md +2 -1
- package/docs/handbook/06-cli-reference.md +1 -1
- package/docs/index.html +189 -171
- package/docs/proof/test-results.txt +47 -42
- package/docs/samples/clean-project/report.html +4 -3
- package/docs/samples/clean-project/report.json +2 -1
- package/docs/samples/clean-project/report.md +5 -3
- package/docs/samples/clean-project/report.sarif.json +16 -0
- package/docs/samples/focused-test/report.html +4 -3
- package/docs/samples/focused-test/report.json +2 -1
- package/docs/samples/focused-test/report.md +5 -3
- package/docs/samples/focused-test/report.sarif.json +43 -0
- package/docs/samples/missing-ci/report.html +5 -4
- package/docs/samples/missing-ci/report.json +2 -1
- package/docs/samples/missing-ci/report.md +6 -4
- package/docs/samples/missing-ci/report.sarif.json +40 -0
- package/docs/samples/missing-tests/report.html +4 -3
- package/docs/samples/missing-tests/report.json +2 -1
- package/docs/samples/missing-tests/report.md +5 -3
- package/docs/samples/missing-tests/report.sarif.json +40 -0
- package/docs/samples/multi-language/report.html +5 -4
- package/docs/samples/multi-language/report.json +2 -1
- package/docs/samples/multi-language/report.md +6 -4
- package/docs/samples/multi-language/report.sarif.json +125 -0
- package/docs/samples/unsafe-names/report.html +4 -3
- package/docs/samples/unsafe-names/report.json +2 -1
- package/docs/samples/unsafe-names/report.md +5 -3
- package/docs/samples/unsafe-names/report.sarif.json +43 -0
- package/docs/status.md +5 -3
- package/documents/pramanasutra/00-start-here.md +7 -10
- package/documents/pramanasutra/01-executive-summary.md +3 -3
- package/documents/pramanasutra/02-functional-specification.md +4 -4
- package/documents/pramanasutra/03-architecture.md +1 -1
- package/documents/pramanasutra/04-technical-reference.md +8 -6
- package/documents/pramanasutra/05-user-guide.md +8 -5
- package/documents/pramanasutra/06-cli-and-reports.md +6 -6
- package/documents/pramanasutra/07-rule-catalog.md +3 -3
- package/documents/pramanasutra/08-skills-and-agents.md +2 -2
- package/documents/pramanasutra/10-legal-and-compliance.md +1 -1
- package/documents/pramanasutra/11-testing-and-proof.md +6 -6
- package/documents/pramanasutra/12-ci-and-release.md +2 -2
- package/documents/pramanasutra/13-roadmap-and-status.md +16 -11
- package/documents/pramanasutra/README.md +11 -11
- package/documents/pramanasutra/audit/report.html +9 -7
- package/documents/pramanasutra/audit/report.json +7 -5
- package/documents/pramanasutra/audit/report.md +10 -7
- package/documents/pramanasutra/audit/report.sarif.json +16 -0
- package/documents/pramanasutra/html/00-start-here.html +156 -144
- package/documents/pramanasutra/html/01-executive-summary.html +149 -136
- package/documents/pramanasutra/html/02-functional-specification.html +152 -139
- package/documents/pramanasutra/html/03-architecture.html +148 -135
- package/documents/pramanasutra/html/04-technical-reference.html +151 -138
- package/documents/pramanasutra/html/05-user-guide.html +152 -138
- package/documents/pramanasutra/html/06-cli-and-reports.html +153 -140
- package/documents/pramanasutra/html/07-rule-catalog.html +150 -137
- package/documents/pramanasutra/html/08-skills-and-agents.html +149 -136
- package/documents/pramanasutra/html/09-security-and-privacy.html +147 -134
- package/documents/pramanasutra/html/10-legal-and-compliance.html +148 -135
- package/documents/pramanasutra/html/11-testing-and-proof.html +151 -138
- package/documents/pramanasutra/html/12-ci-and-release.html +149 -136
- package/documents/pramanasutra/html/13-roadmap-and-status.html +155 -142
- package/documents/pramanasutra/html/14-faq-and-glossary.html +147 -134
- package/documents/pramanasutra/html/15-maintainer-guide.html +147 -134
- package/documents/pramanasutra/html/audit/report.html +9 -7
- package/documents/pramanasutra/html/audit/report.json +7 -5
- package/documents/pramanasutra/html/audit/report.md +10 -7
- package/documents/pramanasutra/html/audit/report.sarif.json +16 -0
- package/documents/pramanasutra/html/index.html +189 -171
- package/documents/pramanasutra/html/proof/test-results.txt +47 -42
- package/documents/pramanasutra/html/samples/clean-project/report.html +4 -3
- package/documents/pramanasutra/html/samples/clean-project/report.json +2 -1
- package/documents/pramanasutra/html/samples/clean-project/report.md +5 -3
- package/documents/pramanasutra/html/samples/clean-project/report.sarif.json +16 -0
- package/documents/pramanasutra/html/samples/focused-test/report.html +4 -3
- package/documents/pramanasutra/html/samples/focused-test/report.json +2 -1
- package/documents/pramanasutra/html/samples/focused-test/report.md +5 -3
- package/documents/pramanasutra/html/samples/focused-test/report.sarif.json +43 -0
- package/documents/pramanasutra/html/samples/missing-ci/report.html +5 -4
- package/documents/pramanasutra/html/samples/missing-ci/report.json +2 -1
- package/documents/pramanasutra/html/samples/missing-ci/report.md +6 -4
- package/documents/pramanasutra/html/samples/missing-ci/report.sarif.json +40 -0
- package/documents/pramanasutra/html/samples/missing-tests/report.html +4 -3
- package/documents/pramanasutra/html/samples/missing-tests/report.json +2 -1
- package/documents/pramanasutra/html/samples/missing-tests/report.md +5 -3
- package/documents/pramanasutra/html/samples/missing-tests/report.sarif.json +40 -0
- package/documents/pramanasutra/html/samples/multi-language/report.html +5 -4
- package/documents/pramanasutra/html/samples/multi-language/report.json +2 -1
- package/documents/pramanasutra/html/samples/multi-language/report.md +6 -4
- package/documents/pramanasutra/html/samples/multi-language/report.sarif.json +125 -0
- package/documents/pramanasutra/html/samples/unsafe-names/report.html +4 -3
- package/documents/pramanasutra/html/samples/unsafe-names/report.json +2 -1
- package/documents/pramanasutra/html/samples/unsafe-names/report.md +5 -3
- package/documents/pramanasutra/html/samples/unsafe-names/report.sarif.json +43 -0
- package/documents/pramanasutra/proof/test-results.txt +47 -42
- package/documents/pramanasutra/samples/clean-project/report.html +4 -3
- package/documents/pramanasutra/samples/clean-project/report.json +2 -1
- package/documents/pramanasutra/samples/clean-project/report.md +5 -3
- package/documents/pramanasutra/samples/clean-project/report.sarif.json +16 -0
- package/documents/pramanasutra/samples/focused-test/report.html +4 -3
- package/documents/pramanasutra/samples/focused-test/report.json +2 -1
- package/documents/pramanasutra/samples/focused-test/report.md +5 -3
- package/documents/pramanasutra/samples/focused-test/report.sarif.json +43 -0
- package/documents/pramanasutra/samples/missing-ci/report.html +5 -4
- package/documents/pramanasutra/samples/missing-ci/report.json +2 -1
- package/documents/pramanasutra/samples/missing-ci/report.md +6 -4
- package/documents/pramanasutra/samples/missing-ci/report.sarif.json +40 -0
- package/documents/pramanasutra/samples/missing-tests/report.html +4 -3
- package/documents/pramanasutra/samples/missing-tests/report.json +2 -1
- package/documents/pramanasutra/samples/missing-tests/report.md +5 -3
- package/documents/pramanasutra/samples/missing-tests/report.sarif.json +40 -0
- package/documents/pramanasutra/samples/multi-language/report.html +5 -4
- package/documents/pramanasutra/samples/multi-language/report.json +2 -1
- package/documents/pramanasutra/samples/multi-language/report.md +6 -4
- package/documents/pramanasutra/samples/multi-language/report.sarif.json +125 -0
- package/documents/pramanasutra/samples/unsafe-names/report.html +4 -3
- package/documents/pramanasutra/samples/unsafe-names/report.json +2 -1
- package/documents/pramanasutra/samples/unsafe-names/report.md +5 -3
- package/documents/pramanasutra/samples/unsafe-names/report.sarif.json +43 -0
- package/examples/sample-output/clean-project/report.html +4 -3
- package/examples/sample-output/clean-project/report.json +2 -1
- package/examples/sample-output/clean-project/report.md +5 -3
- package/examples/sample-output/clean-project/report.sarif.json +16 -0
- package/examples/sample-output/focused-test/report.html +4 -3
- package/examples/sample-output/focused-test/report.json +2 -1
- package/examples/sample-output/focused-test/report.md +5 -3
- package/examples/sample-output/focused-test/report.sarif.json +43 -0
- package/examples/sample-output/missing-ci/report.html +5 -4
- package/examples/sample-output/missing-ci/report.json +2 -1
- package/examples/sample-output/missing-ci/report.md +6 -4
- package/examples/sample-output/missing-ci/report.sarif.json +40 -0
- package/examples/sample-output/missing-tests/report.html +4 -3
- package/examples/sample-output/missing-tests/report.json +2 -1
- package/examples/sample-output/missing-tests/report.md +5 -3
- package/examples/sample-output/missing-tests/report.sarif.json +40 -0
- package/examples/sample-output/multi-language/report.html +5 -4
- package/examples/sample-output/multi-language/report.json +2 -1
- package/examples/sample-output/multi-language/report.md +6 -4
- package/examples/sample-output/multi-language/report.sarif.json +125 -0
- package/examples/sample-output/unsafe-names/report.html +4 -3
- package/examples/sample-output/unsafe-names/report.json +2 -1
- package/examples/sample-output/unsafe-names/report.md +5 -3
- package/examples/sample-output/unsafe-names/report.sarif.json +43 -0
- package/llms.txt +7 -4
- package/package.json +6 -3
- package/packages/cli/bin/pramanasutra.mjs +11 -10
- package/packages/cli/lib/evidence.mjs +15 -1
- package/packages/cli/lib/report.mjs +64 -9
- package/packages/cli/lib/scanner.mjs +21 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Rule catalog
|
|
2
2
|
|
|
3
|
-
<!-- summary: Every static rule PramanaSutra AI 0.3.
|
|
3
|
+
<!-- summary: Every static rule PramanaSutra AI 0.3.5 can emit, with severity, what the line looks like, a committed sample, and the misses to expect. -->
|
|
4
4
|
|
|
5
5
|
Rules are regular expressions on a single line of a file already classified as a test. They are not ASTs. Confidence is `medium` unless noted. Status on a finding is `observed`, which means "the pattern matched", not "a test was executed".
|
|
6
6
|
|
|
@@ -52,8 +52,8 @@ False positive: tests live in a folder this regex does not treat as tests, and n
|
|
|
52
52
|
|---|---|
|
|
53
53
|
| Severity | medium |
|
|
54
54
|
| Default gate | `REVIEW_REQUIRED` when `requireCi` is true and no workflow file matched |
|
|
55
|
-
| Recognises | `.github/workflows/*.yml` and `.yaml`, `.gitlab-ci.yml`, `Jenkinsfile`, `azure-pipelines.yml`, `bitbucket-pipelines.yml` |
|
|
56
|
-
| Does not recognise |
|
|
55
|
+
| Recognises | `.github/workflows/*.yml` and `.yaml`, `.gitlab-ci.yml`, `Jenkinsfile`, `azure-pipelines.yml`, `bitbucket-pipelines.yml`, `.circleci/config.yml`, `.buildkite/pipeline.yml`, `.drone.yml`, `woodpecker.yml` |
|
|
56
|
+
| Does not recognise | A CI config with another name, a workflow that exists only in a hosted UI, or a file that is present but never runs |
|
|
57
57
|
| Sample | [samples/missing-ci](samples/missing-ci/report.md) |
|
|
58
58
|
|
|
59
59
|
Finding a workflow file does not mean the workflow runs tests. The rule is presence, not semantics.
|
|
@@ -13,10 +13,10 @@ Every skill in this repository is required by test to:
|
|
|
13
13
|
- start with YAML frontmatter
|
|
14
14
|
- set `name` equal to the directory name
|
|
15
15
|
- include a description
|
|
16
|
-
- include a `## Safe workflow` section
|
|
16
|
+
- include a `## Safe workflow` section that is not a copy of another skill's workflow
|
|
17
17
|
- tell the model not to fabricate, claim, or approve results it does not have
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
Each workflow is a different procedure: prime routes one lane, strategy picks the lane, unit reads focused-test markers, flow reads a written journey, api reads a contract, visual reads an attached image note, access reads source text, load reads a written budget, data reads a named fixture, secure reads a pasted diff for literals, regression reads a `--changed` report, flake reads a pasted rerun log, defect quotes a pasted error, pipeline reads the workflow files the scan listed, release runs `release-check` only when asked, evidence reads the JSON, verify compares `verify` output to saved stdout. None of them run a suite, open a browser, or sign a file.
|
|
20
20
|
|
|
21
21
|
If an assistant using these skills claims "all tests passed" and cannot point at a command and an output, it is breaking the skill. Prefer the CLI report.
|
|
22
22
|
|
|
@@ -12,7 +12,7 @@ Apache-2.0 is a permissive license with a patent grant and a requirement to keep
|
|
|
12
12
|
|
|
13
13
|
## Third-party code
|
|
14
14
|
|
|
15
|
-
Version 0.3.
|
|
15
|
+
Version 0.3.5 has no runtime npm dependencies and does not vendor third-party libraries inside `packages/cli`. [THIRD_PARTY_NOTICES.md](../../THIRD_PARTY_NOTICES.md) records that. If a later change adds a dependency, that file has to change in the same commit. Documentation pages use system fonts and no remote script, so the HTML does not pull in a font license or a CDN library.
|
|
16
16
|
|
|
17
17
|
GitHub Actions are third-party workflows pinned by SHA for checkout and setup-node. Their licenses are their own. Using them does not copy their source into this repository.
|
|
18
18
|
|
|
@@ -22,20 +22,20 @@ The sample reports pin `generatedAt` to `2026-11-06T00:00:00.000Z` so a review i
|
|
|
22
22
|
|
|
23
23
|
## Captured unit run
|
|
24
24
|
|
|
25
|
-
On the run
|
|
25
|
+
On the run captured for version 0.3.5 the summary was:
|
|
26
26
|
|
|
27
|
-
- tests:
|
|
28
|
-
- pass:
|
|
27
|
+
- tests: 43
|
|
28
|
+
- pass: 43
|
|
29
29
|
- fail: 0
|
|
30
|
-
- skipped:
|
|
30
|
+
- skipped: 0
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
`nested symlink is skipped rather than followed` now runs on this Windows machine. A real symlink is refused, so the test creates a directory junction and checks the scanner does not follow it. On a machine that allows symlinks, the same test uses a symlink. Do not quote "43 passed" as a universal CI number. Quote the file, and quote the CI run for Ubuntu and Windows.
|
|
33
33
|
|
|
34
34
|
The command does not use a network and does not need `npm install`.
|
|
35
35
|
|
|
36
36
|
## What the tests lock
|
|
37
37
|
|
|
38
|
-
The suite in `tests/cli.test.mjs` covers doctor, the 17 skills' frontmatter, focused and skipped tests, missing tests/CI/license,
|
|
38
|
+
The suite in `tests/cli.test.mjs` covers doctor, the 17 skills' frontmatter and distinct Safe workflow bodies, focused and skipped tests, missing tests/CI/license, CircleCI recognition, shared `scan` and `release-check` exit codes, HTML and Markdown escaping, default report paths, SARIF 2.1.0, evidence classification, the unbound and ci-environment binding sentences, `--changed` when git is unavailable, policy rejection, Java/C#/Ruby file names, the multi-language fixture, ignore-file traversal, binary test files, and `pytest.skip` / `test.todo`.
|
|
39
39
|
|
|
40
40
|
It does not cover a live IDE. It does not measure recall on a corpus the author did not write.
|
|
41
41
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
| File | What it gates | Badge |
|
|
8
8
|
|---|---|---|
|
|
9
|
-
| `.github/workflows/ci.yml` | Ubuntu and Windows, Node 20 and
|
|
9
|
+
| `.github/workflows/ci.yml` | Ubuntu and Windows, Node 20, 22 and 24. Unit tests, `doctor`, then `scripts/ci-gate.mjs`. Does not publish | The CI badge on the README |
|
|
10
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
11
|
| `.github/workflows/codeql.yml` | CodeQL `javascript-typescript` on Ubuntu | CodeQL badge |
|
|
12
12
|
| `.github/dependabot.yml` | Update PRs for Actions | None |
|
|
@@ -26,7 +26,7 @@ A separate `macos-14` workflow was tried on the 0.3.0 push. Run [42098256304](ht
|
|
|
26
26
|
1. Runs `node --test --test-reporter=spec tests/cli.test.mjs`.
|
|
27
27
|
2. Reads the last `pass` and `fail` counts from that output.
|
|
28
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.
|
|
29
|
+
4. Writes a temporary evidence file with `source: ci-ingested` and those counts. When `GITHUB_REPOSITORY`, `GITHUB_SHA`, `GITHUB_RUN_ID` and `GITHUB_WORKFLOW` are all set, it also writes `github` with those four strings. The report then says `ci-environment`. That is not a signature. A checkout outside Actions omits `github`, and the report says `unbound`.
|
|
30
30
|
5. Runs `release-check` on the repository root with that file.
|
|
31
31
|
6. Exits with the gate code.
|
|
32
32
|
|
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
# Roadmap and status
|
|
2
2
|
|
|
3
|
-
<!-- summary: Honest status of PramanaSutra AI 0.3.
|
|
3
|
+
<!-- summary: Honest status of PramanaSutra AI 0.3.5. Implemented, planned, and explicitly not claimed. -->
|
|
4
4
|
|
|
5
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
6
|
|
|
7
|
-
## Implemented in 0.3.
|
|
7
|
+
## Implemented in 0.3.5
|
|
8
8
|
|
|
9
9
|
| Capability | Evidence |
|
|
10
10
|
|---|---|
|
|
11
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 |
|
|
12
|
+
| Offline static rules in the [catalog](07-rule-catalog.md), including CircleCI, Buildkite, Drone and Woodpecker file names | Unit tests and six fixtures |
|
|
13
13
|
| Evidence ingestion and fail-closed policy | Unit tests, `policies/` |
|
|
14
|
-
| `
|
|
15
|
-
|
|
|
14
|
+
| Evidence binding sentence: `none`, `unbound`, or `ci-environment` | Unit test. `ci-environment` is not a signature |
|
|
15
|
+
| `report.md`, `report.html`, `report.json`, `report.sarif.json` written together | Unit tests, `samples/`, `audit/` |
|
|
16
|
+
| `--changed` lists `git diff` names and says when git is unavailable | Unit test. Not a test selector |
|
|
17
|
+
| `scan` and `release-check` exit 2 or 3 for a failing gate. Exit 0 is `READY_FOR_HUMAN_APPROVAL` only | Help text and `packages/cli/bin/pramanasutra.mjs` |
|
|
16
18
|
| `.pramanasutraignore` | Unit test, this repo's ignore file |
|
|
17
|
-
|
|
|
18
|
-
| Required CI on Ubuntu and Windows, Node 20 and
|
|
19
|
+
| 17 skills with distinct Safe workflow sections | Installer tests and the uniqueness assertion |
|
|
20
|
+
| Required CI on Ubuntu and Windows, Node 20, 22 and 24, with a real release gate | `.github/workflows/ci.yml` |
|
|
21
|
+
| CI gate writes `github` when the four `GITHUB_*` variables exist | `scripts/ci-gate.mjs` |
|
|
19
22
|
| macOS in GitHub Actions | Not scheduled. Runs 41884015367 and 42098256304 cancelled with zero steps |
|
|
20
23
|
| CodeQL workflow | `.github/workflows/codeql.yml` |
|
|
21
|
-
|
|
|
24
|
+
| Documentation site with a product front page plus this handbook | `scripts/build-docs.mjs` |
|
|
22
25
|
| Public GitHub repository | `https://github.com/shahvatsalofficial/pramanasutra-ai` |
|
|
23
|
-
| npm publish workflow | `.github/workflows/publish.yml`.
|
|
26
|
+
| npm publish workflow | `.github/workflows/publish.yml`. It has not been proven by a green run. A GitHub Release is what starts it, and npm must already list this repo as a trusted publisher |
|
|
24
27
|
|
|
25
28
|
## Planned
|
|
26
29
|
|
|
@@ -47,12 +50,14 @@ These README-level packages exist as notes only. The CLI does not import them.
|
|
|
47
50
|
| Field precision equal to the fixture score | The fixture score is a regression lock |
|
|
48
51
|
| macOS CI passed | Those jobs never started a runner |
|
|
49
52
|
| npm package `@vatsalshah/pramanasutra` | Registry returned 404. The account is `shahvatsal` |
|
|
53
|
+
| Signed or GitHub-verified evidence | `ci-environment` only echoes four strings. `verify` checks schema. A person can still type them |
|
|
54
|
+
| The twelve `packages/*` notes (`runner`, `server`, `reporter`, `quality-gates`, `release`, `impact`, `integrators`, `evidence`, `discovery`, `core`, `static-audit`, `test-generation`) | READMEs only. The CLI does not import them |
|
|
50
55
|
| The assistant always obeys the skill | The host is outside this process |
|
|
51
56
|
|
|
52
57
|
## Near-term work, in order
|
|
53
58
|
|
|
54
59
|
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.
|
|
60
|
+
2. Confirm `npm view pramanasutra version` matches `package.json` after each release. Do not publish `@vatsalshah/pramanasutra`.
|
|
56
61
|
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
62
|
4. A rule only with a true-positive fixture and a false-positive fixture. No drive-by patterns.
|
|
58
63
|
|
|
@@ -60,7 +65,7 @@ These README-level packages exist as notes only. The CLI does not import them.
|
|
|
60
65
|
|
|
61
66
|
| Environment | Status |
|
|
62
67
|
|---|---|
|
|
63
|
-
| Node 20 and
|
|
68
|
+
| Node 20, 22 and 24 on Ubuntu and Windows in CI | Required workflow. Trust the latest green run, not this sentence |
|
|
64
69
|
| Node on the maintainer's Windows machine | The captured proof file |
|
|
65
70
|
| macOS in CI | Not scheduled. Unverified |
|
|
66
71
|
| Claude Code, Cursor, Codex, Copilot, Gemini CLI | Copy paths implemented. Behavior not verified |
|
|
@@ -1,11 +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.
|
|
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.
|
|
@@ -14,26 +14,28 @@ code{font-family:ui-monospace,Consolas,monospace;background:var(--bg);padding:.0
|
|
|
14
14
|
@media(prefers-color-scheme:dark){.skip{color:#10201f}}
|
|
15
15
|
@media print{body{background:#fff;color:#000}.card{break-inside:avoid}.skip{display:none}}
|
|
16
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
|
|
17
|
+
<p class="muted">PramanaSutra AI · QA & Release Audit · Markdown, HTML, JSON and SARIF 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.5</p>
|
|
18
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>
|
|
19
|
+
<section class="grid" aria-label="Summary"><div class="stat card"><b>320</b><span>files inspected</span></div><div class="stat card"><b>1</b><span>test files</span></div><div class="stat card"><b>3</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
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
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
22
|
<tr><th scope="row">Source</th><td><code>local-executed</code></td></tr>
|
|
23
23
|
<tr><th scope="row">Command</th><td><code>node --test --test-reporter=spec tests/cli.test.mjs</code></td></tr>
|
|
24
24
|
<tr><th scope="row">Executed at</th><td>2026-11-06T00:00:00.000Z</td></tr>
|
|
25
25
|
<tr><th scope="row">Exit code</th><td>0</td></tr>
|
|
26
|
-
<tr><th scope="row">Passed</th><td>
|
|
26
|
+
<tr><th scope="row">Passed</th><td>43</td></tr>
|
|
27
27
|
<tr><th scope="row">Failed</th><td>0</td></tr>
|
|
28
|
-
<tr><th scope="row">Skipped</th><td>
|
|
28
|
+
<tr><th scope="row">Skipped</th><td>0</td></tr>
|
|
29
29
|
<tr><th scope="row">Environment</th><td>win32 v24.15.0</td></tr>
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
|
|
32
|
+
</tbody></table><p>Evidence binding: unbound. This JSON is not tied to a CI identity. A passing file is not proof the command ran.</p></div>
|
|
32
33
|
<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
34
|
<h2>Findings</h2><p class="card">None.</p>
|
|
34
35
|
<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>CI workflows seen</h2><div class="card"><ul><li><code>.github/workflows/ci.yml</code></li><li><code>.github/workflows/codeql.yml</code></li><li><code>.github/workflows/publish.yml</code></li></ul></div>
|
|
37
|
+
|
|
36
38
|
<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
39
|
<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
40
|
<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>
|
|
41
|
+
<footer>Created by <a href="https://shahvatsal.com" rel="noopener">Vatsal Shah</a>. Official site: <a href="https://shahvatsal.com" rel="noopener">shahvatsal.com</a>. 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>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"product": "PramanaSutra AI",
|
|
4
|
-
"toolVersion": "0.3.
|
|
4
|
+
"toolVersion": "0.3.5",
|
|
5
5
|
"generatedAt": "2026-11-06T00:00:00.000Z",
|
|
6
6
|
"scannedPath": "PramanaSutra-AI",
|
|
7
7
|
"capabilities": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"aiInference": "not-run"
|
|
14
14
|
},
|
|
15
15
|
"inventory": {
|
|
16
|
-
"fileCount":
|
|
16
|
+
"fileCount": 320,
|
|
17
17
|
"testFiles": [
|
|
18
18
|
"tests/cli.test.mjs"
|
|
19
19
|
],
|
|
@@ -22,8 +22,10 @@
|
|
|
22
22
|
],
|
|
23
23
|
"ciWorkflows": [
|
|
24
24
|
".github/workflows/ci.yml",
|
|
25
|
-
".github/workflows/codeql.yml"
|
|
25
|
+
".github/workflows/codeql.yml",
|
|
26
|
+
".github/workflows/publish.yml"
|
|
26
27
|
],
|
|
28
|
+
"changedFiles": null,
|
|
27
29
|
"skippedSymlinks": 0,
|
|
28
30
|
"oversizedFiles": 0,
|
|
29
31
|
"binaryFiles": 0,
|
|
@@ -51,9 +53,9 @@
|
|
|
51
53
|
"command": "node --test --test-reporter=spec tests/cli.test.mjs",
|
|
52
54
|
"executedAt": "2026-11-06T00:00:00.000Z",
|
|
53
55
|
"exitCode": 0,
|
|
54
|
-
"passed":
|
|
56
|
+
"passed": 43,
|
|
55
57
|
"failed": 0,
|
|
56
|
-
"skipped":
|
|
58
|
+
"skipped": 0,
|
|
57
59
|
"environment": "win32 v24.15.0"
|
|
58
60
|
}
|
|
59
61
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# PramanaSutra AI: QA & Release Audit Report
|
|
2
2
|
|
|
3
|
-
This audit is
|
|
3
|
+
This audit is four files with the same facts: **report.md** (this file), **report.html** (open in a browser), **report.json** (for tools) and **report.sarif.json** (SARIF 2.1.0 for code scanning). A static finding is text the scanner saw. It is not a test PramanaSutra ran.
|
|
4
4
|
|
|
5
5
|
| | |
|
|
6
6
|
|---|---|
|
|
7
7
|
| Project | `PramanaSutra-AI` |
|
|
8
8
|
| Generated | 2026-11-06T00:00:00.000Z |
|
|
9
|
-
| Tool | PramanaSutra AI 0.3.
|
|
9
|
+
| Tool | PramanaSutra AI 0.3.5 (schema 1.0.0) |
|
|
10
10
|
| **Release decision** | **READY_FOR_HUMAN_APPROVAL** |
|
|
11
11
|
| Policy | recommended |
|
|
12
12
|
| Supplied test evidence | passing |
|
|
@@ -15,9 +15,9 @@ This audit is three files with the same facts: **report.md** (this file), **repo
|
|
|
15
15
|
|
|
16
16
|
## Summary
|
|
17
17
|
|
|
18
|
-
- Files inspected:
|
|
18
|
+
- Files inspected: 320
|
|
19
19
|
- Test files detected: 1
|
|
20
|
-
- CI workflows detected:
|
|
20
|
+
- CI workflows detected: 3
|
|
21
21
|
- Manifests detected: 1
|
|
22
22
|
- Findings: 0 (critical 0, high 0, medium 0, low 0, info 0)
|
|
23
23
|
- Tests executed by PramanaSutra: NO (static scan only). Executed-test results count only when supplied as evidence.
|
|
@@ -32,11 +32,13 @@ These numbers come from the evidence file the operator supplied. PramanaSutra di
|
|
|
32
32
|
| Command | `node --test --test-reporter=spec tests/cli.test.mjs` |
|
|
33
33
|
| Executed at | 2026-11-06T00:00:00.000Z |
|
|
34
34
|
| Exit code | 0 |
|
|
35
|
-
| Passed |
|
|
35
|
+
| Passed | 43 |
|
|
36
36
|
| Failed | 0 |
|
|
37
|
-
| Skipped |
|
|
37
|
+
| Skipped | 0 |
|
|
38
38
|
| Environment | win32 v24.15.0 |
|
|
39
39
|
|
|
40
|
+
Evidence binding: unbound. This JSON is not tied to a CI identity. A passing file is not proof the command ran.
|
|
41
|
+
|
|
40
42
|
## Findings at a glance
|
|
41
43
|
|
|
42
44
|
No static issues detected. This does **not** mean the project is release-ready; other checks were not run.
|
|
@@ -53,6 +55,7 @@ None.
|
|
|
53
55
|
|
|
54
56
|
- `.github/workflows/ci.yml`
|
|
55
57
|
- `.github/workflows/codeql.yml`
|
|
58
|
+
- `.github/workflows/publish.yml`
|
|
56
59
|
|
|
57
60
|
## Capabilities
|
|
58
61
|
|
|
@@ -77,4 +80,4 @@ None.
|
|
|
77
80
|
- This report is decision support, not a compliance certification or legal advice.
|
|
78
81
|
|
|
79
82
|
---
|
|
80
|
-
*Created by Vatsal Shah. Generated locally; nothing was sent over the network. Same audit: report.html and report.json.*
|
|
83
|
+
*Created by [Vatsal Shah](https://shahvatsal.com). Official site: [shahvatsal.com](https://shahvatsal.com). Generated locally; nothing was sent over the network. Same audit: report.html, report.json and report.sarif.json.*
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.1.0",
|
|
3
|
+
"runs": [
|
|
4
|
+
{
|
|
5
|
+
"tool": {
|
|
6
|
+
"driver": {
|
|
7
|
+
"name": "PramanaSutra AI",
|
|
8
|
+
"version": "0.3.5",
|
|
9
|
+
"informationUri": "https://github.com/shahvatsalofficial/pramanasutra-ai",
|
|
10
|
+
"rules": []
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"results": []
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|