cli: garbled usage text, omitted help flags, zero token reporting in do --json, and workspace defaulting
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
Start with cmd/codeaf/main.go and inspect the help text and usage templates around line 479, then review cmd/codeaf/do.go for token aggregation and cmd/codeaf/engine.go for workspace defaults. Run the listed help, JSON, and engine commands from a repository to reproduce the issues. Done means corrected help coverage and wording, accurate token values in do --json, and repository-aware workspace defaults.
索引モデルが issue の本文から書いたものです。
説明
Summary
CLI help text contains syntax errors and missing flag documentation, codeaf do --json omits token counts, and engine workspace flags default to user home instead of current directory.
Items & Observed Behavior
- Garbled CLI help sentence: Line 479 of
cmd/codeaf/main.gocontains a malformed sentence:"None takes --yolo, and What do and run can still refuse is a plan whose price crosses". - Omitted CLI flags in
--help:codeaf --helpomits documentation fordo --slots,--best,--cheap,--pin,--check-model,chat --max-cost,--max-hours, and theenginesubcommand. - Zero token count in
do --json: Runningcodeaf do --jsonoutputs"tokens": {"in": 0, "out": 0}despite reporting non-zero"spend_usd". - Engine workspace defaults to home: Running
codeaf engine --statusorcodeaf engine --stopfrom within a repository defaults--workspaceto~instead of the current working directory.
Expected Behavior
- Help and usage strings must be grammatically correct and list all supported flags.
do --jsonoutput must accurately aggregate and report token usage.- Subcommands should detect and use the active git root / working directory by default.
Root Cause / Location
cmd/codeaf/main.go: CLI help documentation and string templates.cmd/codeaf/do.go: Token counter aggregation into the JSON envelope.cmd/codeaf/engine.go: Default workspace resolution logic.
—
Drafted with CodeAF · reviewed and owned by the author
- 主要言語
- Go
- スター
- 115
- フォーク
- 14
- 平均マージ
- 9時間 37分
- マージ済み PR(30日)
- 755
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Agent-Field/CodeAF のほかの issue
-
area:chat bug sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Agent-Field/CodeAF#1592 ·
メンテナーはふだん 1 日以内に返信
-
area:headless bug sev:critical
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1566 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
area:chat feature
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Agent-Field/CodeAF#1510 ·
メンテナーはふだん 1 日以内に返信
-
area:tests bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Agent-Field/CodeAF#1489 ·
メンテナーはふだん 1 日以内に返信
-
area:chat bug good first issue sev:papercut
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Agent-Field/CodeAF#1470 ·
メンテナーはふだん 1 日以内に返信
Agent-Field/CodeAF の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
rossoctl/context-guru#346 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
prime-radiant-inc/evener#2883 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
gravitational/teleport#69805 ·
メンテナーはふだん 11 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Under Poisson sampling, the `PLDAccountant` composes the inner event both before and after samplingオープン
難易度 2/5 半日 初心者へのやさしさ 78/100
google/differential-privacy#496 ·