8b4784f5ed
- Archive config-secrets (FN-009) - 31 tasks complete - Archive runfusion-poc (FN-008) - 25 tasks complete - Archive deployment-config (FN-006) - 27 tasks complete - All changes moved to openspec/changes/archive/
24 lines
919 B
Markdown
24 lines
919 B
Markdown
## ADDED Requirements
|
|
|
|
### Requirement: Each tool instance gets a unique subdomain
|
|
The system SHALL assign a unique HTTPS subdomain to each running tool instance.
|
|
|
|
#### Scenario: Subdomain pattern
|
|
- **WHEN** a tool instance is spawned
|
|
- **THEN** its subdomain follows `{tool}-{project}-{user}.{domain}`
|
|
- **AND** the subdomain is deterministic based on instance metadata
|
|
|
|
#### Scenario: Subdomain accessibility
|
|
- **WHEN** a tool instance reaches running status
|
|
- **THEN** its subdomain resolves via DNS
|
|
- **AND** Traefik routes the subdomain to the container
|
|
- **AND** the user can access the tool via the subdomain URL
|
|
|
|
### Requirement: Subdomain is released on stop
|
|
The system SHALL remove Traefik routing when a tool instance stops.
|
|
|
|
#### Scenario: Stop removes routing
|
|
- **WHEN** a tool instance is stopped
|
|
- **THEN** Traefik labels are removed or disabled
|
|
- **AND** the subdomain no longer routes to the container
|