Metadata-Version: 2.4
Name: journey-asd
Version: 6.0.1
Summary: Journey: delivery automation for Claude Code. Coordinates parallel AI agents with review gates and an audit trail.
License: Proprietary
Project-URL: Homepage, https://www.maestrodevs.com
Project-URL: Documentation, https://docs.maestrodevs.com
Project-URL: Support, https://www.maestrodevs.com/contact/
Requires-Python: >=3.14
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: jinja2>=3.1.6
Requires-Dist: jsonschema>=4.26.0
Requires-Dist: rich>=15.0.0
Requires-Dist: tzdata>=2026.6
Provides-Extra: dev
Requires-Dist: pytest>=9.2.0; extra == "dev"
Requires-Dist: pytest-cov>=7.1.0; extra == "dev"
Requires-Dist: pytest-mock>=3.17.0; extra == "dev"
Requires-Dist: pytest-timeout>=2.4.0; extra == "dev"
Requires-Dist: pytest-xdist>=3.8.0; extra == "dev"
Requires-Dist: httpx>=0.28.1; extra == "dev"
Requires-Dist: fastapi>=0.163.1; extra == "dev"
Requires-Dist: uvicorn[standard]>=0.54.0; extra == "dev"
Requires-Dist: build>=1.6.1; extra == "dev"
Requires-Dist: setuptools>=84.2.1; extra == "dev"
Requires-Dist: wheel; extra == "dev"
Provides-Extra: hub
Requires-Dist: fastapi>=0.163.1; extra == "hub"
Requires-Dist: uvicorn[standard]>=0.54.0; extra == "hub"
Provides-Extra: azure-secrets
Requires-Dist: azure-keyvault-secrets>=4.12.0; extra == "azure-secrets"
Requires-Dist: azure-identity>=1.27.0; extra == "azure-secrets"
Provides-Extra: azure-anchor
Requires-Dist: azure-storage-blob>=12.31.1; extra == "azure-anchor"
Requires-Dist: azure-identity>=1.27.0; extra == "azure-anchor"
Provides-Extra: aws-secrets
Requires-Dist: boto3>=1.44.3; extra == "aws-secrets"
Provides-Extra: aws-anchor
Requires-Dist: boto3>=1.44.3; extra == "aws-anchor"
Provides-Extra: aws-audit-signing
Requires-Dist: boto3>=1.44.3; extra == "aws-audit-signing"
Provides-Extra: audit-signing-local
Requires-Dist: cryptography>=50.0.2; extra == "audit-signing-local"
Dynamic: license-file

# Journey — Delivery automation

> Delivery automation for Claude Code. Coordinate parallel AI squads (2 on the
> free Community tier, up to 5 on Pro, Team and Enterprise) across complex software projects — with role-based specialisation, dependency ordering, token
> tracking, backup/restore, and full audit trails.

**Website:** [maestrodevs.com](https://www.maestrodevs.com) ·
**Documentation:** [docs.maestrodevs.com](https://docs.maestrodevs.com) ·
**Install:** `pip install journey-asd==6.0.1`

Journey is a product of Tech 127. It was previously published as Maestro (`maestro-fleet`).

---

## What It Does

Journey turns Claude Code into a coordinated team. You define work as **Orders** (discrete tasks),
group them into **Sprints**, and the Dispatcher launches specialised **Squads** in
parallel (2 on the free Community tier, up to 5 on Pro, Team and Enterprise) — each running as an independent Claude Code session in its own role.

```
Human (You)  ->  LEAD (Claude, interactive)  ->  Dispatcher (asd dispatch)  ->  Squads (2-5)
```

In the built-in **nautical persona** (the default), this reads:

```
Captain (You)  ->  Quartermaster (Claude)  ->  Fleet Admiral (asd dispatch)  ->  5 Crews
```

The nautical persona is purely stylistic — same mechanics, different vocabulary. Run
`asd docs personas` after installing for the persona reference and switching instructions.

### Roles

| Code | Name | Nautical alias | Focus | Default model |
|------|------|---------------|-------|---------------|
| PLN | Planner | Navigator (NAV) | Planning & architecture | Opus 5.5 |
| BLD | Builder | Shipwright (SHP) | Development & implementation | Sonnet 5.5 |
| TST | Tester | Bosun (BOS) | QA & testing | Sonnet 5.5 |
| DOC | Docs writer | Scribe (SCR) | Documentation | Sonnet 5.5 |
| SEC | Security reviewer | Lookout (LKT) | Security & investigation | Sonnet 5.5 |
| REL | Releaser | Coxswain (COX) | Integration & deployment | Opus 5.5 |

**Available models.** Any role or order can run on any model Journey supports:
Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5, the current model of each family. An older model ID is
refused with the ID that replaces it. Choose a non-default
with a per-order `model` field or a role overlay (`.mso/config/roles/<CODE>.md`);
run `asd docs config-models` after installing for the full guide.

---

## Installation

1. Install Journey from PyPI:

   ```bash
   pip install journey-asd==6.0.1
   ```

   To pin a specific version, append e.g. `==5.12.1`. The Python import name is `maestro`
   regardless (so `from maestro import ...` keeps working).

2. Activate your licence (optional — skip this step to run on the free Community tier):

   ```bash
   asd licence activate <YOUR-KEY>
   ```

   Keys are issued with your subscription. For licensing enquiries, contact
   [maestrodevs.com/contact](https://www.maestrodevs.com/contact/).

3. Verify the CLI is installed (and, if you activated a key, that the licence is active):

   ```bash
   asd version
   asd licence status
   ```

The wheel is openly distributed. With no licence key, Journey runs at the free Community tier
(permanent, not a trial); an activated key unlocks the paid tiers.

### Tiers

| | Community (no key, free) | Pro | Team | Enterprise |
|---|---|---|---|---|
| Concurrent crews | 2 | up to 5 | up to 5 | up to 5 |
| Registered projects | 1 | unlimited | unlimited | unlimited |
| Roles | PLN, BLD, TST | all | all | all |
| Resident LEAD, chart authoring, Hub | — | ✓ | ✓ | ✓ |
| Shared artefact mode | — | — | ✓ | ✓ |
| Governed mode, signed policy bundles | — | — | — | ✓ |

Run `asd docs licence` for the full reference. A request for more crews than your tier allows is
clamped to the tier limit with a message.

**Upgrading, uninstalling, or seeing a stale/inconsistent version?** Run
`asd docs install-upgrade-uninstall` — it covers moving from the 5.x package names (`maestro` and
`maestro-fleet`, both frozen at 5.24.x) to `journey-asd`, user-vs-system scope shadowing, `PATH` and
Scripts issues, and the full uninstall procedure.

**Restricted-egress or offline operators:** run `asd docs air-gapped` for the staging-machine
activation pattern and the egress allowlist.

Then scaffold a workspace:

```bash
asd init --project MYPROJECT --directory my-workspace
cd my-workspace
asd dispatch --max-crews 3
```

For remote control, use Claude Code Remote Control on your LEAD session (every tier), or the Hub from a mobile browser over a tailnet or VPN (Pro+; see the Hub guide's Mobile access section). The Slack bridge was removed in 6.0.0.

---

## Quickstart

```bash
pip install journey-asd==6.0.1
asd quickstart
```

`asd quickstart` verifies your environment, scaffolds a demo workspace, dispatches a three-order
demo sprint, and prints a summary — all in one command. Full guide: `asd docs quickstart`.

For deeper configuration, prerequisite validation, project analysis, and CI-friendly `--check`
mode: `asd setup` — see `asd docs setup`.

---

## Personas

Journey ships with five built-in personas: `default`, `nautical`, `game-rangers`, `navy-seals` and
`storm-troopers`. With nothing set, the `default` persona is used. Try one for a single command with
the `MAESTRO_PERSONA` environment variable:

```bash
MAESTRO_PERSONA=navy-seals asd status --once
```

Or set it permanently for a project (or `--device` for every project on this machine):

```bash
asd settings set persona nautical
```

Full persona reference: `asd docs personas`.

---

## CLI Reference

```
# Dispatch & monitoring
asd dispatch      [--max-crews N] [--cleanup] [--stagger-delay S] [--timeout M] [--max-turns N]
asd status        [--once] [--compact]
asd doctor        [--json] [--all-projects] [--explain]                    # read-only fleet self-check
asd hub           start [--port N] [--open] | stop | status                # multi-workspace dashboard (Pro/Team/Enterprise)
asd cleanup
asd squad         --crew {1-5} [--status | --watch | --cleanup]            # alias: crew
asd verify        [--voyage VOY-ID] [--skip-tests]

# Sprints, orders & review
asd sprint        create "Title" | list | status VOY-ID | reconcile [--dry-run]   # alias: voyage
asd order         retry <ID> | skip <ID> | unskip <ID> | list
asd bug           "description" [!high]
asd review        queue | show | approve | revise --notes T | reject --notes T   <ORDER-ID>

# Roles
asd roles         list | show CODE [--core|--overlay-only|--json] | validate | diff CODE | migrate-paths

# Workspace lifecycle
asd init          --project ACRONYM [--directory PATH]
asd quickstart
asd setup         [--check]
asd update        [--dry-run] [--force] [--directory PATH]
asd config        models
asd projects      list | remove

# Usage / security / identity / audit (every tier; identity + audit switch on from workspace.json)
asd usage         [--summary | --voyage VOY-ID | --order ID | --report]
asd security      scan [--json --severity-threshold HIGH] | review [--against REF --staged]
asd identity      init | add-user | add-group | user|group|acl <add|remove|list> | show
asd audit         anchor [--auto]
asd secrets       doctor | rotate --key KEY | scrub | list
asd data-flow

# Licence / MCP / hooks / backup
asd licence       activate <KEY> | status | deactivate | revalidate       # alias: license
asd mcp           list | add | remove | validate | show
asd hooks         install | uninstall
asd backup        [--project ACRONYM] [--list]
asd restore       BACKUP_FILE [--force] [--dry-run]
asd version
```

Run `asd <command> --help` for the full flag set per command, or `asd docs cli-reference` for the
complete reference.

---

## Documentation

**Every documentation page ships inside the wheel itself.** After installing, run `asd docs` to
list them all, or `asd docs <topic>` to read one offline — no need to be online.

| Topic | Audience |
|-------|----------|
| `asd docs start-here` | New users — where to begin |
| `asd docs quickstart` | New users — 5-minute guide to first dispatch |
| `asd docs getting-started` | New users — full installation and setup walkthrough |
| `asd docs install-upgrade-uninstall` | All users — install, upgrade, and uninstall procedures |
| `asd docs personas` | All users — persona system reference |
| `asd docs chain-of-command` | Technical — the 3-layer chain spec |
| `asd docs licence` | All users — `asd licence` activate / status / deactivate / revalidate |
| `asd docs air-gapped` | Restricted-egress / offline operators |
| `asd docs cli-reference` | All users — complete command reference |
| `asd docs operator-guide` | All users — daily operations, scaling, cost management |
| `asd docs roles-guide` | All users — understanding squad roles |
| `asd docs orders-and-voyages` | All users — creating and managing work |
| `asd docs troubleshooting` | All users — common failures and fixes |
| `asd docs support` | All users — how to get help |
| `asd docs hub` | Pro / Team / Enterprise — the multi-workspace dashboard |

The hosted documentation site is at [docs.maestrodevs.com](https://docs.maestrodevs.com).

---

## Enterprise Security

Journey ships an enterprise control set: identity + capability ACL, a hash-chained audit trail
with external anchoring, a secrets-provider abstraction (Azure Key Vault / AWS Secrets Manager /
HashiCorp Vault / 1Password / OS keyring / env), a data-residency egress filter (permissive /
restrictive / air-gapped / proxied), GDPR-aligned Article 15/17/18 rights tooling, and operator
role separation.

Journey runs entirely on your own infrastructure — no Journey-operated servers, no telemetry,
bring-your-own AI key. Security posture is reviewed on a rolling basis, and open findings are
published transparently rather than hidden.

Trust posture, threat model, and compliance mapping:
[maestrodevs.com/trust](https://www.maestrodevs.com/trust/).

**Report vulnerabilities confidentially** via the contact form at
[maestrodevs.com/contact](https://www.maestrodevs.com/contact/) — please do not report security
issues on any public tracker.

---

## Workspace Layout

In your projects, Journey artefacts live under `.mso/` (scaffolded by `asd init`):

```
my-project/
├── .mso/             # Journey artefacts
│   ├── claude.md     # Layer 2: Journey orchestration context
│   ├── config/       # workspace.json, role config
│   ├── orders/       # active/, complete/, failed/
│   ├── voyages/      # active/, complete/
│   └── queues/       # orders/, bugs/, security/, ...
└── CLAUDE.md         # Layer 1: project architecture, stack, conventions
```

---

## Glossary

Journey uses role-neutral terminology by default. The built-in nautical persona adds a layer of
seafaring vocabulary. Here is the full mapping:

| Canonical term | Nautical persona | Plain description |
|----------------|-----------------|-------------------|
| **Human** | Captain | The person directing the squads |
| **LEAD** | Quartermaster | Your AI partner in the main session — plans, delegates, advises |
| **Dispatcher** | Fleet Admiral | The automation layer that launches and manages squads |
| **Squad** | Crew | An independent Claude Code session executing a single order |
| **PLN** | Navigator (NAV) | Plans, writes architecture notes, breaks requirements into orders |
| **BLD** | Shipwright (SHP) | Implements features and fixes bugs |
| **TST** | Bosun (BOS) | Tests, reviews, and validates work |
| **DOC** | Scribe (SCR) | Creates and updates documentation |
| **SEC** | Lookout (LKT) | Audits code for vulnerabilities and risks |
| **REL** | Coxswain (COX) | Handles deployment, CI/CD, and release |
| **Order** | Order | A single unit of work assigned to one squad |
| **Sprint** | Voyage | A group of related orders, tracked together |
| **Requirement** | Requirement | High-level description of what needs to happen |
| **Dispatch** | Dispatch | Starting the fleet to process queued orders |

---

## Requirements

- Python 3.14 only (CPython; one wheel, built for 3.14)
- Claude Code CLI installed and authenticated
- An Anthropic API key with access to Opus 5.5 and Sonnet 5.5 (the role defaults), plus any model you pin instead (for example Haiku 5.5);
  Fable 5.x where your plan includes it

---

## Licence

Proprietary — All Rights Reserved.

Journey is commercial software. Use is governed by the terms of the `LICENSE` file distributed
with the package. In summary:

- You may use the software for internal business purposes under the terms of the `LICENSE`.
- Redistribution, resale, sublicensing, and reverse engineering are strictly prohibited.
- All intellectual property rights remain with the licensor.

The published wheel is openly downloadable. Running with no licence key is the free Community tier
(limits above); a key unlocks Pro, Team or Enterprise.

For licensing enquiries, billing, or sales:
[maestrodevs.com/contact](https://www.maestrodevs.com/contact/).
