v3.8.1 fixed-point reference and telemetry release
This patch retains the Phase 1–4 convergence and adds the deterministic, off-path Phase 5 fixed-point path reference oracle. It also makes the Browser render one active page at a time, removes overlapping idle polling and costly compositing, and adds an atomic workspace telemetry mount for a detached Browser process. Eaglegate and Trace Rank remain off the production request path with no canary, promotion, activation, execution, token-acceptance, or KV-commit authority.
v3.6.0 Foundation substrate
The source line retains fail-closed native ABI/lifecycle admission, strict checksum and UTF-8 truth, generation-bound handles, bounded C11 diagnostics, immutable packed reads, and exact x86-64/AArch64 semantics.
Current security contract
At-rest encryption is not implemented. Requests using
DirFlags.ENCRYPTEDfail closed instead of storing plaintext. New v2 persistence files require their integrity sidecar..tdsinput should be treated as trusted until explicit resource-budget hardening is complete. Native extensions are optional and are built only whenSTAQTAPP_TDS_BUILD_NATIVE=1is set.
Staqtapp-TDS v3.8.1
Release status: v3.8.1 is the current production PyPI release. Publication is permitted only from the exact
v3.8.1tag after the complete aggregate release gate succeeds. The v3.6 Foundation, v3.7 Generation Authority, v3.8 Eaglegate/packed graph, Phase 5 fixed-point reference oracle, Browser idle-performance repair, and workspace telemetry mount are included. The manual credentialed H100 workflow has not been executed and remains required for hardware evidence; Eaglegate remains shadow/target-only and has no production activation authority.
Temporal Directory System - native-indexed .tds storage, controlled variables, trace ranking, CSV evidence operations, semantic review, and centralized observability for AI systems.
Programmer start here: Staqtapp-TDS Programmer Core API Guide (PDF)
Browser Operations Console — all 19 pages
These are 19 separate 1280×800 viewport captures from the packaged, localhost-only TDS Browser. Each capture was made after selecting the corresponding navigation control against a real release-qualification observer snapshot. Page 07 is the actual CSV Interpole Monitor in its Monitor Ready state. The images are shown vertically in Browser navigation order; they are not a stitched Dashboard image or a UI mock. For reliable PyPI rendering, the unchanged captures use immutable absolute HTTPS URLs; release CI verifies every remote PNG byte-for-byte and checks that all 19 URLs survive in the built wheel metadata before publication.
01 — Dashboard
02 — Engine Health
03 — Real-time Metrics
04 — Transition Timeline
05 — Event Ring Monitor
06 — Pressure Diagnostics
07 — CSV Interpole
08 — Snapshot Explorer
09 — Lock Contention
10 — Workload Analytics
11 — Spiral Rank
12 — Index Analytics
13 — Storage Analytics
14 — Comparative Views
15 — Recovery Planner
16 — Policy Proposals
17 — Alerts & Events
18 — Security
19 — Settings
日本語 README | Complete API Surface Reference PDF | Changelog
What TDS provides
Staqtapp-TDS is a directory-first storage and operations layer for AI applications. It stores Python values, text, JSON, binary payloads, trace evidence, driver evidence, and managed CSV artifacts in a structured in-memory hierarchy that can be flushed to and mounted from .tds files.
TDS is designed around a narrow storage hot path. Native indexing, lookup, persistence, and optional CSV scan kernels stay separate from diagnostics, Browser rendering, Driver Studio, Semantic IR review, and policy-facing evidence workflows.
Current advantages
| Capability | Practical advantage |
|---|---|
.tds persistence |
Atomic file replacement, mmap random access, sidecar integrity metadata, mounted-reader lifecycle, and deterministic directory snapshots. |
| Direct variable control | Add, edit, lock, unlock, find, load, and append through stalk chains without inventing a separate application database API. |
| Non-halting result model | Result-first calls return TDSResult with stable codes, messages, values, and metadata instead of forcing ordinary application failures to halt an AI runtime. |
| Native-indexed storage | Optional compiled index and checksum paths with deterministic Python fallbacks and explicit native capability reporting. |
| Trace ranking | Deterministic Spiral-compatible trace ranking with confidence, depth, age, top-N limiting, statistics, and native/Python parity. |
| CSV Suite | Original-byte preservation, dialect evidence, logical row offsets, row anchors, scan parity, artifact transactions, storage binding, native scan evidence, Interpole telemetry, Semantic IR candidates, lifecycle transitions, and atomic batch review. |
| Generation Authority | Immutable content-addressed generations, publication head-root CAS, cross-process reader pins, crash recovery, rollback, retirement, and an exact CSV consumer with an executable content-free audit. |
| Packed waypoint graph | Trace Rank ABI v2 fixed-width generation, provenance, Q15 feature, waypoint, CSR, and edge records with checked bounds, exact source spans, canonical rebuild, SHA-256, and CRC32. |
| Eaglegate | Lossless authority contracts, exactness and adapter labs, Generation-backed ServingEpochs, and a real pinned vLLM EAGLE H100 shadow qualification path that cannot activate production serving. |
| Evidence-bound semantics | TDS records explicit caller declarations and authorized review transitions; it does not silently infer or commit semantic truth. |
| Driver platform | TDDL validation, deterministic bytecode, bounded Driver VM execution, Foundry proposal/test flows, regression evidence, review bundles, and read-only Studio integration. |
| Centralized Browser | One local Browser surface for engine health, pressure, event rings, CSV Interpole, Spiral Rank, snapshots, indexes, storage, recovery, alerts, security, and settings. |
| Observer isolation | Browser, telemetry, diagnostics, and Studio consume snapshots or copied events rather than controlling storage locks. |
Install
# Current production PyPI release; includes both UIs
python -m pip install staqtapp-tds==3.8.1
# Launch the main TDS telemetry UI
staqtapp-tds
# Exercise real publication, pinning, CAS, rollback, retirement, and recovery
staqtapp-tds-generation-audit
Python 3.10 or newer, NumPy, and PyQt5 are required by the standard installation. Driver Studio is installed automatically, while staqtapp-tds launches the main HTML/CSS/JS telemetry Browser. The C extensions remain optional; supported operations retain deterministic Python fallback paths unless a caller explicitly forces native-only execution.
Core storage quick start
from pathlib import Path
from staqtapp_tds import TDSFileSystem, TDSPersistence
fs = TDSFileSystem("agent_state")
models = fs.makedirs("/models/runtime")
models.write_text("system_prompt", "You are a careful planning agent.")
models.write_json("settings", {"temperature": 0.2, "tools": True})
models.write_result("step_count", 7)
result = models.read_result("settings")
if result.ok:
settings = result.value
store = TDSPersistence(Path("./tds_store"))
store.flush(fs, parallel_nodes=False)
# Load one persisted node from agent_state.tds
loaded_runtime = store.load_node(
Path("./tds_store/agent_state__models__runtime.tds")
)
assert loaded_runtime.read_value("step_count") == 7
Variable manipulation quick start
state = fs.makedirs("/agent/state")
state.addvar("reward", 1.0)
state.editvar("reward", 1.25)
state.lockvar("reward")
found = state.findvar("reward")
assert found.ok and found.value == 1.25
state.unlockvar("reward")
state.addvar("context", ["initial"])
state.stalkvar("~context", ["observation-1"])
state.stalkvar("~context", ["observation-2"])
latest_context = state.loadvar("context_0002")
Trace ranking quick start
from staqtapp_tds.spiral import rank_traces
ranked = rank_traces(
["trace-a", "trace-b", "trace-c"],
[0.82, 0.95, 0.95],
confidences=[0.90, 0.92, 0.92],
depths=[2, 3, 1],
limit=2,
)
for record in ranked:
print(record.rank, record.trace_id, record.rank_score)
CSV quick start
from staqtapp_tds.csv_layer import (
export_original_csv,
import_csv_bytes,
prove_original_roundtrip,
validate_csv_artifacts,
)
csv_dir = fs.makedirs("/datasets")
manifest = import_csv_bytes(
csv_dir,
b"id,name,score\n1,Ada,99\n2,Grace,98\n",
source_name="people.csv",
)
validation = validate_csv_artifacts(csv_dir, manifest.csv_id)
assert validation.ok
assert export_original_csv(csv_dir, manifest.csv_id).startswith("id,name")
assert prove_original_roundtrip(csv_dir, manifest.csv_id).byte_equivalent
The CSV layer stores the source and derived evidence as bounded TDS artifacts. It does not write one TDS entry per cell and does not turn the native storage engine into a CSV parser or semantic reasoner.
Centralized Browser
staqtapp-tds-admin status
staqtapp-tds-admin verify --sample
staqtapp-tds-admin serve-panel --host 127.0.0.1 --port 8765
Open http://127.0.0.1:8765/. The Browser is local-only by default, requires same-origin and CSRF checks for configuration actions, and reads cached status snapshots rather than walking storage structures on each refresh.
Architecture boundary
AI application / service
|
+-- TDSResult-first storage and variable calls
+-- trace ranking and provenance
+-- CSV evidence and Semantic IR review
+-- Driver Foundry / Runtime Manager / Studio
|
v
Python TDS orchestration layer
|
+-- immutable snapshots and copied diagnostics --> centralized Browser
|
v
native index / optional CSV kernels / .tds persistence
Native storage is responsible for narrow mechanical work. Diagnostics, Semantic IR, Driver Studio, and Browser rendering do not control native storage locks.
Programmer documentation
The Programmer Core API Guide is the recommended starting point. Its first three pages are the authoritative v3.5.3 supplement for controlled activation, segment GC, and release qualification. The broad guide then organizes direct calls by task and includes implementation snippets for:
- directory and entry operations;
.tdswriting, reading, mounting, and integrity behavior;- variable manipulation and stalk chains;
- text, JSON, serialization, provenance, and result handling;
- telemetry, verification, pressure, recovery, and native diagnostics;
- trace creation and ranking;
- the complete operational CSV call chain;
- Semantic IR candidates, lifecycle transitions, and atomic batches;
- Driver Foundry, VM, Runtime Manager, regression, review, evidence, Browser, and Driver Studio calls.
Use the preserved v3.5.3 Guaranteed Storage API reference for those storage calls. The separate API Surface Reference PDF is retained as a historical v3.1.23 Driver/Studio reference; it is not an exhaustive v3.5.3 inventory.
Safety and authority boundaries
TDS intentionally distinguishes preparation, evidence, review, and authority:
- CSV Semantic IR calls do not autonomously declare semantic truth.
- v3.5.2 admits
proposed,validated, andcontested; it does not admitcommittedorsuperseded. - Driver Foundry may validate, compile, audit, test, and submit candidates; it does not sign or activate drivers.
- Driver Studio observes, explains, prepares proposals, and routes review requests; it does not bypass Registry, Review Board, Runtime Manager, or signature policy.
- Browser telemetry is snapshot-based and is not a storage control loop.
Validation status
The v3.8.1 release retains four explicit convergence boundaries. The v3.7 Generation Authority publishes exact CSV and composite Eaglegate generations with head-root CAS, cross-process pins, deterministic recovery, rollback, and retirement. Eaglegate adds a non-widenable target-verification constitution, candidate-bound exactness/adapter evidence, and a single Generation-backed ServingEpoch lineage. CANARY and ACTIVE publication are rejected.
Phase 4 also provides tds-packed-waypoint-csr-v1, a bounded Trace Rank ABI v2
binary graph with exact immutable source/row bindings and byte-identical
decode/re-encode. The named-runtime adapter dynamically constructs real vLLM
0.26.0 target-only and EAGLE engines for exact pinned target/draft revisions,
H100 SM90 BF16, standard rejection sampling, batch size one, fixed seeds, and
1/2/3-token plans. Local injected-runtime gates pass; the manual credentialed
H100 run remains required for hardware evidence. No production traffic,
activation, direct KV-tensor equivalence, or in-flight cancellation claim is
made. See docs/130_v370_Atomic_Generation_Authority.md,
docs/126_v380_Eaglegate_Generation_Authority.md,
docs/131_v380_Eaglegate_Real_vLLM_Shadow.md, and
docs/132_v380_Packed_Waypoint_CSR_Graph.md.
Phase 5 adds a bounded, deterministic Python Dijkstra reference over admitted
packed graphs. It fixes integer cost, exclusion, tie, receipt, and replay truth
without supplying a legal-edge authority, learned model, native hot path,
execution grant, or ServingEpoch activation. The Browser now keeps exactly one
of its 19 pages active, performs serialized visibility-aware polling, and
avoids continuous blur and motion compositing. A separate Browser can consume
bounded atomic snapshots from the explicit workspace mount without walking TDS
directories or taking storage locks. See
docs/133_v381_Fixed_Point_Path_Reference_Oracle.md and
docs/134_v381_Browser_Performance_Workspace_Telemetry.md.
The v3.6.0 Foundation source closes the native and authority repair train with
a machine-checkable process-state ledger, a deterministic closure report, exact
x86-64/AArch64 semantic parity, fail-closed lifecycle admission, sanitizer and
fuzz qualification, and a deliberately narrow shared-runner no-regression
claim. The named-reference-CPU and universal scaling claims remain false. See
DEV19_V360_FOUNDATION_CLOSURE_STATUS.txt and
docs/129_v360_Foundation_Closure.md.
The historical v3.5.3 runtime release qualification is complete:
- Phase 10 controlled activation, exact migration proof, and lossless rollback tests;
- Phase 11 GC corruption, publication-window, replacement, interruption, concurrency, and accounting tests;
- a 129-generation incremental/recovery/GC soak;
- Python 3.10–3.14, Windows, macOS, Linux, and native-extension CI gates;
- PEP 517 wheel/sdist, metadata, isolated-install, and source-hygiene gates.
Evidence: 832 passed and 11 skipped in the pure monolithic suite; 843 passed in the native-active monolithic suite; and 157 passed in the overlapping v3.5.3/workflow/Browser/CSV qualification group. Both distribution artifacts passed twine check, archive-content inspection, and an isolated wheel activation/rollback/GC smoke test. Exact local, review-branch, tag, and publication details are recorded in DEV11_RELEASE_QUALIFICATION_STATUS.txt.
Release v3.5.3 was published from immutable tag v3.5.3 at commit 84c253f2a7d68a20ddcab96e94cc107439ccdd32 after the complete pull-request, merged-main, and tag matrices passed. PyPI trusted publishing accepted both the universal wheel and source distribution with attestations. See PyPI, the publication workflow, and the GitHub Release.
Version 3.5.3.post1 was the corrective package presentation release. It keeps
the qualified storage implementation, assigns the post-release package
identity, admits that identity in existing Semantic IR compatibility records,
and corrects the PyPI long description and source-archive status. Release
hygiene now rejects repository-relative image or document targets before any
distribution can be built.
Version 3.5.3.post2 installs the main telemetry Browser and PyQt5 Driver
Studio with every standard installation. The staqtapp-tds command launches
the telemetry Browser; native C extensions remain opt-in. Its publication was
restricted to the exact annotated v3.5.3.post2 tag after the complete
aggregate release gate succeeded.
Version 3.8.0 carries the Phase 1–4 convergence while keeping Eaglegate's
production boundary unchanged. Its release path additionally validates the
PyPI long description from the built wheel and fetches every immutable Browser
screenshot URL to require the expected PNG bytes before trusted publication.
Version 3.8.1 adds the reference-only Phase 5 fixed-point path oracle and the
Browser/workspace telemetry correction. It does not add Frontier execution or
Eaglegate activation authority. Local qualification completed with 1,159 tests
passed and 45 skipped, plus HTTP workspace and distribution-artifact smoke
checks; production publication remains gated by the complete tag matrix.
Repository map
src/staqtapp_tds/ core storage, persistence, telemetry, native management
src/staqtapp_tds/generation/ generic immutable generations, CAS, pinning, recovery
src/staqtapp_tds/eaglegate/ lossless core, ServingEpoch authority, real shadow adapter
src/staqtapp_tds/trace_rank/ ABI v2 graph and fixed-point path reference oracle
src/staqtapp_tds/csv_layer CSV evidence, transactions, Interpole, Semantic IR
src/staqtapp_tds/drivers/ TDDL, bytecode, VM, Foundry, review and evidence
src/staqtapp_tds/studio_pyqt5/ Driver Studio cockpit
src/staqtapp_tds/admin/ Browser, local admin control, workspace telemetry
examples/ runnable examples
docs/ architecture and release contract documents
tds_api_docs/ programmer guide and historical API-surface PDF
License
See LICENSE.
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 staqtapp_tds-3.8.1.tar.gz.
File metadata
- Download URL: staqtapp_tds-3.8.1.tar.gz
- Upload date:
- Size: 8.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da36c7bfa62c9f00747dacea19b60dd16398f713e18d363a7ad4999c27667cb9
|
|
| MD5 |
bc441c214ad5c8d67e2ac87bd7caaeed
|
|
| BLAKE2b-256 |
6a48e964ec00a452d23a3bb7f3ce62ab0cb09d47bdef882588744a5c2df04c5d
|
Provenance
The following attestation bundles were made for staqtapp_tds-3.8.1.tar.gz:
Publisher:
release.yml on lastforkbender/staqtapp-tds
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
staqtapp_tds-3.8.1.tar.gz -
Subject digest:
da36c7bfa62c9f00747dacea19b60dd16398f713e18d363a7ad4999c27667cb9 - Sigstore transparency entry: 2472221908
- Sigstore integration time:
-
Permalink:
lastforkbender/staqtapp-tds@ddc54f44008352f1f08162e3129a9aad727c91f9 -
Branch / Tag:
refs/tags/v3.8.1 - Owner: https://github.com/lastforkbender
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ddc54f44008352f1f08162e3129a9aad727c91f9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file staqtapp_tds-3.8.1-py3-none-any.whl.
File metadata
- Download URL: staqtapp_tds-3.8.1-py3-none-any.whl
- Upload date:
- Size: 732.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
841f8cd6007d42237d5d0e35c7b8caaf911d09b968b91eee44cbcebf3ba162ce
|
|
| MD5 |
c094cfa1fa58247c3b55ca5a56293914
|
|
| BLAKE2b-256 |
8b30cd344acc054b8256771f40b544b2714bba7a4913d7dfc45784f346f73657
|
Provenance
The following attestation bundles were made for staqtapp_tds-3.8.1-py3-none-any.whl:
Publisher:
release.yml on lastforkbender/staqtapp-tds
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
staqtapp_tds-3.8.1-py3-none-any.whl -
Subject digest:
841f8cd6007d42237d5d0e35c7b8caaf911d09b968b91eee44cbcebf3ba162ce - Sigstore transparency entry: 2472221938
- Sigstore integration time:
-
Permalink:
lastforkbender/staqtapp-tds@ddc54f44008352f1f08162e3129a9aad727c91f9 -
Branch / Tag:
refs/tags/v3.8.1 - Owner: https://github.com/lastforkbender
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ddc54f44008352f1f08162e3129a9aad727c91f9 -
Trigger Event:
push
-
Statement type: