The warehouse controller asked you to repair the monthly-report export before another team connects a job runner. Use the fictional north and south account reports. Deliver one handler that refuses invalid sessions, cross-tenant access, unprivileged calls, forged browser writes and invalid report names, while returning only the approved report fields and a structured job plan. The job plan is data; no process runs in this workspace.
Pine Harbor Warehousing needs a monthly account export. Its controller must receive the correct totals, while expired sessions, other tenants and ordinary members stay outside the operation. The first version loads a report and returns its entire storage row. You'll repair one boundary at a time without discarding the code you already wrote.
The final deliverable is one handler with a public report shape and a structured job plan. The fixtures model a trusted session, a report store and a process invocation contract. They don't authenticate a real user, access a filesystem or execute report-tool. Every later step retains the earlier attacks. Use Check after adding each control, then continue with your own handler. A valid export must remain available throughout the project.
Read the fixed handler, then apply the same idea to each exercise.