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

推荐订阅源

Martin Fowler
Martin Fowler
Blog — PlanetScale
Blog — PlanetScale
Vercel News
Vercel News
L
LangChain Blog
Google DeepMind News
Google DeepMind News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
A
About on SuperTechFans
博客园_首页
N
Netflix TechBlog - Medium
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
美团技术团队
V
V2EX

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 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
GitHub - imfromsavedotag/structured-AI-development: A met...
ianmud · 2026-05-05 · via Hacker News - Newest: "AI"

A methodology and toolkit for building real software with AI tools, designed to respect what the tools can and cannot do.

This repository contains a methodology for structured AI-assisted development, born from real production work and shaped by what AI tools can and cannot reliably do. It is not a framework, a library, or a wrapper around an AI provider. It is a disciplined way of thinking, planning, and executing that turns AI coding tools from unreliable oracles into reliable partners.


Two ways to work with an AI coding tool

                    ┌──────────────┐
                    │  you have    │
                    │  an idea     │
                    └──────┬───────┘
                           │
                           ▼
                    ┌──────────────┐
              ┌────►│   prompt     │◄────┐
              │     └──────┬───────┘     │
              │            │             │
              │            ▼             │
              │     ┌──────────────┐     │
              │     │   output     │     │
              │     │ (looks ok?)  │     │
              │     └──────┬───────┘     │
              │            │             │
              │      ┌─────┴─────┐       │
              │      │           │       │
              │      ▼           ▼       │
              │  "not quite"  "fine i    │
              │              guess"      │
              │      │           │       │
              └──────┘           │       │
                                 ▼       │
                          ┌──────────────┴┐
                          │  silent debt   │
                          │  accumulates   │
                          └──────┬─────────┘
                                 │
                                 ▼
                          ┌─────────────┐
                          │  one day:   │
                          │  it breaks  │
                          │  expensively│
                          └─────────────┘
flowchart TD
    A[you have an idea] --> B[planning session<br/>with AI]
    B --> C{gap analysis<br/>human gate}
    C -->|approved| D[briefing + companion<br/>artifacts]
    C -->|gaps found| B
    D --> E[phased plan]
    E --> F[Phase: kickoff<br/>inspector reviews]
    F --> G{human gate:<br/>concerns addressed?}
    G -->|yes| H[Phase: build]
    G -->|no| F
    H --> I[automated review chain<br/>test → code → constitution]
    I --> J{review pass?}
    J -->|no| H
    J -->|yes| K[phase complete]
    K --> L{more phases?}
    L -->|yes| F
    L -->|no| M[close plan<br/>audit + retrospective]
    M --> N[working software<br/>with documented debt<br/>and learnings captured]

    style A fill:#e8f4f8
    style N fill:#d4edda
    style C fill:#fff3cd
    style G fill:#fff3cd
    style J fill:#fff3cd
Loading

The constraint this methodology is designed around

Most published advice about AI-assisted development treats the AI tool as an oracle with unlimited memory. It is not. Every model has a finite context window, and every long session degrades — earlier decisions get forgotten, contradictions creep in, work gets repeated, and the quality of judgment declines as the context fills. This is not a flaw in any particular tool. It is a physical property of how these systems work. Pretending it isn't there is the single largest reason vibe coding produces what it produces.

The methodology in this repository is architected around that reality. Phases are sized to fit cleanly within a single execution context, so the tool never has to operate while running out of room. The planning conversation happens in a different context from the build session, so the planner is not competing with the implementer for context budget. A briefing artifact and a companion document carry state forward in writing rather than relying on the AI to remember — when context resets, the artifacts are the source of truth. The constitution holds decisions stable across sessions so they aren't relitigated when memory degrades. The learnings file accumulates patterns across plans so insights from one plan inform the next without needing to be re-derived.

The honest qualifier: the structural protections work when the architect uses them as intended. They fail in two predictable ways. The first is when a session uncovers something unexpected mid-phase — something that isn't large enough to warrant a new plan but is important enough to get right — and the session runs longer than the phase was sized for. The second is when the architect spots an opportunity and pivots without first recognizing the new constraints the pivot creates. Both are human moves, not tool failures, and both are normal. The methodology cannot prevent them. What it can do is make them visible: a phase running long is a signal worth noticing, and a pivot taken without a fresh planning conversation is the moment where the architect has to decide whether the cost of pausing to re-plan is greater than the cost of pushing through. Sometimes pushing through is the right answer. The methodology asks you to notice that you've made the choice.

This is not bureaucracy. It is structural respect for what the tool can and cannot do — and structural awareness that the architect is the one variable the methodology cannot constrain.


What this is

This methodology separates the conversation where you think from the session where you build. A planning session — typically run in a chat interface like Claude.ai — produces two artifacts: a briefing scoped to the building agent, and a companion document that carries voice and judgment forward into future sessions. The building agent — Claude Code, in the original implementation — executes against a phased plan with a serial review chain that runs automatically per phase: test gate, code reviewer, constitutional auditor, phase completer. A constitution of eleven articles pre-decides implementation choices so they aren't relitigated mid-build. Deferred work gets documented, not blocked.

The methodology is curated and portable on purpose. Every piece is in here because it was needed, not because it sounded good. The artifacts have been used to ship 16 plans, 68 phases, and approximately 98 active hours of production work over a 10-day window — all in a real codebase that real users access. The velocity reference in this repository documents that work in detail.

What changes is your role. Under this system you are not babysitting a process. You are a constructive partner reviewing work that is mostly right, looking for the nuance that a mission-driven agent will miss. The discipline lives in the system; your job is to bring judgment and to get out of its way.


What's in this repository

  • planning_protocol.md — The protocol for running a planning session. Keep this with you in your chat interface of choice — it is not meant to live in your codebase, and the build surface never reads it.
  • workflow_automation.md — The operational guide for executing plans. Describes how the skills, subagents, and templates work together during a build session.
  • constitution.md — Eleven articles that pre-decide implementation choices. Eight are domain-neutral and apply to any project. Three are flagged as domain-specific and must be replaced by the adopting project.
  • velocity_reference.md — Documented velocity from real plans, with complexity tiers, per-phase throughput, and scaling factors. Use this to estimate your own work.
  • .claude/agents/ — Eight subagents that run the review chain (planner, plan-inspector, reviewer, constitutional-auditor, test-gate, phase-completer, retrospective, plan-closer).
  • .claude/commands/ — Four skills (slash-commands) that orchestrate the workflow (/plan, /kickoff-phase, /complete-phase, /close-plan).
  • .claude/templates/ — Eight templates for plans, phase artifacts, and closeouts.
  • .claude/hooks/pre-commit-guard.sh — A behavioral guard that prevents commits without an updated changelog and an advanced plan primer.
  • what_this_methodology_does_not_do.md — A standalone document on the methodology's real boundaries and what the architect is responsible for bringing to the table.

How to adopt this

The methodology is designed to be cloned, adapted, and put to work without ceremony. A reasonable adoption path:

  1. Clone or copy the repository contents into your project's root, except for planning_protocol.md, which belongs in your chat interface's project workspace, not in your codebase.
  2. Rename the constitution articles' identity references and adapt the three domain-specific articles (currently flagged) to your project's domain.
  3. Establish a docs/plans/ directory in your project where plan artifacts will live.
  4. Wire the pre-commit hook into your Claude Code settings (the snippet is in the hook script's header).
  5. Run your first /plan command on a small piece of work and follow the flow through to /close-plan. The first plan will teach you more than reading the documentation will.

The methodology's features, once understood, are easily modified to fit the needs and work patterns of a small team or solo developer. Adjust the gates, change the cadence, simplify the constitution if you don't need all eleven articles. The shape is more important than the specifics.


A note on where things run

The methodology uses two execution surfaces, and the artifacts are split between them deliberately.

Planning runs in a high-reasoning chat interface — Claude.ai is the original implementation, but any sufficiently capable conversational AI will work. The planning protocol (planning_protocol.md) lives with you, not in your codebase. Copy it into a project or workspace in your chat interface of choice. Planning sessions happen there, away from the noise of code execution and tool calls. The output of a planning session is the artifact pair — briefing and companion — which gets written into your codebase's docs/plans/ directory for the build surface to consume.

Building runs in Claude Code — the subagents, skills, templates, hooks, and constitution all live in the .claude/ directory of your project. Build sessions execute against the briefing produced by the planning session. The build surface never sees the planning conversation; it sees only the artifact, which is deliberate. State that needs to survive context resets lives in writing, not in memory.

This split is what allows the methodology to respect context windows. It is also what lets each surface specialize — the planning surface for judgment and conversation, the build surface for execution and review. Trying to do both in the same context is a common mistake and a major contributor to the kind of degradation the methodology is designed to prevent.


What this methodology does not do

The methodology is bounded in ways worth understanding before you adopt it. It does not raise the business questions a project must answer before deployment. It does not know everything — esoteric processes and unfamiliar frameworks must be introduced to it deliberately. It is not a substitute for your own thought, and the planning process can help with these gaps only when you initiate the right conversations.

The standalone document what_this_methodology_does_not_do.md covers each of these in detail. Read it before you adopt.


Provenance and proof of life

This methodology was built to ship save.ag — a knowledge platform for regenerative agriculture with over 230,000 curated content clusters, evidence grading, and controversy detection across YouTube transcripts, podcasts, academic papers, and web content. The velocity numbers in velocity_reference.md are from real plans against the save.ag codebase, not synthetic examples. If you want to see what the methodology produced, the platform is the answer. Go look at it.


License and contribution

MIT licensed. Adopt freely.

Issues are disabled and there is no support channel. This repository is what I use; you are welcome to adopt it, fork it, or take it apart for parts. I am not maintaining this as a public project.

If the methodology helps you build something that matters, that's the only return I'm looking for.