fix: allow reading other workflows but not writing
小橘 🍊(NEKO Team)
This commit is contained in:
parent
024ddf0b8b
commit
61c8349307
@ -777,7 +777,7 @@ ${fixSection}
|
|||||||
Do not remove or overwrite unrelated senses, reflexes, or other workflow entries. Preserve valid YAML.
|
Do not remove or overwrite unrelated senses, reflexes, or other workflow entries. Preserve valid YAML.
|
||||||
|
|
||||||
## CRITICAL constraints
|
## CRITICAL constraints
|
||||||
- **ONLY touch files inside \`${WORKFLOWS_DIR}/${wfName}/\` and \`${NERVE_ROOT}/nerve.yaml\`.** Do NOT read, modify, or create files in any other workflow directory (e.g. \`sense-generator/\`, \`hello-world/\`). The reference code is provided inline above — you do not need to open it from disk.
|
- **ONLY write/modify files inside \`${WORKFLOWS_DIR}/${wfName}/\` and \`${NERVE_ROOT}/nerve.yaml\`.** You may read other workflow directories for reference, but do NOT create, modify, or delete files in them (e.g. \`sense-generator/\`, \`hello-world/\`).
|
||||||
|
|
||||||
## Implementation patterns (when applicable)
|
## Implementation patterns (when applicable)
|
||||||
- \`resolveDashScopeProvider\`, \`nerveAgentContext\`, \`readNerveYaml\`, \`cursorAgent\`, \`llmExtract\`, \`spawnSafe\`, \`formatSpawnFailure\` from \`@uncaged/nerve-workflow-utils\` as in sense-generator.
|
- \`resolveDashScopeProvider\`, \`nerveAgentContext\`, \`readNerveYaml\`, \`cursorAgent\`, \`llmExtract\`, \`spawnSafe\`, \`formatSpawnFailure\` from \`@uncaged/nerve-workflow-utils\` as in sense-generator.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user