CARET: A Spec-Driven Development Framework for Contract-Aware Repository Editing and Governed Agentic Code Generation. Ciprian Paduraru, Liviu Bouruc, Alin Stefanescu. In: Proceedings of the 30th International Conference on Knowledge-Based and Intelligent Information & Engineering Systems (KES 2026), 9-11 September 2026, Dublin, Ireland.