architecture · git:20260521.b455a7c · 2026-05-21 · sha256 7bc2ddebc75ee94d

architecture git:20260521.b455a7cA

Immutable. This exact content is served forever at /api/v1/blob/7bc2ddebc75ee94d.

---
description: Architecture (entry points)
alwaysApply: true
---

<!-- AUTO-GENERATED by `bernstein agents-md sync` - DO NOT edit by hand. Source: AGENTS.md. -->

Top-level entry points exposed by the package:

| Command            | Purpose |
|--------------------|---------|
| `bernstein`        | bernstein.cli.main:cli |
| `bernstein-worker` | bernstein.core.worker:main |

**Back-compat aliases.** Legacy import paths (e.g. `bernstein.core.orchestrator`) are served by a `sys.meta_path` finder, not by physical shim files. The mechanism lives in `src/bernstein/core/__init__.py` as `_CoreRedirectFinder` driven by the `_REDIRECT_MAP` dict - add new aliases there rather than creating shim modules at the old path.