Skip to content

Update LLM Recorder instructions to "Technical Storyteller" persona - #1048

Merged
squid-protocol merged 1 commit into
mainfrom
feat/1017-storyteller-persona
Aug 5, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
feat/1017-storyteller-persona

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Aug 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Reframes ## 1. SYSTEM ROLE & PHILOSOPHY in llm_recorder.py's _build_markdown from a rigid SAST-analyzer persona to a Senior Technical Storyteller persona, per the issue's action items.
  • Adds an explicit directive telling the downstream LLM not to restate a heuristic's raw label (e.g. 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.
  • Reconciles the closing ## 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.
  • Out of scope: ## 0.5 AI THREAT AUDIT STATUS's ML_CONFIRMED_THREAT_DETECTED banner text is left as-is -- it's a shared status enum with audit_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 pass
  • python tests/tools/audit_check.py -- ruff/mypy/dead-key baselines clean, format clean
  • Reviewer: eyeball the new prompt wording for tone/voice

🤖 Generated with Claude Code

…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]>
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 917f317 into main Aug 5, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the feat/1017-storyteller-persona branch August 5, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update LLM Recorder instructions to "Technical Storyteller" persona

1 participant