Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Record 1.3's command and tools in `cli-1.3.0.json` and `mcp-1.3.0.json`

Đang mở
#35 0 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, github
Lĩnh vực
api, cli, testing

Hướng nghiên cứu

Read tests/Prompuff.Cli.Tests/CliContractTests.cs, McpContractTests.cs, Contract.cs, and tests/pinned-fixtures.sha256; follow the Write_contract flow and its PROMPUFF_WRITE_CONTRACT setting. Record the CLI link cases in cli-1.3.0.json and MCP save-tool cases in mcp-1.3.0.json beside the 1.0 fixtures, then pin both. Done means the 1.0 and 1.3 contract tests pass and renaming the link command or a save-tool input fails a test.

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

Mô tả

The prompuff link command (#30) and the MCP save tool (#32) join the promise once they ship. Later versions are held to them the same way 1.0's recordings hold the 1.0 command line and MCP server.

What to do

  • Record cli-1.3.0.json: link by ID, by title, ambiguous and not found, with and without --json, with each exit code and its output.
  • Record mcp-1.3.0.json: the save tool with its inputs, required inputs and hints, a call that saves, a call refused while the setting is off, and the listChanged capabilities.
  • Put both beside 1.0's recordings in tests/Prompuff.Cli.Tests/Fixtures/ and pin them. A later answer passes when everything recorded is still there with the same value, so new fields are fine.
  • Never edit, regenerate or delete cli-1.0.0.json or mcp-1.0.0.json.

Where to look

  • tests/Prompuff.Cli.Tests/CliContractTests.cs and McpContractTests.cs: Write_contract (PROMPUFF_WRITE_CONTRACT)
  • tests/Prompuff.Cli.Tests/Contract.cs
  • tests/pinned-fixtures.sha256

Done when

  • Both recordings are pinned, and the 1.0 and 1.3 contract tests pass.
  • Renaming the link command or a save-tool input fails a test. Try it, then undo it.
Ngôn ngữ chính
C#
Star
0
Fork
1
Merge trung bình
1 giờ 51 phút
Pull request đã merge (30 ngày)
13

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 hazeliscoding/prompuff

Tất cả issue của hazeliscoding/prompuff

Issue tương tự

Thêm issue về C#

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.