@stravica-ai/rcf-verify-lite 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +25 -57
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project are documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Pre-1.0, breaking changes are signalled by a minor version bump.
6
6
 
7
+ ## [0.1.1] - 2026-07-22
8
+
9
+ Documentation-only release. No code, CLI, contract or dependency changes.
10
+
11
+ ### Documentation
12
+
13
+ - **README consumability pass + reference doc** ([#52](https://github.com/Stravica/rcf-lite/pull/52)): the verify README was rewritten for a consumer landing on the npm package page cold — what the verifier is, how it is invoked (both the `rcf finalise` finalise-gate path and the operator CLI), and the runtime-profile / ship-authority model. Adds `docs/reference.md` as the full flag-and-exit-code reference.
14
+
7
15
  ## [0.1.0] - 2026-07-22
8
16
 
9
17
  First publish. `rcf-verify-lite` v1 — a fresh-context adversarial verifier for the RCF Lite suite.
package/README.md CHANGED
@@ -1,76 +1,44 @@
1
- # @stravica-ai/rcf-verify-lite
1
+ # rcf-verify-lite
2
2
 
3
- A **fresh-context adversarial verifier** for the RCF Lite suite.
3
+ [![ci](https://github.com/Stravica/rcf-lite/actions/workflows/ci.yml/badge.svg)](https://github.com/Stravica/rcf-lite/actions/workflows/ci.yml)
4
+ [![npm version](https://img.shields.io/npm/v/%40stravica-ai%2Frcf-verify-lite)](https://www.npmjs.com/package/@stravica-ai/rcf-verify-lite)
5
+ [![license](https://img.shields.io/badge/license-Apache--2.0-blue)](./LICENSE)
6
+ [![node](https://img.shields.io/badge/node-%3E%3D24-brightgreen)](https://nodejs.org)
4
7
 
5
- Given an RCF chain (the acceptance contract) and a **running instance** of an
6
- app under a **declared runtime profile**, `rcf-verify` launches an isolated
7
- verifier agent that walks real user journeys adversarially — trying to
8
- *disprove* the app against its acceptance criteria — and emits a **structured
9
- verdict stamped with the runtime it ran against**.
8
+ The ship gate for AI-built software.
10
9
 
11
- It never reads the source tree, the test suite, or the builder's self-report.
12
- Its only inputs are the chain and the live URL. That information disjointness
13
- is what makes it an *independent* ship-readiness verdict rather than another
14
- self-check.
10
+ Point `rcf-verify` at your running app and the acceptance criteria in your repo's [RCF chain](https://stravica.ai/rcf-methodology), and it launches a fresh, isolated AI agent that behaves like a hostile user: walking real journeys against the live app, trying to prove it *doesn't* meet its contract. You get a structured report and a verdict you can gate a release on.
15
11
 
16
- > **Honest limit.** Verify does not make an app "fully verified" or "safe". It
17
- > **replaces the ship-readiness verdict with an independent one.** An agent
18
- > cannot fully adversarially test its own build; verify mitigates that blind
19
- > spot, it does not eliminate it.
12
+ The verifier never sees your source code, your tests, or your builder's claims about what works. It gets the acceptance contract and a URL, nothing else. That blindness is deliberate: an agent cannot mark its own homework, so the agent that judges the app is never the agent that built it.
13
+
14
+ > **Honest limit.** Verify does not make an app "fully verified" or "safe". It replaces a self-reported ship-readiness verdict with an independent one — it mitigates the builder's blind spot, it does not eliminate it.
20
15
 
21
16
  ## Install
22
17
 
23
- ```
24
- npm i @stravica-ai/rcf-build-lite @stravica-ai/rcf-verify-lite
18
+ ```sh
19
+ npm install -g @stravica-ai/rcf-build-lite @stravica-ai/rcf-verify-lite
25
20
  ```
26
21
 
27
- The two are independently installable (verify alone for CI; build alone if
28
- truly wanted), but installing together is the recommended default.
22
+ Installing alongside [`@stravica-ai/rcf-build-lite`](https://www.npmjs.com/package/@stravica-ai/rcf-build-lite) is the recommended default. Verify also installs standalone (`npm install -g @stravica-ai/rcf-verify-lite`) for example as a verification-only step in CI.
29
23
 
30
- ## Usage
24
+ ## Use it
31
25
 
32
- ```
33
- rcf-verify run \
34
- --repo <path-to-rcf-chain> \
35
- --profile <deployed|ci|local-dev> \
36
- --url <running-app-url> \
37
- --out report.json \
38
- [--parity-env] [--provision creds.json] \
39
- [--severity-gate BROKEN] [--provision-mode run|skip] [--persona name]
40
-
41
- rcf-verify report report.json # re-render a prior report
42
- rcf-verify provision ... # stand up prerequisites standalone
43
- rcf-verify cleanup ... # tear down provisioned 'zzverify-' artefacts
44
- rcf-verify mcp # serve over MCP (local stdio)
26
+ ```sh
27
+ rcf-verify run --repo . --profile deployed --url https://your-app.example.com --out report.json
45
28
  ```
46
29
 
47
- ### Runtime profiles
30
+ That runs the adversarial pass and writes `report.json`: findings with severities, and a verdict stamped with the runtime it was earned against. Re-render any saved report with `rcf-verify report report.json`.
48
31
 
49
- | Profile | Verdict authority |
50
- |---|---|
51
- | `deployed` | SHIP-readiness verdict (the ship gate). A local/unreachable URL under `deployed` yields `NOT-DEPLOYED`, never a soft pass. |
52
- | `ci` | Correctness/regression verdict. Ship gate **only** with `--parity-env`. |
53
- | `local-dev` | Correctness/regression verdict. Never a ship gate. |
32
+ A `deployed` run is the ship verdict. You can also point it at CI or local builds (`--profile ci` / `--profile local-dev`) for correctness passes — same engine, honestly labelled with lower authority, so a localhost pass can never masquerade as ship-ready.
54
33
 
55
- `localhost` is a first-class target under `ci`/`local-dev`. What is forbidden
56
- is a lower profile claiming the authority of `deployed`.
34
+ If your app needs accounts, sandboxes or test data to be exercised properly, verify provisions them first and tears them down after — see the reference for `provision` and `cleanup`.
57
35
 
58
- ### Exit codes (`run`)
36
+ **Using rcf-build-lite?** You rarely run this by hand: `rcf finalise` invokes verify automatically as the gate between "built" and "verified".
59
37
 
60
- ```
61
- 0 report written, verdict below the severity gate
62
- 1 IO / unexpected runtime failure (incl. verifier-agent launch failure)
63
- 2 usage error
64
- 3 chain could not be loaded
65
- 5 severity gate tripped, or NOT-DEPLOYED / BLOCKED
66
- ```
38
+ ## Going deeper
39
+
40
+ [docs/reference.md](docs/reference.md) has the full surface: runtime profiles and verdict authority, exit codes, prerequisite provisioning, MCP mode, and the launcher seam for custom agent harnesses.
67
41
 
68
- ## Verifier-agent launcher
42
+ ## License
69
43
 
70
- Verify launches an isolated fresh agent (Claude Code by default) with the
71
- proven isolation env (`CLAUDE_CODE_DISABLE_AUTO_MEMORY=1` +
72
- `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1`) and browser tooling; that agent
73
- drives the running app and returns structured findings. The launcher is
74
- injectable via the `RCF_VERIFY_LAUNCHER` env var (a module exporting
75
- `launchAgent`) — the seam used for integration harnesses and the recorded
76
- manual e2e.
44
+ Apache 2.0 see [LICENSE](./LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stravica-ai/rcf-verify-lite",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "description": "RCF Verify Lite - a fresh-context adversarial verifier. Given an RCF chain (the acceptance contract) and a running instance under a declared runtime profile, it launches an isolated verifier agent that walks real user journeys adversarially and emits a structured verdict stamped with the runtime it ran against.",
6
6
  "license": "Apache-2.0",