Skip to content

Add CLI skill rule: confirm experiment before queueing a task#2031

Merged
aliasaria merged 2 commits into
mainfrom
add/cli-skill-confirm-experiment
May 11, 2026
Merged

Add CLI skill rule: confirm experiment before queueing a task#2031
aliasaria merged 2 commits into
mainfrom
add/cli-skill-confirm-experiment

Conversation

@aliasaria
Copy link
Copy Markdown
Member

@aliasaria aliasaria commented May 8, 2026

Summary

  • Adds rule #11 to .agents/skills/transformerlab-cli/SKILL.md: before lab task queue, the agent reads lab config + lab --format json experiment list, confirms the target experiment with the user, and offers alternatives if the current default looks stale or missing.
  • Skip-confirmation carve-out: when the user has already named an experiment this turn, the agent doesn't re-prompt.
  • Subsequent rules renumbered (12–14).

Context: see #2029 — server currently accepts queues against non-existent experiment_ids, producing orphan jobs invisible in the UI. This rule keeps agents safe even before the server fix lands.

Test plan

  • Re-run a hello-world queue flow with the updated skill loaded; verify the agent reads experiment list, surfaces the current default, and prompts before submitting.
  • Confirm the skip-confirmation carve-out triggers when the user names an experiment in the same turn.

Adds a pre-queue confirmation step so agents read the current default
experiment, verify it exists in `lab experiment list`, and ask the
user before submitting. Prevents orphan jobs when current_experiment
points at a name that was never created server-side.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 8, 2026

Deploy Preview for transformerlab canceled.

Name Link
🔨 Latest commit dab493b
🔍 Latest deploy log https://app.netlify.com/projects/transformerlab/deploys/6a01ea5f840bc2000850dd37

@aliasaria aliasaria merged commit ba81064 into main May 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants