forked from diegoecab/oci-deal-accelerator
generate_deck on the MCP server passes a flat spec (customer_name, title, workload_type, services, cost_summary, ...) — but from_spec only understood the proposal-spec YAML shape (metadata/summary/architecture/...). With no matching keys, only the title and closing layouts rendered, both populated with empty strings, producing a deck that looked blank. Detect the flat shape in from_spec and adapt it into the proposal-spec fields that the existing slide builders already consume. Title, summary (target state + current-state bullets) and cost slides now render from whatever the MCP tool sends; the richer proposal-spec path is untouched. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>