Dhanji R. Prasanna
1ad74baaa5
Readability refactor: extract mega-functions into focused helpers
Agent: carmack
4 files refactored, net -250 lines, all tests passing (417 + 71).
datalog.rs:
- Extract 7 predicate evaluation helpers from evaluate_predicate_datalog()
(~200-line match → 12-line dispatch table)
- Extract rule_body_for_predicate() from format_datalog_program()
(~75-line match → 2-line call)
invariants.rs:
- Extract 7 per-rule helpers from evaluate_predicate()
(~230-line match → 12-line dispatch table)
envelope.rs:
- Simplify summary construction in verify_envelope()
- Eliminate redundant clone in stamp_envelope()
anthropic.rs:
- Introduce StreamState struct with 6 handler methods
- parse_streaming_response: ~290 lines → ~90 lines
- Max nesting depth reduced from 8 to 4 levels
2026-02-13 16:21:38 +11:00
..
2026-02-07 16:38:27 +11:00
2026-02-06 14:22:59 +11:00
2026-02-06 14:22:59 +11:00
2026-02-13 16:21:38 +11:00
2026-02-06 14:22:59 +11:00
2026-02-11 08:48:07 +11:00
2026-02-13 16:21:38 +11:00
2026-02-06 14:22:59 +11:00