Add follow-up issue workflow and block reopen of completed issues #146

Closed
opened 2026-05-30 14:49:56 +00:00 by steve · 0 comments
Owner

Problem

Supplementary work on an open or closed issue has no first-class CLI path. Agents may misuse backlog:reopen on completed issues instead of creating a related follow-up.

Goal

Add backlog:new --follow-up N with local metadata, body links, optional Forgejo dependency API, and block backlog:reopen on issues with a real Implementation Summary unless --force.

Acceptance Criteria

  • --follow-up, --depends-on-parent, --blocks-parent on backlog:new
  • related_issue frontmatter and backlog marker
  • Reopen blocked when hasImplementationSummary unless --force
  • Push/sync wires dependency API idempotently
  • Docs updated in spec, AGENTS.md, skill, template

Validation Commands

  • node --test scripts/issue-sync-lib.test.mjs
  • pnpm test:scripts

Implementation Summary

Added backlog:new --follow-up with related_issue frontmatter, Related Issues body section, optional --depends-on-parent/--blocks-parent Forgejo dependency wiring on sync, and blocked backlog:reopen on completed issues unless --force. Documented in spec, AGENTS.md, skill, and template.

## Problem Supplementary work on an open or closed issue has no first-class CLI path. Agents may misuse `backlog:reopen` on completed issues instead of creating a related follow-up. ## Goal Add `backlog:new --follow-up N` with local metadata, body links, optional Forgejo dependency API, and block `backlog:reopen` on issues with a real Implementation Summary unless `--force`. ## Acceptance Criteria - `--follow-up`, `--depends-on-parent`, `--blocks-parent` on `backlog:new` - `related_issue` frontmatter and backlog marker - Reopen blocked when `hasImplementationSummary` unless `--force` - Push/sync wires dependency API idempotently - Docs updated in spec, AGENTS.md, skill, template ## Validation Commands - `node --test scripts/issue-sync-lib.test.mjs` - `pnpm test:scripts` ## Implementation Summary Added backlog:new --follow-up with related_issue frontmatter, Related Issues body section, optional --depends-on-parent/--blocks-parent Forgejo dependency wiring on sync, and blocked backlog:reopen on completed issues unless --force. Documented in spec, AGENTS.md, skill, and template. <!-- backlog:task_id=TASK-BACKLOG-016 source_spec=spec/src/80-maintenance/issues-backlog.md -->
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lapis-notes/lapis#146
No description provided.