coderifts 8.0.0 → 8.0.1
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/CHANGELOG.md +7 -0
- package/README.md +4 -4
- package/dist/cli.js +644 -107
- package/package.json +3 -3
- package/scripts/assert-guard-major.js +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 8.0.1 - 2026-09-02
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- `--require-workflow-binding` now gates the exit code: `enforce --check` exits non-zero when the required workflow is not SHA-pinned to the head (Action-path audit verdict; default off, advisory output unchanged without the flag).
|
|
7
|
+
- The generated strict workflow pins contract-gate v0.8.0 (1fae5d2); the previously published 8.0.0 still pinned 0.7.0.
|
|
8
|
+
- `@coderifts/agent-guard` range follows the published 15.1.0; embedded agent rule text regenerated (names cr.exec.v2 and ENFORCING_STRICT_V1 once).
|
|
9
|
+
|
|
3
10
|
## 8.0.0
|
|
4
11
|
|
|
5
12
|
### Security
|
package/README.md
CHANGED
|
@@ -86,13 +86,13 @@ coderifts init --agents --check # which of the four pieces are present
|
|
|
86
86
|
| **Host hook** | `.claude/settings.json`, `.cursor/hooks.json` | Reuses `hook install --claude` / `--cursor` (JSON-merge, backup, idempotent). Copilot shares Claude's `.claude/settings.json` — VS Code reads it by default. |
|
|
87
87
|
| **CI workflow** | `.github/workflows/coderifts.yml` | `coderifts/contract-gate@v0`. Default: `require-verified-monitoring` commented (honest default: **false**). `--strict`: the same file with `require-verified-monitoring: 'true'` |
|
|
88
88
|
|
|
89
|
-
**Grant versions** (these names are not interchangeable):
|
|
89
|
+
**Grant versions** (these names are not interchangeable; field-by-field matrix: [Grant versions](https://github.com/coderifts/app/blob/main/docs/grant-versions.md)):
|
|
90
90
|
|
|
91
91
|
| What | Who uses it | What it proves |
|
|
92
92
|
|------|-------------|----------------|
|
|
93
93
|
| `cr.exec.v1` | capability-demo and the strict-install workflow (`require-grant`) | A reference/teaching execution grant bound to `operation ∥ target_id ∥ after_payload`. The demo and `coderifts init --agents --strict` use this form. |
|
|
94
|
-
| Atomic V2 request (
|
|
95
|
-
| `ENFORCING_STRICT` | Guard `withCodeRifts({ profile })` |
|
|
94
|
+
| Atomic V2 request (the V2 fields of the authorize request; see docs/grant-versions.md) | TS SDK, Python SDK, Guard (not MCP; not the capability-demo executor) | The request contract those three speak when minting a grant. Not the same bytes as a `cr.exec.v1` token. |
|
|
95
|
+
| `ENFORCING_STRICT` | Guard `withCodeRifts({ profile })` | Permanent alias of `ENFORCING_STRICT_V1` (must resolve to `_V1` forever). Not a grant format. Different axis from `ENFORCING_ATOMIC_V1`/`V2`. |
|
|
96
96
|
|
|
97
97
|
`--strict` turns on `require-grant` and `require-verified-monitoring` in the workflow; it does not rename those three things.
|
|
98
98
|
|
|
@@ -453,7 +453,7 @@ failed, **1** on missing repo/key, API error, or any apply failure.
|
|
|
453
453
|
| `--branch <name>` | With `--check`: branch (default: repo default) | default branch |
|
|
454
454
|
| `--provider <name>` | With `--check`: provider adapter. `github` only; others report UNVERIFIABLE and are never stubbed | `github` |
|
|
455
455
|
| `--head-sha <sha>` | With `--check`: pull-request head commit, so the required-workflow pin can be compared with the bytes being merged | none |
|
|
456
|
-
| `--require-workflow-binding` | With `--check`:
|
|
456
|
+
| `--require-workflow-binding` | With `--check`: **exit non-zero** when the required workflow is not sha-pinned to the head (`workflow_binding.grants_pass !== true`). Scope: the CLI's own audit verdict on the **Action path** — it is not the App-path merge clamp, which is decided server-side and is a separate control. **Default OFF** — without the flag the evidence is byte-identical, the verdict is unchanged and the exit code stays 0 (advisory) | `false` |
|
|
457
457
|
| `--json` | Machine-readable JSON result | `false` |
|
|
458
458
|
|
|
459
459
|
```bash
|