Skip to content

bug: LLDs not archived to done/ when issues are completed #276

@martymcenroe

Description

@martymcenroe

Problem

When issues are closed as COMPLETED, their LLDs remain in docs/lld/active/ instead of being moved to docs/lld/done/.

Found 6 orphaned LLDs for completed issues:

  • LLD-173 (closed 2026-02-04)
  • LLD-176 (closed 2026-02-03)
  • LLD-177 (closed 2026-02-03)
  • LLD-190 (closed 2026-02-03)
  • LLD-248 (closed 2026-02-04)
  • LLD-257 (closed 2026-02-04)

Expected Behavior

When an issue is closed (either via PR merge with "Fixes #N" or manual close), the corresponding LLD should be moved from docs/lld/active/ to docs/lld/done/.

Root Cause

The finalize node in the requirements workflow doesn't have a post-merge hook to archive LLDs. This should either be:

  1. A GitHub Action triggered on issue close
  2. Part of the implementation workflow's cleanup node (N9)
  3. A pre-commit hook that detects merged issues

Workaround

Manual move: mv docs/lld/active/LLD-{N}.md docs/lld/done/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingno-lldNo LLD required - ready to implement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions