Skip to main content

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

Metadata

Release files for stigmem-plugin-multi-tenant 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stigmem-plugin-multi-tenant 0.1.0
File Size Uploaded
stigmem_plugin_multi_tenant-0.1.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stigmem-plugin-multi-tenant 0.1.0
File Interpreter ABI Platform
stigmem_plugin_multi_tenant-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / stigmem_plugin_multi_tenant-0.1.0.tar.gz

Download URL stigmem_plugin_multi_tenant-0.1.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
883ce1e6f1ca8f0c08338fa66b64e1e2ea950057a5a646e2910310b564f0c408
BLAKE2b-256 checksum
How to use checksums
a407ad9904358b8b0af2e6614b5161779fac1f0d10322799a3379c83ee1a601b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / stigmem_plugin_multi_tenant-0.1.0-py3-none-any.whl

Download URL stigmem_plugin_multi_tenant-0.1.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08833f67fbfc6b3eeb54c8db6ad1d7650eee37e92a54c5fb7d3cb56f8b9139cf
BLAKE2b-256 checksum
How to use checksums
9bc8db5128f5cd35ad61f6ab5b926bb0a15cac1459678da06a9970b0fce33fda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page