Documentation
¶
Overview ¶
Package acceptance generates formal acceptance criteria for tasks using AI. Supported formats: Gherkin (Given/When/Then) and Checklist (numbered pass/fail items).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
Apply persists the acceptance criteria by:
- Adding an Annotation to the task in the plan (writes state to disk).
- Writing the criteria to .cloop/acceptance/<task-id>.md.
Returns the path of the written markdown file.
func BuildPrompt ¶
BuildPrompt constructs the AI prompt for acceptance criteria generation.
Types ¶
type Format ¶
type Format string
Format controls the output style of the generated acceptance criteria.
type ProjectState ¶
type ProjectState = state.ProjectState
ProjectState is an alias to avoid repeating the full package path in signatures.
Click to show internal directories.
Click to hide internal directories.