Skip to content

Reaper safety follow-ups: unreferenced commits, gitignored files, the .overdeck exemption, pan-sync noise, GitLab parity #5990

Done

Description

@eltmon

Follow-ups from the independent review of #5989 (PAN-5979). None are regressions.

  1. Committed work the branch doesn't hold. Commits on a detached HEAD, or in a rebase, cherry-pick or git am paused without conflicts, look clean to git status and are lost when the worktree is force-removed. Also require that HEAD is on the target or inside the verified branch, and that no rebase, merge or cherry-pick is in progress (check for .git/rebase-*, MERGE_HEAD, CHERRY_PICK_HEAD).
  2. Gitignored files. .env files, local DB dumps and the gitignored .tmp/ mockup folder are deleted with the workspace. Either archive a known-precious list before the reap, or skip the reap when such files exist (an operator decision on the policy; default to keeping them).
  3. The .overdeck/ exemption is too broad. Any untracked, non-ignored file under .overdeck/ is treated as runtime clutter, so a new file under the tracked .overdeck/context/codebase/ would be deleted. Narrow it to the known runtime file names.
  4. pan-sync noise keeps old MYN workspaces forever (safe, but a disk leak). feature-min-1072, -1078 and -1141 show 309 untracked pan sync files (.claude/skills, .claude/commands, .claude/agents, .mcp.json) plus wrapper package*.json. Recognise pan-sync-managed paths as non-work, by exact path, and add them to the wrapper's .gitignore.
  5. GitLab parity. Add a fork check and a merge-commit-on-target check to the GitLab merged-MR path, like the GitHub path has.

Tests for each.

Activity

  1. added
    enhancement
    substrate-improvement
    on Dec 3, 2026
  2. added
    merged
    verifying-on-main
    on Dec 4, 2026
  3. reopened this on Dec 4, 2026
  4. eltmon commented on Dec 4, 2026

    @eltmon
    OwnerAuthor

    Closed via close-out ceremony

    Definition of Done
    # Row Status Observed
    1 Review passed ✗ miss PR #6005 reviewDecision: none (accepted by conv-flywheel via --accept-review)
    2 Tests passed ✓ pass PR #6005 checks: all 24 check(s) green
    3 Verification green on the branch ✓ pass no verification artifact in the workspace; verification satisfied by green main CI after landing
    4 Merged to main ✓ pass Pull request #6005 merged at 2026-12-04T03:40:14Z; PR #6005 MERGED at 2026-12-04T03:40:14Z
    5 Post-merge lifecycle ran ✓ pass canonical state: verifying_on_main; no running work/planning agents
    6 Verified on main ✓ pass required checks concluded successfully on 42534ef: test, lint, build (22), reject-planning-paths
    7 Version strings propagated – skip project declares no version_sync; ship step not applicable
    8 Deployed ✓ pass build commit 6c2c9fe contains merge 42534ef
    9 Close-out teardown verified ✓ pass workspace removed; feature branch kept (close_out.delete_feature_branch is off); No tmux sessions or Herdr panes found; No shadow state found; No legacy planning directory found; Stopped Docker containers; No orphaned processes found; No worker worktrees; Removed workspace directory after worktree removal failed; Pruned 2 agent directories (transcripts and state kept); No strike branch strike/pan-5990 found; Pruned 0 checkpoint ref(s) for agent-pan-5990, planning-pan-5990, strike-pan-5990; No specialist registry entries for PAN-5990

    Gate: passed — misses: review

  5. added
    closed-out
    and removed
    merged
    verifying-on-main
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-outenhancementsubstrate-improvement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions