Code Craft AI TimeTravel Pod
The codecraftai-timetravel-pod is a Python package that provides time-travel debugging capabilities to applications. It introduces the concept of “named portals” that enable dynamic activation of different scopes of time-travel debugging. A developer places a portal in the form of a with scope into the code, associated with a uniquely named portal. When a thread enters the scope of the portal and the portal was activated by name early in the program’s startup, time-travel debugging is activated for that thread for the duration of the portal scope. This mechanism allows applications to run at full performance when portals are inactive while still capturing debug traces at runtime — and portals can be turned on and off at any time without restarting the application.
Highlights
Named-portal activation model with TimeTravelGateway, TimeTravelPortal, and a thread-safe portal registry.
Trace recording engine with TraceHookManager (wrapping sys.settrace), a TraceRecorder ABC, a hybrid struct``+``pickle serialization format, and a buffered writer.
Stream backends for file, TCP, and Unix-domain-socket destinations, resolved through a URI-scheme registry.
Remote control interface (TCP, JSON-lines) with token-based authentication, service registration, and heartbeat support.
Configuration-driven startup API and @trace_portal("name") convenience decorator.
Repository Structure
development/ - Runtime environment scripts.
repository-setup/ - Repository homing and setup scripts.
source/packages/ - Package source code.
source/tests/ - unittest-based tests.
specs/ - Requirements and design documentation organised by feature layer.
userguide/ - Standards, conventions, and documentation.
Environment Setup
When working in a Codex container:
./development/setup-agent-container
For local development:
./repository-setup/rehome-repository
./development/setup-envrionment
Running Tests
Activate the virtual environment:
source .venv/bin/activate
Run unittest tests:
python -m unittest discover -s source/tests -p "test_*.py"
Standards and Conventions
Naming conventions: userguide/10-02-naming-conventions.rst
Code organization: userguide/10-01-code-organization.rst
Coding standards: userguide/10-00-coding-standards.rst
Additional Resources
User guide entry point: userguide/userguide.rst
Feature specifications under specs/ are organised by layer (0-* core primitives, 1-* trace recording, 2-* stream backends, and so on).
Metadata
Release files for codecraftai-timetravel-pod 1.3.2
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 | |
|---|---|---|---|---|
| codecraftai_timetravel_pod-1.3.2.tar.gz | 37.1 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| codecraftai_timetravel_pod-1.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 86.5 kB
Release files / codecraftai_timetravel_pod-1.3.2.tar.gz
| Download URL | codecraftai_timetravel_pod-1.3.2.tar.gz |
|---|---|
| Size | 37.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d18ae96199bd205fe5645129b622c76c9d621a9d06e1c546197d1160f10c3b42
|
|
BLAKE2b-256 checksum How to use checksums |
b13d5fccbed6635e177272d105cf5c94e542474bc2107d6635af7b15160865ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 20, 2026.
Transparency logRelease files / codecraftai_timetravel_pod-1.3.2-py3-none-any.whl
| Download URL | codecraftai_timetravel_pod-1.3.2-py3-none-any.whl |
|---|---|
| Size | 49.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abf1b5fed4188bdc18a7ee29d700cb6539b6f0c7640ea0ceb204b12d5723a7c6
|
|
BLAKE2b-256 checksum How to use checksums |
87b68b9c6f9a2306257e2a7041b06ad3588cfa52a2f391747851925497f40af5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 20, 2026.
Transparency logSecurity for codecraftai-timetravel-pod 1.3.2
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for codecraftai_timetravel_pod-1.3.2.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 Oct 20, 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.