Skip to content

Custom workflows accept a decide sourcing a task that was never measured #32

Description

@wseaton

The engine-source check in crucible/src/manifest/workflow.rs:228 verifies only existence and ancestry. validate_autoresearch constrains a decide source to a measure/grade, but type = "custom" skips that path.

A decide sourcing a plain command validates, then fails at runtime with "decide source X has no measured candidate", again after the spend.

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