@richjava/req0 0.2.0 → 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
@@ -6,11 +6,11 @@
6
6
 
7
7
  # Req0
8
8
 
9
- Req0 is a **requirement operating system** for a product git repo. You write a structured requirement pack. The same pack drives definition, implementation, and proof — not a parallel ticket or test script.
9
+ Req0 is a **requirement operating system** for a product git repo. One structured pack drives definition, implementation, and proof — not a ticket, a chat, or a separate test script.
10
10
 
11
- A local **cockpit** shows health and the next action. A deterministic compiler checks the grammar. **Jev** (TypeSafe System One) judges whether the spec is ready to implement. Coding agents (Cursor or Copilot) implement; the browser proves the app.
11
+ A local **cockpit** runs that loop: a coding agent (Cursor or Copilot) interviews you, drafts frozen-grammar `requirement.md`, and later implements — only after you answer, a compiler checks the grammar, and **Jev** (TypeSafe System One) judges Ready. The browser then proves the app against the spec. If proof fails, **Fix from proof** sends that report back so the same agent can repair the implementation — not the spec.
12
12
 
13
- Req0 is a CLI plus a thin HTML cockpit. It is not a hosted SaaS.
13
+ Req0 is a CLI plus a thin HTML cockpit, free and open source. It is not a hosted SaaS.
14
14
 
15
15
  ## Install
16
16
 
@@ -37,9 +37,9 @@ cd /path/to/your-product
37
37
  req0 start
38
38
  ```
39
39
 
40
- The cockpit opens at `http://127.0.0.1:4370` (or the next free port). From the requirement list, create a pack with a kebab-case id such as `001`. That writes `docs/requirements/<id>/` using the starter template.
40
+ The cockpit opens at `http://127.0.0.1:4370` (or the next free port). From the requirement list, create a pack with a kebab-case id such as `001`. That writes `docs/requirements/<id>/`. On **Define**, describe the requirement and **Start** — the recorded coding agent interviews you (you can skip questions) and drafts frozen-grammar `requirement.md`. Optional PNG/JPG/WebP go in that pack’s `context/` folder. `req0 create` on the CLI still writes the starter template only.
41
41
 
42
- Edit `requirement.md` on **Define**. Save compiles. Spec Valid means the [grammar](https://github.com/richjava/req0/blob/main/docs/grammar.md) parsed — it does not mean the spec is ready to implement.
42
+ You can also edit `requirement.md` yourself. Save compiles. Spec Valid means the [grammar](https://github.com/richjava/req0/blob/main/docs/grammar.md) parsed — it does not mean the spec is ready to implement. With a TypeSafe key, authoring keeps going until Ready is Clear; without one, it stops at Spec Valid.
43
43
 
44
44
  ## Commands
45
45
 
@@ -65,6 +65,7 @@ docs/requirements/invoice-approval/
65
65
  requirement.md
66
66
  fixtures/personas.yaml # test users, never production credentials
67
67
  fixtures/runtime.yaml # app URL and login selectors for Prove
68
+ context/ # optional screenshots the authoring agent can Read
68
69
  derived/ # generated; do not hand-edit
69
70
  ```
70
71