Skip to main content

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

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

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hpnc-0.1.0.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hpnc-0.1.0-py3-none-any.whl (53.9 kB view details)

Uploaded Python 3

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

Hashes for hpnc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 adc2e9b3848a71d5aec11c95288e5274f80aca7923e6d8d2592087b9b9eeb889
MD5 321d31742e8c33f00fc2a69dad835408
BLAKE2b-256 a661149dc2fc81f4e57916a93c10badc85bb3fd4df03ac9530acd037ad29e2ce

See more details on using hashes here.

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

Hashes for hpnc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b29cf0b3087904ddc247d3b81508170f4a5a31e2538c8ee014bc3379f992de0b
MD5 79c5330ba65248e93f966c944e32a7aa
BLAKE2b-256 97dcbc555f637ced6b5b9ca60a7ba639ae7a01bb39c5c79a4a362d0e6ea5a025

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page