rf-theia
A Robot Framework + TPT testing harness for Theia / Artheia: a reusable,
pip-installable library that drives the live supervisor, reads the Tracer.hh
feed, regression-tests the artheia generators, and asserts end-to-end signal
flow across Functional Clusters.
This repo is the harness only — the reusable library. The .robot scenarios
that test a specific Theia live in the consuming project (e.g. theia at
testing/scenarios/) and import this library as rf_theia.TheiaTestLibrary.
Install
Into the consuming workspace's venv:
pip install -e /path/to/rf-theia[mcp,dev]
# or, from a deb install: pip install --find-links /opt/theia/wheels rf-theia
Writing a scenario
The harness exposes one Robot library, rf_theia.TheiaTestLibrary — a single
entry point with prefixed keyword families (T Sup for the supervisor, T Sig
for signal/trace flow) plus direct TPT idioms:
*** Settings ***
Library rf_theia.TheiaTestLibrary
*** Test Cases ***
State machine reaches RUNNING
Load Rig central
Start State Machine sm
Emit Event sm Ready
Wait For State sm RUNNING within=5s
Assert Healthy sm within=10s
Verdict PASS
[Teardown] Tear Down Rig
Keywords cover: rig load/teardown, supervisor control (start/stop/restart
children, configure trace/log), state-machine drive (Emit Event,
Wait For State), and trace/signal assertions over the live Tracer.hh stream.
MCP server (Claude Code)
run_mcp.sh launches an MCP server exposing the harness — run_scenario,
list_scenarios, list_keywords, analyze_trace, … It resolves the consuming
repo's scenario tree from the environment:
| Var | Meaning | Default |
|---|---|---|
RF_THEIA_WORKSPACE |
the consuming workspace root (holds the .venv) |
the dir holding rf-theia/ |
RF_THEIA_SCENARIOS |
the .robot scenario tree |
$RF_THEIA_WORKSPACE/testing/scenarios |
Point the workspace's .mcp.json at rf-theia/run_mcp.sh.
Layout
rf_theia/
TheiaTestLibrary.py the single Robot library entry point
adapters/ supervisor gRPC, tracer JSONL decode, the MCP server
runtime/ testkit/ tpt_engine/ assessment/ space/
pyproject.toml the rf-theia package (console scripts: rf-theia-mcp)
run_mcp.sh MCP launcher (resolves the consuming repo's scenarios)
Consumed as a git submodule mounted at rf-theia/ in the umbrella repo.
License
Apache-2.0 — see LICENSE.
Metadata
Release files for rf-theia 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rf_theia-0.3.0.tar.gz | 73.3 kB | Without provenance | Details for rf_theia-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rf_theia-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for rf_theia-0.3.0-py3-none-any.whl |
Total release size: 161.6 kB
Release files / rf_theia-0.3.0.tar.gz
| Download URL | rf_theia-0.3.0.tar.gz |
|---|---|
| Size | 73.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78284c258ed7b93e45d4fc9bae0eeceb1576b3c655000e9e5674b50d478b0785
|
|
BLAKE2b-256 checksum How to use checksums |
1af1b5f5a31c16a6d14fc029daf32007e3562f9e91fa659f78f4986ceb51a13d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / rf_theia-0.3.0-py3-none-any.whl
| Download URL | rf_theia-0.3.0-py3-none-any.whl |
|---|---|
| Size | 88.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c259221bf6aa669dae70136ffee995b5228e0617f46b7fc93ce04d0531c5b6cd
|
|
BLAKE2b-256 checksum How to use checksums |
2086c9c0f7af893a0872f72f6cca9b9e7a72e010c6bead9fec2769c04e502cf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for rf-theia 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.