Skip to main content

Experimental time-travel query plugin for Stigmem.

Project description

Stigmem Time-Travel Plugin

Experimental time-travel query plugin for Stigmem.

This package provides the stigmem-plugin-time-travel 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

Time-travel queries remain experimental. Installing this package does not add historical query behavior to the supported default surface. Default Stigmem installs reject as_of requests unless the plugin is registered and the operator enables the relevant gates.

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/time-travel/ for the current status, evidence, and security notes.

Installation

pip install --pre stigmem-node==0.9.0a8 stigmem-plugin-time-travel==0.1.0

Enable

Set the plugin gate environment variable to opt in:

export STIGMEM_TIME_TRAVEL_ENABLED=1

The default install is inert; time-travel hook behavior only activates when the package is installed, discovered through the stigmem.plugins entry point, and the operator enables the gate. Fact-query and recall as_of paths remain separately gated by STIGMEM_TIME_TRAVEL_ALLOW_FACT_QUERY_AS_OF and STIGMEM_TIME_TRAVEL_ALLOW_RECALL_AS_OF.

Disable

Unset the plugin gate environment variable, or set it to any value other than 1, true, yes, or on:

unset STIGMEM_TIME_TRAVEL_ENABLED

The plugin returns to inert state at the next process start. No data migration is required; core scope, tenant, and audit enforcement continues to hold.

Test

From a Stigmem repository checkout with development dependencies installed:

uv run pytest node/tests/plugins/test_time_travel_plugin_scaffold.py \
  node/tests/plugins/test_time_travel_plugin_validation.py

The package itself ships no separate test tree; upstream plugin validation lives in node/tests/plugins/.

Uninstall

pip uninstall stigmem-plugin-time-travel

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_time_travel-0.1.0.tar.gz (7.7 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_time_travel-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for stigmem_plugin_time_travel-0.1.0.tar.gz
Algorithm Hash digest
SHA256 597147022fb0730a989c9d885450c7c4c4242068c85a6a26086c1c2c7e932c04
MD5 2a9ec7ac7a79e545cbe2c30861768ed8
BLAKE2b-256 6c3e429d2d92b9045c6c074b40ee54090b422236d528df4b1b329983964e2c59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stigmem_plugin_time_travel-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b218a883a9dad3afbddbceac1705438ed991e0bac5865153321f44513e446c7
MD5 3b568239e98cf7403b8b19020ccd0ae1
BLAKE2b-256 8a4095b41b691b2be0286c78d8cea5c17065c34155ba59e6a27ead9cf8232a18

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