amal66 gives Mike's chat a stronger prompt-injection boundary
The fork adds a practical safeguard against malicious instructions hiding inside legal documents and project material.
amal66 is treating documents in the AI's context as evidence, not orders. Each chat request now gets a fresh, hard-to-forge boundary around user-controlled material, so a filename or uploaded document cannot easily pretend to be part of the application's instructions.
- Document text, filenames and fetched material are marked as data that the AI should not follow as instructions.
- Installed workflows get a separate, limited instruction status: they can guide the task, but cannot override policy or turn other documents into instructions.
This is explicitly one layer of protection, not a claim that prompt injection is solved. Some lower-volume content routes still need the same coverage.
Spotted something wrong? Or know the PR text has fresher detail than the writeup above?