Schema driven AI-Assisted Generation of PowerShell Modules for Eiffel Events in CI/CD Pipelines - Developing and testing AI-Assisted PowerShell modules from JSON schemas for creating, validating and sending Eiffel Events
| dc.contributor.author | Usman, Muhammad | |
| dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
| dc.contributor.department | Chalmers University of Technology / Department of Computer Science and Engineering | en |
| dc.date.accessioned | 2026-06-30T09:29:18Z | |
| dc.date.issued | 2026 | |
| dc.date.submitted | ||
| dc.description.abstract | Modern CI/CD pipelines rely on structured event data to provide traceability, automation, and observability across the software development lifecycle. The Eiffel protocol addresses this need by formally specifying build, test, and deployment events through JSON Schemas, making it well-suited for schema-driven tooling. Despite this, practical integration of Eiffel events into CI/CD pipelines remains largely improvised, and no widely adopted approach exists for Windows-based environments. This thesis investigates how a schema driven and AI-assisted approach can be used to automatically generate a Windows PowerShell module that creates, validates, and sends Eiffel events while remaining testable and maintainable. A Python-based generator was developed that parses the official Eiffel event JSON Schemas and produces PowerShell modules exposing cmdlets for event creation, schema validation, and publication to RabbitMQ. An AI model, GPT-4.1, is integrated as a controlled build-time repair mechanism and is permitted to modify generator logic when system tests fail, but never allowed to change the human-written tests themselves. The entire workflow of generation, testing, building, and releases is automated through GitHub Actions and published via GitHub Releases. The resulting product scales from a single event and version to the full Eiffel event registry by treating new events as new registry entries rather than as new code, with self-correcting validation gates that catch regressions automatically. | |
| dc.identifier.uri | https://hdl.handle.net/20.500.12380/311659 | |
| dc.language.iso | eng | |
| dc.setspec.uppsok | Technology | |
| dc.title | Schema driven AI-Assisted Generation of PowerShell Modules for Eiffel Events in CI/CD Pipelines - Developing and testing AI-Assisted PowerShell modules from JSON schemas for creating, validating and sending Eiffel Events | |
| dc.type.degree | Examensarbete på kandidatnivå | sv |
| dc.type.degree | Bachelor Thesis | en |
| dc.type.uppsok | M2 |
