oldwinter / oldwinter/hctl

体验:hctl doctor 缺配置只写 no config file,不说 hctl describe

Open Beginner friendly
#28 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
0
Forks
0
Avg merge
10m
Merged PRs (30d)
12

Description

体验

hctl doctor 的 CLI 只在 parse error 时打印 Next: hctl describe harness …。缺配置文件、没有默认模型时,adapter 只把 Message 写成 no config file / no default model,表格里没有下一步。

hctl describe harness <name> 是只读说明,不改配置。空 onboarding 之后应该指向它。

不要和 #27(Adapter 编译期契约 / FSReader)混在一起。

期望

adapters.Doctor 在 onboarding=needed 且没有 parse error 时,Message 带上 Inspect: hctl describe harness <name>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at adapters.Doctor and trace the existing parse-error path alongside the no-config-file and no-default-model cases. When onboarding=needed without a parse error, make the Message include Inspect: hctl describe harness <name>; done means the empty-onboarding output points to this read-only command without mixing in #27.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.