1. Pre-Save Edge & Security Testing
resonant_verify_cegar |
Ask a second AI model to “review” the first AI’s diff (LLM-as-a-Judge), which takes 5–15s, costs extra tokens, and misses edge cases. |
Runs your modified function in a safe memory sandbox against tricky inputs (0, -1, None, empty lists []) and checks 40+ security and 60fps rules in <2ms before saving. |
• Clarke et al., CAV 2000 (CEGAR)
• Peng et al., CWEval (2025)
• Vero et al., BaxBench (2025)
|
2. Surgical Caller & Git Co-Change Map
resonant_architect_orient |
Chop files into arbitrary text paragraphs and search by word similarity, missing callers in other files. |
Maps each function’s inputs, state changes, and return guarantees alongside its callers and files that historically changed together in your Git commits (~87% fewer tokens). |
• Hoare, CACM 1969 ({P} C {Q})
• Zimmermann et al., IEEE TSE 2005
• Weiser, IEEE TSE 1984 (Slicing)
|
3. Self-Expiring Code-Linked Memory
resonant_memory_jtms |
Save static text notes in a database that quietly go out of date weeks later when code is refactored (“memory rot”). |
Attaches every note to a SHA-256 fingerprint of the actual code structure. The moment anyone edits that function, old notes automatically flag as STALE_AST_DRIFT. |
• Doyle, Artificial Intelligence 1979 (JTMS)
• Wu et al., LongMemEval (ICLR 2025)
|
4. 0-Token Structural Bug Guardrails
resonant_evolve_guardrail |
Append another text warning to AGENTS.md or CLAUDE.md, bloating prompt costs until the AI ignores half the file. |
Compares the broken code tree against the fixed code tree to extract the shared structural mistake and saves a <1ms local rule that costs 0 prompt tokens forever. |
• Plotkin, Machine Intelligence 1970 (Anti-Unification)
• Rolim et al., IEEE/ACM ICSE 2017
|
5. Fact-Checked Completion Receipts
resonant_honesty_audit |
Trust the AI when it says “I updated the file and all tests passed” without checking disk state. |
Breaks the AI’s summary into individual claims and verifies every file path, code symbol, and test exit code (PROVED, HYPOTHESIS, or REFUTED). |
• Necula, ACM POPL 1997 (PCC)
• Min et al., FActScore (EMNLP 2023)
|