@balpal4495/quorum 1.0.0 → 3.0.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.
@@ -2,11 +2,14 @@
2
2
 
3
3
  ## Architecture
4
4
 
5
- This project uses three portable reasoning modules: **Oracle**, **Jury**, and **Council**.
6
- They form the knowledge and validation layer for all agentic work in this codebase.
5
+ This project uses six portable reasoning modules: **Advisor**, **Oracle**, **Jury**, **Council**, **Sentinel**, and **Compass**.
6
+ They form the knowledge, validation, and product-direction layer for all agentic work in this codebase.
7
7
 
8
8
  ```
9
- oracle.query()jury.evaluate() → council.deliberate() → human gate → Executor
9
+ Advisorplain-language Chronicle queries
10
+ Oracle → Jury → Council → human gate → Executor
11
+ Sentinel → coverage + drift
12
+ Compass → product-direction synthesis (behaviours, pathways, bets, scoring)
10
13
  ```
11
14
 
12
15
  Source: `modules/` — see [modules/README.md](modules/README.md) for full API reference.
@@ -35,20 +38,23 @@ There are no auto-commits. Do not attempt to bypass this gate.
35
38
 
36
39
  | Module | What it does | LLM? |
37
40
  |---|---|---|
41
+ | `ask()` | Plain-language question answered from Chronicle — validates internally, retries up to 2× | Yes |
38
42
  | `oracle.query()` | Retrieves relevant Chronicle entries by semantic + BM25 search | No |
39
43
  | `oracle.propose()` | Stages a new entry for human review | No |
40
44
  | `oracle.commit()` | Indexes an approved entry — human-triggered only | No |
41
45
  | `jury.evaluate()` | Scores a design against evidence across 4 dimensions | Yes |
42
46
  | `council.deliberate()` | Adversarial validation via advisor/reviewer fan-out | Yes |
47
+ | `sentinel` | Coverage reporting, drift detection, and PR coverage maps | Optional |
48
+ | `compass` | Product-direction synthesis — behaviours, opportunities, pathways, bets, idea scoring | Optional |
43
49
 
44
50
  ---
45
51
 
46
52
  ## Setup
47
53
 
48
54
  ```typescript
49
- import { setup } from "./modules/setup"
55
+ import { setup } from "@balpal4495/quorum"
50
56
 
51
- const { oracle, evaluate, deliberate } = await setup({ llm: yourProvider })
57
+ const { oracle, evaluate, deliberate, ask, compass } = await setup({ llm: yourProvider })
52
58
  ```
53
59
 
54
60
  `setup()` creates Chronicle directories, warms the embedder, and wires all dependencies.
@@ -87,8 +93,25 @@ After `council.deliberate()`:
87
93
 
88
94
  ---
89
95
 
96
+ ## CLI quick reference
97
+
98
+ ```bash
99
+ quorum advisor brief # full Chronicle summary, no LLM
100
+ quorum advisor query "topic" # keyword search, no LLM
101
+ quorum advisor "plain-language question" # synthesised answer via LLM
102
+ quorum check --outcome "..." --design "..." # instant risk triage
103
+ quorum commit --list # review pending proposals
104
+ quorum commit <id> # approve a Chronicle entry
105
+ quorum compass map # map current product behaviours (no LLM)
106
+ quorum compass brief # product-direction summary (LLM)
107
+ quorum compass pathways --goal "..." # generate product pathways (LLM)
108
+ quorum compass score "idea" # score a product idea (LLM)
109
+ ```
110
+
111
+ ---
112
+
90
113
  ## Build and test
91
114
 
92
115
  ```bash
93
- npx vitest run modules/
116
+ npx vitest run modules/ evals/
94
117
  ```