My project relies heavily on verbal explanations, and the tech lead who knows much of the business logic is leaving. I get tasks where it isn't clear what the expected behavior should be. How do you make progress and manage expectations in that situation?
How do you handle tasks when a project has almost no documentation?
Answers
Before the lead leaves, prioritize a knowledge transfer around the work you're likely to touch. Ask them to walk through the trickiest business rules, who can answer product questions, and where the main integrations are. You won't capture everything, so focus on the gaps that would stop work or cause a costly mistake.
Write down what you learn somewhere the team can find it. Keep it practical: what the feature does, relevant code paths, known edge cases, and questions that still need an answer. Ask someone familiar with the feature to check your notes.
Reply to this answer
For each task, trace the existing behavior before changing it. Set up a representative case, put a breakpoint at the entry point, and follow the relevant calls and data. Check the database queries and changes too, if the feature depends on them.
The code tells you what happens, not necessarily what was intended. Keep a short list of observations and uncertainties, then take the business questions to whoever can actually decide. A test that captures confirmed behavior can help protect it while you make the change.
Reply to this answer
Make ambiguity visible early. On the task, spell out what you think is being requested, the decisions you need, and who can answer them. If you're waiting on an answer, tell your manager what is blocked rather than letting it look like the work is just taking longer.
I'd also discuss the time needed for investigation and documentation when estimating. That's work the project needs, not a detour you should quietly absorb.
3x!signalpocket_736:
That gives me a useful way to raise the issue without just saying the task is unclear. I'll start listing the specific decisions I need.
Reply to this answer
Don't assume the code alone is enough documentation. It can show the current implementation, but people also need to know user expectations, business rules, API interfaces, and how to operate or troubleshoot the application.
You don't need to write a giant manual before doing anything else. Start with the parts your current tasks expose, and keep those pages concise enough that someone might actually maintain them.
Reply to this answer
An AI tool can help you form questions about unfamiliar code or draft a short explanation, if your company's policies allow it. Treat the output as a lead, not a source of truth. Check it against the implementation and confirm business rules with someone who knows them.
Reply to this answer
Add your answer
Answers are reviewed before publication.
w.426+gaskettray:
Give the notes a clear owner or make updating them part of the work. Old documentation can be more misleading than no documentation if nobody checks it.