|
| 1 | +# GSD Audit-Fix: Promptimprover Enterprise Readiness |
| 2 | + |
| 3 | +**Date:** 2026-06-10 |
| 4 | +**Invocation:** `$gsd-audit-fix --severity all --max 8` |
| 5 | +**Source:** Direct repository evidence fallback; no `.planning/phases` UAT artifacts exist. |
| 6 | + |
| 7 | +## Classification and Results |
| 8 | + |
| 9 | +| ID | Finding | Severity | Classification | Result | |
| 10 | +|---|---|---|---|---| |
| 11 | +| F-01 | Correlation behavior fails the full test suite | High | Auto-fixable | Fixed in `726200b` | |
| 12 | +| F-02 | npm audit reports vulnerable transitive dependencies | High | Auto-fixable | Fixed in `c4dc532` | |
| 13 | +| F-03 | npm tarball leaks local state, planning, source, tests, and nested archive | High | Auto-fixable | Fixed in `a216215` | |
| 14 | +| F-04 | Build uses Windows-only shell commands | High | Auto-fixable | Fixed in `6420017` | |
| 15 | +| F-05 | CI skips a test and does not validate build/package or Windows | High | Auto-fixable, push-blocked | Fixed locally in `audit/promptimprover-full-enterprise-local`; GitHub rejected workflow push because OAuth lacks `workflow` scope | |
| 16 | +| F-06 | Git tracks dependencies, generated outputs, runtime memory, and archives | High | Auto-fixable | Fixed in `69561f8` | |
| 17 | +| F-07 | Dashboard network binding is not explicitly loopback-only | High | Auto-fixable | Fixed in `ed20725` | |
| 18 | +| F-08 | Installer is Windows-only and lacks fail-fast validation | Medium | Auto-fixable | Fixed in `b954a3c` | |
| 19 | + |
| 20 | +## Verification |
| 21 | + |
| 22 | +- `npm ci --no-fund`: passed |
| 23 | +- `npm audit --omit=dev --audit-level=high`: 0 vulnerabilities |
| 24 | +- `npx tsc --noEmit`: passed |
| 25 | +- `npm test`: 15 files, 43 tests passed |
| 26 | +- `npm run build`: passed |
| 27 | +- `npm pack --dry-run`: 25 runtime-only entries |
| 28 | +- Windows installer: passed end-to-end |
| 29 | +- POSIX installer: shell syntax passed |
| 30 | +- Installed command: dashboard HTTP 200 on `127.0.0.1` |
| 31 | +- Git hygiene: 13,566 generated/runtime/dependency files removed from tracking |
| 32 | + |
| 33 | +## Manual-Only Follow-Up |
| 34 | + |
| 35 | +- Push the prepared CI workflow commit using a GitHub token with `workflow` scope. |
| 36 | +- Decide whether to retire or independently maintain duplicated `gemini-extension` and legacy `mcp-server` packages. |
| 37 | +- Design production remote HTTP MCP deployment with OAuth 2.1 or managed identity; current runtime is local stdio plus loopback dashboard. |
| 38 | +- Add release provenance, signed GitHub releases, SBOM generation, and a versioning policy. |
| 39 | +- Replace `universal-refiner/register-global.ps1` hard-coded paths and direct configuration mutation with an idempotent registration command. |
0 commit comments