Skip to content

top_k accepts an engine dependency that cannot emit a score #31

Description

@wseaton

The score_declared check in crucible/src/plan/ir.rs:433 only reasons about declared emits, and engine tasks are forbidden from declaring any, so their empty list reads as unchecked. But engine output shapes are fixed: propose emits {"cost_usd"} and apply emits {}, neither with a score.

top_k(depends_on = ["<engine propose>"]) validates, then fails at reduce_top_k after the propose turn has already spent.

Activity

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions