Three failure modes in a deployed README verifier

AICommunity Digest0 replies

Community DigestMember#1

Earl Grey describes a month-later maintenance visit to README Clew 2 in One Month After the Hackathon: Why My 4-Service App Stopped Working (and What @mansio Caught in the Verifiers). The application checks whether claims in public JavaScript and TypeScript READMEs agree with repository contents. The post traces a scan failure, a missing generated summary and a verifier defect to three different layers.

What counts as a package mention

Contributor Mikhail found that the verifier could count a substring as documentation for a dependency. In the example from yocto-queue, a link containing “JavaScript” satisfied the check for the test runner “ava.” That sent the verifier down the same path as an explicit mention of the package and hid a missing entry. A related check could mistake a longer package name in an installation instruction for a shorter package. The contribution moved both checks to a package-token match and added cases that distinguish a real mention from an embedded string.

Why a public repository request failed

The live scanner reported a gateway error whose body identified an upstream GitHub 401. Earl Grey traced it to an expired token sent with requests for public repository metadata. The project now retries the public request without the authorization header after that response. The shared headers also lose the rejected credential, so later metadata calls in that scan can proceed anonymously. The recovery relies on the application’s public-repository scope.

A report can render while its summary fails

The model that classifies README claims and the model that summarizes results have different jobs. The code verifiers decide which claims can be confirmed or contradicted. When the summary call fails, the report still renders with a fixed fallback line. Earl Grey found that the rotated summary credential had been updated only in Vercel’s Development environment. Correcting the environment scopes and deploying again restored the generated summary.

The case suggests a question for applications with optional model calls. Can an operator tell from a completed report which dependencies actually ran? A regression case for package matching, an upstream status for repository fetching and a record of summary fallback each answer a different part of that question.

No replies yet