From 494aed7eadecce88451683f2e81f81983fc7635d Mon Sep 17 00:00:00 2001 From: Ervins Strauhmanis <17160191+resoltico@users.noreply.github.com> Date: Fri, 24 Apr 2026 12:43:29 +0300 Subject: [PATCH 1/3] release: bootstrap 0.165.0 payload --- .codex/.DS_Store | Bin 0 -> 6148 bytes .codex/AGENTS_EXTRA.md | 1436 +++++++++++++++++ .codex/AGENTS_JAVA26_GRADLE.md | 691 ++++++++ .codex/AGENTS_KOTLIN24_GRADLE.md | 926 +++++++++++ .codex/AGENTS_PYTHON313.md | 765 +++++++++ .codex/AGENTS_RUST195_CARGO.md | 753 +++++++++ .codex/AGENTS_SQLITE3MC233_SQLITE353.md | 755 +++++++++ .codex/PROTOCOL_AFAD.md | 943 +++++++++++ .codex/UNIVERSAL_ENGINEERING_CONTRACT.md | 214 +++ .github/workflows/publish.yml | 17 + .gitignore | 5 + AGENTS.md | 90 ++ CHANGELOG.md | 38 +- CONTRIBUTING.md | 4 +- PATENTS.md | 4 +- README.md | 734 +-------- docs/CUSTOM_FUNCTIONS_GUIDE.md | 4 +- docs/DATA_INTEGRITY_ARCHITECTURE.md | 15 +- docs/DOC_00_Index.md | 21 +- docs/DOC_01_Core.md | 4 +- docs/DOC_02_SyntaxExpressions.md | 4 +- docs/DOC_02_SyntaxTypes.md | 4 +- docs/DOC_02_Types.md | 4 +- docs/DOC_03_LocaleParsing.md | 4 +- docs/DOC_03_Parsing.md | 4 +- docs/DOC_04_Analysis.md | 88 + docs/DOC_04_Introspection.md | 4 +- docs/DOC_04_Runtime.md | 9 +- docs/DOC_04_RuntimeUtilities.md | 31 +- docs/DOC_05_Diagnostics.md | 4 +- docs/DOC_05_Errors.md | 4 +- docs/DOC_06_Testing.md | 4 +- docs/FUZZING_GUIDE.md | 4 +- docs/FUZZING_GUIDE_ATHERIS.md | 4 +- docs/FUZZING_GUIDE_HYPOFUZZ.md | 4 +- docs/LOCALE_GUIDE.md | 4 +- docs/MIGRATION.md | 4 +- docs/PARSING_GUIDE.md | 4 +- docs/QUICK_REFERENCE.md | 4 +- docs/RELEASE_PROTOCOL.md | 4 +- docs/TERMINOLOGY.md | 4 +- docs/THREAD_SAFETY.md | 7 +- docs/TYPE_HINTS_GUIDE.md | 4 +- docs/VALIDATION_GUIDE.md | 4 +- docs/WORKFLOW_TOUR.md | 178 ++ examples/README.md | 8 +- examples/README_TYPE_CHECKING.md | 4 +- examples/async_bundle.py | 83 + examples/streaming_resources.py | 92 ++ fuzz_atheris/README.md | 4 +- pyproject.toml | 4 + scripts/run_examples.py | 4 + src/ftllexengine/__init__.py | 48 +- src/ftllexengine/__init__.pyi | 6 - src/ftllexengine/_optional_exports.py | 243 +-- src/ftllexengine/core/__init__.py | 44 +- .../diagnostics/template_parsing.py | 140 ++ .../diagnostics/template_reference.py | 182 +++ .../diagnostics/template_runtime.py | 182 +++ .../diagnostics/template_shared.py | 10 + src/ftllexengine/diagnostics/templates.py | 760 +-------- src/ftllexengine/introspection/iso_babel.py | 61 +- src/ftllexengine/localization/__init__.py | 35 +- src/ftllexengine/runtime/__init__.py | 52 +- src/ftllexengine/runtime/bundle.py | 838 +--------- src/ftllexengine/runtime/bundle_lifecycle.py | 201 +++ src/ftllexengine/runtime/bundle_mutation.py | 121 ++ src/ftllexengine/runtime/bundle_protocols.py | 24 +- src/ftllexengine/runtime/cache.py | 212 +-- src/ftllexengine/runtime/cache_audit.py | 48 + .../runtime/cache_introspection.py | 168 ++ src/ftllexengine/runtime/cache_protocols.py | 37 + src/ftllexengine/runtime/function_bridge.py | 535 +----- .../runtime/function_decorator.py | 52 + .../runtime/function_registry_helpers.py | 110 ++ .../function_registry_introspection.py | 88 + src/ftllexengine/runtime/functions.py | 5 +- src/ftllexengine/runtime/resolver_runtime.py | 3 + src/ftllexengine/syntax/visitor.py | 23 +- src/ftllexengine/validation/resource.py | 10 +- .../fuzz/test_validation_resource_property.py | 6 +- tests/strategies/validation.py | 2 +- tests/test_architecture_contract.py | 18 +- tests/test_core_init.py | 31 +- tests/test_documentation_tooling.py | 19 +- tests/test_init_module.py | 39 +- tests/test_introspection_iso.py | 189 +++ tests/test_regression_currency_decimal.py | 12 +- tests/test_runtime_bundle.py | 6 +- tests/test_runtime_bundle_cache_security.py | 4 +- tests/test_runtime_function_bridge.py | 2 +- tests/test_runtime_function_registry.py | 2 +- tests/test_runtime_resolver_functions.py | 16 + tests/test_validation_resource.py | 16 +- tests/test_validation_resource_chain_depth.py | 28 +- ...test_validation_resource_cross_resource.py | 8 +- ...st_validation_resource_dependency_graph.py | 58 +- 97 files changed, 9319 insertions(+), 3386 deletions(-) create mode 100644 .codex/.DS_Store create mode 100644 .codex/AGENTS_EXTRA.md create mode 100644 .codex/AGENTS_JAVA26_GRADLE.md create mode 100644 .codex/AGENTS_KOTLIN24_GRADLE.md create mode 100644 .codex/AGENTS_PYTHON313.md create mode 100644 .codex/AGENTS_RUST195_CARGO.md create mode 100644 .codex/AGENTS_SQLITE3MC233_SQLITE353.md create mode 100644 .codex/PROTOCOL_AFAD.md create mode 100644 .codex/UNIVERSAL_ENGINEERING_CONTRACT.md create mode 100644 AGENTS.md create mode 100644 docs/DOC_04_Analysis.md create mode 100644 docs/WORKFLOW_TOUR.md create mode 100644 examples/async_bundle.py create mode 100644 examples/streaming_resources.py create mode 100644 src/ftllexengine/diagnostics/template_parsing.py create mode 100644 src/ftllexengine/diagnostics/template_reference.py create mode 100644 src/ftllexengine/diagnostics/template_runtime.py create mode 100644 src/ftllexengine/diagnostics/template_shared.py create mode 100644 src/ftllexengine/runtime/bundle_lifecycle.py create mode 100644 src/ftllexengine/runtime/bundle_mutation.py create mode 100644 src/ftllexengine/runtime/cache_audit.py create mode 100644 src/ftllexengine/runtime/cache_introspection.py create mode 100644 src/ftllexengine/runtime/cache_protocols.py create mode 100644 src/ftllexengine/runtime/function_decorator.py create mode 100644 src/ftllexengine/runtime/function_registry_helpers.py create mode 100644 src/ftllexengine/runtime/function_registry_introspection.py diff --git a/.codex/.DS_Store b/.codex/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0