Docs: document .vibgrate/config.yml and migration from JSON / review.toml

未关闭 适合新手
#314 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
76/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
documentation

调研方向

首先在 README、docs/ 或 vg review 和 vg doctor 的帮助文档中查找现有的配置文档。说明对 YAML 和 JSON 的支持、初始策略的写入路径、与 review.toml 的兼容性、不会导致数据静默丢失的迁移,以及本地优先的行为。公开文档涵盖验收要点并在示例中使用 vg 后,工作即告完成。

由索引模型根据 Issue 内容生成。

描述

documentation good first issue

Context

Vibgrate CLI 2026.930.1 reads settings from .vibgrate/config.yml alongside vibgrate.config.json, including driftBudget and review policy. The first vg review writes its starter policy into YAML instead of a separate review.toml. Contributors and first-time users need a short public doc that explains precedence, migration, and what stays local-first — without pasting private process docs.

What to do

  1. Find where config loading is described today (README / docs/ / command help for vg review / vg doctor).
  2. Add a concise section covering: YAML vs JSON, starter policy write path, existing review.toml still works, and that nothing leaves the machine unless the user opts in.
  3. Prefer vg in examples; include a no-install try note where natural (npx @vibgrate/cli scan). Keep determinism / DCO notes out of the user-facing config section unless linking CONTRIBUTING.

Acceptance

  • Public docs state that .vibgrate/config.yml is supported and what keys matter for drift budget / review policy
  • Migration notes cover JSON-only setups and legacy review.toml without implying silent data loss
  • Examples use vg; DCO sign-off on commits (git commit -s) if the PR touches the repo

Mentoring notes

Stay in the public CLI surface. Do not invent enterprise/tenant config. Link the release notes discussion if helpful: https://github.com/vibgrate/cli/discussions/313

主要语言
TypeScript
星标
4
派生
3
平均合并
1 天 22 小时
30 天内合并 PR
76

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

vibgrate/cli 的其他 Issue

查看 vibgrate/cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。