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

Đang mở Phù hợp với người mới
#314 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
76/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
documentation

Hướng nghiên cứu

Bắt đầu bằng cách tìm tài liệu cấu hình hiện có trong README, docs/ hoặc phần trợ giúp của vg review và vg doctor. Giải thích hỗ trợ YAML và JSON, đường dẫn ghi chính sách khởi đầu, khả năng tương thích với review.toml, việc di chuyển mà không âm thầm mất dữ liệu và hành vi ưu tiên cục bộ. Công việc hoàn tất khi tài liệu công khai bao quát các tiêu chí chấp nhận và dùng vg trong các ví dụ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
4
Fork
3
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
76

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của vibgrate/cli

Tất cả issue của vibgrate/cli

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.