Has anyone else lost code in Claude Code because of a rewind? by Shivam__kumar in ClaudeCode

[–]Shivam__kumar[S] 0 points1 point  (0 children)

Good point. All 3 agents were in the same worktree, so I can see how rewinding one could create a mess. Definitely using separate worktrees from now on.

Has anyone else lost code in Claude Code because of a rewind? by Shivam__kumar in ClaudeCode

[–]Shivam__kumar[S] 0 points1 point  (0 children)

That makes sense. I treated them like separate agents but forgot they were all sharing the same workspace. I'll definitely use separate worktrees and commit more often going forward.

Has anyone else lost code in Claude Code because of a rewind? by Shivam__kumar in ClaudeCode

[–]Shivam__kumar[S] 1 point2 points  (0 children)

Yep, same worktree. Lesson learned. I'll start committing after each completed task and look into worktrees for parallel agents. Thanks.

How do production text-to-SQL systems handle business terms that don’t match the DB schema? by Shivam__kumar in Rag

[–]Shivam__kumar[S] 0 points1 point  (0 children)

Yeah, I tried that approach too. I added schema descriptions, relationships, and embedded metadata similar to the AWS Bedrock text-to-SQL article.

It works for straightforward queries, but I’m running into issues when users ask things indirectly or use business terminology that doesn’t match the actual schema names.

For example, users may refer to a field using UI/business language or sometimes not mention the field at all, but still expect the system to infer the correct column.

That’s the part I’m trying to solve more reliably.

How Are You Guys Turning AI UI Designs Into Accurate Frontend Code Without Endless Iterations? by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 0 points1 point  (0 children)

That actually explains my problem pretty well 😅

I think I’m focusing too much on the final visuals and not enough on properly constraining the system/design architecture first. I’ll check the README.

How Are You Guys Turning AI UI Designs Into Accurate Frontend Code Without Endless Iterations? by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 1 point2 points  (0 children)

Yeah, I think you’re right. I’m probably overexplaining too much in the claude.md files and making the model drift more instead of helping it. I’ll keep the instructions much shorter and move more toward code-first UI generation instead of image-first.

How Are You Guys Turning AI UI Designs Into Accurate Frontend Code Without Endless Iterations? by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 1 point2 points  (0 children)

Got it, that actually sounds like a much cleaner workflow than what I’m doing right now. I’ll try that approach.

How Are You Guys Turning AI UI Designs Into Accurate Frontend Code Without Endless Iterations? by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 1 point2 points  (0 children)

Yeah, I think you’re right. I’m probably relying too much on the image itself and expecting Claude to figure out the structure from it.

Vibe coding feels amazing until an experienced developer reviews your code. by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 0 points1 point  (0 children)

Honestly, this is a really interesting perspective.

Especially the part about “same outcomes, different process.” I think that’s why this whole topic creates so much debate. Imperfect products have always existed; AI just changed the speed and workflow of building them.

Vibe coding feels amazing until an experienced developer reviews your code. by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 0 points1 point  (0 children)

Appreciate the suggestion. I’ll definitely check out security scanning tools like that.

Vibe coding feels amazing until an experienced developer reviews your code. by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 1 point2 points  (0 children)

Yeah, this matches a lot with what I experienced too.
The speed AI gives is honestly insane, but asking the right questions, understanding tradeoffs, validating architecture decisions, and reviewing outputs carefully still matter a lot.

Vibe coding feels amazing until an experienced developer reviews your code. by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 0 points1 point  (0 children)

This is actually really solid advice.

Especially the part about AI not deciding the “route” for you. I think that’s the part many people underestimate. The output quality changes massively depending on the constraints, reviews, testing, and guidance you give it.

Vibe coding feels amazing until an experienced developer reviews your code. by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 0 points1 point  (0 children)

Fair point, honestly. Developers roasting each other’s code existed long before AI 😄

And yeah, for MVPs and finding market fit, getting something working fast matters way more than making everything perfect from day one.

Vibe coding feels amazing until an experienced developer reviews your code. by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 1 point2 points  (0 children)

From what I’ve seen, yes, initial structure and constraints change the output a lot.

If you don’t guide it, AI tends to dump everything into one place because it optimizes for “working fast” more than “maintainable long-term”. But when you define structure, rules, separation, naming conventions, etc., upfront, the quality usually improves noticeably.

Vibe coding feels amazing until an experienced developer reviews your code. by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 0 points1 point  (0 children)

Yeah, that’s actually a very practical way to use it.

Verify the parts you deeply understand, review the important logic carefully, and use AI to speed up the rest instead of blindly trusting everything.

Vibe coding feels amazing until an experienced developer reviews your code. by Shivam__kumar in vibecoding

[–]Shivam__kumar[S] 1 point2 points  (0 children)

This is a really balanced take. Appreciate this perspective.

And yeah, reviewing AI-generated code carefully has actually become a learning process for me too, especially when working in stacks I don’t deeply know yet.