You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: restructure MCP server into cmd/internal packages
- Moved server logic into internal/fpf/ package
- Added cobra CLI with init/serve subcommands
- Fixed Codex CLI support: now updates QUINT_PROJECT_ROOT env on each init
(workaround for lack of per-project MCP config in Codex)
- Simplified install.sh to only install binary
- Updated README with Codex limitation note and link to issue #2628
Copy file name to clipboardExpand all lines: CHANGELOG.md
+19-6Lines changed: 19 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
12
12
This release fundamentally restructures Quint Code to strictly adhere to the First Principles Framework (FPF) by establishing the MCP server as the authoritative kernel, implementing Typed Reasoning (Kind-CAL), and transforming CLI commands into lightweight entry points for specialized Personas.
13
13
14
-
### Breaking Changes
15
-
-**Project Directory:** Renamed from `.fpf` to `.quint` to align with the project name.
14
+
### Breaking Change
15
+
16
+
-**Project Directory:** Renamed from `.fpf` to `.quint` to align with the project name. How to migrate? Just ask `/q-actualize` to migrate evidences and decisions from `.fpf` to `.quint` and then delete `.fpf` directory.`
16
17
-**Database Schema:**`quint.db` schema updated to enforce FPF invariants.
17
18
- Added `scope` to `holons` table (Pattern A.2.6).
18
19
- Added `cached_r_score` to `holons` table (B.3 Assurance Cache).
@@ -23,6 +24,7 @@ This release fundamentally restructures Quint Code to strictly adhere to the Fir
23
24
-**Decision Structure:**`quint_decide` now requires strict E.9 DRR fields (`context`, `decision`, `rationale`, `consequences`, `characteristics`) instead of a free-form blob.
24
25
25
26
### Added
27
+
26
28
-**Formal Persona Definitions:**
27
29
- Dedicated personas in `src/agents/`: `abductor.md`, `deductor.md`, `inductor.md`, `decider.md`, `auditor.md`.
28
30
- Personas now have explicit instructions on how to use MCP tools to satisfy FPF obligations.
@@ -52,12 +54,14 @@ This release fundamentally restructures Quint Code to strictly adhere to the Fir
52
54
-**Expanded Test Coverage:** Added a dedicated integration test suite (`assurance_integration_test.go`) covering the assurance guard, evidence decay, and audit visualization to improve regression safety.
53
55
54
56
### Changed
57
+
55
58
-**Evidence Graph Referring (A.10):** Evidence must now be anchored to a physical file or log (`carrier_ref`). The system no longer accepts "I checked it" as valid evidence; it demands "I checked file X".
56
59
-**Trust & Assurance (B.3):** Verdicts are no longer binary (PASS/FAIL). They are now graded by Assurance Level (L0=Unsubstantiated, L1=Substantiated, L2=Axiomatic/Validated).
57
60
-**Unified Scope Mechanism (A.2.6):** Hypotheses cannot be proposed without an explicit Context Slice (Scope).
58
61
-**Installer:**`install.sh` now sources personas from `src/agents`.
59
62
60
63
### Fixed
64
+
61
65
-**Cycle Detection:** Implemented proper cycle detection in the assurance calculator to prevent stack overflows on circular dependencies.
62
66
-**Error Handling:** Surfaced previously-silent database and file operation errors, which are now logged as warnings to `stderr`.
63
67
-**Role Spoofing:**`quint_transition` enforces that the `role` matches the valid actors for the current phase.
@@ -73,6 +77,7 @@ This release fundamentally restructures Quint Code to strictly adhere to the Fir
-**Vulnerability Closed:** Previous prompts used "soft" text instructions to prevent adding hypotheses mid-cycle, which "helpful" AI models would bypass.
77
82
-**Executable Gate:** Now injects a bash script that checks `.quint/session.md`. If the phase is locked (Deduction/Induction complete), the script exits with `1`.
78
83
-**Hard Stop:** The prompt explicitly instructs the AI to treat a script failure as a hard stop ("Physics says no"), preventing "helpfulness bias" overrides.
@@ -82,6 +87,7 @@ This release fundamentally restructures Quint Code to strictly adhere to the Fir
82
87
### Added: Legacy Project Repair
83
88
84
89
#### Smart Initialization (`/q0-init`)
90
+
85
91
-**Self-Healing Capability:** The init command now detects incomplete FPF setups (e.g., legacy projects missing `context.md` from v2.x).
86
92
-**Deterministic Diagnostic:** Injects a bash script to verify file existence before deciding actions, preventing AI "hallucinated" skips.
87
93
-**Repair Mode:** If `.quint/` exists but is incomplete, it triggers a surgical repair (generating only missing files) while preserving existing session data.
@@ -91,14 +97,17 @@ This release fundamentally restructures Quint Code to strictly adhere to the Fir
91
97
### Added: Process Hardening & Flexibility
92
98
93
99
#### Strict Phase Gating (FPF Integrity)
100
+
94
101
-**Hard Block in `/q1-hypothesize`:** Explicitly forbids generating new hypotheses if the cycle has passed Deduction. This prevents the "Helpfulness Bias" vulnerability where AI assistants might break process integrity to be "nice".
95
102
-**Conditional Logic in `/q2-check`:** The cycle phase now only advances to `DEDUCTION_COMPLETE` when *all* active L0 hypotheses are resolved. If any remain unchecked, the door stays open for extensions.
96
103
97
104
#### New Command: `/q1-extend`
105
+
98
106
-**Legitimate Extension Path:** A dedicated command to add a missed hypothesis during the `ABDUCTION_COMPLETE` phase.
99
107
-**Safety Rails:** Strictly blocked once `DEDUCTION_COMPLETE` is reached, ensuring evidence integrity (WLNK validity) during testing.
100
108
101
109
### Changed
110
+
102
111
-**Updated `/q-status`:** State machine visualization now includes the `(q1-extend)` loop.
103
112
-**Refined `/q3-test` & `/q3-research`:** Reinforced checks to ensure testing only happens after deduction is fully complete.
104
113
@@ -107,23 +116,27 @@ This release fundamentally restructures Quint Code to strictly adhere to the Fir
107
116
### Added: Deep Reasoning Capabilities
108
117
109
118
#### Context Slicing (A.2.6)
119
+
110
120
-**Structured Context:**`.quint/context.md` is now structured into explicit slices:
-**New Audit Step:**`/q4-audit` now includes a mandatory **Context Drift Check**.
124
136
-**Validation:** Verifies that hypotheses generated in step 1 still match the constraints in step 4 (preventing "works on my machine" architecture).
125
137
126
138
### Changed
139
+
127
140
-**Command Prompts:** Updated `q0`, `q1`, `q2`, `q4` to enforce the new reasoning standards.
128
141
129
142
---
@@ -136,10 +149,10 @@ This release fundamentally restructures Quint Code to strictly adhere to the Fir
136
149
137
150
### Why the Name Change?
138
151
139
-
1.**Avoid Collision:** "Crucible" is an existing code review tool by Atlassian. We want a distinct identity.
140
-
2.**Not Just Code:** This tool melts *ideas* and *reasoning*, not just source code.
141
-
3.**The "Quintessence":** Anatoly Levenchuk described this project as a "distillate of FPF" (~5% of the full framework). It is the *quintessence*—the concentrated essence of the methodology.
142
-
4.**The Invariant Quintet:** FPF is built on five invariants (IDEM, COMM, LOC, WLNK, MONO). Quint Code enforces a rigid 5-step sequence (`q1`–`q5`) to preserve these invariants in your reasoning.
152
+
1.**Avoid Collision:** "Crucible" is an existing code review tool by Atlassian. We want a distinct identity.
153
+
2.**Not Just Code:** This tool melts *ideas* and *reasoning*, not just source code.
154
+
3.**The "Quintessence":** Anatoly Levenchuk described this project as a "distillate of FPF" (~5% of the full framework). It is the *quintessence*—the concentrated essence of the methodology.
155
+
4.**The Invariant Quintet:** FPF is built on five invariants (IDEM, COMM, LOC, WLNK, MONO). Quint Code enforces a rigid 5-step sequence (`q1`–`q5`) to preserve these invariants in your reasoning.
Copy file name to clipboardExpand all lines: README.md
+41-11Lines changed: 41 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
**Structured reasoning for AI coding tools** — make better decisions, remember why you made them.
4
4
5
-
**Supports:** Claude Code, Cursor, Gemini CLI
5
+
**Supports:** Claude Code, Cursor, Gemini CLI, Codex CLI
6
6
7
7
> **Works exceptionally well with Claude Code!**
8
8
@@ -16,22 +16,52 @@ Quint Code provides the structure to turn AI-assisted development into a rigorou
16
16
17
17
## Quick Start
18
18
19
-
### Install
19
+
### Step 1: Install the Binary
20
20
21
-
The installation is **per-project by design**. FPF reasoning is always grounded in a specific **Bounded Context** (Pattern A.1.1)—in this case, your project directory. Quint Code operates within this context to ensure all decisions and evidence are relevant to the work at hand.
The installer will create a `.quint/` directory, install the Quint MCP server, and add slash commands to your AI tool's config directories (e.g., `.claude/`, `.gemini/`).
41
+
This creates:
42
+
43
+
-`.quint/` — knowledge base, evidence, decisions
44
+
-`.mcp.json` — MCP server configuration
45
+
-`~/.claude/commands/` — slash commands (global by default)
|`--local`| — | Commands in project dir instead of global |
57
+
58
+
> **\* Codex CLI limitation:** Codex [doesn't support per-project MCP configuration](https://github.com/openai/codex/issues/2628). Run `quint-code init --codex` in **each project before starting work to switch the active project in global codex mcp config**.
29
59
30
-
### Initialize
60
+
### Step 3: Start Reasoning
31
61
32
62
```bash
33
-
/q0-init # Scans context and initializes the knowledge base
34
-
/q1-hypothesize "How should we handle state sync across browser tabs?"
0 commit comments