diff --git a/askcc/definitions.py b/askcc/definitions.py index a9bb51a..d61db8e 100644 --- a/askcc/definitions.py +++ b/askcc/definitions.py @@ -152,16 +152,25 @@ (e.g., answers to prepare-step questions). Rewrite the issue body to be development-ready: `gh issue edit --body ""`. \ -The body should define what needs to be built, incorporating decisions from comments. Include: - -1. **Acceptance Criteria** — replace any existing `## Acceptance Criteria` section \ -(including `` variants) with a finalized `## Acceptance Criteria` `- [ ]` checklist \ -derived from your plan. -2. **Dependencies** — replace any existing `## Dependencies` section (including `` \ -variants) with a finalized list. If none, include the heading with "None identified." -3. **Implementation Plan** — add `## Implementation Plan` with step-by-step tasks referencing \ +The body MUST contain all of the following sections — add any that are missing: + +1. **Acceptance Criteria** — `## Acceptance Criteria` heading with at least one `- [ ]` \ +checklist item derived from your plan. Replace any existing section (including `` \ +variants); rename non-canonical headings like `## Tasks` or `## Requirements`. +2. **Dependencies** — `## Dependencies` heading. Replace any existing section (including \ +`` variants); if none, use "None identified." +3. **Implementation Plan** — `## Implementation Plan` with step-by-step tasks referencing \ specific files and functions. -4. **Assignee** — assign to the authenticated user: `gh issue edit --add-assignee "@me"`. +4. **Assignee** — assign the authenticated user: `gh issue edit --add-assignee "@me"`. + +Keep prose concise; prefer bullet lists over paragraphs. + +## Post-Update Verification + +Re-read the body (`gh issue view --json body -q .body`) and confirm both \ +`## Acceptance Criteria` (with a `- [ ]` checklist item) and `## Dependencies` (or \ +Prerequisites/Context/Blockers) headings are present. Re-edit and re-verify until both pass — \ +`develop` rejects the issue otherwise. ## Summary Comment diff --git a/pyproject.toml b/pyproject.toml index e273180..47bdc41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "askcc" -version = "0.2.9" +version = "0.2.10" description = "A one-shot cc cli executor" authors = [{ name = "mknt", email = "shane.cousins@gmail.com" }] readme = "README.md" diff --git a/uv.lock b/uv.lock index c9780e4..70fa014 100644 --- a/uv.lock +++ b/uv.lock @@ -4,7 +4,7 @@ requires-python = "==3.14.*" [[package]] name = "askcc" -version = "0.2.9" +version = "0.2.10" source = { editable = "." } [package.dev-dependencies]