Skip to content

Commit 6733570

Browse files
[docs] Update glossary - daily scan
Add Engine Driver (engine.driver) term introduced in PR #40897. The engine.driver field lets the Pi engine run a custom Node.js driver script instead of the built-in pi CLI. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 709febe commit 6733570

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

docs/src/content/docs/reference/glossary.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,20 @@ engine:
550550

551551
See [AI Engines Reference](/gh-aw/reference/engines/).
552552

553+
### Engine Driver (`engine.driver`)
554+
555+
A Pi engine configuration field that replaces the built-in `pi` CLI with a Node.js driver script. When set, `gh aw` launches the driver with Node.js instead of the `pi` CLI; the driver must emit JSONL compatible with the existing log parser so step summaries and token tracking work unchanged. A bare filename (e.g. `pi_agent_core_driver.cjs`) resolves from the gh-aw setup-action directory; a path containing `/` resolves workspace-relative.
556+
557+
```aw wrap
558+
engine:
559+
id: pi
560+
driver: pi_agent_core_driver.cjs
561+
# or a custom workspace-relative driver:
562+
# driver: .github/drivers/my-driver.cjs
563+
```
564+
565+
See [AI Engines Reference](/gh-aw/reference/engines/).
566+
553567
### Experiments (`experiments:`)
554568

555569
A frontmatter section that enables A/B testing of workflow prompt variants across successive runs. Each key in the `experiments:` map names an experiment; the value is either a bare array of variant strings or a rich object with additional fields (`variants`, `description`, `hypothesis`, `metric`, `weight`, `min_samples`, `start_date`, `end_date`). At runtime the activation job selects one variant per experiment using a balanced round-robin counter and exposes the selection as `${{ experiments.<name> }}` for use anywhere in the workflow body.

0 commit comments

Comments
 (0)