Skip to content

Prepare @workit/core 0.4.0 contract hardening release#52

Merged
AdmilsonCossa merged 1 commit into
mainfrom
release/core-0.4.0-contract-hardening
Jun 28, 2026
Merged

Prepare @workit/core 0.4.0 contract hardening release#52
AdmilsonCossa merged 1 commit into
mainfrom
release/core-0.4.0-contract-hardening

Conversation

@AdmilsonCossa

Copy link
Copy Markdown
Collaborator

Summary

Prepare @workit/core 0.4.0 as a runtime contract and evidence hardening release.

  • add @workit/core/contracts for declared cancellable/shielded task composition
  • add @workit/core/fault for bounded in-process lifecycle fault scenarios
  • add declared agent tool capability checks in @workit/core/ai
  • extend @workit/core/ledger with caller-owned SQLite/Postgres receipt ledger adapters
  • update API/package-consumer coverage, evidence, docs, changelog, and version metadata

Boundaries

  • root @workit/core import remains unchanged
  • contracts is a compile-time intent contract, not proof that arbitrary task bodies observe ctx.signal
  • fault is an in-process evidence harness, not OS/process/network chaos testing or deterministic replay
  • SQL ledger adapters define caller-owned storage ports, not a database framework

Validation

  • npm run check:headers
  • npm run check:security
  • npm run check:vulnerabilities
  • npm run test:coverage — 27 files, 354 tests, 100% statements/branches/functions/lines
  • npm run test:evidence — 22 proof files, 0 failed
  • npm run check:api
  • npm run check:size — public API 29,255 B minified / 9,694 B gzip
  • npm run check:package-consumer
  • npm run verify
  • npm run check:release

@AdmilsonCossa AdmilsonCossa merged commit 9c1cc10 into main Jun 28, 2026
5 checks passed
@AdmilsonCossa AdmilsonCossa deleted the release/core-0.4.0-contract-hardening branch June 28, 2026 16:56
Add explicit contracts and fault subpaths, harden agent authority and receipt ledger evidence, update package-consumer coverage, and bump the package to 0.4.0 without changing the root runtime import.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant