Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stigmem_plugin_multi_tenant-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stigmem_plugin_multi_tenant-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file stigmem_plugin_multi_tenant-0.1.0.tar.gz.

File metadata

File hashes

Hashes for stigmem_plugin_multi_tenant-0.1.0.tar.gz
Algorithm Hash digest
SHA256 883ce1e6f1ca8f0c08338fa66b64e1e2ea950057a5a646e2910310b564f0c408
MD5 7b58cbb4689143d81f7cd5135e93cf5d
BLAKE2b-256 a407ad9904358b8b0af2e6614b5161779fac1f0d10322799a3379c83ee1a601b

See more details on using hashes here.

File details

Details for the file stigmem_plugin_multi_tenant-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for stigmem_plugin_multi_tenant-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08833f67fbfc6b3eeb54c8db6ad1d7650eee37e92a54c5fb7d3cb56f8b9139cf
MD5 a251e7bfa369a5354c404a90c1baabce
BLAKE2b-256 9bc8db5128f5cd35ad61f6ab5b926bb0a15cac1459678da06a9970b0fce33fda

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page