Skip to content

Integrate Brooks recruiting app through the Lua hook SDK #6

Description

@eric-levinson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions