Repository navigation
Description
Suggested Improvements
- Decoupling from Rails/Vitest (Portability)
Currently,
ship/SKILL.md
is hardcoded to execute Rails-specific and frontend-specific commands:
bash
bin/test-lane 2>&1 | tee /tmp/ship_tests.txt &
npm run test 2>&1 | tee /tmp/ship_vitest.txt &
And it hardcodes LLM evaluations to your specific pipeline:
bash
EVAL_JUDGE_TIER=full EVAL_VERBOSE=1 bin/test-lane --eval test/evals/_eval_test.rb
Suggestion: If gstack is meant to be adopted by others, these test commands should be moved to a configuration file (e.g., .gstack.json) or leverage standard
package.json
scripts (e.g., npm run test:backend, npm run gstack:evals). This would make the ship workflow instantly usable for non-Rails projects (Go, Node, Python, etc.).
-
Generalizing Review Checklist
The
review/SKILL.md
points to an external .claude/skills/review/checklist.md which includes heavily Rails-focused backend checks (e.g., update_column, .includes(), find_or_create_by, sanitize_sql_array). Suggestion: Provide a default generic checklist in the gstack repository itself. You could also offer language-specific checklist templates so that when someone installs gstack, they can copy a checklist suited to their stack instead of assuming Rails. -
browse Tool Resilience
CLI Timeouts: The 30s timeout in
cli.ts
fetch
might be too aggressive for extremely slow pages or when taking complex programmatic snapshots. Making this configurable via an environment variable (e.g., BROWSE_TIMEOUT) would add flexibility.
Buffer Memory: In
buffers.ts
, the HIGH_WATER_MARK is set to 50_000. If network requests or console logs are particularly verbose, the server will hold up to 100,000 objects in memory indefinitely. While NodeJS handles this fine, exposing this as an environment variable configuration might be safer for long-running daemons.
4. retro Logic Robustness
The /retro skill uses bash string-manipulation directly within the skill definition to parse commits and generate the summary:
bash
existing=$(ls .context/retros/${today}-*.json 2>/dev/null | wc -l | tr -d ' ')
Suggestion: Complex bash scripting inside a markdown prompt can be brittle across platforms (e.g., macOS wc outputs differently from Linux wc in some contexts). Writing a tiny TypeScript CLI script to handle retro data generation (similar to how browse uses cli.ts) would make it significantly more robust, versionable, and testable.
- setup Script Tweaks
Bun versioning: The setup script currently checks bun.lock to see if a rebuild is necessary. Bun 1.0/1.1 used bun.lockb while Bun 1.2+ uses bun.lock. It might be safer to check for both bun.lock and bun.lockb to accommodate users on older Bun versions. - Enhanced Debug Context (Inspired by AuldricAI/ax)
Currently, gstack/browse captures raw console.error logs. However, in modern frameworks (Next.js, Vite), raw console logs often truncate stack traces, while the full, sourcemapped, beautifully formatted stack trace is rendered directly into the DOM via error overlays. Suggestion: Update the server.ts Playwright script to specifically hunt for and extract text from and elements when capturing state. Injecting this extracted text into the AI's context window provides a vastly superior, high-fidelity bug report compared to raw console output when things break.
Activity
feat: ship run log persistence for /retro velocity tracking
feat: ship run log persistence for /retro velocity tracking
feat: ship run log persistence for /retro velocity tracking
feat: address all visualizer (garrytan#19-garrytan#21) and resolver (g…
🎉 Issue garrytan#12 完美解决 - 玛露遮瑕膏落地页
📊 MSA 爆发性增长: 2,346 → 2,379 stars (+33, +1.41%)
chore: bump version and changelog (v1.1.0.0)
feat(browse): Puppeteer parity — load-html, screenshot --selector, vi…
test: regression suite + E2E for v1.27.0.0 rename
v1.27.0.0 feat: /setup-gbrain Path 4 (remote MCP) + brain → artifacts…
feat(browse): Puppeteer parity — load-html, screenshot --selector, vi…
v1.27.0.0 feat: /setup-gbrain Path 4 (remote MCP) + brain → artifacts…
test(gbrain): periodic E2E for /setup-gbrain Path 4 + Step 4.5 Yes flow
test(gbrain): relax E2E assertions to smoke-test contract
v1.37.0.0 feat: split-engine gbrain (remote MCP brain + local PGLite …
feat(browse): Puppeteer parity — load-html, screenshot --selector, vi…
v1.27.0.0 feat: /setup-gbrain Path 4 (remote MCP) + brain → artifacts…
v1.37.0.0 feat: split-engine gbrain (remote MCP brain + local PGLite …
Fix gbrain ingest writer and source ID generation issues (#3)
v1.54.0.0 feat: carve /ship into skeleton + on-demand sections (-59% …
feat(browse): Puppeteer parity — load-html, screenshot --selector, vi…
v1.27.0.0 feat: /setup-gbrain Path 4 (remote MCP) + brain → artifacts…
test: add minimal-change counterexample eval, unit-test matchesUnnegated
chore(gate): redeploy review-pr.sh from sovereign-forge 190d8be (garr…
v1.91.8.0 test: smaller suite, derived paid selection, retired never-…
v1.91.12.0 v1.91.12.0: audit fix wave, ~11-minute paid eval lanes, ev…
test(W7c): match retro clock rule case-insensitively, drop proximity …