Goal
Connect Brooks's CFB27 recruiting Electron app to the supported @cfb27/lua-hook SDK without copying pipe, process-discovery, installer, eval, or memory primitives into the app.
References
Acceptance criteria
- Electron main imports @cfb27/lua-hook and owns the host connection.
- Startup performs hello capability negotiation and handles protocol/version mismatch.
- A selected-recruit read-only live overlay can display supported host-derived state alongside saved recruiting data.
- Cursor-based events reconnect without duplicating already-seen events.
- The preload exposes a narrow typed API for status, selected-recruit reads, and subscriptions.
- The renderer never receives raw evaluate, runScript, address, AOB, read_u8, or write_u8 access.
- Host unavailable, timeout, unsupported build, and reconnect states use stable SDK error codes.
- No installer mutation occurs from doctor/read-only connection flows.
- Tests cover Electron-main adaptation, preload isolation, capability fallback, cursor advancement, and disconnect/reconnect.
- Offline-only scope and the absence of any anticheat bypass remain explicit.
Out of scope
- Reintroducing the archived save-editor UI into this repository.
- Renderer-accessible arbitrary Lua or memory APIs.
- Live recruiting writes before a separate reviewed transaction design proves authoritative objects, compare-before-write checks, readback, rollback, and save behavior.
Goal
Connect Brooks's CFB27 recruiting Electron app to the supported @cfb27/lua-hook SDK without copying pipe, process-discovery, installer, eval, or memory primitives into the app.
References
Acceptance criteria
Out of scope