Files
2026-05-27 12:55:17 +02:00

34 lines
1.9 KiB
Markdown

## ADDED Requirements
### Requirement: Summary agent instructions are configurable
Meeting Assistant SHALL allow the summary agent initial prompt to be configured through application settings.
When no configured initial prompt is supplied, Meeting Assistant SHALL use the built-in default prompt.
#### Scenario: Configured initial prompt is used
- **WHEN** `MeetingAssistant:Agent:InitialPrompt` is configured with non-empty content
- **THEN** the summary agent uses that configured prompt as its base instructions
#### Scenario: Empty initial prompt falls back to built-in default
- **WHEN** `MeetingAssistant:Agent:InitialPrompt` is missing or blank
- **THEN** the summary agent uses the built-in default instructions
### Requirement: Summary agent receives bound project instructions
Meeting Assistant SHALL append project instructions to the summary agent instructions for projects bound to the meeting note frontmatter.
For each bound project folder under the configured projects folder, when an `AGENTS.md` file exists directly in that project folder, Meeting Assistant SHALL append the project name and the `AGENTS.md` content under a project instructions section.
When no bound projects have `AGENTS.md`, Meeting Assistant SHALL not append the project instructions section.
#### Scenario: Project AGENTS files are appended
- **GIVEN** the meeting note frontmatter lists projects `Alpha` and `Beta`
- **AND** both configured project folders contain `AGENTS.md`
- **WHEN** the summary agent is created
- **THEN** its instructions include `---`, `projects:`, `# Alpha`, Alpha's `AGENTS.md`, `# Beta`, and Beta's `AGENTS.md`
#### Scenario: Projects without AGENTS files are skipped
- **GIVEN** the meeting note frontmatter lists project `Alpha`
- **AND** the configured project folder does not contain `AGENTS.md`
- **WHEN** the summary agent is created
- **THEN** no empty project instruction entry is appended for `Alpha`