Plan#

You give grill your question. It reads your repository, asks only what you must decide, and ends with a numbered plan. It runs nothing and writes no analysis files.

/mycelium-extra:grill Test whether the day 28 minus day 0 change in gene expression differs between the vaccine and placebo arms. Reference is placebo.

What it asks you#

First, your question and the claim you hope to make, in your own words. Then questions in rounds for the choices that are yours, at most five in all. A choice that could change a headline result, such as a filter, a threshold, a model, a covariate or a seed, is always asked, even past five. Its recommended answer is the package’s own default, with the version, where one exists; a seed has none, so you pick it.

It does not ask what your repository already settled. It cites the file instead.

What you get#

A plan table. This one is from the walkthrough, with the script paths shortened:

Inputs: data/processed/vaccine-cohort/sample_metadata.tsv data/processed/vaccine-cohort/counts.tsv

| # | Step | Choice | Source | Validation |
|---|---|---|---|---|
| 1 | run `scripts/01_select_samples.py` | keep preferred_acquisition == TRUE | repo: .living/decisions.md | 24 rows, 12 donors x 2 visits |
| 2 | run `scripts/02_paired_test.py` | median-of-ratios; exact permutation; BH, α = 0.05 | repo: .living/decisions.md | sample IDs identical across tables |
| 3 | run `scripts/03_summary.R` | hits at padj < 0.05 | default: matches step 2 | summary row count 1 |

Plan status: READY

The agent writes the scripts each step names. A script edited after you approve is re-pinned with a notice, and freeze shows every such edit; see Approve.

Read it column by column:

  • Step is what may run once you approve. Nothing else in the plan grants a run.

  • Source says who made the choice: repo: with the file that settled it, user for your answer, or inherited: for a choice an earlier stage made (you confirm it in one line), or default: for a choice the agent made. Read the defaults first. In a new project most sources are user or default; repo: rows appear once your repository records decisions, for example in Mycelium’s .living/decisions.md.

  • Validation is how you will know the step worked.

  • Inputs lists the files the result rests on. Approval pins them, so a later change is caught.

Before you approve#

You can question the plan without changing it:

  • explain row 2 gives a short reason for one row.

  • challenge row 2 argues against it.

  • Say socratic while grill is asking, and each question gets one neutral probe, such as what you would expect to see. The options and the recommendation stay.

None of these approves or edits anything. To change the plan, say what to change; grill writes a new one.

What it does not do#

The plan is only as good as its sources. Grill cites what it read and marks what it could not find, but it does not judge whether your method is right. That stays your call, or a reviewer’s.

Next: Approve. All grill options are in the grill reference.