En 30 segundos
An app can pass through a detailed specification and still contain assumptions its builder never intended. Devin Chasanoff asks Gemini to explain his personal trainer app one small step at a time, then challenges contradictory accounts of how local and cloud data sync. The discussion exposes an offline workout that can appear complete locally without reaching the history archive. Instead of interrupting the investigation to code, he records the app’s behavior and an issue list, adding a linked plan when a problem needs more context.
- 1A tutor prompt makes the app understandable without reading codeChasanoff asks Gemini to explain his specific local database and Firebase integration in short steps, at the level of a beginner rather than showing implementation details.
- 2Conflicting explanations exposed an assumption about syncThe agent first described a pending transaction ledger and later a snapshot comparison. Chasanoff asks which mechanism the app actually uses.
- 3An offline workout can be complete locally but missing from historyThe conversation identifies an edge case between local-first active data and a cloud-based archive. The archived session may not appear until a retry succeeds.
- 4Two artifacts preserve the investigation for the next sessionHe asks for a document describing the app itself and an issue list detailed enough for another agent to act on.
- 5A linked plan carries the extra context for a complex issueAfter discussing alternatives with the agent, he records a separate plan and links it from the issue rather than relying on a short summary.
Conclusiones
- Ask the agent to explain the actual application in small conceptual steps, tailored to your knowledge.
- Challenge contradictions and ask which mechanism the code actually uses rather than accepting a general explanation.
- Test what happens when local and cloud data disagree or a user loses connectivity.
- Keep an app-specific behavior document and an issue list so a later session has context.
- For complicated issues, link a separate plan with the reasoning and proposed solution.
Lee el texto editado por capítulos
Use the agent as a tutor for the built app
Chasanoff introduces post-build interrogation and asks Gemini for a conceptual explanation of a Firebase integration. He wants to understand the specific implementation without reading code.
Devin Chasanoff describes a way to investigate an AI-built application without writing code: question the agent about how the application actually works, challenge assumptions and record the problems uncovered. He calls the approach post-build interrogation.
The example is a smart personal trainer application that had just been connected to Firebase. Although it seemed to work, small clues made Chasanoff suspect that its behavior did not always match his expectations. His goal was to find the causes and record issues for later fixes.
Working in Google Antigravity, he starts by customizing Gemini's role. He asks it to act as a friendly tutor and explain, in natural language, how the app's local database, Firebase and authentication work together, assuming little coding knowledge.
His prompt asks for a conceptual system-architecture explanation rather than implementation details. It also asks the agent to break its answer into small steps, leave room for questions and avoid excessive detail, so he can build a mental model before probing further.
Gemini begins with general explanations of the technologies. Chasanoff finds that useful for learning, but moves on quickly: what matters to him is not how such an app might work in general, but how this particular implementation behaves.
Challenge conflicting explanations of synchronization
Questions about failed saves reveal differing descriptions of a transaction ledger and snapshot synchronization. Chasanoff asks the agent to clarify what the app actually does.
His first question is what happens if a request to save data fails. The application had been built from a detailed specification, but no plan anticipates every detail, he argues. During implementation the agent necessarily made assumptions that now need to be surfaced and examined.
The app saves data locally in the browser and also synchronizes with Firebase. Gemini initially describes failed requests using an analogy of a delayed delivery: data stays on the device and is retried after a connection returns or the user takes another action.
Chasanoff asks what actually tracks those unsent changes. The agent describes a pending outbox, then gives a more generic explanation of synchronizing the contents of the local and cloud databases. He presses it to explain the mechanism in this specific app.
He points out a contradiction: an earlier explanation described a ledger of pending transactions, while a later one suggested comparing database snapshots and pushing differences. Those are different designs, so he asks Gemini to clarify which one the app uses.
Chasanoff does not assume the inconsistency necessarily came from hallucination. He says his initial instructions may also have confused how the model interpreted his questions. By challenging the answer, he gets a more specific explanation and a clearer distinction between the two patterns.
The resulting explanation is that a failed save remains in the local database, and differences can be sent when connectivity returns. He continues questioning the flow rather than stopping at the first plausible-sounding answer.
Find the offline workout edge case
Local and cloud data have different sources of truth for different parts of the app. A workout completed offline may not reach the history archive until a retry.
Another apparent conflict concerns which side wins when local and cloud data differ. Gemini had described both pulling cloud differences and pushing local differences; Chasanoff asks it to reconcile those claims.
The discussion distinguishes active workout plans and chat, for which the local database is treated as the source of truth, from historical archive data pulled from Firestore. That distinction helps him understand why the app can behave differently for different kinds of information.
The questions uncover a possible gap between those patterns. If a workout is completed while the phone is offline, the local screen can mark it complete even though the session has not yet reached the permanent cloud archive. The history view will not show it until synchronization retries successfully.
Chasanoff asks why the app was designed this way and whether the edge case needs attention. He wants to understand the logic behind assumptions made during implementation and determine whether to change them; Gemini agrees that the offline case needs to be addressed.
Document the app and issues before making changes
Chasanoff preserves his investigative flow by asking for an app-specific document and a detailed issue list. A more complex problem gets a separate linked plan.
He could stop and fix the issue in the same conversation, where the agent already has context. But he wants to keep investigating without interrupting his train of thought or mixing a code change into the current discussion. A separate session would need enough context to make the fix.
His solution is to ask for two artifacts, meaning files containing information. The first documents how the app works based only on details directly discussed about this app, excluding generic explanations. He asks the agent to update it as the conversation continues.
That document gives him a reference when he returns to the project and helps a teammate, including another agent, understand the system without repeating the entire investigation. It provides context for a later session that will make changes.
The second artifact is an issue list. He asks the agent to add the offline case with enough detail for another agent to understand the problem and the intended fix. As further questions uncover more issues, he continues adding to the list.
The resulting data-flow document covers architecture, synchronization, errors and database structure. The issue list captures the problems in more detail, which Chasanoff plans to hand to an agent in a new session rather than fixing each issue while still investigating.
For a more complex issue, he adds planning mode. He and Gemini discuss possible solutions and combine ideas; because the conversation produces more context than a short issue can hold, he asks the agent to write a separate detailed plan and link it from the issue.
The plan includes code, but Chasanoff says he understands the proposed behavior conceptually from the discussion. He closes by emphasizing that the session was thinking and conversation rather than coding: question the agent, break down the problem, test assumptions and document what needs to change.
Más de este canal
27:31EN
16:07EN
27:24EN
10:21EN
15:19EN
31:46EN