Simplify CLI around Pier jobs#26
Merged
Merged
Conversation
Replace the awkward flat-then-suffixed Pier rerun scheme with a clean nested jobs/<job-name>/<run-id>/ layout that separates stable job identity from per-run timestamp ids. Expose copyable job-name/run-id selectors via list, and let show, inspect, and �nalyze resolve an exact run from a selector (legacy run id, Pier job, or job/run). Add actionable not-found hints pointing back at list. Persist stable job identity in a per-run manifest, derive selectors for the index, and update docs, experiment-repo templates, and ADR-0019. Commit a didactic project-scoped canvas that visualizes the verified structure. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove the legacy native runner, dry-run command, SQLite index, and legacy result layout. Standardize storage, summaries, docs, templates, and the structure canvas around Pier jobs, agents, tasks, trials, and runs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Forward --name through the scaffold helper's project_name parameter and cover the CLI init path. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The harness exposed two overlapping models: the old native Python
Experiment/Variantrunner and the Pier job model. That made the CLI hard to explain: users configured Pieragents:but saw variant-oriented summaries, had to use raw--trialselectors to find an agent result, and got a misleadingrun --dry-runthat only validated config loading in Pier mode.What changed
results/layout, SQLite index,reindex, and native-only tests.run --dry-runwithcopilot-experiments validate, which checks Pier configs, referenced paths, backend preflight, and auth without creating a run.show,inspect, andanalyzenow use agent-shaped summaries and selectors like--agent,--task, and--trial.jobs/<job-name>/<run-id>/is the only execution output layout and the filesystem source of truth.Validation
uv run ruff check --fix .uv run ruff format .uv run ruff check .uv run pytest -quv run copilot-experiments --helpsummarizeaction)Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com