@r5n/argus 0.3.6 → 0.4.0

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/README.md CHANGED
@@ -26,10 +26,11 @@ argus check --config /path/to/reviews/config.json
26
26
 
27
27
  ```sh
28
28
  argus run --limit 5 --config /path/to/reviews/config.json
29
- argus report create --html --config /path/to/reviews/config.json
29
+ argus report create --config /path/to/reviews/config.json
30
+ argus report html --config /path/to/reviews/config.json
30
31
  ```
31
32
 
32
- The report command prints the saved HTML path. Open it locally; it includes its own data, source viewer and scripts. Repeating `run` resumes missing answers.
33
+ `report html` prints the saved HTML path. Open it locally; it includes its own data, source viewer and scripts. Repeating `run` resumes missing answers.
33
34
 
34
35
  To switch from the default Jev model to Cloudflare Clef:
35
36
 
@@ -64,6 +65,20 @@ Model answers are candidates for review. Reports retain the evidence, probabilit
64
65
 
65
66
  Add `--config <path>` when using an external configuration. Change questions require `--base <revision>` on `check`, `run`, `report create` and verification where applicable. `--preset naming` is the initial default; `all` adds comments, architecture, tests, translations and change checks. Use `argus -i` for the interactive menu or append `--help` to a command.
66
67
 
68
+ ## Scripts and agents
69
+
70
+ `--json` (or `-j`) is a global flag, accepted before or after the command. In JSON mode stdout carries exactly one JSON document and all progress goes to stderr. `init`, `check`, `run`, `verify`, `config show`, `report create`, `report list`, `report show`, `report evidence` and `report html` support it; any other command rejects it as a usage error. A failure writes `{ "error": { "_tag", "message", "hint", "exitCode", "causes" } }`.
71
+
72
+ | Exit code | Meaning |
73
+ | --- | --- |
74
+ | 0 | Success |
75
+ | 1 | Failure, including `check` and `run` when a check is blocked |
76
+ | 2 | Usage error: unknown command or option, surplus argument, missing or empty option value, unsupported `--json`, a missing `--base` for change questions, or input that needs a terminal |
77
+
78
+ `argus --help --json` describes every command, option and positional; `argus <command> --help --json` describes one. `argus --version --json` prints the name, binary and version.
79
+
80
+ `check --json`, `run --json` and `report create --json` print a compact index: summary, model and one entry per check with its status, answer, verification and context notes. Source, rubrics, per-check instructions and unresolved expressions stay out of it (`contextReview.unresolvedCount` counts the expressions); fetch them from the saved snapshot with `report show` and `report evidence`. `run --json` adds the saved run report's `reportPath` and the number of older run reports it pruned as `prunedReports`. `report create --json` saves the snapshot and template like the text form and adds `snapshotId`, `snapshotPath` and `verdictFile`. `init --json` returns the created config path and the `next` command to run.
81
+
67
82
  ## Guides
68
83
 
69
84
  | Guide | Covers |
@@ -1,6 +1,6 @@
1
1
  # Embedded dependency licences
2
2
 
3
- ## web-tree-sitter 0.27.0
3
+ ## web-tree-sitter 0.27.2
4
4
 
5
5
  https://github.com/tree-sitter/tree-sitter
6
6
 
@@ -52,7 +52,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
52
52
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
53
53
  SOFTWARE.
54
54
 
55
- ## tree-sitter-wasm 1.1.2 distribution
55
+ ## tree-sitter-wasm 2.0.4 distribution
56
56
 
57
57
  https://github.com/Crysthamus/tree-sitter-wasm
58
58
 
@@ -78,7 +78,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
78
78
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
79
79
  SOFTWARE.
80
80
 
81
- ## React and React DOM 19.3.0 (report viewer)
81
+ ## React and React DOM 19.3.1 (report viewer)
82
82
 
83
83
  https://github.com/facebook/react
84
84
 
@@ -158,7 +158,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
158
158
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
159
159
  SOFTWARE.
160
160
 
161
- ## gettext-parser 9.1.1
161
+ ## gettext-parser 10.0.0
162
162
 
163
163
  Copyright (c) 2014-2015 Andris Reinman
164
164