Skip to content

Verify source URLs at generation time #86

Description

@ryw

Blog draft generation asks the model for "real, verifiable" source URLs, but nothing checks them — a past batch shipped multiple fabricated URLs that 404'd (discovered only by a manual curl sweep).

Proposal: after parsing generated essays, HEAD/GET each sources[].url (following redirects, browser UA, short timeout). On non-200: drop the source and warn, or ask the model once for a replacement. Could live in work.ts next to the existing em dash scrub, or as a standalone ship lint-sources command that the review flow runs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions