Recurring finding: documentation 9

Ouverte
#1,855 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
Une demi-journée
Accessibilité débutants
66/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
typescript

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
TypeScript
Étoiles
730
Forks
44
Merge moyen
16 h 13 min
PR mergées (30 j)
387

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de callstackincubator/simlock

Toutes les issues de callstackincubator/simlock

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.