Aviation job board
A hiring marketplace for the aviation industry. I joined a running project, extended its AI workflow and became the review gate for the team.
100%
AI-generated production code, under my review
How it was measured
Share of production code merged while I was on the project that was written by AI agents (Claude Code, Cursor). I reviewed every change before merge.
21
admin API endpoints built from one spec
How it was measured
Endpoints marked done in the admin API checklist and present in the generated OpenAPI file: job moderation, users, companies and jobs.
97
agent tasks with a plan, code and review trail
How it was measured
Task folders I created in the two repositories; 83 of them contain a code review report and 39 a bug-fix cycle.
On this page
Context
A hiring marketplace for the aviation industry. Job seekers keep a professional profile with licenses, medical certificates and flight hours, search jobs on a list or a map, apply and track their applications. Employers post jobs, and an admin back office moderates every posting before it goes live.
I joined through Valletta Software when the core API and the first screens already existed, and the team had started working with AI agents. My part was the admin back office, job applications and account settings, and the review step every change went through.
Problem & constraints
- The codebase was four months old, with 14 modules and an AI workflow already in use. It had to be extended, not replaced.
- One admin spec, 37 endpoints and 27 screens, had to be built across separate backend and frontend repositories.
- All code was written by AI agents, and CI only built and deployed. Review was the only gate.
- A new admin role had to live in the same user type that public sign-up uses, and admins edit free-text job descriptions.
- Aviation data is detailed: licenses, roles, aircraft types, 12 application statuses and privacy settings for each profile field.
Architecture
Scroll the diagram sideways
Key decisions
One task per endpoint, with a fixed workflow for each
- Context
- The admin spec was 1,861 lines for 37 endpoints and 27 screens, too much for one agent run.
- Options considered
- A: give a whole feature or the whole spec to an agent, or write it by hand. B: split the spec into self-contained endpoint files and run each through analysis, plan, code and review, with up to 3 fix cycles.
- Trade-offs
- B needs prompt work up front and leaves many generated files in the repositories. In return each agent run has a small context and leaves a trail someone can review.
- Outcome
- Chose B. 21 of 37 endpoints and 8 admin screens shipped while I was on the project.
A standard AI review plus my approval before merge
- Context
- All code came from AI agents, and the pipelines ran no tests.
- Options considered
- A: each author decides how to review. B: a fixed review prompt the author runs before the pull request, with Blockers, Major and Minor findings, then my approval.
- Trade-offs
- B catches broken standards and layering mistakes, not runtime bugs, and every approval goes through one person.
- Outcome
- Chose B. The team wrote 95 review reports in that format, and every change went through my review before merge.
An OpenAPI file from code as the contract between repositories
- Context
- Frontend agents need exact request and response shapes, and the backend lives in another repository.
- Options considered
- A: agents read backend source code or prose docs. B: generate openapi.json from the API's Swagger metadata and commit it to both repositories.
- Trade-offs
- B has to be regenerated and copied by hand, and frontend types were still written by hand, so drift stayed possible.
- Outcome
- Chose B. The file describes 253 operations, and frontend agents map screens to endpoints from it.
Results
- Admin back office: 21 endpoints for job moderation, users and companies, moderation metrics, an activity log and 8 admin screens.
- Admin access checked in three places: no public sign-up as admin, an admin-only guard on endpoints and another on routes.
- Job applications end to end: drafts, saved jobs, withdraw and decline, My Jobs grouped by status, with 9 database migrations.
- A filters endpoint for the job board, aviation reference data and an index for active, published jobs.
- Account settings: 8 pages generated from Figma and connected to the API.
- An AI delivery toolkit the team used: a review standard, a task workflow, a spec parser and a spec-to-screen pipeline in Claude Code.
What I'd do differently
- I would add tests and lint to CI before scaling AI-generated code. Our pipelines only built and deployed, so my approval was the only gate.
- I would generate the frontend API client from openapi.json instead of writing types by hand. One mismatched ID took a 12-file backend fix and a 23-file frontend fix.
- I would store moderation history in an append-only event table. The activity log was rebuilt from timestamps, so only the last decision survived.