Split oversized runtime, sandbox, and interactive add files into focused helpers
This commit is contained in:
@@ -128,6 +128,8 @@ The runtime exposes a `RepoState` surface to validators. In addition to files, c
|
||||
|
||||
Helper shell-like commands (`ls`, `pwd`, `cat`, `sh <script>`, `./<script>`, `touch`, `mkdir`, `rm`, `echo`, `cd`) remain implemented in Kotlin so the mobile terminal behaves consistently across devices.
|
||||
|
||||
Source files should stay comfortably reviewable. Treat files approaching roughly 700 lines as refactor candidates, and prefer extracting cohesive runtime helpers, command handlers, or focused test classes over letting orchestration classes absorb unrelated responsibilities.
|
||||
|
||||
## Known Level Differences From Upstream
|
||||
|
||||
The Android port keeps the upstream GitHug level order, but some upstream fixtures assume desktop tools, network access, Ruby, Perl/Python helpers, or direct filesystem behavior that should not be required in a mobile learning sandbox. Differences must be documented here when they are intentional.
|
||||
|
||||
Reference in New Issue
Block a user