Skip to content

GCA v0.6.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 04:16
· 31 commits to main since this release

GCA 0.6.0

简体中文

Highlights

  • Native Multi-Repository Portfolio Workflow (gca portfolio):
    • Added declarative portfolio.yml manifest and isolated .gca-portfolio/ workspace with
      portalocker-backed locking, relative path resolution, and persisted immutable runs.
    • Added gca portfolio init, status, sync, assess, resume, and verify commands
      supporting --json envelopes, Markdown exports, and strictly offline --no-llm execution.
    • Unified cross-repository identity normalization (canonicalPersons + exact email/alias
      rules) applied idempotently across all member repositories during portfolio sync.
  • Versioned Portfolio Contracts & Verification:
    • Published schemas/portfolio-summary/v1.json (PORTFOLIO_SUMMARY) and
      schemas/portfolio-resume/v1.json (PORTFOLIO_RESUME) with strict schema validation.
    • Enforced qualified <repoKey>:EV-xxx cross-repository evidence namespaces, rejecting bare
      EV-xxx citations and verifying internal totals, group rollups, and Markdown references.
    • Kept structural hotspot and coupling metrics strictly observation-only
      (affectsDifficultyRankingOrResume: false) and preserved single-repo claim-strength ceilings.
  • GUI Facade, Engineering Governance & Dependency Modernization:
    • Extended GuiApplicationFacade with portfolio status, sync, assess, resume, and verify
      routing while preserving cooperative cancellation and zero Qt imports in domain/application.
    • Added single-source multi-platform AI agent rules (AGENTS.md, thin adapters, and
      .agents/skills/) guarded by release-readiness anti-drift and privacy-leak checks.
    • Consolidated dependency and GitHub Actions upgrades (pytest 9, mypy 2, rich 15,
      portalocker 4, gitpython 3.2, actions/checkout v7, actions/setup-python v7).

Compatibility And Upgrade

  • All single-repository CLI commands, exit codes, SQLite migrations, and persisted v1/v2 report
    schemas remain 100% backward compatible.
  • Portfolio workspaces reuse existing per-repository .gca/ workspaces without modifying source
    files or Git history.

Validation

  • Unit, integration, CLI E2E, GUI offscreen tests, core/domain coverage gates (>=80% / >=90%),
    strict mypy, ruff, wheel isolation, and 50-repository portfolio benchmark all pass.

GCA 0.6.0

中文文档索引 | English

核心新增

  • 原生多仓库组合工作流(gca portfolio):
    • 新增声明式 portfolio.yml 清单与独立 .gca-portfolio/ 工作区,复用 portalocker 并发锁、
      相对路径解析与不可变运行记录持久化。
    • 新增 gca portfolio init、status、sync、assess、resume、verify 命令族,全部支持
      --json 输出信封、Markdown 报告导出与离线 --no-llm 确定性执行。
    • 支持 Portfolio 级统一身份归一(精确邮箱/别名规则),在 portfolio sync 时幂等下发到全部
      成员仓库,并保留单仓故障隔离(PARTIAL)与协作取消能力。
  • 版本化跨仓契约与自动校验:
    • 发布 schemas/portfolio-summary/v1.json 与 schemas/portfolio-resume/v1.json 严格契约。
    • 强制跨仓证据引用采用 <repoKey>:EV-xxx 命名空间,在领域校验器与 gca portfolio verify
      中拦截裸写 EV-xxx,并自动校验单仓、分组、总计账实一致性及衍生简历证据回溯。
    • 结构热点与耦合信号继续保持 observation-only(affectsDifficultyRankingOrResume: false),
      跨项目简历严格遵守单仓声明强度上限与防幻觉边界。
  • GUI Facade、工程治理与依赖现代化:
    • 在 GuiApplicationFacade 扩展 Portfolio 状态、同步、评估、简历与校验路由,保持 Domain/Application
      零 Qt 依赖。
    • 补齐以 AGENTS.md 为单一事实源的多平台 AI 协作规则、薄桥接入口与按需技能,并纳入发布就绪
      防漂移与正反斜杠路径防泄露测试门禁。
    • 收口全部 Dependabot 依赖与 GitHub Actions 升级(pytest 9、mypy 2、rich 15、
      portalocker 4、gitpython 3.2 及新版 Actions)。

兼容与升级

  • 既有单仓库 CLI 命令、退出码、SQLite 迁移与持久化 v1/v2 报告 Schema 保持完全向后兼容。
  • Portfolio 联邦聚合复用各成员仓的 .gca/ 工作区,不修改业务源码与 Git 历史。

验证

  • 单元测试、集成测试、CLI E2E、无头 GUI 测试、核心与领域覆盖率门禁(>=80% / >=90%)、
    严格 mypy、ruff、隔离 wheel 校验及 50 仓库合成基准脚本全部通过。