Skip to content

GCA v0.7.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 12:13
· 18 commits to main since this release

GCA 0.7.0

简体中文

Highlights

  • Daily / Weekly / Monthly / Quarterly Recaps (gca recap & gca portfolio recap):
    • Added versioned schemas/recap/v1.json contract (RECAP and PORTFOLIO_RECAP) and pure
      domain shortcut window resolution (today, yesterday, 1d, day, 7d, 14d, 30d,
      week, month, quarter) with previous-period delta comparisons on host local calendar
      boundaries.
    • Strictly separated delivered highlights (LANDED + RELEASED) from unmerged pending
      follow-ups (AUTHORED_ONLY) and generated copy-ready verified-outcomes.yml templates for
      high-value delivered items.
    • Added bilingual (en-US / zh-CN) Markdown rendering and CLI integration in both single-repo
      and multi-repo portfolio workflows.
  • Self-Contained Interactive HTML Reports (--format html):
    • Added pure-stdlib single-file HTML renderer supporting WORK_ASSESSMENT, RESUME, RECAP,
      PORTFOLIO_SUMMARY, PORTFOLIO_RESUME, and PORTFOLIO_RECAP across gca report,
      gca recap, and gca portfolio assess|resume|recap.
    • Embedded light/dark theme switching, pure SVG charts, client-side search and group filtering,
      clickable EV-xxx / <repoKey>:EV-xxx evidence drawer inspection, and @media print PDF
      layout with zero external CDN requests and strict XSS / </script> escaping.
  • Zero-Extra-Dependency Read-Only MCP Server (gca serve --mcp & gca install-agent):
    • Implemented a pure-stdlib JSON-RPC 2.0 stdio MCP server exposing 6 read-only, privacy-safe
      tools (gca_portfolio_status, gca_portfolio_summary, gca_get_evidence,
      gca_generate_recap, gca_generate_portfolio_resume, gca_verify_citations).
    • Enforced explicit --workspace allowlist path sandboxing (blocking traversal and out-of-root
      reads without echoing host absolute paths) and omitted raw source diffs and author emails.
    • Added gca install-agent --target <antigravity|codex|claude|cursor> with safe --dry-run
      preview by default and idempotent, timestamp-backed --apply installation.
  • PyPI Trusted Publishing, Public Demo Gallery & Bilingual Docs:
    • Added an OIDC publish-pypi job to .github/workflows/release.yml using GitHub-owned
      SHA-pinned actions and native uv publish --trusted-publishing always gated by
      environment: pypi and vars.ENABLE_PYPI_PUBLISH so three-platform standalone artifacts and
      GitHub Releases remain unblocked.
    • Added scripts/build_public_demo.py to generate privacy-verified offline HTML and Markdown
      demo galleries, refreshed bilingual READMEs, and published doc/guides/mcp-guide.md and
      doc/zh-CN/mcp-guide.md.

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.6.1 workspaces, SQLite migrations, exit codes, and
    versioned JSON contracts.

Validation

  • Full core test suite, MCP stdio E2E server suite, HTML XSS/privacy tests, recap lifecycle tests,
    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.7.0

中文文档索引 | English

核心新增

  • 高频周期复盘(gca recap 与 gca portfolio recap):
    • 发布版本化 schemas/recap/v1.json 契约(覆盖单仓 RECAP 与多仓 PORTFOLIO_RECAP)及纯领域
      快捷窗口解析(today、yesterday、1d、day、7d、14d、30d、week、month、quarter),
      按宿主机本地日历日边界自动计算上一等长周期对照变化。
    • 严格分离已交付亮点(LANDED + RELEASED)与未合并待跟进项(AUTHORED_ONLY),并为高价值
      交付条目生成可直接复制沉淀到 verified-outcomes.yml 的业务成果模板草稿。
    • 提供中英双语(zh-CN / en-US)Markdown 复盘渲染,覆盖单仓与多仓组合场景。
  • 单文件离线交互式 HTML 报告(--format html):
    • 新增纯标准库单文件交互式 HTML 渲染器,在 gca report、gca recap 与
      gca portfolio assess|resume|recap 中支持渲染 WORK_ASSESSMENT、RESUME、RECAP、
      PORTFOLIO_SUMMARY、PORTFOLIO_RESUME 与 PORTFOLIO_RECAP。
    • 内嵌明暗主题切换、纯 SVG 图表、搜索与分组过滤、点击 EV-xxx / <repoKey>:EV-xxx 徽章在
      抽屉内钻取原始证据,以及 @media print 导出 PDF 排版;零外链 CDN,并严格执行 XSS 与
      </script> 注入转义。
  • 纯标准库只读 MCP Server 与一键客户端配置(gca serve --mcp + gca install-agent):
    • 实现纯 Python 标准库 JSON-RPC 2.0 stdio MCP 服务端,暴露 6 个只读、脱敏证据工具
      (gca_portfolio_status、gca_portfolio_summary、gca_get_evidence、gca_generate_recap、
      gca_generate_portfolio_resume、gca_verify_citations)。
    • 强制执行 --workspace 白名单路径沙箱(拦截路径穿越与越权读取,且报错不回显宿主机绝对路径),
      响应绝不暴露源代码 diff 与个人原始邮箱。
    • 新增 gca install-agent --target <antigravity|codex|claude|cursor>,默认 --dry-run 仅预览配置,
      显式 --apply 时先备份再幂等合并写入客户端配置文件。
  • PyPI Trusted Publishing、公开标杆 Demo 与双语文档升级:
    • 在 .github/workflows/release.yml 新增基于 GitHub OIDC 与原生 uv publish --trusted-publishing always
      的零第三方 Action publish-pypi Job(受 environment: pypi 与 vars.ENABLE_PYPI_PUBLISH 控制,
      不阻塞三平台独立包与 GitHub Release 发布)。
    • 新增 scripts/build_public_demo.py 一键生成经过隐私校验的脱敏交互式 HTML 与 Markdown Demo 展厅,
      全面升级中英双语 README,并新增 doc/guides/mcp-guide.md 与 doc/zh-CN/mcp-guide.md。

兼容与升级

  • 零新增第三方运行时依赖;gca CLI 独立包产物继续保持零 PySide6、shiboken6 与 QML 资源。
  • 与 0.1.0–0.6.1 的工作区、SQLite 迁移、退出码及版本化 JSON 契约保持 100% 向后兼容。

验证

  • 全量核心测试、MCP stdio 子进程端到端测试、HTML XSS 与脱敏测试、复盘全生命周期测试、无头 GUI 测试、
    覆盖率门禁(核心 >=80% / application+domain >=90%)、ruff、严格 mypy、隔离 wheel 校验
    (scripts/verify_wheel.py)与发布就绪门禁全部通过。