Recurring finding: documentation 9

オープン
#1,855 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
66/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript

調査の方向性

Start by reading src/docs-manuals.repo.test.ts as the pattern, then src/contract/operations-lease-request.ts for the lease.request input keys. Write src/docs-surface.repo.test.ts to assert each key appears in backticks in the requestLease sentence of website/src/content/docs/docs/using-devices/programmatic-client.mdx, with a // why: allowlist for deliberately omitted keys. Verify it fails at f6c01ffa1 and passes at f68cd707b, then name the test in documentation rule 9 and drop the restated brief/checklist lines.

索引モデルが issue の本文から書いたものです。

説明

task:draft

Class

documentation 9 — a change to the public surface updates the website in the same change. Fixed in 6 merged PRs between 2026-10-28 and 2026-11-25: #1529, #1318, #1305, #1241, #1148, #1046 (11 findings in the review ledgers).

Findings

PR Finding Path Pre-fix → fixed
#1529 R1 website/src/content/docs/docs/using-devices/programmatic-client.mdx f6c01ffa1 → f68cd707b
#1318 R1 website/src/content/docs/docs/reference/cli.mdx eeac27598^ → eeac27598
#1318 R2 website/src/content/docs/docs/getting-started/connect-your-agent.mdx e3e7f6d7a^ → e3e7f6d7a
#1305 R1–R3 worker/configuration.mdx, worker/cleanup.mdx, using-devices/errors.mdx 8d6da0548^ → 8d6da0548
#1241 R1 reference/cli.mdx 73b129479^ → 73b129479
#1148 R2 using-devices/errors.mdx a2176754e^ → a2176754e
#1046 R1, R3, R4 how-it-works.mdx, an AGENTS.md, src/instructions/index.ts 830e0c490^, 9a0e3c632^, a72938cc8^ → the commits

What a check sees

Most of these are prose that stopped being true (a retry the code no longer needs, a cap, a table row in the wrong table, "Claude Code and Codex" with pi missing). No script sees those without judgement. One shape is mechanical: a list of contract field names on a page that leaves out a field the contract has.

Pre-fix line, from git show f6c01ffa1:website/src/content/docs/docs/using-devices/programmatic-client.mdx (line 123), the list ends without metadata:

requestLease takes the same choices as simlock lease, under these names: platform, model or class, osVersion (an exact version or a range), mode, imageTag, baseline, physical, ttlMs, timeoutMs, noWait, allowDownload and leaseId. See Choosing a device.

The fix (f68cd707b) adds metadata to that sentence. The lease.request input schema is in src/contract/operations-lease-request.ts.

It would have seen 1 of the 11 findings (#1529 R1). The other ten are prose drift.

Proposed check

A repo test (src/docs-surface.repo.test.ts, beside src/docs-manuals.repo.test.ts) that reads the keys of the lease.request input schema and fails when a key is not named in backticks in the requestLease sentence of programmatic-client.mdx. A short list in the test names the keys that are deliberately not on the page (for example fleetRequestId, owner, and runId, except, label, requires if the page leaves them out on purpose); each carries a // why: line.

Done when

  • The test fails on f6c01ffa1's programmatic-client.mdx (no metadata) and passes on the fixed page at f68cd707b.
  • Documentation rule 9 names the test; the brief and checklist lines that only restated "list every field of requestLease" are deleted.

Written by an agent.

主要言語
TypeScript
スター
730
フォーク
44
平均マージ
16時間 13分
マージ済み PR(30日)
387

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

callstackincubator/simlock のほかの issue

callstackincubator/simlock の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。