VideoTools/WORKING_ON.md

6.2 KiB

Active Work Coordination

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

Last Updated: 2026-01-04 10:00 UTC


🔴 Current Blockers

  • Build Status: ⚠️ NEARLY PASSING - 3 compilation errors remain (lines 500, 6995-7003 in main.go)

👥 Active Work by Agent

🤖 Claude (thisagent - Claude Code)

Status: ⚠️ IN PROGRESS - Widget deduplication + compilation fixes

Completed This Session (2026-01-04 10:00):

  • Quality Widget Deduplication (main.go:7075-7128)
    • Converted qualitySelectSimple/Adv to ColoredSelect
    • Registered both with state manager for auto-sync
    • Updated updateQualityOptions to use state manager
    • Eliminated manual synchronization code
  • Enhancement Module Fixes (internal/enhancement/)
    • Defined SkinToneAnalysis struct
    • Fixed invalid ContentAnalysis field assignments
    • Removed unused imports and variables
    • Fixed onnx_model.go unused variable
  • Missing Imports Restored (main.go:3-48)
    • Added: atomic, json, sort, io, errors, bufio, strconv, math
    • Added: fyne.io/fyne/v2/driver/desktop
    • Added: internal/interlace, internal/sysinfo
    • Added: github.com/ebitengine/oto/v3
  • Code Cleanup
    • Removed duplicate QR code function

Files Modified:

  • main.go - Quality widget deduplication, missing imports, duplicate code removal
  • internal/enhancement/enhancement_module.go - SkinToneAnalysis struct, field fixes
  • internal/enhancement/onnx_model.go - Unused variable cleanup
  • go.mod, go.sum - Added oto/v3 dependency

⚠️ Remaining Compilation Errors (HANDOFF TO opencode):

  1. Line 500: canvas.NewImageFromBytes undefined - QR code generation
  2. Lines 6995-7003: outputExtLabel, outputExtBG, updateOutputHint undefined - Convert UI

Next Tasks for opencode:

  1. Fix 3 remaining compilation errors in main.go
  2. Continue widget deduplication (4 remaining pairs)
  3. Convert 32 remaining widget.Select to ColoredSelect

🤖 opencode

Status: 🎯 PRIORITY HANDOFF - Fix compilation errors + widget deduplication

🔥 IMMEDIATE TASKS (from Claude):

  1. Fix 3 Compilation Errors in main.go:

    • Line 500: canvas.NewImageFromBytes undefined
      • Context: QR code generation in generatePixelatedQRCode()
      • May need to use canvas.NewImageFromResource() or similar
    • Lines 6995-7003: outputExtLabel, outputExtBG, updateOutputHint undefined
      • Context: Convert UI output file extension handling
      • Variables were likely removed/renamed - need to investigate and restore proper implementation
  2. Widget Deduplication (4 remaining pairs):

    • resolutionSelectSimple & resolutionSelect (lines ~8009, 8347)
    • targetAspectSelect & targetAspectSelectSimple (lines ~7397, 8016)
    • encoderPresetSelect & simplePresetSelect (lines ~7531, 7543)
    • bitratePresetSelect & simpleBitrateSelect (lines ~7969, 7982)
    • Pattern: Follow quality widget example at main.go:7075-7128
  3. ColoredSelect Expansion (32 remaining widgets):

    • Resolution, aspect, preset, bitrate, frame rate, etc.
    • Use appropriate color maps (BuildGenericColorMap, BuildQualityColorMap, etc.)

Uncommitted Work (Defer to later):

  • internal/queue/edit.go - Job editing logic (keep for future dev24+)
  • internal/ui/command_editor.go - Fyne UI dialog
  • Enhancement module framework

Coordination:

  • Jake will be using Codex for UI work this week
  • Focus on build stability and widget conversions first

🤝 Coordination Status

Current Handoff: Claude → opencode

Claude's Handoff (2026-01-04 10:00):

  1. Quality widget deduplication complete (pattern established)
  2. Enhancement module compilation fixed
  3. Missing imports restored
  4. ⚠️ 3 compilation errors remain - handed off to opencode
  5. 📋 4 widget pairs still need deduplication
  6. 📋 32 widgets need ColoredSelect conversion

For opencode:

  • Priority 1: Fix 3 compilation errors (blocking build)
  • Priority 2: Complete widget deduplication using established pattern
  • Priority 3: ColoredSelect expansion for remaining 32 widgets

Coordination Notes:

  • User will be using Codex for UI work this week - coordinate visual changes
  • Build must pass before UI work can continue

📝 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 (dev23)

Files modified this session:

  • main.go - About dialog layout, UI polish, audio crash fix, version bump
  • internal/ui/components.go - Dropdown + input styling
  • FyneApp.toml - Version bump to dev23
  • docs/CHANGELOG.md - Dev23 release notes

🎯 Dev23 Status

Release Status: READY - v0.1.0-dev23

Completed Features:

  • Colored dropdown refinements + consistent panel styling
  • About / Support dialog aligned to mockup
  • Audio module crash fix
  • Version bumped to v0.1.0-dev23
  • CHANGELOG.md updated

Ready to tag and begin dev24!


🚀 Next Steps (Dev24 Planning)

Immediate Actions

  1. Version bumped to v0.1.0-dev23
  2. CHANGELOG.md updated with dev23 features
  3. ⏭️ Create git tag v0.1.0-dev23
  4. ⏭️ Plan dev24 UI cleanup with Jake

Potential Dev24 Focus

  • Windows dropdown UI parity
  • Additional settings panel alignment
  • General UI spacing and word-wrapping cleanup
  • Revisit opencode job editing integration (WIP)

💡 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