Skip to content

Refactor to put tasks in guide folders, and removes prompts. also add…#459

Merged
micahjo7 merged 14 commits into
mainfrom
refactor-tasks
Apr 2, 2026
Merged

Refactor to put tasks in guide folders, and removes prompts. also add…#459
micahjo7 merged 14 commits into
mainfrom
refactor-tasks

Conversation

@micahjo7
Copy link
Copy Markdown
Collaborator

@micahjo7 micahjo7 commented Mar 31, 2026

  1. Moves all tasks to their respective guide folders, within a tasks/ dir. Remove the prompts.md from each guide folder and add the prompts into the new tasks/task.md file (preserving the first prompt).
  2. Update harness, lib, dev-guide, etc. to handle this change.
  3. The eval runs will now produce the results in the file structure: suiteName/runNum/guideName/taskName/runType (adds taskName). This sets up a future change to allow for multiple tasks to be run per guide (b/498724634).
  4. Within the run dir (taskName folder^), add base_app folder, and add prompt and taskName to the evals.json result.
  5. Dashboard will now use the saved base app file (index.html, to generate diff), base app name, task name, and prompt, instead of pulling the data from the deployed harness/tasks and harness/base_apps (preserves historical run data: b/498207870).

Addresses #346 and b/493904340.

TLDR:

  1. When specifying tasks in the config, you should just use the the guide name now, instead of <guideName>-task.
  2. Prompts go in the tasks/task.md files now, which are in the respective guide folders.

…s base app, base app name, and prompt to eval result, to use in dashboard instead of pulling from deployed task and base_app dirs
@micahjo7 micahjo7 requested review from paulirish and removed request for malchata and philipwalton March 31, 2026 22:04
@micahjo7 micahjo7 enabled auto-merge (squash) April 1, 2026 20:56
Comment thread harness/tests/collection-e2e.test.ts Outdated
Comment thread guides/forms/autofill-highlight-inputs/tasks/task.md
Comment thread CONTEXT.md
Comment thread CONTEXT.md
@micahjo7 micahjo7 merged commit eb420ed into main Apr 2, 2026
3 checks passed
@micahjo7 micahjo7 deleted the refactor-tasks branch April 2, 2026 16:26
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