Engineering3 min read639 words

How to Onboard an Engineer onto an AI-Generated Codebase

Onboarding used to mean finding the person who wrote it. In a codebase where much of the code was generated, that person may not exist. A practical approach to ramping engineers into code with no author.

JL

Jishu Labs

Traditional onboarding runs on oral history. A new engineer reads code, gets confused, finds whoever wrote it and asks why. That loop breaks when a large share of the code was generated: there is no author, no reasoning to recall, and the git blame points at a colleague who accepted a suggestion eight months ago.

What is actually missing

Not the code — that is readable, often more consistently formatted than hand-written code. What is missing is the *why*: which alternatives were considered, which constraints forced this shape, and which parts are load-bearing versus incidental.

  • Generated code rarely encodes intent, because intent lived in a prompt nobody kept.
  • It often contains defensive handling for cases that never occur, which reads as evidence of a requirement that does not exist.
  • Structure can be locally sensible and globally inconsistent, so patterns learned in one module mislead in the next.

Start with the decisions, not the code

The highest-leverage first week is spent on architecture decision records, not on the repository. Twenty ADRs explaining why the system is shaped this way will orient someone faster than a month of reading implementation — and where they do not exist, writing them is the single best onboarding task you can assign.

Make the first task an archaeology task

Ask a new engineer to document one subsystem they did not build: what it does, what it assumes, what would break it. It is a genuinely useful artefact, it exposes exactly where the team's knowledge is thin, and it teaches the codebase faster than any tour. It also produces the record that was missing.

Teach the boundaries, not the internals

Internals of generated code change often and are cheap to regenerate. What is expensive and durable is the contract: what this service promises, what it depends on, what invariants must hold. Onboard at the boundaries and let implementation detail be looked up when needed.

Use comprehension tooling deliberately

AI explanation of unfamiliar code is genuinely useful for orientation and genuinely unreliable for correctness — it will describe what code appears to do, not what it does in this system with this data. Use it to build a map, then verify the parts the new engineer is about to change.

  • Good: "summarise the responsibilities of this module" — a map, quickly.
  • Good: "what calls this function and what happens if it throws" — a starting point for tracing.
  • Risky: "is this safe to change" — a confident answer with no knowledge of your production behaviour.
  • Risky: relying on an explanation of code the explainer also generated — the same blind spots produced both.

Write down what onboarding uncovers

Every question a new engineer asks is a gap in the record. The cheap habit that compounds: when a question is answered in a thread, the answer becomes a durable note attached to the subsystem it concerns. Without that, the next hire asks the same question and the team pays the cost again.

The uncomfortable signal

If nobody on the team can explain a subsystem, onboarding has surfaced a real risk rather than a training problem. Code that no human understands cannot be safely changed under time pressure, which is exactly when it will need to be. Treat that finding as an engineering priority, not an onboarding inconvenience.

Frequently Asked Questions

How long should onboarding take on a codebase like this?

Longer than teams plan for, because comprehension cannot be shortcut by reading. Budget for a first task that is deliberately documentation rather than delivery.

Should new engineers use AI tools while onboarding?

Yes, for orientation. The caution is verification: an explanation that sounds authoritative is not evidence, and a new engineer has the least context to spot when it is wrong.

What if there are no ADRs?

Then the first onboarding task writes them retroactively for the decisions still visible in the code. Imperfect reconstruction beats no record.

References

  1. The Agentic Engineering Trends Report 2026SaaSRise
  2. Documenting Architecture DecisionsMichael Nygard / Cognitect
JL

About Jishu Labs

Jishu Labs is a software development company founded in 2016. We build custom software, AI/ML systems, and full-stack web and mobile applications for clients, and we make eight AI tools for software teams.

Related Articles

Engineering2 min read

What Is Technical Debt?

Technical debt is the future cost of a shortcut taken now. The metaphor is precise about one thing most teams get wrong: debt is only a problem when you stop servicing the interest.

Jishu Labs

August 10, 2026

Engineering3 min read

Learning Paths for Engineers in the Agentic Era

When 41% of code is machine-written, the skills that compound are not the ones most training still teaches. What to prioritise, what quietly lost value, and how to build a path that survives the next model release.

Jishu Labs

August 10, 2026

Ready to Build Your Next Project?

Let's discuss how our expert team can help bring your vision to life.

AI Tools,
Built
End-to-End

Ready to Get Started?

Get consistent results. Collaborate in real-time.
Build Intelligent Apps. Work with Jishu Labs.

SCHEDULE MY CALL