merge: incorporate origin/main into community-mode branch

Conflicts resolved:
- VERSION: keep 0.14.0.0 (our branch > main's 0.13.6.0)
- CHANGELOG.md: keep both entries, 0.14.0.0 above 0.13.6.0
- package.json: keep 0.14.0.0

Main brought in v0.13.6.0 "GStack Learns": project learnings system
with confidence calibration, /learn skill, cross-project discovery,
confidence decay, learnings count in preamble.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-03-29 20:03:58 -07:00
47 changed files with 2372 additions and 0 deletions

View File

@@ -23,6 +23,21 @@ This release also adds the community infrastructure that powers the showcase: de
- **Telemetry data integrity.** Source tagging, UUID fingerprint, duration guards, error context fields.
- **Supabase security lockdown.** RLS tightened, edge functions validate schema, source=live filtering.
## [0.13.6.0] - 2026-03-29 — GStack Learns
Every session now makes the next one smarter. gstack remembers patterns, pitfalls, and preferences across sessions and uses them to improve every review, plan, debug, and ship. The more you use it, the better it gets on your codebase.
### Added
- **Project learnings system.** gstack automatically captures patterns and pitfalls it discovers during /review, /ship, /investigate, and other skills. Stored per-project at `~/.gstack/projects/{slug}/learnings.jsonl`. Append-only, Supabase-compatible schema.
- **`/learn` skill.** Review what gstack has learned (`/learn`), search (`/learn search auth`), prune stale entries (`/learn prune`), export to markdown (`/learn export`), or check stats (`/learn stats`). Manually add learnings with `/learn add`.
- **Confidence calibration.** Every review finding now includes a confidence score (1-10). High-confidence findings (7+) show normally, medium (5-6) show with a caveat, low (<5) are suppressed. No more crying wolf.
- **"Learning applied" callouts.** When a review finding matches a past learning, gstack displays it: "Prior learning applied: [pattern] (confidence 8/10, from 2026-03-15)". You can see the compounding in action.
- **Cross-project discovery.** gstack can search learnings from your other projects for matching patterns. Opt-in, with a one-time AskUserQuestion for consent. Stays local to your machine.
- **Confidence decay.** Observed and inferred learnings lose 1 confidence point per 30 days. User-stated preferences never decay. A good pattern is a good pattern forever, but uncertain observations fade.
- **Learnings count in preamble.** Every skill now shows "LEARNINGS: N entries loaded" during startup.
- **5-release roadmap design doc.** `docs/designs/SELF_LEARNING_V0.md` maps the path from R1 (GStack Learns) through R4 (/autoship, one-command full feature) to R5 (Studio).
## [0.13.5.1] - 2026-03-29 — Gitignore .factory
### Changed