Class: Optimize::Demo::Claude::Outcome
- Inherits:
-
Struct
- Object
- Struct
- Optimize::Demo::Claude::Outcome
- Defined in:
- lib/optimize/demo/claude.rb
Overview
Orchestrator for the “gag pass” demo: wires Serializer, Validator, Prompt, Invoker, and Transcript into a retry loop.
‘invoker` is dependency-injected. Production uses Invoker (shell out); tests pass a stub whose `.call(prompt:)` returns a pre-parsed Array.
Instance Attribute Summary collapse
-
#outcome ⇒ Object
Returns the value of attribute outcome.
-
#transcript ⇒ Object
Returns the value of attribute transcript.
Instance Attribute Details
#outcome ⇒ Object
Returns the value of attribute outcome
18 19 20 |
# File 'lib/optimize/demo/claude.rb', line 18 def outcome @outcome end |
#transcript ⇒ Object
Returns the value of attribute transcript
18 19 20 |
# File 'lib/optimize/demo/claude.rb', line 18 def transcript @transcript end |