Commit 6566a4d
committed
Document how a factory's arguments reach the agent
There is no declared schema for `ctx.args`: `FactoryMeta` carries only name,
description, phases and limits, and the `run_factory` tool's `args` parameter
is untyped, forwarded verbatim. The description is therefore the only channel
telling an agent what to supply, which the guide did not say and its example
did not demonstrate — nothing in "Review changed files and verify the
findings" hints that `ctx.args.files` is a string array.
State the constraint explicitly and show the expected shape in the example's
description.1 parent 3d1963f commit 6566a4d
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| 46 | + | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
| |||
0 commit comments