Repository navigation
Update LLM Recorder instructions to "Technical Storyteller" persona - #1048
Merged
Merged
Conversation
…1017) Reframes the SYSTEM ROLE & PHILOSOPHY section from a rigid SAST-analyzer persona to a Senior Technical Storyteller, so the downstream LLM weaves structural signatures into an architectural narrative instead of restating heuristic labels (e.g. "Logic Bomb", "O(2^N)") as confirmed findings of malice or defect. Also reconciles the closing "AI SYSTEM INSTRUCTIONS (OUTPUT FORMAT)" tone directive, which previously told the LLM to act as a "Principal Staff Engineer" and be direct rather than narrative -- a persona conflicting with Section 1. It now defers to the Storyteller persona while keeping the existing ban on sensational/sci-fi jargon, which is what keeps the narrative factual rather than dramatized. Closes #1017 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
## 1. SYSTEM ROLE & PHILOSOPHYinllm_recorder.py's_build_markdownfrom a rigid SAST-analyzer persona to a Senior Technical Storyteller persona, per the issue's action items.Logic Bomb,O(2^N)) as a confirmed finding of malice/defect -- this is the exact hallucination-amplification behavior Update LLM Recorder instructions to "Technical Storyteller" persona #1017 calls out.## AI SYSTEM INSTRUCTIONS (OUTPUT FORMAT)tone directive, which previously said "Act as a Principal Staff Engineer... be direct" -- a persona actively fighting Section 1's Storyteller framing. It now defers to that persona while keeping the existing ban on sensational/sci-fi jargon ('Trojan', 'parasitic', 'chimeric'), which is what keeps the narrative factual instead of dramatized.## 0.5 AI THREAT AUDIT STATUS'sML_CONFIRMED_THREAT_DETECTEDbanner text is left as-is -- it's a shared status enum withaudit_recorder.py, pinned by tests in both recorders' test files.Last open sub-issue of epic #1025 -- merging this closes both #1017 and the epic.
Closes #1017
Test plan
pytest tests/tools_recorders/test_llm_recorder.py-- 6/6 passpython tests/tools/audit_check.py-- ruff/mypy/dead-key baselines clean, format clean🤖 Generated with Claude Code