You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
State the pipeline's exception, failure-message and helper-reuse conventions in AGENTS.md #891
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
Review comments on rtibblesbot's ricecooker PRs keep raising three pipeline conventions that AGENTS.md does not state: which exceptions a handler turns into a file failure, the shape of a file failure message, and which shared helpers to reuse. Each came up on 5+ PRs in the last 90 days.
AGENTS.md should state the three conventions, and lint should catch the one it can.
Acceptance Criteria
AGENTS.md says a pipeline handler turns every failure its library calls raise on bad input into a file failure, including timeouts and non-OSError types such as PIL.Image.DecompressionBombError and yt-dlp's DownloadError
AGENTS.md says every external subprocess call takes a timeout=
A bare except Exception under ricecooker/utils/pipeline/ fails prek
AGENTS.md says a file failure message is one line: the source (URL or original path) and a reason, with no storage path, command line or raw stderr
AGENTS.md says to use config.FILE_PIPELINE for every file, derive extension sets from the handlers' EXTENSIONS/CONVERT_EXTENSIONS, and decode text through encodings.decode_text
References
Triaged from learningequality/le-skills#146.
AI usage
I asked Claude Code to triage le-skills#146 and file the ricecooker-specific items here; it checked the cited comments and drafted this issue.
Activity