Skip to main content

Module scaffold

Module scaffold 

Source
Expand description

Scaffold new snell- responses and promote import drafts into the published corpus.

Structs§

ScaffoldOptions
Options for rendering a new canned-response markdown file.

Constants§

TEAM_SIGN_OFF
Default team closing used by scaffolds (must pass personal-signature checks).

Functions§

check_response_path
Quality-check a single on-disk markdown response (real check rules).
promote_to_corpus
Promote an import draft (or any review markdown) into the published corpus after check.
resolve_response_id
Resolve a stable snell- id from options (or title).
scaffold_markdown
Render check-clean markdown for a new response (pure; no IO).
write_scaffold
Write a scaffolded response under dir as {id}.md. Refuses to overwrite unless force.