harmony-skills-standalone 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/autotest-agent/SKILL.md +21 -0
- package/package.json +1 -1
package/autotest-agent/SKILL.md
CHANGED
|
@@ -16,3 +16,24 @@ test intent or test-case input named in the prompt.
|
|
|
16
16
|
- Emit structured JSON progress lines during setup, execution, attribution, and
|
|
17
17
|
report generation.
|
|
18
18
|
- Fail when required device or application prerequisites are unavailable.
|
|
19
|
+
|
|
20
|
+
## Execution method
|
|
21
|
+
|
|
22
|
+
When the node declares a `progress` output (type `file`), use the wrapper
|
|
23
|
+
script instead of calling `batch.py` directly so that real-time stdout is
|
|
24
|
+
captured for the progress file tailer:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
python "${workflow.inputs.platform_root}/scripts/run_autotest_batch.py" \
|
|
28
|
+
--task-dir "<reports-dir>" \
|
|
29
|
+
--testcases "<testcases.jsonl>" \
|
|
30
|
+
--work-dir "${workflow.inputs.platform_root}/SubAgents/AutoTestAgent-master" \
|
|
31
|
+
--category "intent-test" \
|
|
32
|
+
--progress-file "${outputs.progress}" \
|
|
33
|
+
--result "${outputs.result}"
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
If the node does not declare a `progress` output, call `batch.py` directly as
|
|
37
|
+
before. The wrapper script sets up the same environment (PYTHONPATH, HDC_PATH,
|
|
38
|
+
venv Python) as the platform's TestExecutionService and tees batch.py stdout
|
|
39
|
+
to the progress file for real-time tailing.
|