Post-v0.2 polish (no behavior regressions; 127 tests + 2 docker integration green). - MTConnect: shared static HttpClient (Timeout=Infinite) + per-request timeout via linked CancellationTokenSource. Fixes socket-exhaustion risk from new-HttpClient-per-driver on config edits / dynamic monitor reload. - Disconnection UX: dashboard + detail show connection state with color (green/red/grey dot + badge) via StatusKindToBrush converter; LastSeen timestamp preserved across disconnects. VMs stay framework-agnostic. - Delete confirm: VM-driven overlay naming the machine (replaces two-state button) to prevent accidental deletion. - Dashboard table: switched to DataGrid — aligned columns + Details gets its own column (fixes row misalignment). Adds Avalonia.Controls.DataGrid 11.3.10. PAUL: roadmap re-sequenced — v0.3 Data-Item Selection + UX, OPC UA → v0.4, Fanuc → v0.5, History → v0.6. Touches: Junction.Protocols.MTConnect, Junction.App, tests, .paul/. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2.8 KiB
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: v0.2 + v0.2.1 shipped → starting v0.3 Data-Item Selection
Current Position
Milestone: v0.2 Machine Management UX (+ 2.1 refinements) — SHIPPED Phase: 2 ✓, 2.1 ✓ → next Phase 3 (Data-Item Selection) Plan: 02-A/B/C ✓, 02.1 R1/R2R3/tablefix ✓ Status: v0.2.1 committing; v0.3 backend next Last activity: 2026-07-22 — v0.2.1 done: shared HttpClient, disconnection UX, delete-confirm overlay, dashboard DataGrid (aligned + Details column). Build 0/0, 127 tests + 2 docker-skip.
Progress:
- v0.2 (+2.1): [██████████] 100%
- Next: Phase 3 Data-Item Selection
Loop Position
PLAN ──▶ APPLY ──▶ UNIFY
✓ ✓ ✓ [v0.2.1 complete → PLAN Phase 3]
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