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

推荐订阅源

aimingoo的专栏
aimingoo的专栏
雷峰网
雷峰网
博客园 - 叶小钗
V
V2EX
博客园 - Franky
博客园_首页
小众软件
小众软件
Microsoft Security Blog
Microsoft Security Blog
The GitHub Blog
The GitHub Blog
A
About on SuperTechFans
H
Hackread – Cybersecurity News, Data Breaches, AI and More
阮一峰的网络日志
阮一峰的网络日志
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
J
Java Code Geeks
T
The Blog of Author Tim Ferriss
U
Unit 42
Microsoft Azure Blog
Microsoft Azure Blog
月光博客
月光博客
S
SegmentFault 最新的问题
B
Blog RSS Feed
博客园 - 【当耐特】
D
Docker
N
Netflix TechBlog - Medium

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 - alex-reysa/pm-go: Durable control plane for AI-a...
alexreysa · 2026-05-05 · via Hacker News - Newest: "AI"

pm-go: durable control plane for AI-assisted software delivery

pm-go is a durable control plane for AI-assisted software delivery.

Give it a feature spec and a repository. It turns that input into a typed plan, runs scoped implementation agents in isolated worktrees, reviews the diffs, merges tasks in dependency order, enforces approvals and budgets, and only calls the work complete when the evidence passes audit.

Most agent coding tools keep the workflow inside a chat transcript. pm-go moves the workflow into Postgres, Temporal, git worktrees, typed contracts, and HTTP APIs so runs are resumable, inspectable, and bounded.

flowchart LR
  Spec["Feature spec"] --> Plan["Structured plan"]
  Plan --> Tasks["Scoped task worktrees"]
  Tasks --> Review["Review and fix loop"]
  Review --> Integrate["Phase integration"]
  Integrate --> Audit["Phase and completion audits"]
  Audit --> Release["Release evidence"]
Loading

Why It Exists

  • Durable state, not chat memory. Plans, tasks, approvals, reviews, budgets, merge runs, and audits are persisted.
  • Bounded autonomy. Agents operate inside explicit file scopes and leased worktrees instead of open-ended repo access.
  • Evidence-based completion. A task is not done because an agent says so; it is done when diff scope, tests, review, integration, and audit agree.
  • Human intervention where it matters. Approval gates, overrides, and runbooks are first-class product paths, not ad hoc database surgery.
  • Local-first dogfood loop. The stack runs on Docker, Postgres, Temporal, Node, pnpm, and Claude runtimes that can be stubbed for CI.

Current Status

pm-go is a developer-preview monorepo. The local stack is usable for dogfood and end-to-end smokes, with stub runners for deterministic CI and Claude-backed runners for live development.

The current tree includes:

  • Hono control-plane API for specs, plans, tasks, phases, approvals, artifacts, budget reports, events, overrides, completion, and release.
  • Temporal worker hosting planning, task execution, review, fix, integration, phase audit, completion audit, and final release workflows.
  • Drizzle-managed Postgres schema with migrations 0000-0017.
  • Ink TUI for inspecting plans and driving task, phase, completion, and release actions.
  • Claude SDK/process adapters plus stub runners for repeatable tests.

Quick Start

Install (global pm-go command)

curl -fsSL https://raw.githubusercontent.com/alex-reysa/pm-go/main/scripts/install.sh | bash

The installer clones into ~/.pm-go/pm-go, builds the workspace, and symlinks pm-go into /usr/local/bin (or ~/.local/bin if /usr/local/bin isn't writable). After install, pm-go works from any directory.

To upgrade later, re-run the same command. To install a clone in place, run bash scripts/install.sh from the repo root.

Use it

cd /path/to/your/repo
pm-go implement --spec ./feature.md --runtime stub

That single command brings up Docker (Postgres + Temporal), applies migrations, starts the worker and API as tracked children, waits for /health, submits the spec, and drives the resulting plan all the way to released — running tasks, reviewing them, integrating phases, auditing, and finally releasing. Stay in the foreground; press Ctrl+C to tear the whole stack down cleanly.

The --runtime stub flag uses fixture-driven runners so this completes in seconds without an Anthropic API key. For real model-driven work, drop the flag.

--runtime auto (the default) auto-detects, in order: ANTHROPIC_API_KEY, a Claude Code OAuth session at ~/.claude/.credentials.json, then the claude CLI on PATH. Run pm-go doctor to confirm which auth source it found.

To watch progress in the operator dashboard while it runs:

pnpm tui     # in a second terminal

For a deeper walkthrough of the bundled example, see examples/golden-path/README.md.

The TUI operator loop:

  1. Run ready tasks with g r.
  2. Review tasks with g v.
  3. Fix tasks with g f when review asks for changes.
  4. Integrate a phase with g i.
  5. Audit a phase with g a.
  6. Approve a pending high-risk task with g A.
  7. Complete the plan with g c.
  8. Release after a passing completion audit with g R.

The full walkthrough, including API-only commands and state transitions, lives in docs/getting-started.md.

Requirements

  • Node >=22
  • pnpm >=10
  • Docker, for Postgres and Temporal
  • jq, for the copy-paste API examples (optional)

Sub-Commands

pm-go exposes the following subcommands; pick the one that matches your stage:

pm-go implement --repo . --spec ./feature.md     # boot stack + drive to release
pm-go run       --repo . --spec ./feature.md     # boot stack only; drive yourself
pm-go drive     --plan <uuid>                    # drive a plan against an already-up stack
pm-go status                                     # show worker config, API health, open workflows
pm-go why       <uuid>                           # explain why a plan/phase/task is in its state
pm-go doctor    [--repair]                       # diagnose + auto-fix infra
pm-go ps                                         # list supervisor / worker / api / drive PIDs
pm-go stop      [--instance <port>]              # SIGTERM (then SIGKILL) every pm-go-owned process
pm-go recover                                    # drop dead entries from the state file

Run pm-go <command> --help for command-specific options.

pnpm dev is a thin wrapper around pm-go run. If you prefer to drive the worker, API, and TUI as separate processes — for debugging, attaching a profiler, or running them on different machines — see docs/getting-started.md.

Fast Verification

These commands do not require an Anthropic API key.

pnpm typecheck
pnpm test
pnpm smoke:phase7-matrix
pnpm smoke:phase7-chaos

The Docker-backed smoke exercises the durable local stack:

pnpm smoke:bundle-freshness
pnpm smoke:phase7
pnpm smoke:v082-features

Runtime Modes

Each agent role can run as stub, sdk, claude, or auto.

For a live SDK-backed run:

export ANTHROPIC_API_KEY=sk-ant-...
export PLANNER_RUNTIME=sdk
export IMPLEMENTER_RUNTIME=sdk
export REVIEWER_RUNTIME=sdk
export PHASE_AUDITOR_RUNTIME=sdk
export COMPLETION_AUDITOR_RUNTIME=sdk
pnpm dev:worker

*_RUNTIME is the canonical configuration surface. The older *_EXECUTOR_MODE variables are still accepted for smoke-script compatibility, but new docs and manual runs should use *_RUNTIME.

See docs/runtimes.md for runtime resolution, CLI-process mode, policy bridge behavior, and diagnostics.

Repository Map

  • apps/api: Hono control-plane API.
  • apps/worker: Temporal worker and activity host.
  • apps/tui: Ink terminal operator dashboard.
  • apps/cli: diagnostics such as pm-go doctor.
  • packages/contracts: shared domain contracts and validators.
  • packages/db: Drizzle schema and migrations.
  • packages/executor-claude: Claude runner adapters.
  • packages/worktree-manager: git branch, worktree, lease, and diff-scope logic.
  • packages/policy-engine: budget, approval, and stop-condition decisions.
  • packages/observability: durable span/event conventions.
  • examples: spec templates and runnable example specs.
  • docs: architecture, getting started, API, runtime, runbooks, and specs.

Documentation

Start here:

Contributing

See CONTRIBUTING.md for local setup, branch and commit conventions, and per-PR test expectations.

Security issues: follow SECURITY.md. Do not open public issues for vulnerabilities.

License

Licensed under the Apache License, Version 2.0. See LICENSE.