MCPcopy Create free account
hub / github.com/EvoMap/evolver / _answerFilePath

Function _answerFilePath

src/atp/atpTaskPickup.js:104–107  ·  view source on GitHub ↗
(taskId)

Source from the content-addressed store, hash-verified

102}
103
104function _answerFilePath(taskId) {
105 const safe = String(taskId || 'task').replace(/[^a-zA-Z0-9_\-]/g, '_').slice(0, 64);
106 return path.join(getMemoryDir(), 'atp_answer_' + safe + '.md');
107}
108
109function _buildSpawnTask(task, opts) {
110 const capabilities = Array.isArray(task.capabilities) ? task.capabilities.slice(0, 8) : [];

Callers 1

_buildSpawnTaskFunction · 0.85

Calls 1

getMemoryDirFunction · 0.85

Tested by

no test coverage detected