supercov 1.2.0-x86_64-linux-gnu → 2.0.0-x86_64-linux-gnu

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +36 -6
  3. data/lib/supercov.rb +1 -1
  4. data/libexec/supercov +0 -0
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 969173b17a30e27f86d3017cb35022bdaee26bb9726c78157a6022510e8df070
4
- data.tar.gz: 1ccca54e811f1935491f6a88fab9a7f2f5b0c3ceccf8cb3ad87d15e54cf71997
3
+ metadata.gz: 4505765730c33f2599ed2378eee96df3dbb08be008838476013887d77b8aba41
4
+ data.tar.gz: 82a4b8d71352cf2f869e8d45c988b1521e54fb9b1539d3dd2c7aeac625075494
5
5
  SHA512:
6
- metadata.gz: 85c57f82f1811e696fd4a5ed3e51a8031027787a7a87f7fc691471021619a0c1ff3e85e460949f1b75c2db76a54f61f4b609e8cd6f007765f5e06fec21e4fbce
7
- data.tar.gz: 4d92eda1cfae461f589787f55ebabd3d09d7d64115a8c168600c17b53692ecd4f976006388e57f374677fcba31dc91903b3f7621858caaafa2219ef302909d49
6
+ metadata.gz: cf0d43adebba7b93796728a827cb140d77f9302f84d33e3d669c6cb3f1994a86f01323347b13c7132fbc9545eb480827c17a5fbea4f190aba7ccf2e991902d10
7
+ data.tar.gz: 3cd157299602fdbd578d4bf9ab07d9414f47cd1c51775c4dd1f0f94b0334ef2782b846f8e88dd539f2f487e0a7a766b7c398e7d684f45ba4a8fdf03b2ad66ed0
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
- ![Code quality and coverage for coding agents](https://raw.githubusercontent.com/supercorp-ai/supercov/main/supercov.jpg)
1
+ ![Coverage, security and code quality for coding agents](https://raw.githubusercontent.com/supercorp-ai/supercov/main/supercov.jpg)
2
2
 
3
- **Code quality and coverage for coding agents**
3
+ **Coverage, security and code quality for coding agents**
4
4
 
5
- **Supercov tells your coding agent what to fix and what to test.** It scores your code quality with [Jev](https://typesafe.ai), runs the test command you already use, and turns uncovered paths into small, actionable queries. Your agent picks a target, writes a focused test or a focused refactor, proves what improved, and keeps going.
5
+ **Supercov tells your coding agent what to fix and what to test.** It scores your code quality and flags security risks with [Jev](https://typesafe.ai), runs the test command you already use, and turns uncovered paths into small, actionable queries. Your agent picks a target, writes a focused test or a focused refactor, proves what improved, and keeps going.
6
6
 
7
7
  Paste this to your coding agent to start:
8
8
 
@@ -56,6 +56,18 @@ Jev charges for what it reads and nothing for what it writes, so a megabyte of
56
56
  source costs a little over a cent. Answers are cached by content, so a second
57
57
  run pays only for what changed. See [Understanding quality](docs/quality.md).
58
58
 
59
+ ## Find security risks
60
+
61
+ ```bash
62
+ npx supercov security
63
+ npx supercov security patch # what a change introduced
64
+ ```
65
+
66
+ Twelve security checks asked of every file with the same key, from injection
67
+ and secrets in source to paths and redirects taken from a request. Nothing is
68
+ averaged: a file is clean, or it names what fired, with the line and the code on
69
+ it where Jev confirms one. See [Security surface](docs/security.md).
70
+
59
71
  ## Start with the suite you already have
60
72
 
61
73
  ```bash
@@ -102,6 +114,19 @@ npx supercov -- npm test
102
114
  npx supercov diff <previous-run-id> latest
103
115
  ```
104
116
 
117
+ Want to hand the evidence to a person? Generate one private, interactive file:
118
+
119
+ ```bash
120
+ npx supercov report
121
+ ```
122
+
123
+ The report opens in your browser with up to ten recent runs in a visual history.
124
+ Selecting a run compares it with the previous snapshot automatically. It has no
125
+ server, external assets, account, or file picker. It is written to
126
+ `.supercov/reports/`, where the store's own `.gitignore` keeps it out of git.
127
+ You can attach that one file directly to a pull request; a reviewer downloads
128
+ it and double-clicks it.
129
+
105
130
  Use whichever complete test command the repository already trusts:
106
131
 
107
132
  ```bash
@@ -286,6 +311,9 @@ npx supercov runs latest line app/checkout/session.ts:64
286
311
 
287
312
  # What changed between two runs
288
313
  npx supercov diff <previous-run-id> latest
314
+
315
+ # A portable interactive report for a person
316
+ npx supercov report
289
317
  ```
290
318
 
291
319
  Collections accept `--limit` and `--offset` and print a copyable next-page command. Machine-readable output is available with `--json` when an integration needs it.
@@ -299,9 +327,9 @@ The Supercov CLI does not contact a Supercov service during a coverage run. Pack
299
327
  Supercov does not rewrite your source files, tests, imports, reporter list, runner configuration, dependency tree, or normal build output. An existing user-created `supercov/` directory is never adopted.
300
328
 
301
329
  ```bash
302
- npx supercov clean --dry-run # preview cleanup
303
- npx supercov clean --keep 20 # keep the 20 newest runs
304
- npx supercov clean # remove all runs and the build cache
330
+ npx supercov runs clean --dry-run # preview cleanup
331
+ npx supercov runs clean --keep 20 # keep the 20 newest runs
332
+ npx supercov runs clean # remove all runs and the build cache
305
333
  ```
306
334
 
307
335
  ## Documentation
@@ -315,6 +343,7 @@ npx supercov clean # remove all runs and the build cache
315
343
  - [Supported languages and test suites](https://supercov.com/docs/supported-suites)
316
344
  - [Understanding coverage](https://supercov.com/docs/coverage-model)
317
345
  - [Runs and evidence](https://supercov.com/docs/evidence)
346
+ - [Portable HTML reports](https://supercov.com/docs/reports)
318
347
  - [Files, privacy, and cleanup](https://supercov.com/docs/workspace-isolation)
319
348
  - [Trusting a result](https://supercov.com/docs/verification)
320
349
  - [Speed and storage](https://supercov.com/docs/performance)
@@ -328,3 +357,4 @@ npx supercov clean # remove all runs and the build cache
328
357
  - [@DaVinciTachyon](https://github.com/DaVinciTachyon)
329
358
  - [@Uhbif2](https://github.com/Uhbif2)
330
359
  - [@maik-intellicoach](https://github.com/maik-intellicoach)
360
+ - [@untitaker](https://github.com/untitaker)
data/lib/supercov.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Supercov
4
- VERSION = "1.2.0"
4
+ VERSION = "2.0.0"
5
5
  end
data/libexec/supercov CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: supercov
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.0
5
5
  platform: x86_64-linux-gnu
6
6
  authors:
7
7
  - Supercorp
@@ -44,5 +44,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  requirements: []
45
45
  rubygems_version: 3.6.9
46
46
  specification_version: 4
47
- summary: Code quality and coverage for coding agents
47
+ summary: Coverage, security and code quality for coding agents
48
48
  test_files: []