Recurring finding: documentation 9

Offen
#1,855 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
66/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
730
Forks
44
Ø Merge
16 Std. 13 Min.
Gemergte PRs (30 T.)
387

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus callstackincubator/simlock

Alle Issues in callstackincubator/simlock

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.