Agent loses context of created files after session restart
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 6h 51m
- Merged PRs (30d)
- 232
Description
Robbie [1:32 AM]
I think posthog code might be forgetting about the files it created after the session was restarted due to inactivity
I've been trying to get it to edit the file it created yesterday, including telling it the temp file name, and it's just tried to create a new file with the same name instead. LMK if you want more info!
https://posthog.slack.com/archives/C09G8Q32R6F/p1776241937170829
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reproducing the session restart after an inactivity timeout and trace how the agent records and restores files it created; done means it can edit an existing created file after restart instead of attempting to create another file with the same name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100