From eec8bf7418b604e615585b9bc7a3f5b7c8f38fec Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 27 Sep 2019 05:48:07 -0500 Subject: req: 4: Define Agent interface somewhat --- devel/requirements/4_interface.xml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/devel/requirements/4_interface.xml b/devel/requirements/4_interface.xml index 9d3330b..62929a1 100644 --- a/devel/requirements/4_interface.xml +++ b/devel/requirements/4_interface.xml @@ -47,7 +47,7 @@
Hardware Interfaces - + No direct hardware interfaces have been identified for this release of Project Horizon; all interfacing with hardware is done via other libraries as defined in the below .
External Software Interfaces @@ -100,5 +100,22 @@
Runner Listening Agent Interface The Horizon Runner Listening Agent Interface is the interface used to communicate progress. The Horizon Runner will send messages to the Listening Agent using the interface defined here to note status messages, step completion, and any exceptions that occur during execution. The Listening Agent may be an external application (such as the Horizon UI), a logging system, or even a serial port or TTY monitored by the user. For this reason, automated parsing is a higher priority than sapient parsing, but sapient parsing still must be considered. + + Agent.MessageFormat + Messages sent by the Agent shall be in the following format: + + A timestamp, in ISO 8601 format; + A tab character (\t); + Message class: log, prompt + A tab character (\t); + The message; + A newline character (\n). + + + + + Agent.Prompt + When the Agent requires external input from the User, the system shall interpret the answer as an entire line sent to the Agent via STDIN terminated with a newline. +
-- cgit v1.2.3-60-g2f50