Human-Planned Night Crew — overnight AI-powered task automation
Project description
HPNC — Human-Planned Night Crew
Early Development — This project is under active development. APIs, CLI interfaces, and configuration formats may change at any time. Not yet recommended for production use.
Humans plan by day. Agents implement by night.
Overnight AI-powered task automation built on the BMad Method. Plan stories with structured frontmatter during the day, let AI agents (Claude Code, Codex) implement in isolated Git worktrees at night with cross-model review and quality gates, review merge-ready results in the morning.
What is HPNC?
You clarify the work. AI agents do it overnight. You review the results in the morning.
HPNC builds the orchestration and quality assurance layer that turns AI coding from interactive babysitting into autonomous overnight execution. BMad provides the structured planning artifacts — PRDs, architecture decisions, stories with machine-readable frontmatter — that give agents the context they need to work autonomously. HPNC takes those artifacts and feeds them into a pipeline of implementation, cross-model review, and quality gates, all running unattended while you sleep.
Documentation
- Full Documentation — Getting started, concepts, CLI reference, configuration
- HPNC.md (AI Context) — LLM-optimized single-file context for AI agents
Key Features
- Structured planning artifacts — tasks enter the pipeline as stories with machine-readable frontmatter, not loose prompts
- Cross-model review — reviewer is never the executor, catching blind spots a single model would miss
- Quality gates — build, tests, and lint must pass before any task reaches
done - Morning-ready results — status reports, reviewed branches, test results, and clear next steps
- Token-free development — mock executor enables full end-to-end testing without API calls
Installation
Requires Python 3.12+ and Git 2.20+.
git clone https://github.com/julian-w/hpnc.git
cd hpnc
uv sync
Quick Start
# Initialize HPNC in your project
hpnc init
# Add a story to the night queue
hpnc queue add stories/my-task.md
# Run pre-flight validation
hpnc validate
# Start a night run (use --mock for testing)
hpnc start --mock
# Check results in the morning
hpnc status
CLI Commands
| Command | Description |
|---|---|
hpnc init |
Initialize HPNC in the current project |
hpnc validate |
Run pre-flight validation checks |
hpnc start |
Start a night run (--at, --delay, --dry-run, --mock) |
hpnc status |
Show morning report |
hpnc queue add |
Add a story to the night queue |
How It Works
Story File (.md)
-> Queue Manager (parse frontmatter)
-> Validator (check night-ready)
-> Dispatcher (orchestrate)
-> Task Runner:
-> Git (create worktree + branch)
-> AgentExecutor (implement)
-> AgentExecutor (review)
-> Quality Gates (build, tests, lint)
-> Event Listener (write run.yaml)
-> Report Generator
-> CLI (morning report)
Tech Stack
- Language: Python 3.12+
- CLI: Typer + Rich
- AI Agents: Claude Code, Codex
- Package Manager: uv
- Testing: pytest + mypy --strict + ruff
- CI: GitHub Actions (Ubuntu + Windows)
- Docs: MkDocs Material
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hpnc-0.1.0.tar.gz.
File metadata
- Download URL: hpnc-0.1.0.tar.gz
- Upload date:
- Size: 33.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adc2e9b3848a71d5aec11c95288e5274f80aca7923e6d8d2592087b9b9eeb889
|
|
| MD5 |
321d31742e8c33f00fc2a69dad835408
|
|
| BLAKE2b-256 |
a661149dc2fc81f4e57916a93c10badc85bb3fd4df03ac9530acd037ad29e2ce
|
File details
Details for the file hpnc-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hpnc-0.1.0-py3-none-any.whl
- Upload date:
- Size: 53.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b29cf0b3087904ddc247d3b81508170f4a5a31e2538c8ee014bc3379f992de0b
|
|
| MD5 |
79c5330ba65248e93f966c944e32a7aa
|
|
| BLAKE2b-256 |
97dcbc555f637ced6b5b9ca60a7ba639ae7a01bb39c5c79a4a362d0e6ea5a025
|