Skip to content

Commit 088626e

Browse files
authored
Merge pull request #18 from SharedIntellect/fix/stale-content-cleanup
fix: stale content cleanup — 13 findings + remove stale external reviews
2 parents 9ca4d6e + 14a1ce2 commit 088626e

18 files changed

Lines changed: 82 additions & 420 deletions

.clawhubignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
reference-implementation/venv/
2+
reference-implementation/quorum.egg-info/
3+
golden-test-set/artifacts/
4+
golden-test-set/annotations/
5+
golden-test-set/scripts/
6+
.hypothesis/
7+
.pytest_cache/
8+
__pycache__/

SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ python -m quorum.cli run --target <path-to-artifact> --rubric <rubric-name>
3333
### Depth Profiles
3434

3535
- `quick` — 2 critics (correctness, completeness) + pre-screen, ~5-10 min
36-
- `standard`6 critics (+ security, code_hygiene, cross_consistency†, tester) + pre-screen, ~15-30 min (default)
37-
- `thorough`all 6 shipped critics + pre-screen + fix loops, ~30-60 min
36+
- `standard`4 active (correctness, completeness, security + tester) + pre-screen, ~15-30 min (default)
37+
- `thorough`5 active (+ code_hygiene) + pre-screen + fix loops, ~30-60 min
3838

3939
*†Cross-Consistency requires `--relationships` flag with a relationships manifest.*
4040

SPEC.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Three execution profiles balance rigor, speed, and cost:
103103
| Depth | Critics | Fix Loops | Runtime | Use Case |
104104
|-------|---------|-----------|---------|----------|
105105
| **quick** | Correctness, Completeness | 0 | 5-10 min | Fast feedback; low stakes |
106-
| **standard** | + Security, Code Hygiene | 0 | 15-30 min | Most work; default |
106+
| **standard** | + Security | 0 | 15-30 min | Most work; default |
107107
| **thorough** | All shipped critics | 1 (apply + re-verify) | 30-60 min | Critical decisions; production |
108108

109109
Pre-screen (10 built-in checks + optional DevSkim SAST, §3.1) runs before LLM critics at all depth levels. Fix loops are implemented (Phase 1.5): the Fixer proposes text replacements for CRITICAL/HIGH findings, applies them, and re-runs critics to verify resolution. Full 9-critic panels are the roadmap target for thorough depth.
@@ -159,7 +159,7 @@ Supervisor (Orchestrator)
159159
├─ Architecture Critic (Tier 2) [SPECIFIED, not yet built]
160160
├─ Delegation Critic (Tier 1) [SPECIFIED, not yet built]
161161
├─ Style Critic (Tier 2) [SPECIFIED, not yet built]
162-
├─ Tester (Tier 2, tools: grep/web/exec) [SPECIFIED, not yet built]
162+
├─ Tester (Tier 2, tools: grep/web/exec) [IMPLEMENTED] — L1 deterministic + L2 LLM claim verification; see docs/critics/TESTER_CRITIC_BRIEF.md
163163
├─ Fixer (Tier 1, optional) [IMPLEMENTED — proposal mode + re-validation loops]
164164
├─ Aggregator (Tier 1) [IMPLEMENTED]
165165
└─ Supervisor (Tier 1, final) [IMPLEMENTED]
@@ -386,7 +386,7 @@ This follows Tomasev's "trust as runtime primitive" principle.
386386
| Component | Cost | Amortization |
387387
|-----------|------|--------------|
388388
| Per-run setup (Supervisor intake) | $0.02 | 1 run |
389-
| 4 shipped critics (parallel, max 30min; 9 at full build-out) | $0.15-0.45 | 1 run |
389+
| 6 shipped critics (parallel, max 30min; 9 at full build-out) | $0.15-0.45 | 1 run |
390390
| Aggregator synthesis | $0.01 | 1 run |
391391
| Tester tools (grep, git, web, exec) | $0.00 | amortized |
392392
| Learning update (`known_issues.json`) | $0.00 | amortized |
@@ -398,7 +398,7 @@ Additional runs on related artifacts reuse critic prompts and tools, amortizing
398398

399399
## 8. Implementation Checklist
400400

401-
Status as of v0.5.0 (reference implementation):
401+
Status as of v0.7.2 (reference implementation):
402402

403403
- [x] LLM provider — LiteLLM universal provider (100+ models, any tier combination)
404404
- [x] File-based artifact passing (no in-memory state between agents)
@@ -411,7 +411,7 @@ Status as of v0.5.0 (reference implementation):
411411
- [x] Depth preset system (quick/standard/thorough YAML configs)
412412
- [x] Path traversal security (boundary enforcement)
413413
- [x] Exit codes (0/1/2)
414-
- [x] Parallel critic dispatch (ThreadPoolExecutor, max 4 critics; batch files max 3)
414+
- [x] Parallel critic dispatch (ThreadPoolExecutor, max 6 critics; batch files max 3)
415415
- [x] Fixer agent — proposal mode + re-validation loops (Phase 1.5; proposes and applies text replacements for CRITICAL/HIGH, then re-runs critics to verify)
416416
- [x] Python code rubric (25 criteria, PC-001–PC-025, auto-detects on .py files)
417417
- [x] Learning memory system (known_issues.json frequency tracking + mandatory check promotion — shipped in v0.5.3)
@@ -444,7 +444,7 @@ Quorum is built on these peer-reviewed papers:
444444
- Rubric panel is **static** (doesn't specialize per artifact type dynamically)
445445
- **No critic-to-critic debate** (relies on Aggregator to resolve conflicts)
446446
- Learning is **frequency-based** only (no semantic deduplication of patterns yet)
447-
- **Confidence calibration** is not yet implemented
447+
- **Confidence calibration** replaced by criteria coverage counts in v0.6.1
448448
- **Trust/monitoring system** is not yet implemented
449449

450450
### Planned
@@ -470,7 +470,7 @@ Quorum is built on these peer-reviewed papers:
470470
---
471471

472472
**Quorum is a production-oriented, early-stage validation framework.**
473-
*Architecture is sound and tested, with 6 critics shipped (5 callable in the pipeline), learning memory, fix re-validation, and batch processing all production-ready. Trust and monitoring systems are specified but not yet wired.*
473+
*Architecture is sound and tested, with 6 critics shipped (all callable), learning memory, fix re-validation, batch processing, and the Tester verification layer all production-ready. Trust and monitoring systems are specified but not yet wired.*
474474

475475

476476
---

docs/CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

77
## [0.7.2] — 2026-03-12
88

9+
### Documentation — Stale Content Cleanup (PR #18)
10+
11+
- **External reviews removed**: 3 frontier model review files (GPT-5.4, Opus 4.6, Grok 4.20) and ideas-backlog.md deleted — reviews were run against v0.5.3 and no longer reflect current capabilities. `EXTERNAL_REVIEWS.md` replaced with community invitation template.
12+
- **13 stale content findings resolved** across SPEC.md, IMPLEMENTATION.md, CONFIG_REFERENCE.md, TUTORIAL.md, SKILL.md, RUBRIC_BUILDING_GUIDE.md, SECURITY_CRITIC_FRAMEWORK.md, CODE_HYGIENE_FRAMEWORK.md, TESTER_CRITIC_BRIEF.md, and INSTALLATION.md:
13+
- Tester marked as shipped (was "SPECIFIED, not yet built")
14+
- Critic counts updated to 6 shipped across all docs
15+
- Learning memory marked as shipped (v0.5.3) across all docs
16+
- Confidence scores replaced with coverage language (v0.6.1)
17+
- Version headers updated to v0.7.2
18+
- Depth profile critic counts aligned with critic-status.yaml
19+
- Broken cross-reference paths fixed (TESTER_CRITIC_BRIEF, INSTALLATION)
20+
- Security and Code Hygiene framework status checklists updated
21+
922
### Documentation — Docs Restructure & README Rewrite (PR #16)
1023

1124
- **README.md** rewritten: ~400 lines → ~120 lines. Focused on what Quorum is, how to run it, and where to go next. First-person voice preserved.
@@ -14,7 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
1427
- `architecture/` — IMPLEMENTATION, THE_NINE
1528
- `critics/` — all critic-specific docs and frameworks
1629
- `guides/` — RUBRIC_BUILDING_GUIDE, CROSS_ARTIFACT_DESIGN
17-
- `reviews/`external review snapshots
30+
- `reviews/`community and practitioner evaluations
1831
- `configuration/` — CONFIG_REFERENCE
1932
- **New files:** `docs/getting-started/QUICK_START.md` (zero to running in <5 min), `docs/README.md` (navigation hub)
2033
- All cross-references updated across 30+ files

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Everything you need to use, configure, and extend Quorum.
5353

5454
| Doc | Description |
5555
|-----|-------------|
56-
| [External Reviews](reviews/EXTERNAL_REVIEWS.md) | Independent evaluations of Quorum by other models |
56+
| [External Reviews](reviews/EXTERNAL_REVIEWS.md) | Community and practitioner evaluations |
5757
| [Changelog](CHANGELOG.md) | Version history and release notes |
5858
| [Code of Conduct](CODE_OF_CONDUCT.md) | Community guidelines |
5959

docs/architecture/IMPLEMENTATION.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This guide walks through building Quorum from the architectural spec. It's structured as a reference walkthrough, not a copy-paste tutorial. The goal is understanding the patterns so you can adapt them to your stack.
44

5-
> **Implementation Status (v0.6.0):** This guide describes the full target architecture. The reference implementation ships 6 critics (5 callable in the pipeline), the fixer (proposal mode), parallel execution, batch processing, and pre-screen integration. Sections marked 🔜 describe planned components. See `critic-status.yaml` for the authoritative status matrix.
5+
> **Implementation Status (v0.7.2):** This guide describes the full target architecture. All 6 critics are shipped and callable: Correctness, Completeness, Security, Code Hygiene, Cross-Artifact Consistency, and Tester. Also shipped: the fixer (proposal mode), parallel execution, batch processing, and pre-screen integration. See `critic-status.yaml` for the authoritative status matrix. Sections below marked 🔜 describe components not yet built (Architecture, Delegation, Style).
66
77
---
88

@@ -127,7 +127,7 @@ Your job is assignment, coordination, and synthesis — not evaluation.
127127

128128
### 2.2 The Critics
129129

130-
> **Shipped:** Correctness, Security, Completeness, Code Hygiene (+ Cross-Artifact Consistency in batch mode)
130+
> **Shipped:** Correctness, Completeness, Security, Code Hygiene, Cross-Artifact Consistency, Tester
131131
> 🔜 **Planned:** Architecture, Delegation & Coordination, Style
132132
133133
Each critic receives:
@@ -196,9 +196,9 @@ The hardest agent to get right. Its job:
196196

197197
---
198198

199-
## Phase 3: The Learning System 🔜
199+
## Phase 3: The Learning System
200200

201-
> **Status:** Specified in architecture, not yet implemented. The mechanism below describes the target design.
201+
> **Status:** Shipped in v0.5.3. The `known_issues.json` system tracks failure patterns across runs with frequency-based promotion to mandatory checks.
202202
203203
### 3.1 Extracting Lessons
204204

@@ -247,8 +247,8 @@ This is how past failures automatically improve future validation.
247247
### 4.1 Quick (5-10 min)
248248

249249
```yaml
250-
critics: [correctness, security, completeness]
251-
tester: enabled
250+
critics: [correctness, completeness]
251+
tester: disabled
252252
fixer: disabled
253253
aggregator: simplified (no conflict resolution)
254254
fix_loops: 0
@@ -260,7 +260,7 @@ Use for: iterative development, fast feedback loops, low-stakes work.
260260
### 4.2 Standard (15-30 min)
261261
262262
```yaml
263-
critics: [all 5 critics + tester]
263+
critics: [correctness, completeness, security + tester]
264264
fixer: enabled for CRITICAL only
265265
aggregator: full
266266
fix_loops: 1
@@ -272,7 +272,7 @@ Use for: most production work, configuration reviews, research validation.
272272
### 4.3 Thorough (45-90 min)
273273
274274
```yaml
275-
critics: [all 5 critics + tester]
275+
critics: [correctness, completeness, security, code_hygiene + tester]
276276
fixer: enabled for CRITICAL + HIGH
277277
aggregator: full + external validator
278278
fix_loops: 2
@@ -282,6 +282,8 @@ cost_ceiling: $1.50
282282
283283
Use for: critical decisions, pre-launch reviews, irreversible actions.
284284
285+
**Note:** Cross-Artifact Consistency is a separate mode activated with the `--relationships` flag — it's additive at any depth, not part of the base critic panels above.
286+
285287
---
286288

287289
## Phase 5: Integration Patterns

docs/configuration/CONFIG_REFERENCE.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Configuration Reference
22

3-
> **Implementation Status (v0.5.2):** This document describes both shipped and planned features. Items marked 🔜 are specified but not yet implemented.
3+
> **Implementation Status (v0.7.2):** This document describes both shipped and planned features. Items marked 🔜 are specified but not yet implemented.
44
55
## Depth Profiles
66

77
| Profile | Critics | Fix Rounds | Time | Use Case | Status |
88
|---------|---------|------------|------|----------|--------|
9-
| **quick** | Shipped critics (currently 4) | 0 | 5–15 min | Iteration, drafts | ✅ Shipped |
9+
| **quick** | Shipped critics (currently 2: correctness, completeness) | 0 | 5–15 min | Iteration, drafts | ✅ Shipped |
1010
| **standard** | Shipped critics + fixer | 1 on CRITICAL | 15–30 min | Pre-merge, reviews | ✅ Shipped |
1111
| **thorough** | All shipped critics + fixer | ≤2 on CRITICAL/HIGH | 30–60 min | Critical decisions, production | ✅ Shipped |
1212
| *standard (full)* | *6 (+ Architecture, Delegation, Style)* | *1 on CRITICAL* | *15–30 min* | *Pre-merge, reviews* | 🔜 Planned |
@@ -68,16 +68,14 @@ Rubrics are JSON files with the following structure:
6868

6969
| Verdict | Meaning |
7070
|---------|---------|
71-
| **PASS** | No CRITICAL or HIGH issues; confidence0.8 |
72-
| **PASS_WITH_NOTES** | No CRITICAL issues; ≤ 2 HIGH issues with mitigations; confidence0.6 |
71+
| **PASS** | No CRITICAL or HIGH issues; coverage80% of criteria evaluated |
72+
| **PASS_WITH_NOTES** | No CRITICAL issues; ≤ 2 HIGH issues with mitigations; coverage60% of criteria evaluated |
7373
| **REVISE** | CRITICAL issues found but fixable; or > 2 HIGH issues |
7474
| **REJECT** | Fundamental architectural or security issues; requires redesign |
7575

76-
## Known Issues / Learning Memory 🔜
76+
## Known Issues / Learning Memory
7777

78-
> **Status:** Specified in architecture, not yet wired into production runs.
79-
80-
The `known_issues.json` file will accumulate failure patterns across validation runs:
78+
> **Status:** Shipped in v0.5.3. The `known_issues.json` file accumulates failure patterns across validation runs:
8179
8280
```json
8381
{

docs/critics/CODE_HYGIENE_FRAMEWORK.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ The boundary is clean: when code hygiene detects a pattern that has security imp
2121

2222
## Status
2323

24-
**v0.5.1 State:** Framework design & reference implementation with partial feature completion.
24+
**v0.7.2 State:** Framework design complete. All features shipped.
2525

2626
- [x] Framework design and documentation
2727
- [x] 12 evaluation categories specified
2828
- [x] ISO/IEC 25010:2023 (Maintainability + Reliability) grounding
2929
- [x] Two-layer architecture (deterministic + LLM) with delegation boundaries
30-
- [ ] Full SAST tool integration (Ruff/Pylint) — Milestone #15, v0.5.2
31-
- [ ] Business logic validation workflow (SEC-02) — v0.5.3 planned
32-
- [ ] Learning memory wiring — v0.6+
30+
- [x] Full SAST tool integration (Ruff/Pylint) — shipped in pre-screen
31+
- [x] Business logic validation workflow (SEC-02) — shipped
32+
- [x] Learning memory wiring — shipped v0.5.3
3333

3434
**Known Limitations:**
35-
- Pre-screen layer runs 10 regex checks; deterministic Python analyzer not fully integrated
36-
- Business logic checks require specification/requirements context (not yet automated)
35+
- Ruff and Bandit run in pre-screen; full deterministic coverage continues to expand
36+
- Business logic checks require specification/requirements context
3737

3838
---
3939

docs/critics/SECURITY_CRITIC_FRAMEWORK.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,19 @@
1111

1212
## Status
1313

14-
**v0.5.1 State:** Framework design & reference implementation with partial feature completion.
14+
**v0.7.2 State:** Framework design complete. All features shipped.
1515

1616
- [x] Framework design and documentation
1717
- [x] 14 evaluation categories (SEC-01–SEC-14) specified
1818
- [x] OWASP ASVS 5.0, CWE Top 25, NIST SP 800-53 SA-11 grounding
1919
- [x] Detection capability matrix for SAST vs LLM judgment boundaries
20-
- [ ] Full SAST tool integration (Ruff/Bandit/PSScriptAnalyzer) — Milestone #15, v0.5.2
21-
- [ ] Threat model context feeding for SEC-04 (Authorization) — schema defined in `quorum-relationships.example.yaml` (`threat_context` type); runtime integration v0.5.3 planned
22-
- [ ] Learning memory wiring (issue tracking) — v0.6+
20+
- [x] Full SAST tool integration (Ruff/Bandit/PSScriptAnalyzer) — shipped in pre-screen
21+
- [x] Threat model context feeding for SEC-04 (Authorization) — `threat_context` type in relationship manifest, runtime integration shipped
22+
- [x] Learning memory wiring (issue tracking) — shipped v0.5.3
2323

2424
**Known Limitations:**
25-
- Pre-screen layer runs 10 regex checks; 80+ referenced SAST rules not yet integrated
26-
- Authorization review (SEC-04) is speculative without threat model context — users can now define `threat_context` in the relationship manifest (roles, trust boundaries, sensitive operations); runtime feeding to the critic is planned for v0.5.3
27-
- PowerShell coverage ~70% vs 85%+ for Python (tooling ecosystem gap)
25+
- SAST rule coverage varies by language: Python ~85%+, PowerShell ~70% (tooling ecosystem gap)
26+
- Authorization review (SEC-04) benefits from threat model context — users can define `threat_context` in the relationship manifest (roles, trust boundaries, sensitive operations)
2827

2928
---
3029

docs/critics/TESTER_CRITIC_BRIEF.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Tester Critic — Design Brief
22

3-
**Status:** Pre-spec. This document describes what to build, not how. A full SPEC section should be written from this brief before any code.
3+
**Status:** Shipped (v0.6.0). L1 deterministic + L2 LLM verification. Wired into pipeline as Phase 3 (v0.7.0). This document is the original design brief that guided implementation.
44

5-
**Why this matters:** Three independent external reviews (GPT-5.4, Grok 4.20 Heavy, Opus 4.6 Extended — 2026-03-09) converged on the same conclusion: the Tester critic is Quorum's single most important gap. Without it, evidence grounding is "an LLM judging another LLM's citations" — rhetorically deterministic, not actually deterministic.
5+
**Why this matters:** Three independent external reviews (2026-03-09) converged on the Tester as Quorum's most important gap. The Tester shipped in v0.6.0.
66

77
**Design principle reminder:** Quorum is the gate, not the road.
88

@@ -30,19 +30,19 @@ It answers: "The Correctness critic says line 247 of cli.py has an unchecked ret
3030
- Open file, read the cited line(s)
3131
- Fuzzy match cited evidence against actual content
3232
- **Catches:** hallucinated line numbers, wrong file references, stale loci
33-
- **Ship in:** v0.6.0
33+
- **Shipped:** v0.6.0
3434

3535
### Level 2: Claim Verification (hybrid — deterministic + light LLM)
3636
- Read the code/text surrounding the locus
3737
- One focused LLM call: "Given this excerpt and this claim, is the claim accurate?"
3838
- **Catches:** mischaracterized code, overstated severity, correct line but wrong conclusion
39-
- **Ship in:** v0.6.0
39+
- **Shipped:** v0.6.0
4040

4141
### Level 3: Execution Verification (deterministic, sandboxed)
4242
- For executable claims (regex patterns, import checks, syntax validation): actually run them
4343
- For coverage claims: run coverage analysis
4444
- Requires sandboxing — significant security surface
45-
- **Ship in:** v0.7.0 (deferred, gated behind `--tester-execute`)
45+
- **Status:** Deferred, gated behind `--tester-execute`
4646

4747
## Output: Verification Tags
4848

@@ -101,7 +101,6 @@ Before building the Tester itself:
101101
- ~3 focused sessions, not one marathon
102102

103103
## References
104-
- Opus 4.6 review: `docs/external-reviews/2026-03-09-opus-extended-review.md`
105-
- GPT-5.4 review: `docs/external-reviews/2026-03-09-gpt54-review.md`
104+
- Three independent external reviews (2026-03-09) converged on the Tester as Quorum's most important gap. The Tester shipped in v0.6.0.
106105
- Current critic architecture: `SPEC.md` §Critics, §Aggregator
107106
- Finding/Evidence/Locus models: `quorum/models.py`

0 commit comments

Comments
 (0)