MCPcopy
hub / github.com/Doorman11991/smallcode / runValidation

Function runValidation

bin/smallcode.js:1909–1911  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

1907// The old inline version used shell-interpolated strings which allowed a
1908// model-controlled filePath like `foo.py"; rm -rf /; echo "` to execute.
1909function runValidation(filePath) {
1910 return _runValidationModule(filePath);
1911}
1912
1913// Build a compact system prompt — only includes sections relevant to the task type.
1914// When SMALLCODE_CACHE_SPLIT=true (Feature #14), this returns ONLY the static portion

Callers 3

runAgentLoopFunction · 0.70
commands.jsFile · 0.70
verifyAndFixCompiledFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected