Skip to content

Latest commit

 

History

History
93 lines (77 loc) · 4.25 KB

File metadata and controls

93 lines (77 loc) · 4.25 KB

Changelog

Unreleased

0.4.0

Add runtime contract and evidence hardening behind explicit subpaths. The root import remains unchanged.

  • Add @workit/core/contracts for declared cancellable and shielded task composition. This is a compile-time intent contract; it does not prove that arbitrary task bodies observe ctx.signal.
  • Add @workit/core/fault for bounded in-process lifecycle fault scenarios over the real WorkIt scope engine. This is not OS fault injection, process crash recovery, network chaos testing, or deterministic scheduler replay.
  • Add declared agent tool capability checks to @workit/core/ai, including a typed AgentCapabilityError and denial events before denied tool bodies run.
  • Extend @workit/core/ledger with caller-owned SQLite and Postgres receipt ledger adapters. These adapters define a receipt storage contract; they do not make WorkIt a database framework.
  • Add executable evidence for typed cancellation contracts, bounded fault scenarios, agent authority, SQL receipt ledgers, and resource audit visibility.
  • Extend package-consumer coverage for the new subpaths across ESM, CommonJS, strict TypeScript, framework fixtures, and browser/worker unsupported-runtime checks.
  • Keep the root @workit/core import and bundle budget unchanged.

0.3.0

Add the @workit/core/time-policy planning subpath for declared async time policy analysis. The root import remains unchanged.

  • Add planTimePolicy() for conservative upper-bound planning across attempt, series, parallel, retry, hedge, timeout, and deadline policy trees.
  • Add estimateRetry() and estimateHedge() helper planners aligned with the runtime retry delay and hedge stagger contracts.
  • Add bounded correctness evidence for retry/deadline planning, the finite time-policy cost model, and nested composition rules.
  • Add package-consumer coverage for the new subpath across ESM, CommonJS, and strict TypeScript fixtures.
  • Document that the planner analyzes declared policy bounds before execution; it does not run task bodies or prove wall-clock scheduler behavior.

0.2.0

Add the core ownership and evidence foundation as explicit @workit/core subpaths. The root import remains unchanged.

  • Add @workit/core/replay for lifecycle receipt recording and redaction.
  • Add @workit/core/ledger for memory and file receipt ledgers.
  • Add @workit/core/analysis for receipt and caller-provided protocol verification.
  • Add @workit/core/activity for explicit terminal activity boundaries.
  • Add @workit/core/resources for lazy, shared, and scope-owned resource helpers.
  • Add package-consumer coverage for the new subpaths across ESM, CommonJS, and strict TypeScript fixtures.
  • Add executable evidence for receipts, ledgers, analysis, activity terminal replay, and resource ownership.
  • Keep the root @workit/core bundle size unchanged.
  • Improve npm package discoverability with targeted package keywords and a more specific package description.
  • Clarify npm README examples for retry policies, TaskFn invocation, renderTree(scope.status()), and work().do() fail-fast output.
  • Normalize activity results before persistence so first execution and replay return the same JSON value.
  • Derive the OpenTelemetry instrumentation version from package metadata.
  • Document the buffered work().do() contract and cooperative cancellation boundary for hedged work.

0.1.5

Move @workit/core to packages/core monorepo layout. No public API changes.

This release prepares the repository for future WorkIt extensions while keeping the published package contract unchanged.

  • @workit/core source, tests, samples, benchmarks, evidence, and release scripts now live under packages/core.
  • Root package is now a private workspace coordinator.
  • Existing install and import paths remain unchanged.
  • Existing package exports remain unchanged.
  • Root runtime bundle size remains unchanged.
  • Release provenance workflow now publishes the workspace package.
  • Use-cases site now resolves the real local package from packages/core.

This is an infrastructure release only. New runtime capabilities are planned for the next minor line after the monorepo layout is validated in CI and npm.