Skip to content

Commit d732797

Browse files
authored
Merge pull request #1 from Coding-Autopilot-System/docs/portfolio-hardening-20260610
docs: sharpen Promptimprover portfolio proof
2 parents 0e4e021 + 7ee814b commit d732797

13,582 files changed

Lines changed: 376 additions & 3292832 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gemini/memory.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Dependencies and generated outputs
2+
**/node_modules/
3+
**/dist/
4+
*.tgz
5+
6+
# Runtime state and local databases
7+
.refiner/
8+
**/.refiner/
9+
.gemini/memory.json
10+
**/.gemini/memory.json
11+
**/.gemini/blackboard.json
12+
*.db
13+
*.db-shm
14+
*.db-wal
15+
*.log
16+
17+
# Local configuration and environment
18+
.env
19+
.env.*
20+
!.env.example
21+
22+
# Editor and OS artifacts
23+
.vscode/
24+
.idea/
25+
.DS_Store
26+
Thumbs.db

.planning/STATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,12 @@
2727
### Blockers
2828
- None.
2929

30+
### Quick Tasks Completed
31+
32+
| # | Description | Date | Commit | Status | Directory |
33+
|---|-------------|------|--------|--------|-----------|
34+
| 260610-pps | Fix PR #1 review blocker: README and build_and_install.ps1 must accurately document the globally exposed gemini-prompt-refiner command | 2026-06-10 | this commit | Verified | [260610-pps-fix-pr-1-review-blocker-readme-and-build](./quick/260610-pps-fix-pr-1-review-blocker-readme-and-build/) |
35+
3036
## Session Continuity
37+
Last activity: 2026-06-10 - Completed quick task 260610-pps: Fix PR #1 command documentation blocker.
3138
The project is set up with a clear 3-phase roadmap. Next step is to begin planning Phase 1.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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 `9806a26` |
18+
| F-08 | Installer is Windows-only and lacks fail-fast validation | Medium | Auto-fixable | Fixed in `77c8de3` |
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.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
quick_id: 260610-pps
3+
status: ready
4+
mode: quick-full
5+
description: "Fix PR #1 review blocker: README and build_and_install.ps1 must accurately document the globally exposed gemini-prompt-refiner command"
6+
---
7+
8+
# Quick Task 260610-pps Plan
9+
10+
## Goal
11+
12+
Make the root README and install script accurately identify the global executable exposed by `universal-refiner/package.json`.
13+
14+
## Must Haves
15+
16+
- `README.md` tells users to configure `gemini-prompt-refiner`, matching the package manifest's `bin` key.
17+
- `build_and_install.ps1` reports and recommends `gemini-prompt-refiner` after global installation.
18+
- The task remains documentation-only and does not alter package behavior.
19+
20+
## Tasks
21+
22+
1. Update inaccurate `prompt-refiner` command references in `README.md` and `build_and_install.ps1`.
23+
2. Verify the package manifest and both user-facing files agree on `gemini-prompt-refiner`.
24+
3. Run `git diff --check`, record validation evidence, update GSD state, and commit the complete quick task atomically.
25+
26+
## Validation
27+
28+
- Inspect `universal-refiner/package.json` and confirm `bin` contains `gemini-prompt-refiner`.
29+
- Search `README.md` and `build_and_install.ps1` for command references and confirm no inaccurate `prompt-refiner` executable remains.
30+
- Run `git diff --check`.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
quick_id: 260610-pps
3+
status: complete
4+
completed: 2026-06-10
5+
---
6+
7+
# Quick Task 260610-pps Summary
8+
9+
Updated every user-facing executable reference in `README.md` and `build_and_install.ps1` to `gemini-prompt-refiner`, matching the sole `bin` key in `universal-refiner/package.json`.
10+
11+
## Changes
12+
13+
- Corrected the README architecture label and MCP client configuration instruction.
14+
- Corrected the install script's success and usage messages.
15+
- Left package behavior unchanged.
16+
17+
## Validation
18+
19+
- Parsed `universal-refiner/package.json` and confirmed `bin=gemini-prompt-refiner`.
20+
- Inspected all `prompt-refiner` references in `README.md` and `build_and_install.ps1`.
21+
- Ran `git diff --check`.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
quick_id: 260610-pps
3+
status: passed
4+
verified: 2026-06-10
5+
---
6+
7+
# Quick Task 260610-pps Verification
8+
9+
## Result
10+
11+
Passed. `README.md` and `build_and_install.ps1` consistently identify `gemini-prompt-refiner` as the globally exposed command defined by `universal-refiner/package.json`.
12+
13+
## Evidence
14+
15+
- Manifest inspection found exactly one `bin` key: `gemini-prompt-refiner`.
16+
- Targeted inspection found no standalone stale `prompt-refiner` command references in the blocked files.
17+
- `git diff --check` completed without errors.

0 commit comments

Comments
 (0)