harbor run -t openthoughts/tasktrove-exp-flat25-subtle-debug-v3-5k-subtle-4048harbor download openthoughts/tasktrove-exp-flat25-subtle-debug-v3-5k-subtle-4048The workspace contains a partially broken implementation at /app/starter_code.py. Your task is to fix the bugs and complete the implementation to provide a Django app feature that delivers a per-request GUID (Correlation-ID) and a rich, test-driven logging/middleware flow.
What to implement (functional requirements)
request_finished, clearing guid" with correlation_id = None.Correlation-ID was not found in the incoming request. Generated new GUID: <new_guid>" and use new_guid as correlation_id.request_finished, clearing guid" with the current correlation_id, then clears the thread-local correlation_id (to avoid cross-request leakage).request_finished, clearing guid"What to deliver (actionable, self-contained tasks)
Acceptance criteria (how to know it’s done)
If you’d like, I can provide a ready-to-run code sketch or full code scaffolding that implements the above behavior.