惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hacker News: Ask HN
Hacker News: Ask HN
WordPress大学
WordPress大学
H
Help Net Security
小众软件
小众软件
N
Netflix TechBlog - Medium
C
Check Point Blog
量子位
Last Week in AI
Last Week in AI
GbyAI
GbyAI
Martin Fowler
Martin Fowler
M
MIT News - Artificial intelligence
博客园 - 聂微东
Engineering at Meta
Engineering at Meta
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
J
Java Code Geeks
D
DataBreaches.Net
Project Zero
Project Zero
P
Proofpoint News Feed
T
Threat Research - Cisco Blogs
Security Latest
Security Latest
Cisco Talos Blog
Cisco Talos Blog
Recorded Future
Recorded Future
I
Intezer
L
Lohrmann on Cybersecurity
Cyberwarzone
Cyberwarzone
博客园_首页
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LangChain Blog
P
Palo Alto Networks Blog
V
V2EX
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
The Exploit Database - CXSecurity.com
The Hacker News
The Hacker News
Blog — PlanetScale
Blog — PlanetScale
G
GRAHAM CLULEY
T
The Blog of Author Tim Ferriss
C
Cisco Blogs
The Register - Security
The Register - Security
L
LINUX DO - 热门话题
P
Privacy & Cybersecurity Law Blog
Scott Helme
Scott Helme
F
Full Disclosure
博客园 - 司徒正美
Recent Announcements
Recent Announcements
IT之家
IT之家
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Attack and Defense Labs
Attack and Defense Labs
Cloudbric
Cloudbric
Help Net Security
Help Net Security
The Last Watchdog
The Last Watchdog

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor GitHub - GenAI-Gurus/awesome-eu-ai-act: Curated tools, official sources, OSS, templates, and guides for EU AI Act compliance. Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders How to Switch AI Chatbots and Why You Might Want To GitHub - MattMessinger1/agentic_refund_guardrail: Safe refund policy layer for AI agents — Python + TypeScript. Same behavior, shared tests. Adam/papers/emergent_values_whitepaper.md at master · strangeadvancedmarketing/Adam Ask HN: How do you stop playing 20 questions with your AI coding tools How far can automation and AI support psychotherapy? - @theU GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits A Mac Studio for Local AI — 6 Months Later A History of the Early Years of AI at the University of Edinburgh Why AI Coding Tools Still Feel Stuck on Localhost MSN AI Datacenters Are Becoming Strategic Targets twitter.com Penn Researchers Use AI to Surface Unreported GLP-1 Side Effects in Reddit Posts Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 AI models are terrible at betting on soccer—especially xAI Grok GitHub - xialeistudio/echoic GitHub - HimashaHerath/github-dev-wrapped: AI-powered weekly GitHub activity reports deployed to GitHub Pages GitHub - alejandrobalderas/claude-code-from-source: Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps AI and Tech brief: Ireland ascendant GitHub - Titovilal/context0: Context0 - Never Surrender Training for a Marathon with an AI Coach: What Worked and What Didn't Cyber Pulse: Agentic Intel - Apps on Google Play I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs Gen Z workers are so fearful AI will take their job they’re intentionally sabotaging their company’s AI rollout | Fortune How AI Is Reimagining the Game of Golf–For Both Players and Courses GitHub - nattergabriel/reseed: A CLI tool for managing and distributing agent skills across projects Is SVG the final frontier? My AI workflow evolved from prompts to a near-autonomous workflow MLSharp Help - 3DGS Viewer & Generator I put my cognitive field based AI's runtime on GitHub Is Numble the first AI-proof game? A3: Kubernetes for autonomous AI agent fleets | Emergent Principles Deepali Vyas ("The Elite Recruiter") GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Unionized ProPublica staff are on strike over AI, layoffs, and wages Unleashing the Advantage of Quantum AI We're heading for an AI-fueled 'dementia crisis,' brain scientist warns The AI-Assisted Breach of Mexico's Government Infrastructure [pdf] GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. MSN GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs AI Code is Hollowing Out Open Source, and Maintainers are Looking the Other Way What leaked "SteamGPT" files could mean for the PC gaming platform's use of AI AI is the boss at this retail store. What could go wrong? GitHub - Wuzu11517/agentic-proxy: Local proxy meant to help reduce With Drones, Geophysics and ArtificiaI Intelligence, Researchers Prepare to Do Battle Against Land Mines A Single Operator, Two AI Platforms, Nine Government Agencies: The Full Technical Report 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - inevolin/resume-cli: Hit Claude usage limits? Resume any AI coding session elsewhere. Switch tools at zero friction. GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript This Startup Wants You to Pay Up to Talk With AI Versions of Human Experts Intel Arc Pro B70 Brings 32GB VRAM to Local AI for $949 WordPress 7.0: The Good, the AI, and the Still Missing AI on the couch: Anthropic gives Claude 20 hours of psychiatry IatroBench: Pre-Registered Evidence of Iatrogenic Harm from AI Safety Measures AI Agents Know About Supabase. They Don't Always Use It Right. The history and future of AI at Google, with Sundar Pichai Inside an AI‑enabled device code phishing campaign How Meta Used AI to Map Tribal Knowledge in Large-Scale Data Pipelines AI for Systems: Using LLMs to Optimize Database Query Execution Forecasting the Economic Effects of AI Introducing Tinker: Play with AI, bring your ideas to life AI sheds light on an ancient gaming mystery People really hate AI but not as much as Iran—or Democrats | Fortune What is an AI Product Engineer? Phoebe Gates wants her $185 million AI startup to succeed with 'no ties to my privilege or my last name': 'I have a chip on my shoulder' | Fortune
Ratchet: An AI Delivery Loop That Can Only Move Forward
Praveen Vijayan · 2026-06-16 · via Hacker News - Newest: "AI"

I spent most of the last decade shipping software inside banks. So when I started letting coding agents into real repositories, I didn’t reach for more autonomy. I reached for a brake. This is the workflow I built, why I built it the way I did, and where it fits.

A ratchet turns one way and locks against the other. That’s the whole idea.

Gartner thinks more than 40% of agentic AI projects will be scrapped before 2027 is out. If you’ve watched a slick “autonomous developer” demo and then turned the same tool loose on a codebase you actually care about, that number won’t shock you.

The demos really are good. An agent reads a ticket, writes the code, runs the tests, opens a pull request, all on its own. Then you point it at your own repo — the one with the payment flows, the audit trail, the service nobody fully remembers writing — and it does one of three things instead.

It drifts. You asked for one change and it quietly “improves” four others while it’s in there.

It stalls. A test goes red, the agent gets confused, and the work just sits there with nobody’s name on it.

Or, worst of all, it ships. Something lands on the main branch that no human ever properly read.

I’ve sat in enough release post-mortems to know that the third one is the career-ending one. In a bank, “an AI merged it and no one looked” is not a sentence you ever want to say out loud.

The industry’s reflex is to fix all this by making the agent smarter: a better planner, a bigger sandbox, more freedom to act. I went the other way. I decided the agent should be allowed to do less — and that the system around it should make going backwards physically impossible.

I called it Ratchet.

A ratchet is the little toothed mechanism inside a socket wrench. It turns freely one way and locks hard against the other. You can tighten; you can’t accidentally loosen.

That’s the exact property I wanted. Work should only ever move toward shipped. And when something goes wrong — a test fails, a reviewer pushes back — the work doesn’t roll the whole machine backwards or disappear into limbo. It drops back into the queue, gets picked up, and gets pushed forward again.

Tighten, never loosen. Once you’ve felt a delivery process that can silently slip backwards, the appeal of one that can’t is hard to overstate.

Picture a conveyor belt with seven steps. Work travels along it, and every step can only hand the work forward. The agent runs the middle of the belt. GitHub handles the ends. A human owns the one gate that matters.

The agent picks the highest-priority unblocked task in the queue — and rework always jumps ahead of new work, because finishing beats starting.

It claims the task by creating its own branch off the latest code. Creating that branch is the claim, so two agents can never grab the same thing at once. No locks, no scheduler, no coordination service — just a branch name.

It builds, in small commits, sticking to the patterns already in the repo. If the task turns out to be bigger than it looked, it doesn’t barrel on. It stops, suggests a way to split it, and puts the pieces back in the queue.

It verifies by running your project’s own checks — formatting, types, tests, build. Two attempts to get them green. If it’s still red after that, the work goes back to the queue with a note saying why. Nothing broken ever leaves the bench, and red work never even reaches your CI.

Then it hands off: it opens a pull request and stops. That’s the end of the road for the agent.

If you ask for changes, it reworks the same pull request — re-runs the checks, answers your comments, points you at the commits that fixed each one. It never opens a second PR to dodge the conversation.

And when you merge, the system closes the loop: GitHub marks the task done, anything that was waiting on it becomes available, and any task an agent abandoned mid-flight gets swept back to the queue. The belt refills itself.

Underneath all of that, each step is just a plain GitHub label you can read at a glance — ready, in-progress, in-review, changes-requested, blocked. Nothing is hidden in a database somewhere. If you can open your own repo, you can see exactly where every piece of work stands.

There’s really only one rule that holds the whole thing together:

The merge is the human gate. No agent ever merges, approves, or closes anything. The pull request is the last thing it touches.

That single constraint is what lets me run this on a codebase that matters. The machine does all the dull forward motion — picking, claiming, coding, checking, opening the PR — but the decision to ship stays with a person turning the key.

If the agents do the building, what’s the team for? Two things, and only two.

You write the plans. A plan is a short markdown file saying what needs to happen and why. Good plans in, good work out — and writing a sharp plan turns out to be a far better use of a senior engineer’s time than hovering over an agent’s keystrokes. This is where the real thinking lives.

And you review the pull requests. That’s the gate, and it’s where taste, experience, and accountability sit. Someone reads what the agent produced and decides whether it ships.

Everything in between — the branching, the typing, the test runs, the PR boilerplate — happens with nobody in the chair. That’s the trade I was after: keep the judgement, hand off the toil.

Two names come up whenever I describe this, so let me be straight about where Ratchet sits next to them.

Devin, from Cognition, is the poster child for full autonomy — a sandboxed AI engineer that plans, codes, tests, and carries a task end to end inside its own cloud, priced for enterprises. It’s a genuinely impressive piece of engineering. But you’re trusting a long-running agent inside a box you can’t really see into, on its environment, running its loop.

GitHub’s Copilot coding agent is excellent if you live inside GitHub and Microsoft already. That’s also the catch: you’re buying a vendor’s surface and moving at a vendor’s pace.

Ratchet is a different kind of thing on purpose, and the differences are the whole point.

It’s a protocol, not a product. There’s no orchestrator, no database, no service to babysit. The entire workflow lives in things you already have — issues, branches, labels, Actions, pull requests. Read your repo and you’ve read the whole machine.

It doesn’t care which agent you use. Devin locks you to Devin; Copilot locks you to Copilot. Ratchet runs on anything that can use a command line and read a markdown file — Claude Code, Codex, Antigravity, or whatever’s winning a year from now. You’re not betting your delivery process on one company staying ahead.

It’s auditable because of how it’s built, not because someone bolted on a log. Every move is a real GitHub event with a name and a timestamp already attached. If you’ve ever had to explain a production change to a risk or compliance team, you know that’s not a nice-to-have — it’s the line between a tool you can use and one that never gets approved.

And it keeps the human at the gate deliberately. The fashionable pitch is “let the agent merge its own code.” Mine is the opposite: the agent earns trust by doing everything up to the gate cleanly, and a person always turns the key.

The shortest way I can put it: Devin and Copilot try to hand you a smarter worker. Ratchet hands you a safer factory floor — one that works with whatever workers you walk in with.

There’s one quiet part of Ratchet I’m fonder of than any single step in the loop, and it follows the same rule as everything else: nothing gets written behind your back.

Ratchet keeps a small, curated memory of the project — the decisions, the gotchas, the “we always do it this way” conventions. It lives in two plain files in the repo. One belongs to the humans; the agent only ever reads it. The other is a distilled cache the agent is allowed to suggest edits to — but only ever inside a pull request. So when an agent thinks it’s learned something, that lesson gets reviewed exactly like code before it becomes part of the team’s shared memory.

The full record — every closed task, every merged PR, every line of history — stays right where it already is, in GitHub, and the agent searches it when it needs to. The curated memory stays deliberately tiny and just points back at the real source instead of trying to hoard it.

The result is the one you actually want. The project gets easier to work on. The agents stop repeating the mistakes your reviewers already corrected once. And you never have to trust a memory you can’t read — there’s no vector database, no hand-wave about how “the model just knows now.” If you want to know what the system has learned, you open a file.

Ratchet is open source under MIT and ships as a GitHub template, so picking it up is closer to copying a folder than installing a platform. The whole working vocabulary is a handful of commands you run from your agent’s prompt:

  • /ratchet-init — run once per repo. Sets up the labels, works out your test and build commands, and gets the workspace ready.

  • /ratchet-plan — turn an idea you’ve been talking through into plan files, one per task, then stop so you can review. Nothing becomes a real task until you commit.

  • /ratchet-report — the disciplined “I found something” door. Spotted a bug or an improvement? It writes a proper task and stops. It will not quietly fix the thing, even when the fix is obvious. Finding work and doing work stay separate, on purpose.

  • /ratchet-sync — compile your plan files into live tasks right now, instead of waiting for the next push.

  • /ratchet-next — the heart of it. After you merge, it moves to the next task; after you request changes, it reworks the current one.

  • /ratchet-memory and /ratchet-update — housekeeping: tidy the project memory, and pull framework updates without ever touching your own files.

Two things I’d flag for anyone making the call, because they’re where the trust actually lives.

It runs locally, on your engineer’s own machine, using the GitHub login they already have. There’s no new service to stand up and no extra API key just to kick the tyres.

And by default it only notifies — your engineer decides when to advance. You can opt into having it move on automatically after each of your review decisions, but even then the gate doesn’t move. The merge is still yours. All you’re changing is how fast the queue refills behind it.

If you want a fair test, it’s a small one: spin up a throwaway repo, run /ratchet-init, write one plan file (or just /ratchet-report something you want fixed), and watch a single task become a branch, a set of green checks, and a pull request waiting for you. Like what lands at the gate, and you widen it. Don’t, and you’ve spent an afternoon — not a quarter.

I built and tested Ratchet as a single-developer, single-machine system, and I’d rather tell you that plainly than let you find out the hard way. The half that lives in GitHub — the queue, the states, the labels, the pull requests, the branch protection — is genuinely multi-user, and the branch-as-claim trick even doubles as real concurrency control: two people’s agents can’t grab the same task, because the second branch creation just fails.

The local half is the part built for one operator. Today, every developer runs their own watcher, which reacts to all of the repo’s pull-request events rather than just their own — so two people running it will see their agents cross-fire and race for the next task. The automation token is a single personal one, where a team really wants a dedicated bot account. And once several people work in parallel, you reintroduce the ordinary Git rebase dance that solo use mostly avoids. None of these are deep flaws, but they’re real, and I haven’t tested Ratchet with concurrent users yet.

So if you’re a team: pilot it with two people on a low-stakes repo first, assign each task to a person so everyone stays in their own lane, and watch specifically for double-claims and stale rebases before you scale it up. Team-mode — per-person task scoping, a bot token, an operator-scoped watcher — is the next iteration, and I’ll ship it the way I built the rest: tested, not asserted.

I don’t think that 40% failure rate is really about the agents not being good enough. I think it’s about teams handing agents the one thing they should have kept for themselves: the authority to decide what ships.

Ratchet is a small idea held to firmly. Let the machine do the relentless forward motion. Keep the judgement, the taste, and the accountability with the people who have to answer for the result. Make backwards impossible, and make sure every failure leads back to the queue instead of to a dead end.

It’s not a flashy bet. But on a codebase that actually matters, the unflashy bet is usually the one still running two years later.

Ratchet is open source at github.com/praveenvijayan/Ratchet. If you’re putting agents to work inside a regulated or high-stakes codebase, I’d like to hear what’s held up for you and what hasn’t.

Discussion about this post

Ready for more?