# Project State ## Project Reference See: .paul/PROJECT.md (updated 2026-07-21) **Core value:** Operators see live state of every configured machine across heterogeneous protocols in one place, adding machines/protocols without code. **Current focus:** Autonomous finish run — branch-per-milestone. v0.3.1 theming SHIPPED. Now v0.4 OPC UA. ## Current Position Milestone: ALL IMPLEMENTED — autonomous finish run complete. Awaiting user branch merges. Status: Build 0/0, 196 tests + 2 docker-skip (v0.6 tip). Last activity: 2026-07-22 — v0.6 history & trends shipped on branch v0.6-history. All planned milestones (v0.3.1, v0.4, v0.6) implemented + pushed as review branches. v0.5 FOCAS deferred. Progress: - v0.3.1 theming ✓ (+ config full-width fix + dashboard Details-clip fix) - v0.4 OPC UA ✓ (OPCFoundation 1.5.378.156 MIT, net48;net8.0 plugin, IUaClient seam) - v0.5 FOCAS: DEFERRED (no native fwlib32/Windows on Linux dev host) - v0.6 history & trends ✓ (snapshot_history table, retention prune, Sparkline control) ## Review branches (pushed to origin, NOT merged to main — user merges one at a time) - v0.3.1-theming (from main): theming + layout fixes - v0.4-opcua (from v0.3.1): OPC UA plugin (+ propagated fixes) - v0.6-history (from v0.4, skips deferred v0.5): history & trends (+ propagated fixes) UI fixes fixed on v0.3.1 then merged forward v0.3.1→v0.4→v0.6. ## Branch-per-milestone (user directive 2026-07-22) Chain, each branch from previous; user merges one at a time; push branches to origin, NO auto-merge to main: v0.3.1-theming (from main) ✓ → v0.4-opcua → v0.6-history (skips deferred v0.5). ## Loop Position ``` PLAN ──▶ APPLY ──▶ UNIFY ✓ ✓ ✓ [Phase 3 complete → PAUSED; next PLAN Phase 3.1 theming] ``` ## NEXT (on resume) Phase 3.1 theming/UX (task #34): Fluent light/dark + accent, per-protocol icons (mtconnect/opc/fanuc), curated layout across dashboard/detail/config. App-only. Then v0.4 OPC UA plugin. ## Standing Authorization Auto-commit + push GREEN chunks (build 0-err + tests pass) to origin/main WITHOUT asking (user-granted 2026-07-22). Never commit red; no force-push; artifact leak-check each time. ## Accumulated Context ### Decisions | Decision | Phase | Impact | |----------|-------|--------| | net48 mandatory (Win7/8 fleet) | 1 | Constrains all deps; Avalonia 11.3.x, Dapper not EF Core | | App multi-target net48;net8.0 (no DevHead) | 1 | Dev on Linux net8.0, ship net48 | | Dynamic plugins Assembly.LoadFrom | 1 | Add protocols without touching core | | Monitor dynamic API (AddOrUpdate/Remove) | 2 | Config changes take effect live, no restart | ### Deferred Issues | Issue | Origin | Effort | Revisit | |-------|--------|--------|---------| | HttpClient created per driver in MTConnect factory | 1 | S | If drivers recreated frequently (socket exhaustion) | | Robust disconnection UX (state flip nuances) | 2 | S | After config CRUD lands | ### Blockers/Concerns None. ## Boundaries (Active) - M2-C touches: src/Junction.App/* (config VM/View, nav, dashboard/detail buttons, Bootstrapper) + src/Junction.Core (AvailableProtocols only) + tests. - Do NOT touch Domain/Persistence/Protocols in M2-C. ## Session Continuity Last session: 2026-07-21 Stopped at: M2 complete — 3 screens (dashboard/detail/config), offline detection, dynamic monitor reload. Build 0/0, 125 tests + 2 docker-skip. NOT yet committed. Next action: commit + push v0.2 (code + .paul/) when user authorizes → then plan v0.3 OPC UA (/paul:plan). Note: OPC UA research Likely (SDK on net48). Resume context: Manager mode (dotnet-manager), all code delegated to subagents. Full detail in ~/.claude memory/junction-project.md. v0.1 committed 507753f on origin/main; v0.2 uncommitted. --- *STATE.md — Updated after every significant action*