Skip to content

feat(execution): formal Marlin response taxonomy + state-machine parser #180

Closed

Description

@CameronBrooks11

Part of the Machine-I/O epic (Phase 3).

Scope

Replace the ad-hoc string checks in _await_ok (fiberpath/execution/marlin.py) with a documented response model parsed deterministically: ok / ok with params (ADVANCED_OK), echo:busy, wait, Resend:/rs, Error:/!!/kill/halted, temperature reports (T:/B:), startup banner, comments/echo:. Add a normative protocol doc under docs/.

Why

The current five-pattern matcher breaks on any firmware variation, and there is no documented contract for what Marlin emits.

Acceptance

  • Parser classifies every observed line type; documented; covered by corpus tests (Phase 2).

Activity

  1. added
    documentation
    python
    on Jun 26, 2026
  2. CameronBrooks11 commented on Jun 28, 2026

    @CameronBrooks11
    MemberAuthor

    Realized in the standalone marlin-host library (published 0.2.1, hardware-validated) and consumed by fiberpath via the machine cutover (#195, fiberpath 0.9.0). Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationpython

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions