Rebuilding an old system is mostly a knowledge problem. The rules live in the code: overdraft checks, rounding, status transitions, return codes, the exact wording on a screen, and the comments explaining why. A rebuild in 1904 used to see all of that through a single overview of about 3,500 words, and the agents writing the plan and the code never saw the source. Too much gets lost that way, so 1904 now reads the source itself and carries what it finds through to the build.
Reading the source for what it means
After the overview, a second pass reads the source in small groups of files, using a coding agent with read-only access. Each group returns structured findings: business rules, screens with their exact wording, comments that explain why something exists, and data structures. Every finding has a file and line reference and a stable id, and anything that looks like a secret is masked. On a CICS banking sample of 439 files and about 66,000 lines, one group of programs produced 22 rules, complete with the literal fail codes and account types. A group that can't be read is recorded as unanalysed, so you can see what's missing.
The plan has to account for every rule
You can start discovery as soon as the overview exists, but Build my plan waits until the read has finished, so a plan never starts from half a codebase. The wizard then reports how many rules, screens and notes it found, and warns you if any files couldn't be read. In discovery you confirm which groups of rules to keep, simplify or retire. After that, every rule has to land in a spec or be dropped with your reason, and anything the planner misses is placed automatically and reported. Each spec carries the full text of its rules along with the related screens and notes, so the agents building it see the original wording.
What kind of system is it today
That question in the wizard now changes what a rebuild has to cover. A mainframe application has no concept of self-service users or single sign-on, so those have to be designed, because they can't be inferred from the old code. A mainframe rebuild has to ask about the migration goal, personas, role-based access, batch work, data migration and cutover. Its plan has to include a modern backend, relational data, an audit trail and a parity test suite.
The source travels with the new app
The new repository gets a read-only legacy folder containing the masked source, the full list of rules and screens, and the overview. Every stage of the build can see it, so an agent can check a rule against the original. Binaries and env files stay out.
Two smaller changes came with this. If you point 1904 at a specific branch, it analyses that branch, and if the branch doesn't exist the analysis fails, so you never get a plan for the wrong code. And an analysis can only be read or used by the account that started it, because it describes your private system.