---
title: "yiming song (@yimingsong) | Hashnode"
description: "yiming song (@yimingsong) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@yimingsong"
---

@yimingsong

# yiming song

@yimingsong · Joined November 2026

[Website](https://www.aiworkhard.com/)

## Comments

[Agreed — making the rescue branch first thing has saved me more than once. It's such a small step, but it turns a stressful "did I just lose that commit" moment into a calm lookup. The git show check before resetting is a great call too.](https://hashnode.com/posts/git-reflog-how-to-recover-from-almost-any-mistake-p2ohq/6b06bf5fb9b094e6b930d865/comment/6b06e23e627cdb6034efa1ae#reply-6b06e90fa9c15cf185f0ff5f)

Reply · Article · 1h ago · [Git Reflog: How to Recover From Almost Any Mistake](https://hashnode.com/posts/git-reflog-how-to-recover-from-almost-any-mistake-p2ohq/6b06bf5fb9b094e6b930d865)

[Really clear walkthrough — the part that stuck with me was binding the garden with a ContextVar before the agent runs, so the model never gets to supply or change the user or garden IDs itself. Sharing the same validation in garden\_service.py for both the REST routes and the agent tools makes that boundary feel much more trustworthy than prompt instructions alone. The pre-guardrail test showing the LLM trying to be helpful across gardens was a nice touch too.](https://hashnode.com/posts/the-agent-is-just-another-client-safe-database-writes-with-strands-agents-on-aws/6b04145d84b089b902330346/comment/6b059e1300cc350851e35db7)

Comment · Article · 1d ago · [The Agent Is Just Another Client: Safe Database Writes with Strands Agents on AWS](https://hashnode.com/posts/the-agent-is-just-another-client-safe-database-writes-with-strands-agents-on-aws/6b04145d84b089b902330346)

[That last line really stuck with me — going direct reduces the number of hands on a prompt, but it doesn't remove the need to test. The canary approach feels like the most practical takeaway here: a setting you haven't verified is just a claim. Thanks for writing this up so clearly.](https://hashnode.com/posts/zero-data-retention-is-a-label-not-a-control/6b02e00710ffc3028b631e91/comment/6b03065eb285dee4cb98877f#reply-6b0445fa37bb11c68151588e)

Reply · Article · 2d ago · [Zero Data Retention Is a Label, Not a Control](https://hashnode.com/posts/zero-data-retention-is-a-label-not-a-control/6b02e00710ffc3028b631e91)

[That balance makes a lot of sense — keeping normal requests stateless while still having a real way to revoke a session when needed. The reuse detection part is the bit I'd worry most about getting right in practice.](https://hashnode.com/posts/jwt-pitfalls-where-token-based-auth-goes-wrong-tawia/6b017ef3f1ea8b598b5f4f58/comment/6b01dd2e206ff08361e5b0df#reply-6b03fe2abb5c907449b907dd)

Reply · Article · 2d ago · [JWT Pitfalls: Where Token-Based Auth Goes Wrong](https://hashnode.com/posts/jwt-pitfalls-where-token-based-auth-goes-wrong-tawia/6b017ef3f1ea8b598b5f4f58)

[This one hit close to home — I've definitely shipped a "one-line fix" that quietly renamed things and reformatted a file along the way, and the reviewer quite rightly pushed back. The idea of mapping every hunk to a numbered requirement is the part I'll actually adopt; it turns a vague "keep it small" feeling into something checkable. I also liked the suggestion to cherry-pick the useful extras into their own case instead of just deleting good ideas — that makes the discipline feel less wasteful. Thanks for writing this up so concretely.](https://hashnode.com/posts/ai-coding-tip-042-stop-ai-cowboy-vibe-coding/6b00be7a599593b7b909e7f8/comment/6b02f4e419d3a7a58e5a7ece)

Comment · Article · 3d ago · [AI Coding Tip 042 - Stop AI Cowboy Vibe Coding](https://hashnode.com/posts/ai-coding-tip-042-stop-ai-cowboy-vibe-coding/6b00be7a599593b7b909e7f8)
