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

推荐订阅源

The Cloudflare Blog
U
Unit 42
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
腾讯CDC
罗磊的独立博客
博客园 - 聂微东
博客园_首页
雷峰网
雷峰网
云风的 BLOG
云风的 BLOG
Jina AI
Jina AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
人人都是产品经理
人人都是产品经理
Y
Y Combinator Blog
量子位
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
小众软件
小众软件
月光博客
月光博客
T
The Exploit Database - CXSecurity.com
Google DeepMind News
Google DeepMind News
H
Help Net Security
O
OpenAI News
Blog — PlanetScale
Blog — PlanetScale
S
Security Affairs
S
Security @ Cisco Blogs
Microsoft Security Blog
Microsoft Security Blog
T
The Blog of Author Tim Ferriss
AI
AI
MongoDB | Blog
MongoDB | Blog
G
Google Developers Blog
MyScale Blog
MyScale Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Docker
Hugging Face - Blog
Hugging Face - Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Schneier on Security
Cloudbric
Cloudbric
H
Heimdal Security Blog
J
Java Code Geeks
N
News and Events Feed by Topic
Hacker News - Newest:
Hacker News - Newest: "LLM"
宝玉的分享
宝玉的分享
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
爱范儿
爱范儿
I
Intezer
GbyAI
GbyAI

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
How We Shipped git-flow-next 1.0 Almost Entirely with AI | git-flow-next
Written by: Alexander Rinass · 2026-06-17 · via Hacker News - Newest: "AI"

In our 1.0 announcement, we mentioned that git-flow-next has also been an experiment “to see how far we could push today’s AI capabilities on an open-source project of this scope.”

We promised more on that journey in a future post. This is it.

First, here are some numbers:

  • 13 months
  • 10 releases
  • 14 Claude Code skills
  • 8 guideline documents
  • Approximately 392 commits
  • Approximately 29,000 lines of Go code

We did all of this on the side, alongside our regular work — which is worth keeping in mind before reading too much into the timeline.

Most of the code was written by AI. While we’re experienced developers, we’re not proficient in Go. So we provided the architecture, specifications, and guidance; the AI was the hands on the keyboard.

Two things motivated the project:

  • We wanted an open-source tool that would need little ongoing maintenance from us.
  • We wanted to experiment with something that’s more or less a black box to us — we’re not familiar with the tech stack — to see how building with AI holds up under those conditions, both for us specifically and as a more general question.

If you’re in a hurry and are just looking for the tl;dr, here is the one lesson we’d carry to the next project: AI development isn’t “telling AI what to build.” It’s “building the system that tells AI what and how to build.”

The code is the output. The guidelines, skills, review criteria, and architectural docs are the actual product.

This is how we got there.

Phase 1: Vibe Coding with Cursor (March 2025)

The first phase was all about getting our feet wet: minimal instructions, all in one file, just to explore what AI could accomplish.

The pace was remarkable. In about two weeks, Cursor produced all of git-flow-next’s core commands — start, finish, list, overview, update, delete, rename, checkout — at roughly one new command every day or two.

The pace was also misleading.

Up close, the project wasn’t really a project. It was a collection of individually-generated files that happened to share a directory. There was no clear separation between the CLI layer, business logic, and Git operations — every command did things its own way. Patterns were duplicated across files in slightly different shapes, often subtly enough that asking AI to find duplicates would surface one and quietly miss the others. Git configuration was loaded on every operation instead of once at startup — performance regressions by design, not by accident.

We tried to refactor our way out of it. With Cursor, with Claude, with detailed instructions. It didn’t work. Functions were duplicated, code didn’t compile, proposed refactorings were over-engineered with the wrong abstractions.

We even tried full rewrites from scratch. Those failed, too.

What eventually worked was the opposite of speed: tiny incremental steps. Create empty command files first. Add one piece of logic. Run the tests. Move on. And more importantly, we realized we had to define a development philosophy ourselves — explicitly, in writing — before AI could help us clean anything up.

You can’t evaluate an AI’s proposal if you don’t already know what you want. That was the first time we understood the shape of the real problem.

Phase 2: Building the System (May–August 2025)

On day one with Claude Code, we let it analyze the project and write a CLAUDE.md file. It got some things wrong — inconsistent config keys, for one — but accuracy wasn’t really the point.

The point was to give AI a place to start understanding the project before writing code.

That set off a pattern. Every time AI failed in a recognizable way, the answer was a new guideline. Over a few months, eight of them accumulated:

  1. CLAUDE.md — The entry point for any AI agent working on this codebase. Project overview, build and test commands, where things live. Without it, every session starts from zero.
  2. CODING_GUIDELINES.md — A pragmatic, anti-over-engineering philosophy, plus a hard rule that the manpages in docs/ must be updated whenever a command or its behavior changes. Documentation stays current because the guideline says it must.
  3. TESTING_GUIDELINES.md — Test naming conventions and a mandatory comment pattern — description, numbered steps, expected outcomes — so every test is self-explanatory at a glance.
  4. GIT_TEST_SCENARIOS.md — Patterns for spinning up temporary Git repos, producing merge and rebase conflicts on demand, wiring up local remotes, and verifying Git state. The doc that finally made test scaffolding boring.
  5. COMMIT_GUIDELINES.md — Conventional commit format with scopes, 50-character subject lines, imperative mood, and bodies hard-wrapped at 72 — explaining the “what” and the “why,” never the “how.”
  6. ARCHITECTURE.md — The map of the project: what cmd/ owns versus internal/, the three-layer command pattern, and where each piece of business logic lives.
  7. CONFIGURATION.md — The complete config reference, including the three-level precedence rule (branch type definitions → command-specific config → CLI flags) and which keys belong at which layer.
  8. DEV_WORKFLOW.md — The structured issue-to-PR workflow that ties everything together: issue → planning artifacts in .ai/ → implementation → review → PR. The doc the skill system ultimately encodes.

All of these documents can be analyzed in full by visiting our open-source repository, of course!

The single most important one turned out to be GIT_TEST_SCENARIOS.md. Setting up Git test scenarios — merge conflicts, remotes, multi-step operations — is exactly the kind of thing AI consistently gets subtly wrong. Without explicit guidance, every test-writing session devolved into debugging broken setups.

With the guideline in place, test scaffolding became boring, which is what test scaffolding should be.

The architectural rules that mattered most were the ones AI kept violating:

  • A three-layer command pattern: Cobra handler → command wrapper → execute function
  • All Git operations go through internal/git/repo.go — never direct exec.Command
  • Configuration precedence: branch type defaults → git config → CLI flags
  • Custom error types with specific exit codes and contextual messages

A few anecdotes from this period stick with us:

  • We asked AI to create a config resolver. Despite the guideline saying load config once and pass it through, it called a Git command for every individual option. After we corrected that, it created a duplicate TagOptions struct, then left a helper function in the wrong file. Each session introduced a new variant of the same problem.
  • We once asked both Opus and Sonnet to detect the same bug. Only Opus found it.
  • A recurring failure mode: commands not executed in the right directory. We’d fix it once, and it would crop up again later in different code.
  • Sonnet 3.7, when it came out, worked worse than its predecessor on this codebase. Model upgrades aren’t strictly monotonic.

None of those are individually surprising. The pattern they form is: AI doesn’t learn within a session, and it certainly doesn’t learn across sessions. “Learning” is documentation engineering.

Phase 3: The Turning Point (September 2025)

40+ commits in a single week. Looking at the log from that month, it’s a mix of new features (comprehensive merge strategy control for finish), new tests (around 8,000 lines for the finish command alone), and new guidelines (testing, Git operations, even one specifically telling AI not to add AI attribution in commit messages). Documentation and code were evolving together. Each new guideline prevented a class of future mistakes. We shipped v0.1.0 at the end of it.

Here’s the part that’s easy to miss: guidelines compound. Every guideline you write pays off in every future session for the lifetime of the project. The vibe-coding phase had no compounding — every command Cursor wrote was a fresh start. By September, every session began with three months of accumulated context already loaded.

Phase 4: The Models Catch Up (October–November 2025)

The November model updates were the second turning point, and not quite for the reason you’d expect. The models didn’t necessarily get much better at producing code. They got dramatically better at understanding existing code and at agentic behavior — exploring a codebase, finding relevant context, connecting pieces across files.

For a project with accumulated guidelines, this mattered enormously. The agent could now actually read and internalize the conventions before writing code, rather than generating in the dark. Thinking models like Opus were much better at breaking down complex tasks. The work we’d done building the system started paying out at a different scale.

A lot of the friction from early 2025 — refactors that needed multiple attempts, tests that wouldn’t run — would probably work first try today. Some of the difficulty back then was real complexity. Some of it was just that the models weren’t quite there yet.

Phase 5: Filling Out the Workflow (December 2025–January 2026)

With the system stable, feature work got easier. We added the hooks system, the publish and track commands, squash messages, and shipped v0.2.0 and v0.3.0.

New features landed more consistently — the guidelines were doing their job.

Phase 6: v1.0.0 and the Skill System (February 2026)

We shipped 1.0 in February. Alongside it, we built 14 Claude Code skills covering the full development lifecycle:

SkillWhat it does
/gh-issueCreates a GitHub issue following project guidelines
/analyze-issueReads a GitHub issue, explores codebase, writes analysis to .ai/
/create-planGenerates an implementation plan from the analysis
/validate-testsValidates the test approach before implementing
/implementExecutes the plan, makes changes, commits per guidelines
/commitCreates well-formatted commits per guidelines
/pr-summaryGenerates a PR summary and writes it to .ai/
/code-reviewReviews changes against all project guidelines
/pr-reviewCreates a GitHub PR review, with preview before posting
/post-reviewPosts review to GitHub as a PR review with inline comments
/plan-from-reviewConverts review feedback into an implementation plan
/address-reviewTriages PR review comments and fixes valid ones
/resolve-issueEnd-to-end: analyze → plan → branch → implement → PR
/releaseUpdates changelog, bumps version, tags release

Of these, /resolve-issue is the crown jewel. It spawns sequential subagents for each phase of the workflow: a GitHub issue goes in, and a ready-to-review PR comes out. This is where the guideline system stops being a set of documents and becomes an executable pipeline.

It’s also the moment the thesis finally cashed out. A year of accumulated guidelines, encoded as skills, became a single command.

Phase 7: What AI Code Review Actually Looks Like (February–April 2026)

Getting Claude to review pull requests well was surprisingly hard. A lot of teams just let AI spam the PR. We wanted something thorough and well-targeted, with a clean, stable summary format.

A few problems showed up immediately:

  • Inconsistency. Re-running the exact same review on the exact same diff gave three very different reviews. Different findings, different severity, different conclusions.
  • Format drift. The model wouldn’t stick to the specified output format. Extra sections appeared, heading styles changed.
  • Noise. Early versions flagged everything — style nits alongside actual bugs.

What eventually worked:

  • A review criteria doc referencing specific guideline files
  • An explicit output format spec
  • Severity levels to separate critical issues from nice-to-haves
  • Six clearly defined review areas: test coverage, coding guidelines, code quality, security, documentation, commit messages
  • Treating the review as a useful signal, not an authoritative verdict

We also added .github/instructions/ — Copilot review instructions scoped to file patterns (commands, tests, internal packages). The point is to give AI reviewers specific context per file type, rather than a single generic prompt.

We shipped v1.1.0 in April with those refinements.

The Workflow Today

For a typical feature or fix, the workflow is:

  1. An issue gets created on GitHub (sometimes by AI, from our notes).
  2. /resolve-issue 42 kicks off the pipeline.
  3. A subagent analyzes the issue, explores the codebase, writes notes to .ai/.
  4. Another creates a feature branch — using git-flow-next itself.
  5. Another generates an implementation plan with specific file paths.
  6. Another implements, runs tests, and commits per guidelines.
  7. A PR is opened with a structured summary.
  8. Automated review checks the changes against the project guidelines.
  9. We review the result and leave comments if needed.
  10. /address-review triages and fixes valid comments.

Most of our time goes into maintaining the guidelines and reviewing the output — not writing code.

What the Role Actually Became

AI-driven development settles into a familiar loop: you define the spec, you define the tests that verify the behavior, and a different actor makes the tests pass.

The practical shift, then, isn’t really about not writing code. It’s about where you spend your attention:

  • Defining the spec
  • Reviewing the plan before any implementation begins
  • Iterating on the plan until we get the feeling that the model “gets” it
  • Reviewing the result
  • Updating the guidelines when something goes wrong in a way that will repeat

For complex areas — the finish command’s state machine, the merge state system — we stay close to the planning, review every proposal carefully, and make judgment calls the model can’t. The more complex the area, the tighter the involvement. That hasn’t gone away, and probably won’t.

What’s Still Hard

We want to be honest about the parts that aren’t solved:

  • Complex areas still need humans. The 1,000-line state machine in finish is a good example. The model can hold the full mental model — but only if a human understands it well enough to describe it correctly in the first place. Get the description wrong and each session will nail one aspect while subtly breaking another.
  • Maintaining knowledge efficiently. That AI forgets across sessions is a given every developer knows going in. The hard part is carrying knowledge forward efficiently: dozens of markdown files will happily fill the context window, often with information irrelevant to the task at hand. The real challenge is surfacing the right context at the right moment, not just writing everything down.
  • Architecture decisions need humans. AI implements patterns. It doesn’t decide which patterns to use. It once flagged an intentional design decision as a bug during a review.
  • Sometimes it’s just faster to do it yourself. AI occasionally fails at trivially simple things that would take you 30 seconds.
  • AI review is not a verdict. Three runs, three different results. It’s a useful signal, but you can’t outsource judgment to it.

None of these are reasons to stop. They’re reasons to know what you’re signing up for.

The Real Product

Thirteen months in one paragraph: the code is the output. The guidelines, the skills, the review criteria, the architectural docs — those are the actual product. Building software with AI is building the system that builds the software. That’s where the time goes, and that’s where the leverage comes from.

git-flow-next is in production. The pipeline that produced it is too. We’ll keep refining both — and there are a few interesting things planned that the workflow itself made possible. More on those soon.