Skip to main content

SHORT_DRAFT

Constant SHORT_DRAFT 

Source
pub const SHORT_DRAFT: &str = "the draft is under 200 bytes, which is about a \
     title and one criterion: check the interview actually finished";
Expand description

The problem review_draft reports for a draft that is merely suspiciously short.

It is a public constant because it is the only problem a caller may override - length alone is a smell, not a defect, and a genuinely small change deserves a small task file. Callers compare against this exact string to separate the warning from the refusals; plan does, and magi task add will when it starts vetting the files it is given.