Experimental multi-tenant isolation plugin for Stigmem.
Project description
Stigmem Multi-Tenant Plugin
Experimental multi-tenant scoping plugin for Stigmem.
This package provides the stigmem-plugin-multi-tenant source package for
alpha validation. It registers through the stigmem.plugins entry point group
and is loaded by stigmem-node only when explicitly installed and configured by
an operator.
Status
Multi-tenant scoping remains experimental. Installing this package does not add
shared-node readiness to the supported default surface. Default installs
collapse callers into the default tenant unless the plugin is registered and
STIGMEM_MULTI_TENANT_ENABLED=true.
The package metadata is publication-shaped for the plugin readiness track, but
registry publication remains on hold until dry-run evidence and maintainer
clearance are recorded. See the feature record under features/multi-tenant/
for the current status, evidence, and security notes.
Installation
pip install --pre stigmem-node==0.9.0a8 stigmem-plugin-multi-tenant==0.1.0
Enable
Set the plugin gate environment variable to opt in:
export STIGMEM_MULTI_TENANT_ENABLED=1
The default install is inert; multi-tenant hook behavior only activates when
the package is installed, discovered through the stigmem.plugins entry point,
and the operator enables the gate. Until then callers continue to collapse into
the core default tenant boundary.
Disable
Unset the plugin gate environment variable, or set it to any value other than
1, true, yes, or on:
unset STIGMEM_MULTI_TENANT_ENABLED
The plugin returns to inert state at the next process start. No data migration is required; core tenant, scope, and audit isolation continues to hold.
Test
From a Stigmem repository checkout with development dependencies installed:
uv run pytest node/tests/plugins/test_multi_tenant_plugin_scaffold.py \
node/tests/plugins/test_multi_tenant_plugin_validation.py
The package itself ships no separate test tree; upstream plugin validation
lives in node/tests/plugins/.
Uninstall
pip uninstall stigmem-plugin-multi-tenant
Removing the package is sufficient. The gate environment variable becomes moot once the entry point is no longer discoverable.
Project Links
- Repository: https://github.com/eidetic-labs/stigmem
- Feature record: https://github.com/eidetic-labs/stigmem/tree/main/features/multi-tenant
- Plugin source: https://github.com/eidetic-labs/stigmem/tree/main/experimental/multi-tenant
- Issue tracker: https://github.com/eidetic-labs/stigmem/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stigmem_plugin_multi_tenant-0.1.0.tar.gz.
File metadata
- Download URL: stigmem_plugin_multi_tenant-0.1.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
883ce1e6f1ca8f0c08338fa66b64e1e2ea950057a5a646e2910310b564f0c408
|
|
| MD5 |
7b58cbb4689143d81f7cd5135e93cf5d
|
|
| BLAKE2b-256 |
a407ad9904358b8b0af2e6614b5161779fac1f0d10322799a3379c83ee1a601b
|
File details
Details for the file stigmem_plugin_multi_tenant-0.1.0-py3-none-any.whl.
File metadata
- Download URL: stigmem_plugin_multi_tenant-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08833f67fbfc6b3eeb54c8db6ad1d7650eee37e92a54c5fb7d3cb56f8b9139cf
|
|
| MD5 |
a251e7bfa369a5354c404a90c1baabce
|
|
| BLAKE2b-256 |
9bc8db5128f5cd35ad61f6ab5b926bb0a15cac1459678da06a9970b0fce33fda
|