test(chapter-35): cover spotlight nonces and document label lookup
Chapter: 35 - Prompt assembly tests. Plain-English map: Add tests for spotlight nonce generation and document label resolution in the prompt/tool pipeline. Why it matters: Prompt fencing depends on unpredictable nonces, and tool calls depend on the model resolving document labels correctly. Both failures are subtle. Principle: Security-sensitive prompt helpers deserve direct regression tests. Precedent borrowed: Chapter 24's prompt-injection defense work. Upstream base: willchen96/mike@d39f580. Original local commit: d198da9.
| Repository | amal66/mike |
|---|---|
| Author | Amal <mamalanand3@gmail.com> |
| Authored | |
| Parents | 27694ca4 |
| Stats | 1 file changed , +99 |
| Part of | Prompt-injection defense via spotlighting |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-1f77a3fe.md
from inside the repo you want the change in.