r/ClaudeGameDev • • 2d ago

Tips & Tricks How does session flagging works?

I'm not a dev, and honestly, I have no idea how game development really works, especially when it comes to using Claude.

I just wanted to have some fun making a game in Godot where you design rockets/missiles and launch them at targets. Things were going pretty well until I asked Opus 5.5 to make the models' dimensions more realistic and closer to their real-life counterparts. That's when my session got flagged for general harm.

So I'm wondering, how do you guys deal with this? Especially when making military-themed games. Is there a way to avoid these false flags, or is this just something you have to deal with when developing this kind of game?

4 Upvotes

9 comments sorted by

1

u/Okoear 2d ago

Tests a couple variation of the prompt. "Real-life counterparts" probably got it tos each online for rocket parts.

If you find the photo yourself or ask it to make it realistic on "similar hight each rocket" ect it might work

1

u/N6N 2d ago

Opus 5.5 stopped doing anything in that project folder so i switched to fable and told it to not mention any real life stuff that would get us flagged. it somehow worked..

1

u/Okoear 2d ago

Even if you start a new chat ? Surprising because Fable is much more guardrailed

1

u/N6N 2d ago

Does a new chat in the same project folder won't remember what happened in the previous chat?

Yes Fable works fine, even modeled some unguided bombs in blender

1

u/Okoear 2d ago

Ok so you need to research this, ask Claude to help you setup.

A chat is a temporary throwaway thing. You should keep it under 20-30% context in most cases to save money and keep it focused. It compact at 100% so your chat already constantly lose part of its context. It keeps a "summary" on compaction.

What you need is for your agent to offload all their valuable context in spec files, and retrieve them after when opening new chats. They should do it as they go(tweaked with rules) and you can create a /wrap skill to ensure nothing is left in chat that should go in spec file.

Your agent definitely do this already. Spawning tons of MD files about your game, design, rocket ect. Just need to tweak and rely more on it.

You should aim at starting new chat on all feature/work that is unrelated. It's good practice for many reason.

At first it can be nice to update a table of content so Claude know what to check where without greeping only, but as your project grow, it's better to rely on well designed frontmatter systems for this.

Never rely on a chat. It's a temporary artifact. Pass Claude my comment and ask him to research and design a custom memory system for your project.

1

u/BannanaPepperPizza 2d ago

Bro thinks he's Hamas trying to trick Claude into building icbms when learning to code

1

u/imlo2 2d ago

You need to build modular components that you assemble yourself, and leave out the parts that might cause issues. There's probably some (very likely) filters which notice that you might be developing seemingly video game related logic, which is in actual reality could be real missile guidance system logic, or such.

Just my speculation and I haven't tried to look deeper into it, but I would assume it's the same situation as trying to trick the image models to produce something they have guardrails against, and when they catch you doing it, false interpretation or not, they flag it.

1

u/N6N 2d ago

Yeah it actually said it won't make a guidance system for the rockets, and i dropped that idea.

1

u/philbgarner 2d ago

You could always download a local model off huggingface.co, it might be a lot slower to generate images for you but it probably wouldn't have the guardrails that claude does.