Commit 426da66
feat(proforge): measured supervisor quality gates + review-required label
Wave B · deepens the ProForge supervisor (audit P0): scores were hard-coded
constants and thresholds were fixed in code.
- Measured scoring: replace the flat 80/85/88/90 pass-scores with a confidence
score that scales with how much signal a stage produced relative to manuscript
size (findings per ~1000 words), within a pass band. Fail/"suspect" scores now
scale with manuscript size too. The supervisor still does NO AI calls — this is
heuristic confidence, not editorial quality — but the score now actually varies
with the work done instead of always reporting the same number.
- Configurable thresholds: new QualityThresholds (largeManuscriptWords +
intakeHardGate) on PipelineConfig, defaulted via DEFAULT_QUALITY_THRESHOLDS and
threaded from run config → SupervisorAgent + the orchestrator's intake hard gate.
- Dashboard: an explicit "Experimental — your review is required" line, so the
human-in-the-loop expectation is stated, not just implied in help.
i18n: proforge.pipeline.reviewRequired across all 19 locales + bundles.
Tests: measured-score-varies-with-findings, configurable-threshold behaviour;
existing exact-score assertions relaxed to pass-band ranges.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 4f52b87 commit 426da66
44 files changed
Lines changed: 277 additions & 112 deletions
File tree
- components/proForge
- features/proForge
- graphify-out
- locales
- ar
- de
- el
- en
- es
- eu
- fa
- fi
- fr
- he
- hu
- is
- it
- ja
- ko
- pt
- ru
- sv
- zh
- public/locales
- ar
- de
- el
- en
- es
- eu
- fa
- fi
- fr
- he
- hu
- is
- it
- ja
- ko
- pt
- ru
- sv
- zh
- services/proForge
- pipelineAgents
- tests/unit/proForge/pipelineAgents
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
100 | 115 | | |
101 | 116 | | |
102 | 117 | | |
| |||
117 | 132 | | |
118 | 133 | | |
119 | 134 | | |
| 135 | + | |
120 | 136 | | |
121 | 137 | | |
122 | 138 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
| 534 | + | |
534 | 535 | | |
535 | 536 | | |
536 | 537 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
| 330 | + | |
330 | 331 | | |
331 | 332 | | |
332 | 333 | | |
| |||
0 commit comments