Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions docs/requirements/AGENT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Requirements Documentation Instructions

When creating or editing requirement documents:

1. **Use the template** at `docs/requirements/TEMPLATE_SHR.md` for Stakeholder Requirement

2. **Use the template** at `docs/requirements/TEMPLATE_SWR.md` for Software Requirements

2. **Set Requirement Type** using this mapping:

| Requirement Type | Value |
| ----------------------------- | --------------------------------------- |
| USE_CASE | Software requirement (regulatory) |
| TECHNICAL | Stakeholder requirement (system) |
| FUNCTIONAL | Software requirement (user) |
| INTERFACES | Stakeholder requirement (performance) |
| REGULATORY | Software requirement (system) |
| ENVIRONMENT | Stakeholder requirement (user) |
| SOFTWARE_IO | Software requirement (performance) |
| DOCUMENTATION | Stakeholder requirement (science) |
| FAULT_HANDLING | Stakeholder requirement (business) |
| SOFTWARE_SYSTEM | Stakeholder requirement (cybersecurity) |
| USER_MAINTENANCE | Software requirement (other) |
| DATA_AND_DATABASES | Software requirement (cybersecurity) |
| EXTERNAL_INTERFACES | Stakeholder requirement (regulatory) |
| ACCOMPANYING_DOCUMENTS | Software requirement (business) |
| USER_INTERFACE_SPECIFICATION | Software requirement (user interface) |
| ESSENTIAL_FUNCTION_PROTECTION | Software requirement (science) |
13 changes: 13 additions & 0 deletions docs/requirements/SHR-APP-DISCOVERY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SHR-APP-DISCOVERY
itemTitle: Application Discovery
itemType: Requirement
# Stakeholder requirement (user)
Requirement type: FUNCTIONAL
---

<!-- Original reference: SHR-TSSDK-2 -->

## Description

Users shall be able to discover available AI applications and their versions.
13 changes: 13 additions & 0 deletions docs/requirements/SHR-APP-EXEC.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SHR-APP-EXEC
itemTitle: Application Execution Access
itemType: Requirement
# Stakeholder requirement (user)
Requirement type: FUNCTIONAL
---

<!-- Original reference: SHR-TSSDK-3 -->

## Description

Users shall be able to execute AI applications on slide data to generate analytical insights.
13 changes: 13 additions & 0 deletions docs/requirements/SHR-APP-RESULTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SHR-APP-RESULTS
itemTitle: Application Results Access
itemType: Requirement
# Stakeholder requirement (user)
Requirement type: FUNCTIONAL
---

<!-- Original reference: SHR-TSSDK-5 -->

## Description

Users shall be able to access and retrieve results generated from AI application runs.
13 changes: 13 additions & 0 deletions docs/requirements/SHR-APP-RUN-MGMT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SHR-APP-RUN-MGMT
itemTitle: Application Run Management
itemType: Requirement
# Stakeholder requirement (user)
Requirement type: FUNCTIONAL
---

<!-- Original reference: SHR-TSSDK-4 -->

## Description

Users shall be able to monitor status and manage the lifecycle of their AI application runs.
13 changes: 13 additions & 0 deletions docs/requirements/SHR-AUTH.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SHR-AUTH
itemTitle: Authenticated Platform Access
itemType: Requirement
# Stakeholder requirement (user)
Requirement type: SECURITY
---

<!-- Original reference: SHR-TSSDK-1 -->

## Description

Access to the Aignostics Platform shall require valid user authentication credentials.
13 changes: 13 additions & 0 deletions docs/requirements/SHR-ERROR-COMM.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SHR-ERROR-COMM
itemTitle: Error Communication
itemType: Requirement
# Stakeholder requirement (user)
Requirement type: FUNCTIONAL
---

<!-- Original reference: SHR-TSSDK-6 -->

## Description

Users shall receive clear information when operations fail.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-DISCOVERY-DETAILS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-DISCOVERY-DETAILS
itemTitle: Application Details
itemHasParent: SHR-APP-DISCOVERY
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-2.2 -->

System shall provide application identification, description, and regulatory compliance information for each retrieved application.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-DISCOVERY-LIST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-DISCOVERY-LIST
itemTitle: Application List Retrieval
itemHasParent: SHR-APP-DISCOVERY
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-2.1 -->

System shall retrieve all available AI applications accessible to the authenticated user.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-DISCOVERY-VERSION-DETAILS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-DISCOVERY-VERSION-DETAILS
itemTitle: Version Details
itemHasParent: SHR-APP-DISCOVERY
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-2.4 -->

System shall provide version identification, change history, input requirements, and output specifications for each retrieved version.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-DISCOVERY-VERSION-LIST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-DISCOVERY-VERSION-LIST
itemTitle: Version List Retrieval
itemHasParent: SHR-APP-DISCOVERY
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-2.3 -->

System shall retrieve all versions for a specified application.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-EXEC-INPUT-ARTIFACT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-EXEC-INPUT-ARTIFACT
itemTitle: Input Artifact Specification
itemHasParent: SHR-APP-EXEC
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-3.2 -->

System shall accept input artifacts containing artifact name, download URL, and metadata for each item in the run request.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-EXEC-REQUEST-VALIDATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-EXEC-REQUEST-VALIDATION
itemTitle: Request Validation
itemHasParent: SHR-APP-EXEC
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-3.3 -->

System shall validate run request format before submission to the platform.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-EXEC-RUN-CREATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-EXEC-RUN-CREATION
itemTitle: Application Run Creation
itemHasParent: SHR-APP-EXEC
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-3.1 -->

System shall create application runs with specified application version, input items, and item- and run metadata and return a unique run identifier upon successful creation.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-RESULTS-ARTIFACT-STATUS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-RESULTS-ARTIFACT-STATUS
itemTitle: Artifact Status Information
itemHasParent: SHR-APP-RESULTS
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-5.3 -->

System shall provide execution state, download availability, termination status, and error details for each output artifact.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-RESULTS-ITEM-STATUS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-RESULTS-ITEM-STATUS
itemTitle: Item Status Information
itemHasParent: SHR-APP-RESULTS
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-5.2 -->

System shall provide execution state, output availability, termination status, and error details for each item.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-RESULTS-RETRIEVE-ITEMS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-RESULTS-RETRIEVE-ITEMS
itemTitle: Retrieve Run Items
itemHasParent: SHR-APP-RESULTS
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-5.1 -->

System shall retrieve items and their associated output artifacts for a specified application run by run ID.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-RUN-MGMT-CANCEL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-RUN-MGMT-CANCEL
itemTitle: Cancel Application Run
itemHasParent: SHR-APP-RUN-MGMT
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-4.3 -->

System shall enable users to cancel a running or queued application run by run ID.
14 changes: 14 additions & 0 deletions docs/requirements/SWR-APP-RUN-MGMT-DEADLINE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
itemId: SWR-APP-RUN-MGMT-DEADLINE
itemTitle: Run Deadline Specification
itemHasParent: SHR-APP-RUN-MGMT
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-4.5 -->
<!-- NOT YET IMPLEMENTED -->

System shall accept optional deadline timestamp when creating application runs to specify when the Platform API should automatically cancel the run if not completed.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-RUN-MGMT-DETAILS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-RUN-MGMT-DETAILS
itemTitle: Retrieve Run Details
itemHasParent: SHR-APP-RUN-MGMT
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-4.2 -->

System shall retrieve detailed information for a specific application run by run ID.
14 changes: 14 additions & 0 deletions docs/requirements/SWR-APP-RUN-MGMT-DUE-DATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
itemId: SWR-APP-RUN-MGMT-DUE-DATE
itemTitle: Run Due Date Specification
itemHasParent: SHR-APP-RUN-MGMT
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-4.4 -->
<!-- NOT YET IMPLEMENTED -->

System shall accept optional due date timestamp when creating application runs to specify the expected completion time.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-APP-RUN-MGMT-LIST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-APP-RUN-MGMT-LIST
itemTitle: List Application Runs
itemHasParent: SHR-APP-RUN-MGMT
itemType: Requirement
# Software requirement (user)
Requirement type: FUNCTIONAL
Layer: System (backend logic)
---

<!-- Original reference: SWR-TSSDK-4.1 -->

System shall retrieve a list of application runs with optional filtering by application ID and application version.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-AUTH-AUTO-REFRESH.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-AUTH-AUTO-REFRESH
itemTitle: Automatic Token Refresh
itemHasParent: SHR-AUTH
itemType: Requirement
# Software requirement (system)
Requirement type: SECURITY
Layer: CLI
---

<!-- Original reference: SWR-TSSDK-1.6 -->

CLI shall automatically refresh access tokens and retry failed API requests when authentication fails and valid refresh tokens are available.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-AUTH-CODE-FLOW.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-AUTH-CODE-FLOW
itemTitle: Secure Authorisation Code Authentication
itemHasParent: SHR-AUTH
itemType: Requirement
# Software requirement (system)
Requirement type: SECURITY
Layer: CLI
---

<!-- Original reference: SWR-TSSDK-1.3 -->

CLI shall support secure authorization code-based authentication flow with cryptographic protection against authorization code interception attacks.
12 changes: 12 additions & 0 deletions docs/requirements/SWR-AUTH-CUSTOM-PROVIDER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
itemId: SWR-AUTH-CUSTOM-PROVIDER
itemTitle: Custom Token Provider
itemHasParent: SHR-AUTH
itemType: Requirement
# Software requirement (system)
Requirement type: SECURITY
---

<!-- Original reference: SWR-TSSDK-1.4 -->

SDK shall accept user-provided token functions for obtaining access tokens.
13 changes: 13 additions & 0 deletions docs/requirements/SWR-AUTH-SECURE-STORAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
itemId: SWR-AUTH-SECURE-STORAGE
itemTitle: Secure Token Storage
itemHasParent: SHR-AUTH
itemType: Requirement
# Software requirement (system)
Requirement type: SECURITY
Layer: CLI
---

<!-- Original reference: SWR-TSSDK-1.5 -->

CLI shall store authentication tokens with protection against unauthorized access.
12 changes: 12 additions & 0 deletions docs/requirements/SWR-AUTH-TOKEN-BASED.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
itemId: SWR-AUTH-TOKEN-BASED
itemTitle: Token-Based Authentication
itemHasParent: SHR-AUTH
itemType: Requirement
# Software requirement (system)
Requirement type: SECURITY
---

<!-- Original reference: SWR-TSSDK-1.1 -->

System shall authenticate API requests using access tokens.
Loading
Loading