Federico Rinaldi
Selected work

Incentive and tax-relief requests for INPS

INPS, the Italian social security institute, needed one system to receive and process incentive and tax-relief requests from businesses and citizens, with personal and financial data in every request.

Client
Engineering S.p.A. for INPS
Role
Software engineer, team lead
Period
2015 – now
Stack
Angular, TypeScript, Java, Spring MVC, Hibernate, JPA, AI-assisted delivery

Context

INPS, the Italian social security institute, needed a single system to receive and process incentive and tax-relief requests from Italian businesses and citizens. Every request carries personal and financial data, so the system has to be both fast and safe.

I lead the team that designs, builds and maintains it: ten people, from design to delivery.

Decision

An Angular front end over REST services written in Spring MVC, with Hibernate and JPA for persistence. The stack was chosen and tuned for performance, and application security was a requirement from the first sprint rather than a check before release. The code is written test-first.

AI is part of how the team works, across the whole lifecycle rather than as a side tool:

  • Functional documentation: drafting and reviewing the functional specs with the analysts.
  • Technical documentation: turning those specs into technical design and keeping it in step with the code.
  • Testing: generating and extending test cases, the edge cases first.
  • CI pipeline: checks built into the pipeline, so every change goes through the same review.

Trade-off

INPS runs a complex infrastructure, and it is not ours to change. Every release has to fit its environments, its procedures and the systems around it.

Writing tests first and treating security as a requirement cost time up front. That time is what makes the rest possible: frequent releases into an environment where a regression is expensive.

Outcome

  • Seven years in production, without interruption.
  • Almost continuous releases: new features and changes ship as they are ready, not in rare large drops.
  • Almost no bugs reaching production.