Orchestrata Ultimate / RTM / 063-repl-tool
RTM: 063-repl-tool
Requirement to symbol to test rows for 063-repl-tool: REPLTool Specification.
At a glance
| Item | Value |
|---|---|
| Requirement IDs | 32 |
Traced from src/ |
23 (71.9%) |
| Untraced | 9 |
Cited from tests/ |
0 (0.0%) |
Traced in src/ but not cited from tests/ |
23 |
Reading this matrix
This matrix lists each of the 32 requirement IDs of spec 063-repl-tool with the src/ symbols that cite it and the tests that cite it. 23 of them (71.9%) have at least one citing symbol and 9 have none.
0 requirements are also cited from tests/, and 23 are traced in code but never named by a test. A test citation is a @traces on a test function; it shows intent to cover, not that the test runs or reaches the symbol.
Rows showing none in the symbols column are the gaps to close first. The densest untraced groups are REQ-063-* (9).
Requirement to symbols to tests
| Requirement | Symbols in src/ |
Tests citing it |
|---|---|---|
REQ-063-001 Create REPL sessions with unique, cryptographically |
orchestrata_ultimate/tools/repl_tool REPLSession L191orchestrata_ultimate/tools/repl_tool execute L775 |
none |
REQ-063-002 Reject create_session when a caller-supplied |
orchestrata_ultimate/tools/repl_tool InvalidSessionIdError L118orchestrata_ultimate/tools/repl_tool _require_session_id L681orchestrata_ultimate/tools/repl_tool execute L775 |
none |
REQ-063-003 Terminate a session on demand, killing its interpreter |
orchestrata_ultimate/tools/repl_tool _terminate_locked L889orchestrata_ultimate/tools/repl_tool execute L775 |
none |
REQ-063-004 Session state (variables, imports, function/def |
orchestrata_ultimate/tools/repl_tool REPLSession L191orchestrata_ultimate/tools/repl_tool _execute_code L923orchestrata_ultimate/tools/repl_tool _get_or_spawn_process L1025 |
none |
REQ-063-005 Session idle timeout (default 300s, overridable per |
orchestrata_ultimate/tools/repl_tool REPLSession L191orchestrata_ultimate/tools/repl_tool SessionTimeoutError L113orchestrata_ultimate/tools/repl_tool _execute_code L923+2 more |
none |
REQ-063-006 Session activity (last_activity) is tracked and |
orchestrata_ultimate/tools/repl_tool REPLSession L191orchestrata_ultimate/tools/repl_tool _execute_code L923orchestrata_ultimate/tools/repl_tool touch L213 |
none |
REQ-063-007 A global concurrent-session cap rejects further |
none | none |
REQ-063-008 Python code execution via a persistent python3 |
orchestrata_ultimate/tools/repl_tool _execute_code L923orchestrata_ultimate/tools/repl_tool run_one L509orchestrata_ultimate/tools/repl_tool spawn L482 |
none |
REQ-063-009 JavaScript code execution via a persistent Node.js |
orchestrata_ultimate/tools/repl_tool _execute_code L923 |
none |
REQ-063-010 Bash/shell command execution via a persistent bash |
orchestrata_ultimate/tools/repl_tool _execute_code L923orchestrata_ultimate/tools/repl_tool _runner_for L643 |
none |
REQ-063-011 stdout and stderr are captured and returned as |
orchestrata_ultimate/tools/repl_tool _execute_code L923orchestrata_ultimate/tools/repl_tool _run_json_protocol L314 |
none |
REQ-063-012 The value of a trailing bare expression is returned in |
orchestrata_ultimate/tools/repl_tool _execute_code L923 |
none |
REQ-063-013 A wall-clock timeout (timeout_ms, defaulting to |
orchestrata_ultimate/tools/repl_tool _LineReader L253orchestrata_ultimate/tools/repl_tool _execute_code L923orchestrata_ultimate/tools/repl_tool _kill_process_locked L1041+4 more |
none |
REQ-063-014 resource.setrlimit(RLIMIT_CPU/RLIMIT_AS) (Python), |
orchestrata_ultimate/tools/repl_tool ResourceLimits L148orchestrata_ultimate/tools/repl_tool _execute_code L923orchestrata_ultimate/tools/repl_tool spawn L482 |
none |
REQ-063-015 Combined stdout+stderr byte size is capped at |
orchestrata_ultimate/tools/repl_tool _enforce_output_limit L665orchestrata_ultimate/tools/repl_tool _execute_code L923 |
none |
REQ-063-016 A session's max_expressions limit rejects further |
orchestrata_ultimate/tools/repl_tool ResourceLimits L148orchestrata_ultimate/tools/repl_tool _execute_code L923 |
none |
REQ-063-017 Per-execution resource-usage reporting (actual CPU/RSS |
none | none |
REQ-063-018 Each session runs in its own OS subprocess plus its |
orchestrata_ultimate/tools/repl_tool _execute_code L923orchestrata_ultimate/tools/repl_tool _get_or_spawn_process L1025 |
none |
REQ-063-019 Hard filesystem-access restriction (path allowlist / |
none | none |
REQ-063-020 Network-access restriction in sandbox mode — NOT |
none | none |
REQ-063-021 Best-effort static-pattern malicious-code detection: |
orchestrata_ultimate/tools/repl_tool MaliciousCodeDetectedError L136orchestrata_ultimate/tools/repl_tool _check_malicious L651orchestrata_ultimate/tools/repl_tool _execute_code L923 |
none |
REQ-063-022 Three sandbox levels accepted: strict / standard |
orchestrata_ultimate/tools/repl_tool _execute_code L923 |
none |
REQ-063-023 The tool's own subprocess invocations always use |
orchestrata_ultimate/tools/repl_tool _execute_code L923 |
none |
REQ-063-024 execute returns an ExecutionResult-shaped payload: |
orchestrata_ultimate/tools/repl_tool _finalize_record L1010orchestrata_ultimate/tools/repl_tool _now_iso L86orchestrata_ultimate/tools/repl_tool execute L775 |
none |
REQ-063-025 get_session returns a REPLSession-shaped payload: |
orchestrata_ultimate/tools/repl_tool execute L775 |
none |
REQ-063-026 get_history returns paginated |
orchestrata_ultimate/tools/repl_tool ExecutionRecord L177orchestrata_ultimate/tools/repl_tool execute L775 |
none |
REQ-063-027 Invalid/empty code input is rejected with |
orchestrata_ultimate/tools/repl_tool InvalidCodeInputError L131orchestrata_ultimate/tools/repl_tool _execute_code L923 |
none |
REQ-063-028 Unsupported/unavailable languages are rejected at |
none | none |
REQ-063-029 REST API endpoints POST/GET/DELETE /sessions... |
none | none |
REQ-063-030 WebSocket streaming / bidirectional REPL (FR-026..028) |
none | none |
REQ-063-031 Standalone CLI interface (FR-029..032) — NOT |
none | none |
REQ-063-032 Transport-level security (SEC-020 TLS-in-transit, |
none | none |