Skip to content

GCA v0.8.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:08
· 11 commits to main since this release

GCA 0.8.0

简体中文

Highlights

  • 10-Second Zero-Friction First Run (gca recap --open):
    • Added read-only local Git identity resolution (git config user.email / user.name) and
      unique portfolio identity inference so gca recap and gca portfolio recap run cleanly
      without requiring --person upfront (explicit --me flag also supported).
    • Enabled --auto-sync by default on gca recap (auto-initializes .gca/ when absent and
      incrementally syncs when present, with safe 1-to-1 exact-email self-confirmation and
      --no-auto-sync opt-out) plus --open to render and launch self-contained HTML directly in
      the default browser.
    • Upgraded pyproject.toml with PyPI project.urls, discovery keywords, and 4 - Beta
      classifier.
  • Read-Only Stdlib MCP 2.0 Server (Single-Repo + Prompts + Resources):
    • Extended the zero-extra-dependency MCP protocol layer (adapters/mcp/protocol.py) with
      prompts/list, prompts/get, resources/list, and resources/read.
    • Added gca_workspace_overview (7 read-only tools total) and unified all core MCP tools to
      auto-detect both single Git repositories and multi-repo portfolios with optional person
      fallback and strict email/path redaction.
    • Shipped 4 built-in anti-hallucination MCP Prompts (standup-recap, weekly-report,
      brag-doc, audit-resume-claims) and 2 sanitized MCP Resources
      (gca://workspace/overview, gca://workspace/outcomes-template).
  • Brag Document & Verified Outcomes Ledger (gca outcome & gca brag):
    • Extended outcomes.yml backward-compatibly with optional evidenceIds and tags, plus
      lock-protected atomic persistence (gca outcome add|list|remove) with offline evidence ID
      existence checks.
    • Added versioned schemas/brag/v1.json, pure domain brag_rules.py, bilingual Markdown &
      zero-CDN interactive HTML renderers, and gca brag / gca portfolio brag (--year,
      --quarter, --since/--until, --open).
    • Enabled automatic discovery of workspace .gca/outcomes.yml and .gca-portfolio/outcomes.yml
      in gca resume and gca portfolio resume (--no-default-outcomes to opt out).
  • Aligned Desktop GUI (gca-gui):
    • Added Recap & Brag generation, Outcomes ledger management, and interactive HTML export/open
      through GuiApplicationFacade while maintaining strict Qt isolation from domain,
      application, and standalone gca CLI builds.
  • GitHub Pages Live Interactive Demo & Community Launch Assets:
    • Added .github/workflows/pages.yml and upgraded scripts/build_public_demo.py with Brag
      Document (OUT-001) and an interactive "GCA vs. Raw LLM over git log" anti-hallucination
      comparison page.
    • Added offline vector overview diagrams (doc/assets/), upgraded bilingual READMEs, an
      open-source GitHub Actions Spotlight guide, and MCP Registry listing metadata.

Compatibility And Upgrade

  • Zero new third-party runtime dependencies; gca CLI standalone builds remain completely free of
    PySide6, shiboken6, and QML resources.
  • 100% backward compatible with 0.1.0–0.7.0 workspaces, SQLite migrations, existing outcomes.yml
    files, CLI exit codes, and all 6 original MCP tool contracts.

Validation

  • Full core test suite, MCP 2.0 unit & stdio E2E suites, Brag & Outcomes lifecycle suite,
    zero-friction recap suite, headless GUI suite, coverage gates (>=80% core / >=90%
    application+domain), ruff, strict mypy, wheel isolation (scripts/verify_wheel.py), and
    release-readiness checks all pass.

GCA 0.8.0 发布说明

English

核心新增

  • 10 秒零摩擦首跑(gca recap --open):
    • 新增本地 Git 身份只读推断(git config user.email / user.name)与多仓唯一身份自动匹配,
      gca recap 与 gca portfolio recap 支持零 --person 直跑(同时提供显式 --me 开关)。
    • gca recap 默认开启 --auto-sync(未初始化 .gca/ 时自动建库索引,已存在时自动增量同步,
      仅对精确匹配邮箱做安全 1 对 1 自确认,绝不合并模糊身份;支持 --no-auto-sync 关闭),并新增
      --open 一键在浏览器打开单文件离线交互式 HTML 报告。
    • 完善 pyproject.toml 的 PyPI project.urls、检索 keywords 并升级分类器至 4 - Beta。
  • 纯标准库只读 MCP 2.0 Server(单仓全兼容 + Prompts + Resources):
    • 在零新增第三方依赖的前提下,扩展 MCP 协议层支持 prompts/list、prompts/get、
      resources/list 与 resources/read。
    • 新增通用概览工具 gca_workspace_overview(共 7 个只读工具),所有核心工具全面自动识别单仓与
      Portfolio 目录,支持缺省 person 回落并严格脱敏邮箱与本机路径。
    • 内置 4 个防幻觉 MCP Prompts(standup-recap、weekly-report、brag-doc、
      audit-resume-claims)与 2 个只读脱敏 Resources(gca://workspace/overview、
      gca://workspace/outcomes-template)。
  • Brag Document 与已核验成果簿闭环(gca outcome 与 gca brag):
    • 向后兼容扩展 outcomes.yml 新增可选字段 evidenceIds 与 tags,新增带文件锁原子写入的
      gca outcome add|list|remove(支持离线校验关联 EV-xxx 证据是否存在)。
    • 新增版本化 schemas/brag/v1.json、纯领域规则 brag_rules.py、双语 Markdown 与零外链交互式
      HTML 视图,以及 gca brag / gca portfolio brag(支持 --year、--quarter、--open)。
    • gca resume 与 gca portfolio resume 支持自动发现加载工作区默认 outcomes.yml(可通过
      --no-default-outcomes 显式关闭)。
  • gca-gui 桌面端能力拉齐:
    • 通过 GuiApplicationFacade 为桌面端新增 Recap & Brag 页、Outcomes 成果簿 管理面板与
      HTML 报告导出/一键打开,继续严守 domain/application/CLI 独立包与 Qt 零耦合红线。
  • GitHub Pages 在线 Demo、首屏视觉资产与开源推广模板:
    • 新增 .github/workflows/pages.yml 自动部署脱敏交互式 Live Demo 站点,并在
      scripts/build_public_demo.py 中新增 Brag Document 与“GCA vs 直接用 LLM 读 git log 防幻觉对照页”。
    • 新增纯矢量离线 SVG 架构图(doc/assets/)、升级双语 README 首屏、补充开源项目 GitHub Actions
      Spotlight 指南与 MCP Registry 目录提交元数据。

兼容性与升级

  • 零新增第三方运行时依赖;gca CLI 独立产物继续保持完全不含 PySide6、shiboken6 与 QML 资源。
  • 100% 向后兼容 0.1.0–0.7.0 工作区、SQLite 迁移、旧版 outcomes.yml、CLI 退出码与全部 6 个既有 MCP 工具契约。

验证情况

  • 全量核心测试、MCP 2.0 单元与子进程 stdio E2E 测试、Brag 与 Outcomes 全生命周期测试、零摩擦首跑测试、
    无头 GUI 测试、覆盖率硬门禁(核心 ≥ 80% / Application+Domain ≥ 90%)、ruff、严格 mypy、
    wheel 隔离验证(scripts/verify_wheel.py)与发布就绪门禁全部通过。