`agent-review-report-contract` and `frontmatter-schema`: NDJSON diagnostics; classify `workspace-coupling`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read the two ADRs named in the issue, then inspect contrib/dev-tools/checks/agent-review-report-contract/src/main.rs, contrib/dev-tools/checks/frontmatter-validator/src/bin/frontmatter-schema.rs, and contrib/dev-tools/analysis/workspace-coupling/src/main.rs. Check their callers in workflows, hooks, and docs/packages.md, plus the spec under docs/issues/open/. Run the relevant checks and tests; done means diagnostics follow the stated NDJSON and exit-code contract, stdout is empty where required, and callers and output documentation are updated.
索引モデルが issue の本文から書いたものです。
説明
Part of EPIC #2758. Order 4 of 11, wave 1.
Goal
The two plain-text dev-tool checks follow the no-stdout-result contract, and workspace-coupling is checked and, if needed, fixed.
Background
contrib/dev-tools/checks/agent-review-report-contract/src/main.rs writes a plain-text success line to stdout and plain-text failures to stderr. contrib/dev-tools/checks/frontmatter-validator/src/bin/frontmatter-schema.rs writes frontmatter-schema: <error> to stderr (usage already exits 2). Neither is in the ADR table (EPIC issue 1 adds them as no-stdout-result). contrib/dev-tools/analysis/workspace-coupling/src/main.rs already emits NDJSON on stderr with exit codes for usage and runtime; verify where its Markdown report goes (file argument versus stdout) and whether stdout stays empty. Verify who calls each tool (workflows, hooks, docs/packages.md) and update those callers.
The contract in short: see the ADRs docs/adrs/20260519000000_define_global_cli_output_contract.md and docs/adrs/20261106102632_scope_the_cli_output_contract_and_keep_exit_codes_to_zero_one_two.md.
In scope
agent-review-report-contract: nothing on stdout; one NDJSON record per failure on stderr (withkind); exit0when clean,1on a finding or failure.frontmatter-schema: NDJSON diagnostics on stderr; usage stays2.workspace-coupling: fix only what the check finds; record the outcome.- Update tests and any docs describing the output.
Out of scope
- Changing what the checks validate.
- Editing the ADR.
Acceptance criteria
- Neither converted tool writes plain text on any channel.
- On success stdout is empty and the exit code is
0; on a finding the exit code is1with NDJSON records. workspace-couplingleaves stdout empty or is documented as astdout-result-datatool with a JSON result.- Callers are unaffected or updated.
The full specification (implementation plan, verification plan, files this issue may touch) is added by the spec PR under docs/issues/open/.
- 主要言語
- Rust
- スター
- 532
- フォーク
- 56
- 平均マージ
- 11時間 20分
- マージ済み PR(30日)
- 282
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
torrust/torrust-tracker のほかの issue
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
torrust/torrust-tracker#3080 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
torrust/torrust-tracker#3069 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
torrust/torrust-tracker#3058 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
torrust/torrust-tracker#2978 ·
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
torrust/torrust-tracker#2332 ·
メンテナーはふだん 1 日以内に返信
torrust/torrust-tracker の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
difficulty: easy docs help wanted tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
-
bug help wanted ui
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
userFRM/egui-charts#4386 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
eliasstravik/herdr-projects#1605 · コメント 1 件 ·