Fix run log ingest and terminal console layout
This commit is contained in:
+14
@@ -48,6 +48,16 @@ The live log window SHALL read platform log streams and entries through authoriz
|
||||
- **WHEN** an operator pauses, resumes, clears, filters, or manually refreshes live logs
|
||||
- **THEN** the UI updates only the visible log window state and does not expose host paths, raw sockets, credentials, or Run endpoint addresses
|
||||
|
||||
#### Scenario: Run job logs are uploaded
|
||||
- **WHEN** Platform creates a server-scoped job that Run may execute
|
||||
- **THEN** Platform pre-registers the job stdout and stderr log streams that match Run's deterministic spool stream IDs
|
||||
- **AND** Run log batches using the current single-line checksum and an initial global sequence number are accepted and visible through cursor queries
|
||||
|
||||
#### Scenario: Legacy persisted jobs have no log streams
|
||||
- **WHEN** Platform starts with existing server-scoped jobs that were persisted before job log streams were auto-created
|
||||
- **THEN** Platform recovers the missing job stdout and stderr stream metadata before log cursor recovery
|
||||
- **AND** mediated management-program jobs recover their program stdout and stderr stream metadata as well
|
||||
|
||||
### Requirement: Management terminal is platform-mediated
|
||||
The management terminal SHALL dispatch commands only through platform-authorized plugin or lifecycle command paths and SHALL NOT provide browser-direct shell access.
|
||||
|
||||
@@ -55,6 +65,10 @@ The management terminal SHALL dispatch commands only through platform-authorized
|
||||
- **WHEN** an operator submits a SCUM management command from the terminal
|
||||
- **THEN** the UI dispatches the command through the existing Source RCON command API and displays safe submission/job status
|
||||
|
||||
#### Scenario: Terminal window opens
|
||||
- **WHEN** an operator opens `管理终端`
|
||||
- **THEN** the UI presents an opaque near-full-height command console with bottom command input and quick command templates rather than a translucent narrow drawer
|
||||
|
||||
#### Scenario: Unsupported command target
|
||||
- **WHEN** a server plugin has no supported management terminal command path
|
||||
- **THEN** the terminal shows an unsupported state instead of exposing a raw shell or arbitrary command input
|
||||
|
||||
Reference in New Issue
Block a user