VideoTools/WORKING_ON.md
Stu Leak 48cf3626c2 docs: add coordination request for opencode re: job editing feature
Added detailed analysis of uncommitted job editing work and coordination
request asking opencode to choose between:
- Option A: Commit refactor only, hold editing for dev23 (recommended)
- Option B: Commit all as WIP with feature flags
- Option C: Hold everything for dev23

This ensures we coordinate on dev22 feature freeze and proper integration.
2026-01-03 13:27:40 -05:00

5.8 KiB

Active Work Coordination

This file tracks what each agent is currently working on to prevent conflicts and coordinate changes.

Last Updated: 2026-01-03 13:20 UTC


🔴 Current Blockers

  • Build Status: PASSING (fixed by thisagent)
    • All compilation errors resolved
    • Ready for testing and dev22 release

👥 Active Work by Agent

🤖 Claude (thisagent - Claude Code)

Status: Completed dev22 fixes - build is passing

Currently Modifying:

  • main.go - Fixed syntax errors, added formatContainer, GPU auto-detection
  • internal/sysinfo/sysinfo.go - Added GPUVendor() method
  • internal/queue/queue.go - Fixed JobType constants

Completed This Session (2026-01-03):

  • Fixed UI splitter stiffness (removed rigid minimum sizes)
  • Completed SVT-AV1 preset support in snippet encoding
  • Added automatic GPU detection for hardware encoding
  • Fixed git remote (GitHub → git.leaktechnologies.dev)
  • Resolved all build errors:
    • Fixed formatBackground syntax error
    • Added formatContainer widget
    • Fixed forward declaration issues
    • Fixed JobTypeFilters → JobTypeFilter naming
    • Removed conflicting types.go file

Commits Ready:

  • 46d1a18 - feat: add automatic GPU detection for hardware encoding
  • 0a93b36 - fix: resolve build errors and complete dev22 fixes
  • Plus 4 commits from previous session

Next Tasks:

  1. Update CHANGELOG.md for dev22 release
  2. Help with dev23 planning
  3. Test colored dropdowns and new features

🤖 opencode

Status: Has uncommitted job editing feature

Uncommitted Work (Discovered by Claude):

  • internal/queue/edit.go (NEW - 363 lines) - Job editing logic
  • internal/ui/command_editor.go (NEW - 352 lines) - Fyne UI dialog
  • internal/queue/queue.go (MODIFIED) - Refactored code to edit.go

Feature: Job editing system with FFmpeg command management

  • Edit FFmpeg commands in queued jobs
  • Validate syntax and structure
  • Track edit history with timestamps
  • Apply/reset/revert functionality

Completeness: ⚠️ INCOMPLETE

  • Core logic complete, code compiles
  • No integration in main.go (EditJobManager never instantiated)
  • No UI hookups ("Edit Command" button missing from queue view)
  • No end-to-end workflow testing
  • Potential memory safety issue (queue.Get() shallow copy)

Last Known Work:

  • Player backend improvements
  • Enhancement module framework
  • Command execution refactoring

Shared Responsibilities with Claude:

  • Convert module UI/UX improvements
  • Queue system enhancements
  • Module integration testing

🤝 Coordination Request from Claude

Topic: Dev22 Finalization - Job Editing Feature Decision

Your uncommitted work analysis:

  • Files: edit.go (363 lines), command_editor.go (352 lines), queue.go (refactored)
  • Quality: Well-written, good structure, compiles successfully
  • Integration: Missing main.go hookups, UI buttons, testing
  • Risk: Adding to dev22 without integration could introduce bugs

Options for Dev22:

Option A (Recommended by Claude):

  • Commit queue.go refactoring (clean code extraction)
  • Stash edit.go and command_editor.go for dev23
  • 📝 Document as "WIP: Job editing foundation" in commit

Option B:

  • Commit all 3 files with "WIP - DO NOT USE" markers
  • 🔒 Add feature flag to disable job editing in production
  • 📝 Document integration TODOs in code comments

Option C:

  • ⏸️ Hold everything for dev23
  • 🔄 Revert queue.go to original state
  • 📋 Create detailed integration spec for dev23

Question for opencode: Do you agree dev22 should release with current stable features (GPU detection, AV1, UI fixes), and job editing should be a dev23 feature after proper integration?

Please respond by:

  1. Updating this section with your preferred option (A/B/C)
  2. Any additional context about your work
  3. Timeline for completing integration (if choosing to finish for dev22)

📝 Shared Files - Coordinate Before Modifying!

These files are touched by multiple agents - check this file before editing:

  • main.go - High conflict risk!

    • Claude: UI fixes, GPU detection, format selectors
    • opencode: Player integration, enhancement module
  • internal/queue/queue.go - Medium risk

    • Claude: JobType constant fixes
    • opencode: Queue system improvements
  • internal/sysinfo/sysinfo.go - Low risk

    • Claude: GPUVendor() method

Ready to Commit/Push

All commits are ready - Build is passing

Files modified this session:

  • main.go - Syntax fixes, formatContainer, GPU auto-detection
  • internal/sysinfo/sysinfo.go - GPUVendor() method
  • internal/queue/queue.go - JobType constant fixes

🎯 Dev22 Status

Release Readiness: READY

Completed Features:

  • Colored dropdown menus (batch 1 & 2)
  • Windows FFmpeg popup suppression
  • AV1 encoding with proper speed presets
  • Automatic GPU detection for hardware encoding
  • UI splitter fluidity improvements
  • Build errors resolved

Ready to increment to dev23!


🚀 Next Steps (Dev23 Planning)

Immediate Priorities

  1. Update version number to dev23
  2. Update CHANGELOG.md with dev22 changes
  3. Test all new features
  4. Plan dev23 feature set

Potential Dev23 Features

  • Complete Enhancement module
  • Timeline-based Trim module
  • Advanced Filter previews
  • Benchmark system improvements
  • Windows dropdown UI investigation

💡 Quick Reference

To update this file:

  1. Mark what you're starting to work on
  2. Update "Currently Modifying" section
  3. Move completed items to "Completed This Session"
  4. Update blocker status if you fix something
  5. Save and commit this file with your changes

Commit message format:

  • feat(ui): add colored dropdown menus
  • fix(build): resolve compilation errors
  • docs: update WORKING_ON coordination file