Search by

kumwe / computation

llewellyn

Native computation and canonical encoding adapters with bounded portable transport.

Package info

github.com/kumwe/computation

pkg:composer/kumwe/computation

Statistics

Installs: 365

Dependents: 2

Suggesters: 1

Stars: 0

Open Issues: 0

v0.3.3 2026-09-10 20:31 UTC

README

Packagist version Computation CI PHP 8.5, 64-bit License: Apache-2.0

Bounded computation transport and explicit adapters to the native Engine. The package provides compiler, executor and GenericV1 canonical encoder adapters, exact compatibility checks, immutable transport values, ordered findings and typed refusals. Engine owns the semantic algorithms; this package owns their PHP contracts and composition.

Installation

Provision the exact supported PHP extension before installing the Composer package:

pie install kumwe/kumwe-engine:1.0.3
composer require kumwe/computation:0.3.3

Runtime requirements are 64-bit PHP 8.5, ext-kumwe_engine 1.0.3, kumwe/canonical-json 0.1.1 and PSR Container 2.x. The PHP binding supports PHP 8.5 NTS and ZTS on Linux x86_64. PIE installation and build toolchain provisioning belong to the host deployment process; requests and Composer scripts do not install native modules. Composer metadata is the authoritative dependency declaration.

Integration

Construct transport values directly. Register an independently approved NativeCompatibility tuple and apply ConfigProvider in a request-scoped container. Compiler and Executor share one NativeAdapter; the host explicitly binds the canonical interface to its selected encoder and releases completed plans.

The Core contract defines authorization, persistence, transaction and provisioning boundaries. Integration explains tuple selection, DI configuration, lifecycle and recovery. The public API, native boundary and transport example describe the supported surface.

Package and release status

Computation 0.3.3 is published and requires the exact Engine/PHP binding 1.0.3 release pair. Native admission verifies both source archives and publisher provenance, then checks the independently derived complete host build tuple. The portable 0.1.1 baseline remains independently verified and byte-preserved; its compatibility evidence remains part of the package contract.

Published package versions, independent consumer verification and Core deployment are separate observations. See release requirements, the release record and security policy. Version badges track published releases; CI badges report the current default branch.

Development and test ownership

composer install --no-interaction --prefer-dist
KUMWE_NATIVE_EXPECTED_TUPLE=/absolute/path/compatibility.json composer check

The complete gate checks metadata, security, release automation, documentation, architecture, deterministic manifests, static analysis, coding standards, package tests, native compatibility and a fresh no-dev Composer archive consumer. composer test runs transport contracts; composer examples runs the shipped example.

Computation owns transport shape, bounds, identities, compatibility and ordered findings. Engine owns semantic algorithms and corpus parity; the binding owns Zend lifecycle and marshalling. Core owns authority, composition, database, transactions, deployment and recovery. See test ownership and charter.