Skip to content

follow-up: align AutoResearch lane-count validation from #2648 #2687

Closed

Description

@zackees

Source PR: #2648
Source CodeRabbit comment: #2648 (comment)

CodeRabbit suggestion:

Contract mismatch: remote accepts 1-16 lanes, but firmware rejects > 8.

The remote now validates laneSizes with an upper bound of 16, but the firmware-side validation in src/fl/channels/validation.cpp.hpp still rejects lane_sizes.size() > 8 with error "Lane count cannot exceed 8". This creates a broken contract: RPC calls with 9-16 lanes will pass remote validation but fail at the firmware layer with a confusing error message.

Either revert this change until the full stack (firmware validation, tests, docs, CI) supports 16 lanes, or ensure those layers are updated in the same PR to maintain contract consistency.

Why this matters: current origin/master still has AutoResearchRemote.cpp accepting laneSizes up to 16 while src/fl/channels/validation.cpp.hpp, channel validation tests, docs, and ci/autoresearch/phases.py remain aligned around a max of 8 lanes. That makes 9-16 lane AutoResearch requests inconsistent across layers.

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions