# 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: v0.4 OPC UA Protocol Phase: 4 — IN PROGRESS (branch v0.4-opcua, from v0.3.1-theming) Status: Build 0/0, 148 tests + 2 docker-skip (after v0.3.1). Last activity: 2026-07-22 — v0.3.1 theming shipped on branch v0.3.1-theming (Fluent light/dark, per-protocol icons, curated layout, +10 converter tests). SDK decided for v0.4: OPCFoundation.NetStandard.Opc.Ua.Client 1.5.378.156 (MIT), plugin retargets net48, IUaClient seam for testability. Progress: - v0.3.1 theming ✓ (branch pushed) - v0.4 OPC UA: impl starting - v0.5 FOCAS: DEFERRED (no native fwlib32/Windows on Linux dev host) ## 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*