Public Access
Make agent file writes append by default
PR and Push Build/Test / build-and-test (push) Failing after 6m36s
PR and Push Build/Test / build-and-test (push) Failing after 6m36s
This commit is contained in:
@@ -202,6 +202,12 @@ The rules editor agent SHALL be configured from the summarizer agent settings by
|
||||
|
||||
The rules and identities editor agent SHALL include the workflow engine documentation in its system prompt and SHALL receive read, write, and search tools scoped to the configured workflow rules file.
|
||||
|
||||
The rules editor `write_rules` tool SHALL append to the configured workflow rules file by default and SHALL validate the complete resulting YAML document before writing it.
|
||||
|
||||
The rules editor `write_rules` tool SHALL replace the whole configured workflow rules file only when `replace_file` is true.
|
||||
|
||||
The rules editor `write_rules` tool SHALL refuse invalid YAML without changing the configured workflow rules file.
|
||||
|
||||
The rules and identities editor agent SHALL receive speaker identity tools to search/list, read, create, update, delete, and merge identities in the local speaker identity database.
|
||||
|
||||
The rules and identities editor agent SHALL receive speaker sample tools to list, read, delete, and queue playback of samples linked to identities.
|
||||
@@ -233,6 +239,23 @@ Meeting Assistant SHALL provide a diagnostic endpoint that opens the workflow ru
|
||||
- **THEN** its read, write, and search tools can access only that configured workflow rules file
|
||||
- **AND** its system prompt includes the workflow engine documentation
|
||||
|
||||
#### Scenario: Rules editor appends by default
|
||||
- **GIVEN** a configured workflow rules file with existing valid rules
|
||||
- **WHEN** the rules editor writes an additional valid rule without `replace_file`
|
||||
- **THEN** Meeting Assistant appends the new rule
|
||||
- **AND** preserves the existing rules
|
||||
|
||||
#### Scenario: Rules editor replaces only when requested
|
||||
- **GIVEN** a configured workflow rules file with existing rules
|
||||
- **WHEN** the rules editor writes valid YAML with `replace_file` set to true
|
||||
- **THEN** Meeting Assistant replaces the complete rules file with the supplied YAML
|
||||
|
||||
#### Scenario: Rules editor refuses invalid YAML
|
||||
- **GIVEN** a configured workflow rules file with valid existing rules
|
||||
- **WHEN** the rules editor writes YAML that would make the file invalid
|
||||
- **THEN** Meeting Assistant refuses the write
|
||||
- **AND** keeps the existing rules file unchanged
|
||||
|
||||
#### Scenario: Rules editor can manage speaker identities
|
||||
- **GIVEN** the speaker identity database contains speaker identities and samples
|
||||
- **WHEN** the rules editor agent runs
|
||||
|
||||
Reference in New Issue
Block a user