Decide fate of backed-up photo-segmentation leftovers (single-file cv2 variant + scratch verify script) — delete or keep as historical prototype #116
Labels
No labels
blocked:children
blocked:depends-101
blocked:depends-103
blocked:depends-104
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:preflight
bug
chore
feature-request
in-progress
lint-cleanup
needs-decompose
performance
quality
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/easystitch#116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
Issue #112 (photo segmentation review-tracking) flags 3 out-of-scope leftovers in the easystitch worktree and explicitly defers the decision: "Decide: delete or keep as historical prototype." No Forgejo issue tracks this decision — the physical files were moved out of the repo by a kanban executor (issue #109 KEEP remediation), so the decision is invisible to anyone working from the repo or the issue tracker. The backup copy still sits on disk with no tracked owner.
Actual behavior
src/segmentation/package (canonical implementation on PR #114):src/raster/photo_segmentation.py(~40 KB — earlier single-file cv2-based variant, redundant withsrc/segmentation/)tests/test_photo_segmentation.py(~23 KB — tests for the single-file variant)hermes-verify-e2e.py(~3 KB — scratch verification script at repo root)?? hermes-verify-e2e.py,?? src/raster/photo_segmentation.py,?? tests/test_photo_segmentation.py), per the gate output recorded on kanban card t_0ba18761./home/b/.hermes/kanban/boards/fixit/workspaces/t_0ba18761/leftover-backup/. They were never committed:git log --allhas no history for any of the 3 paths, and they are absent frommainand from branchphoto-segmentation/t_218724de(commit4709f09).Expected behavior
A recorded, tracked decision, one of:
src/segmentation/package on PR #114 supersedes them; #115 already covers the tracked test-collection bug that shared root cause territory) and remove the backup copy, ordocs/prototypes/orsrc/raster/_legacy/) as a historical prototype with a note.Until then, the backup dir is orphaned machine-local state with no owner.
Reproduction steps
cd /home/b/Projects/easystitch && git status --porcelain— the 3 paths are absent (moved out 2026-07-30 20:38); the worktree is clean of them.ls -la /home/b/.hermes/kanban/boards/fixit/workspaces/t_0ba18761/leftover-backup/— the 3 files exist only here (hermes-verify-e2e.py2957b,photo_segmentation.py40536b,test_photo_segmentation.py23892b).git log --all --oneline -- src/raster/photo_segmentation.py tests/test_photo_segmentation.py hermes-verify-e2e.py— no commits ever referenced them.git -C /home/b/Projects/easystitch branch -a—photo-segmentation/t_218724de(4709f09) holds the canonical modular package; the single-file variant duplicates it.References
/home/b/.hermes/kanban/boards/fixit/workspaces/t_0ba18761/leftover-backup/Decision: DELETE (recorded 2026-07-30 by tasker-worker, kanban card t_e095f41e)
The 3 backed-up leftovers are obsolete and have been removed. Evidence:
git log --all -- src/raster/photo_segmentation.py tests/test_photo_segmentation.py hermes-verify-e2e.pyis empty; absent frommainand fromphoto-segmentation/t_218724de(4709f09). Zero git history, zero review trail.auto_classify,dog_edges,snap_edges,felzenszwalb_segment,detect_fill_type,extract_gradient_stops,region_to_pathdata,regions_to_pathdatas,extract_shared_boundaries,allocate_weighted_palette,spectral_saliency,PhotoSegmenter,segment_pil_image,PathData,SegmentedRegion,SegmentedPhoto) is 1:1 covered bysrc/segmentation/(10 modules, 9 test files) on PR #114, verified 95/95 tests + ruff clean (per #112 verification run 2026-07-30).hermes-verify-e2e.pyhardcodessys.path.insert(0, '/home/b/Projects/easystitch')and imports the CANONICAL package, not the single-file variant.docs/photo-segmentation-design-state.md+ canonical commit4709f09+ PR #114 are the tracked history; the single-file variant adds no unique value.Executed: backup dir
/home/b/.hermes/kanban/boards/fixit/workspaces/t_0ba18761/leftover-backup/removed (2026-07-30 ~22:17 local); verified gone. The kilo-gsd pre-dispatch gate stays unblocked (paths already out of the worktree). Closing this issue as resolved.Ref: #109, #112, PR #114