undef-engine 2026-03-22
Remove bundled telemetry and provide.foundation stubs; switch to undef-telemetry package
47 files · 224+ · 2,578-

Remove bundled telemetry implementation

20 files changed
  • __init__.py Removed — telemetry setup entry point
  • _setup.py Removed — telemetry initialization
  • __init__.py Removed — logger package
  • config.py Removed
  • factory.py Removed — logger factory
  • levels.py Removed
  • processors.py Removed
  • __init__.py Removed
  • config.py Removed
  • instruments.py Removed
  • provider.py Removed
  • __init__.py Removed
  • config.py Removed
  • decorators.py Removed
  • provider.py Removed
  • __init__.py Removed — test package for bundled telemetry
  • test_logger.py Removed — tests for bundled logger
  • test_metrics.py Removed — tests for bundled metrics
  • test_processors.py Removed — tests for bundled processors
  • test_tracer.py Removed — tests for bundled tracer
  • Removed all local copies of the telemetry stack (logger, metrics, tracer) that were bundled inside undef-engine. These are now provided by the undef-telemetry package. Corresponding unit tests removed as the package carries its own test suite. deprecate behavioral
    20 files
    • __init__.py
    • _setup.py
    • __init__.py
    • config.py
    • factory.py
    • levels.py
    • processors.py
    • __init__.py
    • config.py
    • instruments.py
    • provider.py
    • __init__.py
    • config.py
    • decorators.py
    • provider.py
    • __init__.py
    • test_logger.py
    • test_metrics.py
    • test_processors.py
    • test_tracer.py

Remove provide.foundation stubs from engine and CF Worker

8 files changed
  • __init__.py Removed — provide.foundation stub package
  • __init__.py Removed
  • __init__.py Removed — stub implementation of provide.foundation
  • __init__.py Removed — CF Worker provide stub
  • __init__.py Removed — CF Worker provide.foundation stub
  • metrics.py Removed
  • resilience.py Removed
  • transport.py Removed
  • Removed the provide.foundation stub layers from both the main engine and the Cloudflare Worker. The CF Worker stubs (resilience, transport, metrics) were stand-in implementations bundled to satisfy imports before the real package was available. deprecate behavioral
    8 files
    • __init__.py
    • __init__.py
    • __init__.py
    • __init__.py
    • __init__.py
    • metrics.py
    • resilience.py
    • transport.py

Switch dependency from opentelemetry to undef-telemetry

4 files changed
  • pyproject.toml Replaced opentelemetry-api/sdk direct dependencies with undef-telemetry[otel]; added uv.sources path override for local dev; updated codespell skip list from responsum-docs-* to undef-docs-*
  • uv.lock Lockfile updated for undef-telemetry path dependency and removed direct opentelemetry pins
  • __init__.py Updated imports to use undef-telemetry package
  • test_more_modules_batch2.py Removed telemetry module stubs from batch test
  • pyproject.toml now lists undef-telemetry[otel] instead of opentelemetry-api/sdk directly. A [tool.uv.sources] entry points to ../undef-telemetry for local development. Lockfile updated accordingly. baseline behavioral
    2 files
    • pyproject.toml
    • uv.lock

Rename deploy scripts from responsum to undef-engine

15 files changed
  • deploy-backend.sh Updated from responsum path layout to undef-engine layout; copyright updated to 2026 MindTenet LLC
  • deploy-cloudflare.sh Updated naming references
  • deploy-frontend.sh Updated naming references
  • build-worker.sh Updated naming references
  • pyproject.toml Minor update
  • Makefile Removed stale verify-telemetry target
  • CLAUDE.md Updated project guidance to reflect current repo name and structure
  • .gitignore Added pywrangler build artifact ignores
  • lifecycle.py Updated import to use undef-telemetry logger
  • client_state.py Updated import to use undef-telemetry logger
  • universe_store.py Updated import to use undef-telemetry logger
  • alarm.py Updated import
  • core.py Updated import
  • initialization.py Updated import
  • websocket_handlers.py Updated import
  • Deploy scripts were still referencing responsum paths from the old repo name. Updated to use the current undef-engine layout and path conventions. Removed the stale verify-telemetry Makefile target that referenced removed test files. baseline internal
    8 files
    • deploy-backend.sh
    • deploy-cloudflare.sh
    • deploy-frontend.sh
    • build-worker.sh
    • Makefile
    • .gitignore
    • CLAUDE.md
    • pyproject.toml
  • Updated logger imports across game hooks and worker durable objects to reference undef-telemetry rather than the removed local stubs. deprecate internal
    7 files
    • lifecycle.py
    • client_state.py
    • universe_store.py
    • alarm.py
    • core.py
    • initialization.py
    • websocket_handlers.py