Skip to content

Assistant: recipeOptions 'machine' should reflect the user's category favorite #130

Description

@ApocDev

The machine field in recipeOptions/recipeOptionsBatch/recipeGraph candidates shows the fastest machine in the recipe's category (see optionsFor in agent-tools.server.ts). But when a block is actually drafted, computeBlock resolves the machine from the user's category favorite (falling back to best-available, not fastest). So the assistant can recommend a recipe citing one machine and then hand back a draft solved with a different one.

Align them: resolve the representative machine in optionsFor with the same favorite-then-fallback logic computeBlock uses, or annotate both ("favorite: X; fastest: Y — needs "). The availability note ("needs ") should describe whichever machine the draft would really use, since that's what gates buildability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: aiAI planning supportenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions