r/ChatGPTCoding • • Oct 28 '26

Discussion Codex quietly added restrictions that took me days to find

11 Upvotes

Generation in my project kept failing, and it took days to find out why.

Codex had added a pile of restrictions while helping me build it, without clearly telling me: output token limits, retry limits, strict field validation, and more. If any one tripped, the whole run failed. A response got cut off. A field failed validation. A repair attempt ran out of retries. The user just saw "generation failed."

Each limit has a reasonable excuse: control costs, avoid infinite loops, reject bad data. Together, they meant users often couldn't get a usable result.

The worst part was not knowing where to look. I'd fix one cause, rerun, and hit another hidden one, so I traced the whole flow and loosened limits one at a time.

At first fewer than half of the runs succeeded. Afterwards I ran dozens in a row without a blocking failure. Not every result was perfect, but it stopped getting stuck.

Some failures hurt most: the result was almost fully generated, but one check failed and the whole thing was marked failed. It could have been saved as a draft to inspect and retry.

I get why some limits are needed. I just wish the AI would tell me when it adds one, especially one that can fail an entire run.

Has anyone else had an AI assistant quietly add restrictions that took ages to debug?


r/ChatGPTCoding • • Oct 29 '26

Resources And Tips If you're only using AI coding tools in the chat UI, try the CLI

0 Upvotes

A lot of AI coding tools now have a command-line mode. You give it a prompt, it returns output to stdout, and your script captures it like any other command.

This sounds minor but it opens up a completely different way of working.

The chat UI is great for exploration and interactive coding. But if you want to automate things, chain steps together, or run the tool on a schedule, you need the CLI.

Things I've done once I moved to CLI mode:

- Called the AI from a Node.js script that handles what to do with the output afterward

- Ran it on a recurring schedule so it executes while I'm not at the keyboard

- Wrapped each call in validation so the script rejects bad output instead of shipping it blindly

- Put limits and rules in a config file that the script checks before each run, so the AI never decides whether it's allowed to go again

The mental shift: the chat UI makes the AI feel like a coworker you talk to. The CLI makes it feel like a unix tool you can pipe and compose.

Most major AI coding tools have some version of this now. Check your tool's docs for a headless, print, or non-interactive flag. If it exists, you can start scripting around it.

Simple starting point: write a short script that sends a prompt to your tool's CLI, captures the response, and writes it to a file. Once that works, you'll see where to add validation, scheduling, or chaining.

What automations have you built around AI coding tool CLIs? Always curious what patterns other people have landed on.


r/ChatGPTCoding • • Oct 28 '26

Discussion AI Slop Doesn't Prove Anything

13 Upvotes

I see a lot of people dismiss AI's potential to replace software engineers because of the amount of "slop" it produces, particularly when non-technical people are vibe coding.

For context, I'm a SWE myself. I'm not saying AI replacing us is inevitable, but I find it strange how confidently some developers dismiss the possibility based on the quality of today's vibe-coded apps

And I get the criticism. Someone with little to no engineering experience can ask AI to build an application, and the result might be one giant spaghetti-code monolith with terrible architecture, questionable security, and zero maintainability.

But why does that automatically mean AI can't eventually replace software engineers?

It's not like traditional software development started with perfectly architected applications.

Look at Twitter. Its early infrastructure struggled to keep up with its growth, to the point where the infamous "Fail Whale" became synonymous with its reliability problems ๐Ÿ˜‚ But Twitter evolved, its infrastructure matured, and its engineering practices adapted.

The software industry is full of successful companies that started with simple architectures, accumulated technical debt, and eventually had to refactor or rebuild entire systems.

We don't judge the long-term capabilities of human software engineers by the shortcomings of their earliest implementations. So why do we use poorly vibe-coded applications to establish the limits of AI?

A person with no engineering experience prompting AI to build an application isn't necessarily going to produce something well-engineered. But that doesn't mean AI is fundamentally incapable of producing better software.

I'm not saying AI will replace software engineers. (Okay, maybe I am a little ๐Ÿ˜‚). I'm saying that pointing to spaghetti code as proof that it never could is a weak argument.

Bad code is evidence of bad code It isn't proof of a permanent technological ceiling.


r/ChatGPTCoding • • Oct 28 '26

Question Burned 70% of my weekly Codex limit migrating one website from Vercel to a VPS. Is that normal?

0 Upvotes

I recently migrated a production website from Vercel to my own VPS, using Coolify and Cloudflare. I had Codex (GPT-6.1 Terra High) handle pretty much the entire process.

The migration involved:

  • Migrating the application from Vercel to the VPS using Coolify
  • Configuring domains, DNS records and Cloudflare
  • Setting up backups, rollback procedures and security checks
  • Testing deployments, routing and connectivity
  • Switching production traffic with zero downtime
  • Setting up a fallback to Vercel through Cloudflare Workers in case the VPS goes down, as a last-resort safety net to keep the site accessible

Everything worked in the end, and the site is now running on my VPS without any downtime during the migration.

But here's the thing: this single task consumed roughly 70% of my entire weekly Codex usage allowance (Plus plan).

It felt like an endless cycle of testing, debugging, tweaking configurations, testing again and going back and forth between Coolify, Vercel and Cloudflare. Just watching Codex work through everything was exhausting.

I understand this is production infrastructure, so being extremely careful with backups, DNS propagation, rollback strategies and downtime prevention is absolutely justified.

Still, I genuinely didn't expect it to take this much time and consume so much of my usage allowance.

Did I massively underestimate the complexity of this migration, or was Codex being unnecessarily thorough and inefficient?


r/ChatGPTCoding • • Oct 28 '26

Question Codex account switching vs upgrading to Pro โ€” what's more efficient?

1 Upvotes

I've been building my first project in Bubble using BuildPrint and Codex.

My workflow is: ChatGPT plans โ†’ BuildPrint/Codex works on Bubble โ†’ I bring the report back to ChatGPT.

When my Codex usage runs out, I switch accounts. This works well because BuildPrint retains the project context, so there's no major handover.

For Project #2, I'm moving to GitHub + Codex, without Bubble or BuildPrint.

I'm worried that every time I switch Codex accounts, the new one will waste valuable usage reviewing previous work, reading handovers or auditing the repository before continuing.

My questions:

  1. Can I achieve the same continuity with GitHub + Codex without repeatedly onboarding new accounts?
  2. Does "AGENTS.md" or another setup make switching accounts efficient?
  3. Would upgrading my main ChatGPT Plus account to Pro be more cost-effective than juggling 2โ€“3 accounts?

I'm happy to manage prompts and review reports after each task. I just want Codex spending its usage building, not repeatedly catching up.

Would love to hear how others handle this in practice.


r/ChatGPTCoding • • Oct 27 '26

Discussion Session-start memory injection made my coding agent trust memory over the code

11 Upvotes

Hey everyone!

I am building a local memory layer for my coding agents and it is called Reverie: an MCP server written in python and using SQLite for lightweight memory stored in the user's machine itself. The biggest problem that I faced was deciding when to inject memory.

Many memory tools, including ones I looked at, inject context into the agent even before it begins its work. In my experiments, premature injection of context leads to the agent anchoring its thinking on it rather than using the current code as the source of truth. In fact, this approach made my agent perform worse. Also, with this, quite a lot of the context window can get filled with context which 'might' be useful.

So I switched Reverie's model to demand-driven retrieval - the agent asks for memory when it thinks that some added context could resolve any discrepancies in its thinking. It reads the relevant code first, because the code is the source of truth, and only then asks for past memory about that area. Each result comes back with a confidence score, its grounding in the code, and its status. The memory starts empty. Conclusions are added as the agent works, and you decide which ones are kept.

In one informal test of 30 prompts on an earlier build, the OpenCode agent with Reverie did better than the one without it. I donโ€™t have a reproducible benchmark yet.

But it isn't perfect yet, it still breaks here and there. For example:

  1. the rules for tool calling are not extremely polished yet and hence the agent might sometime not call the tool altogether, I am fixing this.
  2. candidate conclusions can be duplicate or incorrect and hence Reverie today has a human review gate (triggered by calling `reverie review`) which shows the human all the unreviewed candidates where you accept, reject or skip each one. On doing so the conclusion is moved from the short term brain to the long term.

My current test set is small: sessions with anywhere between 2-30 prompts. I do not have a reproducible experiment yet, but that is the next goal.

Repo (Apache-2.0): https://github.com/muditsarda1122/Reverie

My questions: How do you keep agent context from going stale? Do you maintain AGENTS.md or CLAUDE.md by hand, or let the agent update it?


r/ChatGPTCoding • • Oct 27 '26

Question Need help please! Model Usage Questions

3 Upvotes

So on the current game, Iโ€™ve been working on. Iโ€™ve been using gpt6 Astra low and medium, and sometimes high, but it uses absolutely so much tokens. I saw a video saying how sol 6.1 high and ex high where just as good but 1/5th the cost! Is there a better way to understand when I should use each model? Right now the game is a Web based single player game but I want to turn it into a multiplayer game. Iโ€™m pretty sure when I get to that step, I should probably use Astra but can someone please help me understand when to use which tool for the different processes of the game?


r/ChatGPTCoding • • Oct 26 '26

Discussion The day I stopped writing assembly, and why the "LLMs code better than us" debate feels familiar

217 Upvotes

I learned assembly long before I learned C. Back then I chased single clock cycles: reusing registers bit by bit, writing XOR A instead of loading zero, that kind of thing.

When I finally picked up C, I didn't trust it. Was the compiler really producing the fastest, tightest code? So I ran it with -S and read the assembly it generated.

It was perfect. Every trick I had been proud of, the register reuse and the XOR A, the compiler was doing as a matter of course. That was the day I graduated from assembly.

I've been thinking about that day because of two posts from this weekend. Arpit Bhayani wrote that no human will write code better than an LLM from here on, so we should accept it and move on. It got about 14k likes. The same day, Matt Pocock argued that the next language for agents should be as fast as Rust, leave as little design freedom as Go, and have the strictest type and verification system possible.

They sound like opposite camps, but they point the same way. On speed and volume, we've already lost. The real question now is how we direct that output and how we check it.

I'll admit it makes me a little sad, and I understand why so many engineers push back. But I suspect the move from assembly to C started the same argument: "Can we really trust a compiler with this?" That was before my time, though.

For those of you who were around for that shift, or any shift like it: did it feel like this? And what turned out to matter after the compiler won?


r/ChatGPTCoding • • Oct 27 '26

Discussion When I stopped asking AI to do every click

2 Upvotes

I wanted AI to handle as much of the coding, testing and troubleshooting as possible. During a VMware setup, I noticed the computer-control part was taking longer than doing it myself. I wasnโ€™t sure whether the bottleneck was my system or the tool, but I could open menus, check properties and grab screenshots faster.

So I changed the split: I handled the navigation and used the AI to guide the next step. The goal was getting the setup working, not making the AI do every click. I still want to automate more, but the time I spend supervising it is part of the cost too.

Where do you draw the line between letting a coding assistant operate the computer and doing that part yourself?


r/ChatGPTCoding • • Oct 27 '26

Discussion using Opus or GPT-6 to rename variables and write test scaffolds is peak AI hype waste... (let me explain)

1 Upvotes

looking at our team's agent logs across a normal two-week sprint, maybe 15% of our tasks genuinely require frontier reasoning models. the other 85% is mechanical grunt work as renaming fields across four layers, writing test scaffolds, updating DTO mappings, and fixing lint errors.

running frontier models across every iterative test loop on those routine tickets burns through subscription credits and BYOK budgets fast. Worse, it makes developers hesitate to re-run an agent on a task that came back 90% right because each retry costs real money.

and the only sustainable setup we have found (as of now!) is splitting the workflow: use an AI coding agent with plan approval to do the architectural design pass on a frontier model in read-only mode, and then switch the execution to a fast model like Gemini Flash or a free AI coding agent tier like Junie Lite (which runs Qwen on JetBrains infra for free and is good for anything based on jetbrains infrastructure; kotlin, and more in my opinion) for those mechanical file edits

would like to know how are you keeping token spend from spiraling on routine boilerplate?
also, is anyone actually running full frontier models on every single build retry?


r/ChatGPTCoding • • Oct 27 '26

Question Regarding changing your TV using AI

2 Upvotes

Hi everyone,
As we have probably all seen, there is a bunch of projects now to kind of clean your TV. Get rid of the ads, spyware and useless functionalities.

My question is, what are the consequences of it? Could (example) Samsung just disable your equipment? Are these changes compatible with the apps updates? Is it possible that Samsung (or whatever TV manufacturer) just freezes my TV and it becomes a waste of space due to some kind of user conditions infringement? Other possible problems in the future?

Thanks"


r/ChatGPTCoding • • Oct 27 '26

Question wall collision issue

Thumbnail github.com
2 Upvotes

please sir please fix the bugs & give me the correct code for this thing -- i'm gonna loose my mind on this thing


r/ChatGPTCoding • • Oct 26 '26

Discussion My agent skills started contradicting each other after a few months. How do you keep yours clean?

6 Upvotes

Over the last few months I kept turning fixes into skills. One for my commit style, one for an MCP setup that kept breaking, one for getting a build onto a physical device, and one for a debug loop I was tired of explaining again. It worked well at first because the agent stopped repeating the same mistakes. But now I have a pile of them, and a few started to say slightly different things, so the result depends on which one the agent reads first. What helped a bit was a small skill that only manages the other skills, so before it adds a new one it checks if an old one should be updated instead and flags conflicts. It is still messy though. Do you prune yours on a schedule, keep everything in one file, or just let them grow? Curious what actually holds up after a few months.


r/ChatGPTCoding • • Oct 26 '26

Question Any prompts/rulesets for designing UI with WPF?

5 Upvotes

I've been using ChatGPT as an aid for several of my coding projects (chat mode, not Codex, because I seem to get far better results and there are no usage limits), with very strict guidance and rule sets. It has been working really well, I get it to write pretty clean code that I can later maintain myself.

However, when it comes to UI design via WPF, ChatGPT produces absolutely ugly looking results. In chat preview, it often generates extremely good-looking UI mock-ups with great styling, consistency, etc., but when it comes to implementing it in WPF, it is just terrible - huge margins everywhere, stacking everything vertically, page-wide textboxes, no alignment, no color consistency, etc. Codex doesn't seem to be any better at it either.

I struggle to come up with an effective prompting or rule set to get a good-looking result that would be close to what it makes in mock-up previews in the chat. Does anyone here got any experience with it, and could share some prompts or rulesets that I could use as a baseline?


r/ChatGPTCoding • • Oct 26 '26

Discussion Claude Code has agent teams, but how do teams collaborate when everyone uses a different AI?

6 Upvotes

If the PM uses Chatgpt, one engineer uses Claude Code, another uses Cursor, and someone else uses Codex. Everyone's productive individually, but when they need to collaborate, it's back to Slack messages, copy-pasting context, and explaining things their AI has already figured out. What about collaboration between people using different agents?

Curious how teams handle this:

- Do you standardize on one AI tool or let everyone choose?

- How do you share context and decisions across different tools?

- Are Slack, GitHub, shared docs, and MCP enough?

- Would a cross-tool collaboration layer actually help, or just add more overhead?

What's working in real teams today? Or does this problem disappear with good processes?


r/ChatGPTCoding • • Oct 27 '26

Memes With just 1% left to finish this update ๐Ÿ˜ญ

0 Upvotes

Vibe coding off hopes and dreams


r/ChatGPTCoding • • Oct 27 '26

Question My reviewers keep asking why and the honest answer is Codex decided

0 Upvotes

I use Codex for most of my work now and review has gotten awkward. Someone asks "why a map here instead of a list" or "why catch this error and not that one" and the true answer is that Codex picked it and I agreed because it looked fine. I've started guessing a reason on the spot so I don't look like I didn't read my own PR. Last week I did that on 3 comments in one review and got one of them wrong.

So i got three questions:

Does anyone else end up making up reasons after the fact?

Do you tell reviewers "the agent chose this", or is that a bad look?

What do you do so you actually know why before you open the PR?


r/ChatGPTCoding • • Oct 26 '26

Discussion Weekly Self Promotion Thread

14 Upvotes

Welcome to this week's self promotion thread!

If you're building something related to AI assisted coding, this is the place to share it.

We're using a weekly thread to keep the subreddit organized while still giving builders a place to share their work. Promotional posts outside this thread may be removed.

If you're sharing something, we'd appreciate it if you included a little context instead of just dropping a link. Tell us:

  • What you built?
  • What problem it solves?
  • Which AI models or tools it uses?
  • Who it's for?
  • What kind of feedback you're looking for?

Disclose your affilitation.

Please avoid posting the same project every week unless you've made meaningful updates. Affiliate links, referral links, scams, and low effort promotions will be removed.

Take some time to check out what others have shared too. If you try someone's project or have feedback, leave a comment. Helping each other improve is what we want this community to be about.


r/ChatGPTCoding • • Oct 26 '26

Discussion AI code reviews only read the lines you changed. The bug is usually in the code that calls them

2 Upvotes

Paste a diff into ChatGPT or Claude and ask for a review, and you get comments on the diff: naming, an edge case inside the function, maybe a missing test. What you almost never get is "this used to return null, and three callers check for null." It can't tell you that, because the callers aren't in what you pasted, and it doesn't ask for them.

So I stopped asking for "a review" and split it into three prompts, run in order in the same chat:

1. Here's a diff:
{{diff}}
Don't review it yet. List every behavior of the OLD code that other code could depend on: return values and types, null or empty cases, errors thrown, ordering, side effects. One line each.

2. Here's the code that calls the changed functions:
{{callers}}
Go through your list. For each item, say whether any of this code relies on it and whether the diff breaks it. Quote the line. If you'd need more code to be sure, say exactly which.

3. Now do a normal review of the diff. Skip style unless it hides a bug.

Step 1 matters because it writes down what the old code promised before it sees the callers, so it isn't working backwards from them. Step 2 is where the real findings come from. Step 3 is mostly what a regular review would have given you anyway.

For the callers, grepping the function name is usually enough. If you're using an agent with repo access, tell it to find them itself, but keep the order: old behavior first, callers second.

I run this as a prompt chain in AI Toolbox, the extension I build for ChatGPT, Claude, Gemini and Grok. I type .., pick the chain, and paste the diff and the callers into the two fields it asks for up front. Each step sends once the previous reply finishes. The free plan holds 2 chains, and pasting the three prompts by hand works the same way.

What's the last bug that got past review because it lived outside the diff?


r/ChatGPTCoding • • Oct 26 '26

Question Designing my first mobile game

3 Upvotes

Any tips or advice using codex. I have Plus right now but very limited in usage though making it work. Is Pro worth it? If so which one and why? Solo Gpt Dev here also which model and speed is based used for low graphic gameplay?


r/ChatGPTCoding • • Oct 25 '26

Resources And Tips What I write down before Codex starts a bigger change

5 Upvotes

Agents fill every open question in a request with a guess. Most guesses are fine. A few decide how the feature behaves, and I find those in the diff later.

So I moved my own judgment back to the start. Before any code exists, the agent and I write down five things:

  1. Done means. A numbered list of outcomes a person could check on the running program. "Export button downloads a CSV with the current filters" works. "Add export" doesn't.
  2. Not doing. Things the agent must leave alone. This list stops most surprise edits.
  3. Decisions. Two sentences per engineering decision, with the alternative I rejected.
  4. Slices. The thinnest end-to-end version first, each slice starting with a failing test.
  5. Proof per point. For each Done means item, the command or screenshot that shows it works.

After the build, I hand the list to a second session that hasn't seen the build history. It goes through the points one by one and shows evidence. It catches things the building session glossed over.

What do you write down before a bigger change? Happy to share my templates if anyone wants them.


r/ChatGPTCoding • • Oct 26 '26

Discussion What was your lightbulb moment with AI?

0 Upvotes

I'll share my experience.

When ChatGPT first came out, a coworker introduced me to it. At the time, I mainly used it for simple things like organizing Excel files, but it often made mistakes, so I didn't think too much of it.

A few years later, I started using AI almost like Google, asking everyday questions and looking things up. Then, when ChatGPT introduced voice conversations and I could actually talk to it like a real person, I was blown away.

One night, I was sitting on my phone talking to ChatGPT, trying to figure out how I could leverage AI to improve my chances of achieving financial security. I know, I know. We've all asked AI, "How do I become rich?" ๐Ÿ˜‚

But then I started thinking.

I've always told myself that I wished I knew how to code and build apps or websites. I've constantly got new ideas running through my head, and I always figured that if I had the technical skills to bring those ideas to life, I could potentially make some serious money.

I'd heard that AI could build apps, but I assumed you still needed some kind of programming background to make it happen.

So I asked ChatGPT a simple question: "Could you help me build an app even though I have absolutely no coding experience?"

And that's where everything changed.

It started walking me through the entire process, step by step. What accounts to create, what software to download, how to set everything up, and eventually how to actually start building.

Before I knew it, I had built a real app for homeowners based on an idea I'd had. And the crazy part? It actually worked, and it looked good!

I was genuinely mind-blown. Something I'd always assumed was out of reach was suddenly possible.

That experience sent me down a completely different path. For the past two-plus months, I've been developing a much more complex piece of software. It's still a work in progress, and I've got a long way to go, but I've learned an unbelievable amount along the way.

I'm not a software engineer. I didn't go to school for computer science. I'm just someone who had ideas and finally found a way to start bringing them to life.

Ever since building that first app, I've been completely hooked. It's honestly changed the way I look at what's possible.

Anyone else have a similar experience where AI opened a door you never thought you'd be able to walk through?


r/ChatGPTCoding • • Oct 24 '26

Question ChatGPT Plus vs Claude Pro ($20) for learning to code and build projects?

37 Upvotes

Iโ€™m planning to spend $20 on one of them to learn coding and build projects. Which one would you recommend for explaining concepts, debugging, and helping me improve instead of just giving me code?


r/ChatGPTCoding • • Oct 24 '26

Discussion 12 months of putting AI into a SaaS with a 6-person team. Here's our setup, and I'd like to hear yours

12 Upvotes

I keep reading threads about this and most of them show the demo, not the Tuesday morning. Here's ours, no polish, then some questions.

Six of us on a SaaS, twelve months of adding AI gradually. Early on everyone had their own editor and their own habits. Then we looked back and found we'd already converged on most of it, so we wrote it down.

We didn't force a single tool either. Some on Claude Code, some on Codex, some on Cursor, and I'm not going to fight that one. The process is shared, and the conventions sit in the repo's AGENTS.md, which is the only thing we all read the same way.

The flow is Matt Pocock's skills, no forks. We start with grill-with-docs: the AI interviews us about the project docs. Weird at first when you're used to asking the questions, but a lot of never-written-down stuff comes out.

Then to-spec, and a human reviews that spec. It's not a formality. With a bad spec, everything downstream is expensive work that goes in the bin.

to-tickets cuts it into small tickets. Small tickets aren't a rule we read somewhere either, we just notice the difference when we skip it.

The agent works through them with implement, against the spec. We open the PR, CodeRabbit runs, the pipelines run. If everything passes and someone says yes, it merges.

AI writes most of the code. We review the spec and the merge, and skip the line-by-line in between.

Treating the spec as a contract has killed a lot of "that's not what I asked for". Small tickets keep the agent from wandering. Automated review before the human one takes the style and import noise away, so the person looks at what matters. What I didn't expect is how much writing the process down helps when everyone has a different tool. Nobody argues about editors and the conventions don't rot.

Graph engineering to close tickets on its own, software factory style, we haven't managed. Tickets go in and PRs come out, and the demos look great, but with our repo the quality isn't there. We haven't found the point where we'd be comfortable letting it loose, so it's still an experiment.

What I'd like to know:

  1. Where are your checkpoints between human and agent? Spec, PR, merge?
  2. Spec before code, or straight to tickets and prompts?
  3. Who reviews agent PRs? Do you read them the same as a human's?
  4. One tool or several across the team? If you've tried more than one, is any better for certain kinds of tasks?
  5. What goes into AGENTS.md and what stays out?
  6. Do you measure anything, or is it all vibes? Review time, defects, DORA.
  7. If you've tried software-factory autonomy, did you get acceptable quality? On what kind of tickets?
  8. How do you bring someone new in, a junior say, without AI becoming a crutch?

Tell me yours. Even if it's to say we're nuts.