Fundep-PRSupport foundation for Unioeste2025–2026
Modernizing management without losing continuity.
From maintaining the financial system to building a new management foundation, we structured a step-by-step transition, with history kept accessible and AI-assisted migration.
Executive summaryWe mapped the operation with the team, preserved the legacy system's critical routines and built a new management foundation. To support the transition, we connected both systems to AI agents, with human review and authorization for every transfer.
Status · October 2026New foundation evolving; migration in validation ↓
01What did discovery reveal?
To report on the accounts, the pieces first had to be brought together.
In workshops and discovery meetings, we mapped with the team the path from the financial routine to accountability reporting. Spreadsheets, records and documents had to be matched to the right project, budget line and period. The PDF report was the final output of a process of gathering, checking and consolidating. Understanding that path shaped the new system's priorities.
Different sources, one project.
Spreadsheets, folders, receipts and financial records each make up part of the accountability report. Before consolidating, the information has to be found and matched to the project and period it belongs to.
The mapping showed that gathering data wasn't enough: its relationships had to be preserved and checking had to become clearer.
02Why wasn't replacing the system enough?
The system had to change. The operation couldn't stop.
We took over the maintenance of a system that held years of records and supported routines such as issuing boletos (Brazilian bank payment slips). The assessment revealed the size of the history, implicit financial rules and data that needed checking with the team. That called for care in the replacement: we kept the functions in use running while building the new foundation and a transition path between the two systems.
Fundep teamOperates in the legacy system
- Team operates
In use
Legacy system
Routines, boletos and more than 290,000 transactions.
not connected
- No direct team action
Doesn't exist
Agent + MCP
No transition path.
not connected
- No direct team action
Doesn't exist
New system
Not built yet.
- team operates
- MCP read, no changes
- write authorized by a person
ConsequenceThe operation and its history depend on the legacy system. The transition has to preserve access to the records and the routines in use.
A large database, with history to preserve
- 966projects
- 291,111transactions
- 8,723registered people
- 38tables
The legacy system also held unfinished work. Projects lasting four to five years were already under way, with end dates still in the future. Waiting for all of them to finish would prolong the dependence on the old system; the transition had to include these projects and preserve their continuity.
There was friction in daily use. The team reported session problems and periods when the interface was unavailable. These interruptions reinforced the need to evolve the foundation without compromising the operation.
Data inconsistencies. In the copy analyzed, 2,987 transactions were dated before 2000. We also found amounts with precision beyond cents and operations that needed safeguards against repetition. Dates, amounts, withholdings and cash effects had to be checked and reconciled before migration, without automatically correcting the history.
A snapshot of the database received for assessment; it does not represent the current volume or the number of records migrated.
03What guided the decisions?
Each decision responds to something the mapping or the assessment showed.
The mapping with the team showed how planning, execution and accountability reporting connect. We also restored the legacy system in an isolated copy to examine data and behavior without touching production. That work guided choices such as preserving the boleto workflow, centralizing financial rules and requiring human review in the migration. The diagrams link each problem to the decision and its effect on the operation.
- Legacy system
- Agent + MCP
- New system
- Observed
The team relied on the legacy system to operate and to look up a history of more than 290,000 transactions.
- Decided
Keep the routines in use while the new foundation is built; provide access to the legacy system through a read-only bridge.
DiscardedSwitch the whole operation at oncewould lead toHistory and routines still dependent on the legacy system
ChosenKeep the production system + read-only bridgeresults inRoutines and history remain accessible
From the old foundation to the new, layer by layer
- Interface
- LegacyJSF 2.2 and PrimeFaces 5.3, server-rendered
- New platformNext.js 16, React 19 and TanStack Query
- Application
- LegacyJava EE 7 on TomEE, Java 8 bytecode, WAR package
- New platformSpring Boot 4.1 on Java 23, REST API with OpenAPI
- Data
- LegacyHibernate 4.3 and PostgreSQL 14; decimal amounts stored as text
- New platformJPA and PostgreSQL; amounts in cents, 54 versioned migrations
- Reports
- Legacy22 JasperReports templates
- New platformPDFBox and XLSX generated from versioned snapshots
- Banking
- LegacySicoob boletos inside the WAR; legacy bank integration
- New platformOpenFeign with mTLS, account and Client ID per project, bank return-file import
- Access
- LegacyPortal session
- New platformHttpOnly session and OAuth 2 with scopes for agents
- Code and delivery
- LegacySVN; source code differed from the production binary
- New platformGit, reviewed pull requests, deployment with backup, smoke test and rollback
04How does a piece of information cross the transition?
Case by case, with a person authorizing each record.
With MCP, the team can look up the legacy history and ask AI agents to prepare information for the new system, as each project requires. This reduces the reliance on developers to prepare each transfer and makes it possible to work through a large database progressively, within the permissions of whoever is using the agent.
The legacy system remains accessible and is only read. Before anything is written to the new system, the team checks the preview and authorizes the operation; afterward, the agent looks up the result and verifies the link to the source. The illustration shows this path with a fictitious expense.
LEG-042 is read in the legacy system.
The agent reads only; the original stays where it is.
Blocks and repeated confirmation
Without support, without permission or without a proven link, the flow stops at review, before writing. Try a case in the illustration:
Confirming again retrieves the same receipt: the destination still holds a single record.
The two bridges, in technical terms
- Legacy MCP
- A Java layer installed alongside the WAR, without changing the rest of the package, plus a Python adapter. Eleven read-only tools, cursor-based pagination capped at 100 items, and a SHA-256 hash of each record detail retrieved.
- New system MCP
- Immutable proposals valid for 15 minutes, a full preview, explicit confirmation and an atomic receipt. Repeating the confirmation retrieves the result without duplicating the entry.
05What's done, and what's left?
New foundation evolving. Migration in validation.
The new management foundation continues in cycles of validation and improvement with the team. The assisted migration has gone through technical trial runs and a supervised pilot, with one real import approved and limited to the operation that was checked. Full adoption still depends on data reconciliation and Fundep's sign-off, project by project. The chart summarizes the status documented through October 2026.
- BuiltNew management foundation
Budget, transactions, taxes, bank integration and reports with explicit rules and per-project permissions. Continues in cycles with the team.
- In validationAssisted migration
Technical trial runs and a pilot, with one real import approved and limited to the operation that was checked.
- Next milestoneFinal switchover
Project by project, after reconciliation and Fundep's sign-off.
Evidence and limits of each claim
- New management foundation built
- Budget, transactions, taxes, bank integration and reports now follow explicit rules, with per-project permissions. Deliveries continue in cycles of validation and improvement with the team.
- Migration exercised in trial runs and a pilot
- The technical trial runs verified reading, preview, confirmation, checking and rejection of duplicates. Monitoring of the pilot documented one real import that was approved, limited to the operation that was checked. This does not prove full adoption in production.
- Final adoption still to be completed
- Full migration and the final switchover depend on reconciliation and sign-off by Fundep itself, project by project.
In a local trial run with a copy of the legacy system, the MCP read 507 cash records across six pages. The total matched the aggregate in the source database. This check shows that the read reconciled for that sample; it does not mean that 507 records were migrated or that the system was switched.
- Creating a pending entry is not paying the expense.
- Reading and reconciling 507 records in a trial run is not migrating them.
- One real import approved in the pilot does not prove full adoption.
Terms used on this page
- Legacy system
- The old system, still used by the team during the transition.
- Budget line
- Budget category that classifies each income or expense item in a project.
- Settlement
- Confirmation that an installment has actually been paid or received.
- Withholding
- Tax deducted from a payment and paid over later through a tax payment form.
- MCP
- Model Context Protocol: a protocol that lets the agent look up data and request operations while respecting each system's permissions.
- AI agent
- An assistant that looks up the systems and prepares operations, always within the permissions of the person using it.
