Skip to content

Efe Prompt Log

Efe Özavcı edited this page May 16, 2026 · 2 revisions

Muhammed Efe Özavcı — AI Prompt Log

This page contains prompts I used with Claude (Claude Code) after the announcement of prompts as a Final Milestone deliverable.


Backend — Anonymous Story Sharing

2026-05-06 15:12 - User: i need to add a is_anonymous field to the story model. can you check what the current story.py looks like and tell me where to add it

2026-05-06 15:24 - User: ok so if is_anonymous is true i want the api to not show the real username. but i still want to keep the user_id in the database for admin purposes. how do i do this in the service layer without breaking other things

2026-05-06 15:51 - User: can you check my story_service.py and tell me if there is anything wrong with how i am hiding the author

2026-05-06 16:08 - User: i need to write the alembic migration for this. what version number should i use and can you check what the last migration is

2026-05-06 16:33 - User: the migration ran fine. now can you look at my changes and check if i missed anything before i open the pr


Backend — Multi Location Story Support

2026-05-07 13:44 - User: i need to add support for stories having multiple locations. right now there is only one latitude and longitude on the story. should i add more columns or create a new table

2026-05-07 13:57 - User: ok new table makes sense. can you help me design the story_locations table. it needs to be ordered and connected to stories with cascade delete

2026-05-07 14:19 - User: how do i add the relationship in the story orm model so that locations load automatically when i fetch a story

2026-05-07 15:03 - User: i updated the story schema to accept a list of locations. can you check if the pydantic model looks right or if i am missing something

2026-05-07 15:38 - User: there is a problem in the service layer, when i update a story the old locations are not deleted before i insert the new ones. how to fix


Backend — Badge System

2026-05-08 14:05 - User: i need to implement a badge system. badges should be awarded based on how many stories a user published. first badge at 1 story, second at 5, third at 10. where should i start

2026-05-08 14:22 - User: ok i created badge and user_badge tables. should i put the awarding logic in the story service or in a separate badge service

2026-05-08 14:47 - User: if the user creates a story and qualifies for 2 badges at once i want to award both in one go not with separate queries. how to do this efficiently

2026-05-08 15:14 - User: can you check my badge_service.py. i think the logic is right but i want to make sure there is no way a duplicate award happens

2026-05-08 15:39 - User: how do i expose the earned badges in the GET /auth/me endpoint without breaking the existing response schema

2026-05-08 16:02 - User: i need to seed the initial badge data inside the alembic migration. can you show me how to add data inside an alembic migration


Playwright UAT — TC_STORY_5

2026-05-09 13:18 - User: ok i need to write the playwright uat for tc story 5. the test flow is: author creates anonymous story, reader logs in and checks the author shows as Anonymous, unauthenticated visitor also checks. where do i start

2026-05-09 13:35 - User: the big problem is that after the form submits on story-create.html the page redirects to map.html. i lose the story id. how do i get the id before the redirect happens

2026-05-09 13:52 - User: i tried page.on response but i am not sure about the timing. should i set it up before or after clicking submit

2026-05-09 14:07 - User: how do i read the json from the response without breaking the original response object

2026-05-09 14:28 - User: our story form has hidden latitude and longitude inputs that leaflet fills in. in tests there is no real map. how do i fill these so the form submits without errors

2026-05-09 14:55 - User: the anon card element is a button with role switch not a real checkbox. how do i click it and verify that anonymous is actually on after

2026-05-09 15:19 - User: i need 3 separate browser sessions in the test. one for the author, one for a logged in reader, one for a visitor. is browser.newContext the right way

2026-05-09 15:41 - User: sometimes after story submit the badge unlock modal shows up instead of the success message and my test breaks. how do i handle both cases

2026-05-09 16:14 - User: the test works locally but in ci the base url is different. where should i read the base url from so both environments work

2026-05-09 21:03 - User: can you look at the full test file and tell me if anything looks wrong or fragile before i open the pr


Appium Mobile E2E — TC_STORY_5

2026-05-10 14:11 - User: now i need to write the same test but for appium webdriverio. i want to use this.skip() when there is no webview context. but when i use an arrow function this.skip is not a function. what is wrong

2026-05-10 14:29 - User: can you look at auth.spec.js in our repo and tell me the pattern they use for interacting with checkboxes

2026-05-10 14:48 - User: why do they use browser.execute for clicking the terms checkbox instead of just clicking it normally

2026-05-10 15:03 - User: the anon card problem again but in mobile this time. after clicking how do i verify it is on, cant use isSelected on a custom button

2026-05-10 15:27 - User: same story id problem as playwright but in webdriverio. page navigates after POST and i lose the id. someone said i can patch window.fetch before clicking submit. how does that work exactly

2026-05-10 15:49 - User: if i save the story id in localStorage from inside the fetch patch how do i read it back after the navigation completes

2026-05-10 16:08 - User: is there a difference between browser.$() and just $() in webdriverio. i want to be consistent with how auth.spec.js is written

2026-05-10 16:31 - User: between the author flow and the reader flow i need to clear the session. what is the cleanest way in webdriverio

2026-05-10 20:57 - User: can you read the full spec file i wrote and tell me if there are any obvious bugs or things i missed


CI Failure — Alembic

2026-05-12 09:44 - User: all my ci runs are failing at the wait for backend health step. my teammate says there is a duplicate alembic revision id 0020 on dev. what does that mean exactly

2026-05-12 10:02 - User: i have two open branches that need to get this fix from dev. what is the exact rebase command and do i need to force push after

2026-05-12 10:18 - User: if i force push on a branch that already has an open pr does that break anything with the review


PR Review Response

2026-05-11 17:33 - User: my friend left a review on my mobile e2e branch. he wrote "bu comment line'lar default mu abi?" in turkish. he is asking if the commented out lines are just default boilerplate. can you write a short reply i can copy paste to github


Final Demo Preparation

2026-05-13 19:22 - User: i will be the main presenter tomorrow. can you read the final demo plan wiki page and tell me exactly what i need to say and when

2026-05-13 19:48 - User: can you write a script for my opening. keep it short and natural. i am not a native english speaker so dont make it too fancy

2026-05-13 20:11 - User: write the transition lines between the scenarios too. they should feel like normal speech not like a powerpoint presentation

2026-05-13 20:34 - User: and the closing. should be under 30 seconds when read out loud


Individual Contributions

2026-05-16 20:05 - User: i need to write my individual contribution for the final milestone wiki page. can you check how my teammates wrote theirs and follow the same format

2026-05-16 20:32 - User: only include things i did after the mvp. and only issues where i actually did something important

Team Members

Milestones


Lab Reports


Weekly Meetings

Other Meetings


Templates

Scenarios

Use Case Diagrams

Class Diagram

Sequence Diagrams

Requirements


Implementation

Clone this wiki locally