magogi/prod/: hrb-app-0.2.1 metadata and description
Magogi Foundation Hardware Resource Broker — GUI front-end for the mgf-hrb library.
| author | Bassam Alsanie, hrb-app contributors |
| description_content_type | text/markdown |
| license | MIT |
| license_file |
|
| metadata_version | 2.4 |
| project_urls |
|
| requires_dist |
|
| requires_python | >=3.13 |
Because this project isn't in the mirror_whitelist,
no releases from root/pypi are included.
| File | Tox results | History |
|---|---|---|
hrb_app-0.2.1-py3-none-any.whl
|
|
hrb-app — GUI front-end for mgf-hrb
Shape. Magogi Foundation consumer application. Federation pins declared in
pyproject.toml; pin-bump history indocs/inprogress/MGF_ADOPTION.md §4. Conformance level. L2 — Standard (declared; per-rule audit indocs/inprogress/MGF_STANDARDS_CONFORMANCE.md). Status.0.2.0— released (seeCHANGELOG.md). The GUI runs against a realmgf-hrbbroker: device tree (fd-driven subscription), capabilities, inspect, doctor, and an all-operators lease pane are all wired. SeeQUICKSTART.mdto launch it;STARTHERE.mdfor the deeper navigator.
A desktop GUI for the mgf-hrb Hardware Resource Broker. Renders the broker's device tree, leases, and operator surfaces (the equivalent of mgf-hrb scan / mgf-hrb doctor) for humans who don't want to drive the CLI.
Presentation layer: PySide6 (Qt 6) with qasync bridging Qt's event loop to asyncio. Multi-operator (multiple humans driving the same broker concurrently) is a day-1 design constraint — the broker is the single source of truth; the GUI is one of N clients. See docs/inprogress/PRESENTATION_LAYER_RESEARCH.md §0 for the decision and the discipline points that flow from it.
Roadmap. (Per-phase status + notes live in docs/inprogress/MGF_ADOPTION.md §3.)
- ✅ Phases 0–4 — federation scaffolding, presentation-stack decision (PySide6 + qasync),
mgf.common.bootstrap()wiring, typed exception tree, structured logging. - 🔄 Phase 5+ — feature uptake (now) — device-tree pane with fd-driven subscription, capabilities, inspect, doctor, all-operators lease pane all wired. Per-device operator actions (
Client.control()— bind/unbind driver, set_authorized, set_port_power) is the next surface. - ✅ CLI absorption — the embedded CLI from
mgf-hrb'ssrc/mgf/hrb/cli/now lives here atsrc/hrb_app/ui/cli/, reachable ashrb-app cli <subcommand>(scan / info / doctor / explain) orpython -m hrb_app.ui.cli <subcommand>.mgf-hrbships only a one-cycle deprecation banner pointing here and drops its CLI after 0.1.x, shrinking back to a pure SDK.
Quick start
git clone https://codeberg.org/magogi-admin/hrb-app.git
cd hrb-app && uv venv && uv pip install -e '.[dev]'
uv run hrb-app --socket /tmp/mgf-hrb.sock
Full setup (incl. the broker side, settings, what-you-see, troubleshooting) → QUICKSTART.md. Developer onboarding + AI-agent setup + federation discipline → STARTHERE.md.
Four green gates
ruff check src tests
mypy --strict src/
pytest --cov --cov-fail-under=80
lint-imports
Federation
This project depends on mgf-common and follows the Magogi engineering bar. For AI agents: run mgf-fed agents for the canonical federation briefing, then docs/CLAUDE.md for the project-specific Claude reference. (The federation CLI lives in mgf-fed[cli], a [dev] extra — mgf-common has been a pure library since 0.47.)
- Standards source-of-truth —
mgf-fed standards(any topic). - Conformance audit —
docs/inprogress/MGF_STANDARDS_CONFORMANCE.md. - Adoption tracker —
docs/inprogress/MGF_ADOPTION.md. - Friction →
FEEDBACK.md. Sibling-scoped friction (mgf-hrb,mgf-common) → the sibling'sFEEDBACK.md.
License
MIT.