Metadata-Version: 2.4
Name: protocolcity-blueprint
Version: 0.1.50
Summary: BluePrint suite — Overview and Map over WorkLane + WorkForce
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: engines
Requires-Dist: protocolcity-worklane==0.1.9; extra == "engines"
Requires-Dist: protocolcity-workforce==0.1.9; extra == "engines"
Dynamic: license-file

# BluePrint

> **Pre-release (0.1.x).** Installable suite for coordinating AI agents with
> plain files you own — [WorkLane](https://github.com/protocolcity/WorkLane)
> (work orders) · [WorkForce](https://github.com/protocolcity/WorkForce)
> (agents) · this BluePrint (map + CLI). Expect sharp edges; file issues.

**A map of the AI instructions already living in your project folders.**  
It does not replace Claude, Cursor, or Grok — it shows what those agents are
supposed to follow, who is hired, and which work orders are still open.

> Every agent has instructions. Every job is a file. Every work order closes the loop.

## Install the suite (recommended)

### macOS (Homebrew)

```bash
brew install protocolcity/tap/blueprint
blueprint setup                 # soft default ~/BluePrint — or use an existing folder
# blueprint setup ~/my-workspace --create --yes
blueprint serve --foreground --root ~/BluePrint
# → http://127.0.0.1:8803/  (Overview; Map digs in at /workspace-map)
```

Want it to stay up after you close the terminal? `blueprint service start --root ~/BluePrint`
installs a macOS login service instead of running in the foreground.

That installs the **BluePrint** suite (CLI + Map) and pulls WorkLane + WorkForce
from PyPI. The taught CLI is **`blueprint` only** (no `protocolcity` command
alias). Product source repos stay separate; install does not require cloning them.

### Upgrading from the three-lane install

Already running the older three-service setup (separate suite :8801 and Map :8802 launch agents)? `blueprint upgrade --root ~/my-workspace` retires those agents (plists moved, never deleted) and activates the single consolidated app on :8803, which keeps :8801 and :8802 alive only as redirects for old bookmarks. See [docs/operations/DEPLOYMENT.md](docs/operations/DEPLOYMENT.md#upgrading-from-the-three-lane-install).

### Windows — first time (nothing installed)

**1. Install Python once** from [python.org/downloads/windows](https://www.python.org/downloads/windows/)  
(Python **3.11+**). Tick **Add python.exe to PATH**, finish, then open a **new** PowerShell.

**2. Paste this whole block** into PowerShell and press Enter:

```powershell
py -3 -m pip install --upgrade pip
py -3 -m pip install --upgrade "protocolcity-blueprint[engines]"
# Forever-compat alias: py -3 -m pip install --upgrade "protocolcity[engines]"
blueprint setup "$env:USERPROFILE\ProtocolCity" --create --yes
blueprint serve --foreground --root "$env:USERPROFILE\ProtocolCity"
# If blueprint is not on PATH: py -3 -m protocolcity setup … / serve …
```

**3. Open** [http://127.0.0.1:8803/](http://127.0.0.1:8803/) in your browser.  
Leave PowerShell open while you use the suite. Stop with **Ctrl+C**.

Stuck? [WINDOWS_FIRST_USER.md](WINDOWS_FIRST_USER.md) — PATH fixes, firewall, next-day restart.

### Any OS (pip)

```bash
python3 -m pip install --upgrade "protocolcity-blueprint[engines]"
# Forever-compat alias still works: pip install --upgrade "protocolcity[engines]"
```

### What to clone vs install

| You want… | Do this |
|---|---|
| **Run the suite** (Overview · Map · work orders · agents on the map) | **macOS:** Homebrew · **Windows/Linux:** pip (three packages above) |
| **Read the spec only** (no suite) | Browse/clone [Charter](https://github.com/protocolcity/Charter) — paper door |
| **Read the papers + example** | Browse/clone [BluePrint](https://github.com/protocolcity/BluePrint) — docs only |
| **Contribute to an engine** | Clone WorkLane / WorkForce source repos (developer path) |

Cloning BluePrint alone does **not** install a runnable suite.

## What you see

Open the suite → **Overview** (system summary). Click **Map**
(`http://127.0.0.1:8803/workspace-map`) to dig in — then click a project
folder to see:

| Layer | What it is | Typical files |
|---|---|---|
| **You** | Human decisions and gates | (you, in the loop) |
| **Workspace** | Rules for the whole folder | root `AGENTS.md`, boundaries |
| **Project** | One app or repo under the workspace | project `AGENTS.md` |
| **Agent** (worker/hand) | Hired AI that claims work orders | `workers/<id>/CONTRACT.md` · roster `kind=lane` |
| **This run** | Shift brief for that agent | `workers/<id>/prompt.md` |
| **Job** | Scheduled workspace duty (Map diamond) | roster `kind=job` · `seed-ops` |
| **Work orders** | Tracked tickets until done | WorkLane desk |

Nobody has to learn a “city” metaphor to run the system. Optional deeper docs
(Charter, Manifesto) keep the brand story for people who want it.

### How the desk works, in one breath

**Projects** are registered stores, one per app or repo. **Agents** are hired
seats with live shifts — a roster row, not proof a process is running.
**Delivery** is GitHub evidence, collected separately from execution.
**WorkLane** (work orders) and **WorkForce** (execution) stay separate
packages; BluePrint only maps what they report. Full vocabulary:
[docs/specs/SUITE_VOCABULARY.md](docs/specs/SUITE_VOCABULARY.md).

## Why

Agents are brilliant and unaccountable. Every vendor wants orchestration to
live inside its own runtime, in its own config format. Decisions evaporate in
chat windows. BluePrint is the opposite bet: coordination as **files you can
read**, work orders you can audit, and agents that **sign** what they do —
owned by you.

**WorkLane** tracks work orders. **WorkForce** runs hired agents.  
**BluePrint** is the map that ties the folder, the instructions, and the loop together.

## What's inside

Papers live on GitHub (links work from PyPI too):

| Document | What it is |
|---|---|
| [**CHARTER.md**](https://github.com/protocolcity/BluePrint/blob/main/CHARTER.md) | Protocol spec — workspace · project · work order · agent (same paper as [Charter](https://github.com/protocolcity/Charter)) |
| [**COVENANT.md**](https://github.com/protocolcity/BluePrint/blob/main/COVENANT.md) | Authority doctrine (You · session · agent) |
| [**MANIFESTO.md**](https://github.com/protocolcity/BluePrint/blob/main/MANIFESTO.md) | Why we built this — brand voice |
| [**FOUNDING.md**](https://github.com/protocolcity/BluePrint/blob/main/FOUNDING.md) | Paper path: templates + compliance (no install) |
| [**RUNNING.md**](https://github.com/protocolcity/BluePrint/blob/main/RUNNING.md) | Day-to-day loops after setup |
| [**templates/**](https://github.com/protocolcity/BluePrint/tree/main/templates) | Fill-in-the-blank instruction files |
| [**example/**](https://github.com/protocolcity/BluePrint/tree/main/example) | Minimal workspace (one root, one project, one agent) |
| [**docs/CLI_HANDOFF.md**](https://github.com/protocolcity/BluePrint/blob/main/docs/CLI_HANDOFF.md) | CLI session handoff — spec read order, lane locks, fence |

## The short version

A **workspace** is one root folder. Each **project** is a subfolder with
instructions agents must follow (`AGENTS.md`). Work moves as **work orders**.
Your **agents** are any vendor, each with a registered identity that signs
what it does. **Boundaries** say what agents may not touch.

A project is set up well when three things are true:

1. **Instructions exist** — an `AGENTS.md` at its root.
2. **Work is tracked** — a work order with clear scope.
3. **Agents sign** — every action carries a registered identity.

Start with one project, one agent, one instruction file —
[FOUNDING.md](https://github.com/protocolcity/BluePrint/blob/main/FOUNDING.md)
walks the paper path; the install path above opens the **map** so you can see
the same structure visually.

## Report a bug

**Local only** until you paste. No telemetry.

### You alone

```bash
blueprint feedback --write
# or: blueprint feedback ~/my-workspace --open
```

Paste into
[BluePrint issues](https://github.com/protocolcity/BluePrint/issues/new/choose).

### With any AI host (Cursor / Claude / Grok)

1. Run `blueprint feedback --agent-prompt` and paste that ritual into chat  
   (or: “File a BluePrint beta bug — run `blueprint feedback` and fill symptoms”).
2. Agent gathers versions/doctor/logs, redacts secrets, fills Summary/Expected/Actual.
3. **You** paste the markdown into the issues URL. Agents do not post without you.

Rough routing:

| Symptom | Board |
|---|---|
| Overview / Map / setup / serve shell | [BluePrint issues](https://github.com/protocolcity/BluePrint/issues) |
| Work orders / `wl_*` / desk stores | [WorkLane issues](https://github.com/protocolcity/WorkLane/issues) |
| Hire / roster / agent daemon | [WorkForce issues](https://github.com/protocolcity/WorkForce/issues) |
| Formula only | [homebrew-tap](https://github.com/protocolcity/homebrew-tap/issues) |

## Status

**v0.1.50 public cut (pre-release).** Install path (Homebrew / PyPI) is live.
Suite UX is map-first and still sharpening. Expect the shell and ship words
to move quickly as first-user feedback lands. Release notes:
[docs/releases/0.1.50.md](docs/releases/0.1.50.md).

## License

[CC BY 4.0](https://github.com/protocolcity/BluePrint/blob/main/LICENSE) — use it, adapt it, build on it, with attribution.
