openqodex 0.2.0 → 0.3.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 +15 -3
- package/dist/bin.js +10598 -4040
- package/docs/agents.md +31 -4
- package/docs/cli.md +23 -76
- package/docs/config.md +9 -0
- package/docs/github-action.md +1 -1
- package/docs/llms.txt +1 -0
- package/docs/plumbing.md +93 -0
- package/docs/security.md +32 -3
- package/package.json +4 -2
- package/skills/openqodex/SKILL.md +12 -8
- package/templates/README.md +14 -2
- package/templates/repo/team-section.md +7 -0
package/README.md
CHANGED
|
@@ -37,14 +37,16 @@ OpenQodex needs Node 22 or newer and git. It runs on macOS and Linux. On Windows
|
|
|
37
37
|
|
|
38
38
|
## What it does today
|
|
39
39
|
|
|
40
|
+
Four commands: `init`, `review`, `update` and `trust`. The commands hooks and agents call are listed in [docs/plumbing.md](docs/plumbing.md).
|
|
41
|
+
|
|
40
42
|
- `openqodex review --agent` writes a review brief for your agent: the scanner findings to verify, review patterns that fit the change, and the diff.
|
|
41
43
|
- `openqodex review --finalize` checks the agent's findings without a model and writes `report.md`, `report.json` and `report.sarif`.
|
|
42
|
-
- `openqodex
|
|
44
|
+
- `openqodex review` with neither flag runs the scanners only and prints their report. Git hooks, pre-commit and CI run the same check as `openqodex scan`.
|
|
43
45
|
- Thirteen built-in scanners. Every downloaded scanner is pinned to one version. Each runs only when the change holds a file it reads.
|
|
44
46
|
- Any scanner by its GitHub link, after you approve it with `openqodex trust`.
|
|
45
47
|
- A push gate for Claude Code and Codex. It warns by default. It blocks only when `.openqodex.yaml` sets `review.block_on_severity`.
|
|
46
48
|
- A GitHub Action and a pre-commit hook that run `openqodex scan`.
|
|
47
|
-
- `openqodex demo` builds a small repo with planted bugs and scans it.
|
|
49
|
+
- `npx openqodex demo` builds a small repo with planted bugs and scans it.
|
|
48
50
|
|
|
49
51
|
## What it does not do yet
|
|
50
52
|
|
|
@@ -114,11 +116,20 @@ npx openqodex trust
|
|
|
114
116
|
- When the change holds a lockfile, osv-scanner sends dependency names and versions to osv.dev. It never sends code.
|
|
115
117
|
|
|
116
118
|
- `openqodex trust` reads the custom scanner's release from the GitHub API and downloads it.
|
|
119
|
+
- For an install made with `init`, a version check at most once a day: the openqodex release list from registry.npmjs.org, and for a newer release its tarball and signed build record. It sends no code and nothing about you.
|
|
117
120
|
|
|
118
|
-
`--offline` skips osv-scanner and semgrep and turns scanner downloads off.
|
|
121
|
+
`--offline` skips osv-scanner and semgrep and turns scanner downloads and the version check off.
|
|
119
122
|
|
|
120
123
|
The built-in scanners send no code anywhere. Your agent's model sees what your agent reads, as always. A custom scanner you approved does whatever its own command does. [docs/security.md](docs/security.md) gives the full list.
|
|
121
124
|
|
|
125
|
+
## Updates
|
|
126
|
+
|
|
127
|
+
An install made with `npx openqodex init` from 0.3.0 on keeps itself up to date. At most once a day, after a review, a scan or a push check, a background process looks for a new release. The command never waits for it. A release is installed only when it is at least 24 hours old and its signed build record (npm provenance) shows it was built by this repository's release workflow. It goes into a folder of its own beside the version you run, and the switch is one rename of a small file, so a failed or interrupted update leaves the working version in place. An update never rewrites your agent files: in user scope they call the launcher, and the skill asks it for the procedure of whatever version is active. The next command says once which version it moved to. `openqodex update --rollback` goes back.
|
|
128
|
+
|
|
129
|
+
Turn it off with `openqodex update --off`, `update: off` in `~/.openqodex/config.yaml` or `OPENQODEX_AUTO_UPDATE=0`. It is also off with `--offline` and when `CI` is set.
|
|
130
|
+
|
|
131
|
+
These do not update: files committed with `init --project`, the review section `init` adds to a repository's `CLAUDE.md` and `AGENTS.md`, the skill from `npx skills add`, the GitHub Action pin, and machines that are offline or stop background processes. An active install is usually one to two days behind a release. An install made with any earlier version needs one `npx openqodex init` to start updating.
|
|
132
|
+
|
|
122
133
|
## Packages
|
|
123
134
|
|
|
124
135
|
| Package | What it is |
|
|
@@ -133,6 +144,7 @@ The docs ship inside the package. `npx openqodex guide <topic>` prints a page of
|
|
|
133
144
|
|
|
134
145
|
- [Quickstart](docs/quickstart.md)
|
|
135
146
|
- [Commands](docs/cli.md)
|
|
147
|
+
- [Plumbing commands](docs/plumbing.md)
|
|
136
148
|
- [Configuration](docs/config.md)
|
|
137
149
|
- [Scanners](docs/scanners.md)
|
|
138
150
|
- [Custom scanners](docs/custom-scanners.md)
|