rulegrid-editor
Browse, edit and try a rulegrid policy in the browser, with one command:
uvx rulegrid-editor PROFILE
PROFILE is a profile directory, such as examples/rbr/profiles/default. The page mirrors the policy's concepts: its
profile (context and principles), its structure, its turn and response axes and their values, its tiers and their
grids of cells, its prohibitions and its lexicons. Every id links to its definition and previews it on hover.
- Document reads the policy as people do.
- Each concept's page edits it with forms built from the profile's JSON Schema; a tier's grid opens a cell's form.
The structure is read-only: edit
structure.yamland runrulegrid generate. - Changes compares the policy with git
HEAD, article by article and line by line. - YAML edits the files as text.
- The Try panel classifies a turn and a response, and shows the cell they land in, the nudge and the compliance.
Edits stay unsaved until Save (or Ctrl+S), which writes the files in place and keeps their comments. The server binds to loopback and has no authentication; do not expose it without an authenticated proxy.
The try panel classifies with --classifier, which reads its endpoint and key from the environment, as
rulegrid eval does. OpenRouter serves both built-in classifiers:
export RULEGRID_SYSTEMONE_URL=https://openrouter.ai/api RULEGRID_SYSTEMONE_KEY=$OPENROUTER_API_KEY
rulegrid-editor examples/rbr/profiles/default --classifier systemone:liquid/d1-ultra --threshold alert=0.2
export RULEGRID_LLM_URL=https://openrouter.ai/api/v1 RULEGRID_LLM_KEY=$OPENROUTER_API_KEY
rulegrid-editor examples/three_laws/profiles/default --classifier judge:openai/gpt-5-mini
Without one, the panel takes the values set by hand.
The page is Preact and htm, vendored in
static/vendor (7 KB gzipped): there is no build step and nothing to install from npm.
Metadata
Release files for rulegrid-editor 0.1.3
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 |
|---|---|---|---|---|
| rulegrid_editor-0.1.3.tar.gz | 35.9 kB | With provenance | Details for rulegrid_editor-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rulegrid_editor-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for rulegrid_editor-0.1.3-py3-none-any.whl |
Total release size: 77.3 kB
Release files / rulegrid_editor-0.1.3.tar.gz
| Download URL | rulegrid_editor-0.1.3.tar.gz |
|---|---|
| Size | 35.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a86afb1490e17918bea271643f336d32af2774b92b93bdb0fbf0a9efc83430b0
|
|
BLAKE2b-256 checksum How to use checksums |
c863b0da565aeee68fe2f848eae86de7e9052dd2090fbcbc650b134684438ddd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / rulegrid_editor-0.1.3-py3-none-any.whl
| Download URL | rulegrid_editor-0.1.3-py3-none-any.whl |
|---|---|
| Size | 41.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41b6ea011246c987100c108a3022540976be2eaa90f18aa40f457b918e5409a3
|
|
BLAKE2b-256 checksum How to use checksums |
07face2c60cb7de0736dfb5e30a0391098001e7af98bdfdbb3601021da5e137f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logSecurity for rulegrid-editor 0.1.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rulegrid_editor-0.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logA 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.