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
Copy file name to clipboardExpand all lines: docs/enterprise-release-gates.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
Passing unit tests alone does not prove that PromptImprover is operationally ready. A release is eligible only when every required gate below passes.
4
4
5
+
For exact operator commands, current evidence, and the gate-to-CI mapping, see [Operator Testing Guide](./operator-testing.md).
6
+
5
7
## Quality Target
6
8
7
9
- All owned deterministic production logic reaches 100% statements, branches, functions, and lines.
@@ -39,6 +41,10 @@ Initial high-risk gaps include MCP dispatcher behavior, background autonomy, tem
39
41
40
42
The enforced ratchet is 100% statements, branches, functions, and lines. It cannot be lowered without an approved exception.
41
43
44
+
## Current Verified Release Baseline
45
+
46
+
The current release gate baseline is documented in [Operator Testing Guide](./operator-testing.md#current-verified-baseline). At the time this page was updated, `master` commit `abbff59cc6d62b734912e2a98c61ae3dc1d4c6b8` had a successful GitHub CI run (`28030976193`) and a local `npm.cmd run release:verify` pass with 51 test files, 382 tests, and 100% statements, branches, functions, and lines.
47
+
42
48
## Operator Recovery
43
49
44
50
Build before invoking the recovery commands. Both operations run SQLite integrity checks and fail closed:
| Soak |`npm.cmd run stress:event-store:soak`| long-duration EventStore behavior |`stress`, `windows`|
60
+
| Production audit |`npm.cmd run security:audit`| production dependency vulnerabilities, high or above |`supply-chain`|
61
+
| Full audit |`npm.cmd run security:audit:all`| production and development dependency vulnerabilities, high or above |`supply-chain`|
62
+
| Secret scan |`npm.cmd run security:secrets`| committed credential patterns |`supply-chain`|
63
+
| Package dry-run |`npm.cmd run package:check`| npm package contents |`supply-chain`|
64
+
| Package runtime |`npm.cmd run acceptance:package-runtime`| packed tarball install plus `/api/health` smoke |`supply-chain`, `windows`|
65
+
| Release gate |`npm.cmd run release:verify`| local aggregate of the gates above | local operator |
66
+
| CI release gate | GitHub Actions `release-gate` job | all enterprise jobs must pass before merge |`release-gate`|
67
+
5
68
## 1. Enter The Active Package
6
69
7
70
```powershell
@@ -27,6 +90,8 @@ Expected result:
27
90
- Package dry-run passes.
28
91
-`acceptance:package-runtime` installs the packed tarball into a temporary global prefix and serves `/api/health`.
29
92
93
+
If this command fails, do not bypass it. Fix the failing behavior or document an explicit, reviewed exception in this file and in `docs/enterprise-release-gates.md`.
94
+
30
95
## 3. Check Global MCP Registration
31
96
32
97
```powershell
@@ -151,3 +216,22 @@ Expected result:
151
216
-`release-gate` passes.
152
217
153
218
Remote CI is the authoritative proof for Linux and Windows clean-checkout behavior.
219
+
220
+
## 9. Document New Tests
221
+
222
+
Every production feature or bug fix should update this guide when it changes how the product is verified.
223
+
224
+
Use this checklist:
225
+
226
+
- Add or update tests at the smallest useful boundary.
227
+
- Add acceptance or stress coverage for cross-process, CLI, MCP, SQLite, or packaging behavior.
228
+
- Update the release gate matrix when a new script becomes part of the release contract.
229
+
- Update the current verified baseline after the branch is merged and CI is green.
230
+
- Keep limitations explicit. A green gate proves declared checks passed; it does not prove unknown future failures are impossible.
231
+
232
+
## Known Limitations
233
+
234
+
- Live Gemma verification depends on a local or external OpenAI-compatible model endpoint. The deterministic release gate covers provider fallback without requiring the operator's live model server.
235
+
- MCP tool availability depends on the hosting client exposing a healthy MCP transport. If a live `lint_prompt` or refinement call closes its transport, restart the MCP runtime and rerun the global registration doctor before treating the CLI as healthy.
236
+
- External CLI hook behavior depends on each client supporting hooks and trusting the current workspace. Codex currently uses MCP-first operation rather than transparent prompt lifecycle interception.
237
+
- "100% coverage" means every currently included deterministic production line, branch, statement, and function is covered. It does not mean every possible integration, environment, timing, or future regression is impossible.
Copy file name to clipboardExpand all lines: universal-refiner/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,7 @@ See `.universal-refiner.example.json` for an annotated template.
101
101
npm run release:verify
102
102
```
103
103
104
-
Runs build, 100% test coverage, MCP acceptance, semantic fallback, stress/soak, and audit checks.
104
+
Runs build, 100% test coverage, MCP acceptance, semantic fallback, stress/soak, audit checks, package dry-run, and package-runtime smoke testing. See the repo-level [operator testing guide](../docs/operator-testing.md) and [enterprise release gates](../docs/enterprise-release-gates.md) for the full release contract.
0 commit comments