Repository navigation
Event Intelligence SDK 1.0.0 — stable source candidate (UNPUBLISHED)
Release state: all 9/9 bounded SDK gates verified on reviewed source;
manual operator publication NOT APPROVED and npm 1.0.0 NOT PUBLISHED.
This is the first stable SDK source candidate for
#41,
not an npm dist-tag, GitHub tag, MCP Registry publication or downstream
rollout. The ledger-only PR #419
attested the nine required gates against frozen main source
f6923e87ba1744091b13bae30008c8a0b38c03cb
with an explicitly identified AI technical/evidence reviewer, not
an independent human deployed-host auditor. The
live readiness ledger remains authoritative;
all six external/enterprise criteria remain blocked.
Any source/documentation change since that reviewed ancestor must be
re-reviewed and re-attested in a new ledger-only PR before the strict
manual release check can pass. An eligible ledger never authorizes
latest or a publish on its own.
SDK scope
- Runtime-neutral embedded/host-owned integration; MCP Events source and downstream final authorization remain host responsibilities. Node >=22; ESM.
- Canonical Pattern AST v2, source-aware matching, durable triggers/receipts, explicit host-issued receipts, cancellation/revocation fencing, multi-tenant PostgreSQL16 store and restart/replay conformance.
- Strict, bounded causal explainability with explicit unknown/partial fidelity when upstream event-time completeness is unavailable, plus tested separate first-party MCP source oracle.
- Opt-in semantic evaluation through host-provided evaluator: deterministic prefilters, tenant/context versioned cache and durable PostgreSQL per-trigger/per-batch call/token/host-reserved estimated cost limits. No promise about actual remote billing or cancellation.
- Conservative lossless no-prune event/match/audit/receipt policy. Safe terminal duplicate-history compaction only. Operators must size and back up stores for indefinite growth; no WORM or production HA certificate.
- Reviewed PR #407 removed a quadratic per-write audit-history replay under scope advisory lock while preserving the canonical hash chain. Separate first-party Railway 1k/1k at 5/s had zero bounded-ingress refusals and 1,000 host receipts; higher-scale / independently operated production SLO certification remains unresolved in #376.
Breaking/API, wire and stored-state compatibility
The authoritative versioned compatibility matrix lists all supported public exports, Node/MCP/Pattern/trigger/provider versions, old authorize() removal, required control(request), mandatory host-issued runtimeReceiptId, host conformance v3 and deprecated confirmation alias removal. No implied import compatibility with unlisted deep paths or older trigger expression formats.
The PostgreSQL physical schema marker and Pattern-v2 signature marker have independent identities. Before changing a live host: stop every worker attached to the same store, take an operator-verified full backup, check schema and signature markers, validate replay/receipts in an isolated clone, then explicitly approve a compatible upgrade or fail closed and restore/reset under operator control. No silent migration, mixed fenced/unfenced writer rollout or automatic downgrade. This npm package does not touch downstream Muffin/Artemis pins.
Evidence and signoff
The v1 review dossier and readiness ledger are authoritative for exact reviewed commit, named reviewer, procedure, date and all nine required gate proofs. Required gate review includes packaged exports in a real clean-room consumer, PG16 crash/recovery and stored-state restore, retention/audit, revocation/tenant isolation, explainability, semantic triage, and manual downstream pin policy.
Run node scripts/check-release-manifest.mjs,
node scripts/check-release-compatibility-doc.mjs, npm run check,
packed clean-room CI and node scripts/evidence/v1-release-readiness.mjs --report
on the exact candidate. The strict gate must fail if any required
attestation is missing, the reviewed source is not an ancestor or any
non-ledger source drift occurs; after valid 9/9 source-pinned signoffs it
may pass as eligible for manual review only. Neither green CI nor
version 1.0.0 alone is sufficient.
No publication is authorized by these source or documentation PRs.
Only after new, explicit release-owner approval on the exact reviewed
main may an operator invoke the protected Publish npm workflow
with confirm=publish and expected_version=1.0.0. The workflow
rechecks strict source-pinned eligibility before npm, then the separate
release pipeline applies its own checks before MCP Registry and tag.
No consumer update, production upgrade or external security certification
is implied.
Not certified
External provider completeness, actual OpenAI settled costs, remote model cancellation, off-host immutable WORM archive, PG primary failover/RPO/RTO, independent deployed-host security and production p95/p99 or 10k/100k high-cardinality load remain optional production/enterprise evidence under #317 and #376, not generic SDK v1 guarantees.