Metadata-Version: 2.5
Name: heinzel-acme
Version: 0.4.0
Summary: ACME, a made-up company: the root layer of the reference company.
Project-URL: Source, https://github.com/helmut-hoffer-von-ankershoffen/heinzel-acme
Project-URL: Changelog, https://github.com/helmut-hoffer-von-ankershoffen/heinzel-acme/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/helmut-hoffer-von-ankershoffen/heinzel-acme/issues
Author-email: Helmut Hoffer von Ankershoffen <helmuthva@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: heinzel,heinzel-plugin,heinzelmaennchen
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: heinzel<1,>=0.7.2
Description-Content-Type: text/markdown

# ACME for Heinzelmännchen

<!-- badges:start -->
[![CI](https://img.shields.io/github/actions/workflow/status/helmut-hoffer-von-ankershoffen/heinzel-acme/ci.yml?branch=main&label=CI)](https://github.com/helmut-hoffer-von-ankershoffen/heinzel-acme/actions/workflows/ci.yml) [![Coverage](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/helmut-hoffer-von-ankershoffen/heinzel-acme/python-coverage-comment-action-data/endpoint.json)](https://github.com/helmut-hoffer-von-ankershoffen/heinzel-acme/tree/python-coverage-comment-action-data) [![CodeQL](https://img.shields.io/github/actions/workflow/status/helmut-hoffer-von-ankershoffen/heinzel-acme/codeql.yml?branch=main&label=CodeQL)](https://github.com/helmut-hoffer-von-ankershoffen/heinzel-acme/actions/workflows/codeql.yml) [![Release](https://img.shields.io/github/v/release/helmut-hoffer-von-ankershoffen/heinzel-acme?sort=semver)](https://github.com/helmut-hoffer-von-ankershoffen/heinzel-acme/releases) [![Python](https://img.shields.io/badge/python-3.12%2B-blue)](pyproject.toml) [![Quality Gate Status](https://img.shields.io/sonar/quality_gate/helmut-hoffer-von-ankershoffen_heinzel-acme?server=https://sonarcloud.io&label=Quality%20Gate%20Status)](https://sonarcloud.io/summary/overall?id=helmut-hoffer-von-ankershoffen_heinzel-acme) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=helmut-hoffer-von-ankershoffen_heinzel-acme&metric=security_rating)](https://sonarcloud.io/summary/overall?id=helmut-hoffer-von-ankershoffen_heinzel-acme) [![License: MIT](https://img.shields.io/badge/license-MIT-brightgreen)](LICENSE)
<!-- badges:end -->

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/helmut-hoffer-von-ankershoffen/heinzel/main/docs/assets/hero-dark.svg">
    <img src="https://raw.githubusercontent.com/helmut-hoffer-von-ankershoffen/heinzel/main/docs/assets/hero-light.svg" alt="A small crowd of Heinzelmännchen helpers walking together" width="860">
  </picture>
</p>

**ACME is a fictional company you can install, explore and copy for your own team.** It is the reference company for
[Heinzelmännchen](https://github.com/helmut-hoffer-von-ankershoffen/heinzel), the open-source crew of AI helpers that
drafts your team's busywork and asks before anything leaves your machine. Four plugins (`heinzel-acme` and its three
layers) give a made-up team its company, organization, site and team layers, with a weekly-report playbook that drafts
locally for you to edit.

```sh
uvx heinzel@latest
```

[**Explore ACME on the plugin page →**](https://heinzel.team/catalog/heinzel-acme-aa9ce1cf07/)
· [Install the team stack](#install-and-look) · [Port it to your company](#port-it-to-your-company)

[![The workflow view in ACME's installed theme: connected systems, discovered assets and the weekly-report contract they feed, drawn as a graph](docs/assets/screenshots/company-workflow.png)](https://heinzel.team/catalog/heinzel-acme-aa9ce1cf07/)

*The running app in the ACME theme, with fictional data. Accounts are
unconnected; the drafts you see are saved locally and sent nowhere. [View the full gallery and soundscape →](https://heinzel.team/catalog/heinzel-acme-aa9ce1cf07/)*

<table><tr><td width="96"><img src="https://raw.githubusercontent.com/helmut-hoffer-von-ankershoffen/heinzel/e6c2e707726741e28ecc9360a3683fc00e968dfb/docs/assets/website/helper-draftkeeper.svg" width="72" alt="Ada, a Heinzelmännchen with a teal hat and rose shirt, carrying a draft"></td><td>

**Ada:** "Here is how the pieces connect." Installing the Checkout team brings its Payments organization, Lisbon site
and ACME company with it, stacked from general to specific.

</td></tr></table>

- **Explore a complete team stack:** layers, recommended integrations, roles and calendars.
- **Try a weekly-report playbook:** templates and contracts that a team can adapt.
- **Make it yours:** use the [porting runbook](docs/PORT_TO_YOUR_COMPANY.md) as a worked example for a private company repository.

Everything here is fiction: ACME (acme.example), its people, its teams and its documents. It follows the core's
[layer model](https://github.com/helmut-hoffer-von-ankershoffen/heinzel/blob/main/docs/adr/0040-layers-and-playbooks-are-plugins.md)
and [plugin playbooks](https://github.com/helmut-hoffer-von-ankershoffen/heinzel/blob/main/docs/adr/0037-plugins-bring-playbooks.md).

## Gallery

Real captures with fictional demonstration data and unconnected accounts.

<table><tr>
<td width="50%" valign="top"><a href="https://heinzel.team/catalog/heinzel-acme-aa9ce1cf07/"><img src="docs/assets/screenshots/theme-light.png" alt="The applied ACME theme in light mode" width="100%"></a><br><sub>The applied ACME theme in light mode.</sub></td>
<td width="50%" valign="top"><a href="https://heinzel.team/catalog/heinzel-acme-aa9ce1cf07/"><img src="docs/assets/screenshots/theme-dark.png" alt="The same ACME workflow in dark mode" width="100%"></a><br><sub>The same workflow in dark mode.</sub></td>
</tr></table>

<details>
<summary>See the CLI output</summary>

[![The ACME company, org, site and team stack in the terminal](docs/assets/screenshots/cli-stack.png)](https://heinzel.team/catalog/heinzel-acme-aa9ce1cf07/)

*The real company, org, site and team stack, with clearly named offline-demo adapters.*

</details>

[View the full gallery on the plugin page →](https://heinzel.team/catalog/heinzel-acme-aa9ce1cf07/)

## The layers

<details>
<summary>Layer dependency diagram</summary>

```mermaid
flowchart TB
    acme["<b>acme</b> · company<br/>capability bindings (gh, acli, gws, Gmail, Zoom summaries)<br/>roles tech-lead, report-owner<br/>hz acme seed (rehearsal only)"]
    payments["<b>acme-payments</b> · org<br/>playbook: the okr asset type"]
    lisbon["<b>acme-lisbon</b> · site<br/>the site calendar: time zone, working hours, meeting rhythm"]
    checkout["<b>acme-payments-checkout</b> · team<br/>playbook: the weekly report<br/>(asset types, hints, template contract)"]
    acme --> payments
    acme --> lisbon
    payments --> checkout
    lisbon -. site .-> checkout
```

</details>

Each box is a plugin, named after its path from the root (`heinzel-<name>`). A layer declares its parent and, for a
team, its site; Heinzelmännchen stacks a person's layers **general to specific**: for Checkout that is `acme`, then
`acme-payments` and `acme-lisbon`, then `acme-payments-checkout`. A more specific layer refines a more general one,
and nothing any layer brings becomes your configuration until you accept it (`hz setup`).

| Plugin | Layer | What it brings |
| --- | --- | --- |
| [`heinzel-acme`](src/heinzel_acme/) | company | Bindings for code host (GitHub, `gh`), tracker (Jira, `acli`), documents, calendar and mail (Google Workspace, `gws`) and meetings (Zoom's summary e-mails), offered by `hz setup acme`; roles; a doctor check per binding; `hz acme layers`; `hz acme seed` |
| [`heinzel-acme-payments`](plugins/heinzel-acme-payments/) | org | A playbook with the `okr` asset type: the org's quarterly OKR document |
| [`heinzel-acme-lisbon`](plugins/heinzel-acme-lisbon/) | site | The site calendar as data (`hz acme-lisbon calendar`): Europe/Lisbon, 09:00 to 18:00, stand-up, planning, demo, the Friday 17:00 report deadline |
| [`heinzel-acme-payments-checkout`](plugins/heinzel-acme-payments-checkout/) | team | The weekly report playbook: asset types (weekly report document, engineering tracker, tracker project, code repository) with discovery hints, and the template contract `acme-payments-checkout:weekly-report`, a draft by hand, schedulable for Friday 17:00 |
| [`heinzel-acme-connectors`](plugins/heinzel-acme-connectors/) | none | ACME's own connectors: an adapter for every connector capability (calendar, mail, documents, tracker, chat, meetings, code host, directory) on dummy data, shaped for a company MCP gateway; replace one file to reach real tools |

## Install and look

You need Heinzelmännchen first. One command installs the app with its default plugins and opens it:

```sh
uvx heinzel@latest
```

No uv yet? The guided installer sets it up first:

```sh
curl -LsSf https://heinzel.team/install.sh | sh
```

Supported on **macOS and Linux**; Windows may work, but is not supported. Details: the
[standard app installation guide](https://heinzel.team/guides/install/).

In a second terminal, add the Checkout team. Its layers come with it:

```bash
hz system plugin add "git+https://github.com/helmut-hoffer-von-ankershoffen/heinzel-acme#subdirectory=plugins/heinzel-acme-payments-checkout" --confirm
```

Then look around:

```bash
hz system layer list        # the tree, from the core
hz system layer show        # your stack: acme → acme-payments + acme-lisbon → acme-payments-checkout
hz acme layers              # the same tree as ACME declares it, on any core
hz acme info                # the bindings ACME recommends and how they stand on this machine
hz system doctor            # which adapter plugins and logins are missing
hz heinzel playbooks       # what each layer's playbook offers
hz setup acme               # accept the bindings you want, one by one
hz acme-lisbon calendar     # the site's week, at the site and on this machine
```

The first-party adapter plugins the bindings name are separate: use `hz system plugin add github --confirm` (or
`atlassian`, `zoom`, `google` in place of `github`), each with its vendor CLI logged in as you; `hz system doctor` lists what is missing with the command
that fixes it.

## The weekly report

[![A saved weekly-report draft, listed in the app's terminal and ending: fictional local demonstration, review before sharing](plugins/heinzel-acme-payments-checkout/docs/assets/screenshots/draft-in-terminal.png)](https://heinzel.team/catalog/heinzel-acme-payments-checkout-8a7d294621/)

*A locally saved fictional draft from a deterministic demo runner. [See the Checkout gallery →](https://heinzel.team/catalog/heinzel-acme-payments-checkout-8a7d294621/)*

<table><tr><td width="96"><img src="https://raw.githubusercontent.com/helmut-hoffer-von-ankershoffen/heinzel/e6c2e707726741e28ecc9360a3683fc00e968dfb/docs/assets/website/helper-reviewer.svg" width="72" alt="Otto, an old Heinzelmännchen with a slate hat and a long white beard"></td><td>

**Otto:** "A first draft. You decide what stays." The report is saved on your machine; nothing is posted or sent for you.

</td></tr></table>

```bash
hz heinzel new weekly-report --template acme-payments-checkout:weekly-report \
  --asset weekly-report=<doc id> --asset engineering-tracker=<sheet id> \
  --asset tracker-project=CHK --asset code-repo=<owner>/acme-checkout
hz heinzel wake weekly-report --dry-run     # the inputs, fetched through gh, acli and gws; no model run, no cost
hz heinzel wake weekly-report               # the draft, saved locally for you to edit and send
```

To try it against a real (trial) world, [docs/REHEARSAL.md](docs/REHEARSAL.md) walks a manager and an engineer through
it on two machines, with `hz acme seed` creating the ACME world in your own trial accounts.

## Port it to your company

[docs/PORT_TO_YOUR_COMPANY.md](docs/PORT_TO_YOUR_COMPANY.md) is the runbook a coding agent (or you) follows to create a
private `heinzel-<company>` repository with the same shape: what to rename, how to bind your company's own providers
through a private layer, and what to verify first. This repository plus that runbook is the hand-off.

## Compatibility

Each plugin declares its supported SDK range in its project metadata. The development lock records the SDK used by
tests; users install the standard app without selecting an SDK version. No unreleased Core checkout is required.
Plugin releases are independent of Core. An explicitly selected plugin tag or commit stays pinned when hz updates.

## Theme

```sh
hz system theme use acme
```

The `acme` theme ([`src/heinzel_acme/themes/acme.toml`](src/heinzel_acme/themes/acme.toml)) is deep teal on warm
off-white, slate at night, with ACME's logo in [`themes/logo/`](src/heinzel_acme/themes/logo/): a peak shaped like an
"A" standing on an anvil's base, hand-written SVG, teal `#0f766e` in light mode and `#2dd4bf` in dark mode.

## Sound

The plugin offers the [requested YouTube video](https://www.youtube.com/watch?v=t9PF00M2yDY) as the `acme`
soundscape. It pairs only with the ACME theme. It uses the core's privacy-enhanced player, with no downloaded or
bundled media; installation leaves sound off, and the person still presses **Play** in the web player.

```sh
hz system sound list
hz system theme use acme
hz system config set system.sound.follow_theme true
hz system sound list       # effective: acme
```

For a direct choice, or to turn sound off:

```sh
hz system config set system.sound.follow_theme false
hz system sound use acme
hz system sound use off
```

## Develop

```bash
make setup     # dependencies, pinned tools, git hooks
make check     # lint, types, unit and integration tests of all five plugins (offline)
make test-e2e  # installs Heinzelmännchen with uv and adds the team plugin from this checkout
```

See the [threat model](docs/SECURITY_REVIEW.md) for what the plugins read, write and send.
Run `make setup` before the PR or release helpers. Their direct tool invocations reuse the installed environment;
delegated checks, fixes and Git hooks retain their own dependency installation and build steps.

Read [AGENTS.md](AGENTS.md) first. The plugins are one uv workspace: the company layer at the root, the others in
`plugins/`, released together at one version. Tests use fakes and never reach a network; `hz acme seed` refuses to
run the real CLIs inside a test session.

## Release

Actions → **Release** → Run workflow opens a release pull request; merging it tags and publishes all five plugins. The
version comes from conventional commits, the changelog from git-cliff. `main` changes only through pull requests.

This repository was generated from Heinzelmännchen's copier template; `make update-template` pulls in its latest
standards, tooling and CI.
