Workflow Architecture
4 requirements
·
9 scenarios
Dual Anchor Paragraph Insertion
JR-workflow-architecture-004
The paragraph insertion tool SHALL support separate positional and formatting anchors. The positional anchor determines where to insert the new paragraph, while the formatting anchor determines what style to apply.
2 test scenarios
- Insert uses different positional and formatting anchors JR-workflow-architecture-004.1
- Single anchor assumed when formatting anchor omitted JR-workflow-architecture-004.2
Redline Summary-Only Attachment
JR-workflow-architecture-031
The redline pipeline SHALL generate a summary-only Word attachment when summary content is available. This attachment contains the executive summary and summary table without detailed analysis.
3 test scenarios
- Summary-only document generated alongside full reports JR-workflow-architecture-031.1
- Summary attachment contains email body content JR-workflow-architecture-031.2
- No summary attachment when summary content unavailable JR-workflow-architecture-031.3
Deterministic Preflight Checks
JR-workflow-architecture-041
The preflight check workflow SHALL execute through deterministic rule-based checks only, without AI model validation in the main execution path.
2 test scenarios
- Preflight executes deterministic checks only JR-workflow-architecture-041.1
- Preflight output remains structured JR-workflow-architecture-041.2
Preflight Checks as Reusable Tools
JR-workflow-architecture-042
Deterministic preflight check suites SHALL be exposed as reusable function-calling tools with clear parameter schemas, enabling the same check logic to be used across workflows.
2 test scenarios
- Deterministic preflight tool registered JR-workflow-architecture-042.1
- Workflow and tools share one source of truth JR-workflow-architecture-042.2