Skip to content

Add agent middleware integration - #27

Merged
Jason-Doyle merged 2 commits into
mainfrom
feat/agent-middleware
Sep 4, 2026
Merged

Add agent middleware integration#27
Jason-Doyle merged 2 commits into
mainfrom
feat/agent-middleware

Conversation

@Jason-Doyle

Copy link
Copy Markdown
Owner

Summary

  • add framework-neutral agent middleware for bounded context compilation, model-facing JSON Schema tools, identity-bound Agent Intent dispatch, and durable approved-turn recording
  • add embedded SQLite, in-process PostgreSQL, and authenticated remote HTTP adapters
  • keep raw artifact, administrative, provider-owned, and timer operations outside the model surface by default
  • add a complete host-to-model integration guide and runnable embedded and production examples
  • refresh benchmark evidence from source commit e8b9767

Safety boundaries

  • model arguments cannot provide tenant, principal, purpose, or API credentials
  • operation permissions can only narrow the immutable safe allowlist
  • context provenance distinguishes complete, partial, and omitted evidence
  • HTTP responses are timed, byte-bounded, redirect-free, and correlated to request identity and result hashes
  • turn artifacts use principal-scoped canonical hashes and separate idempotency domains

Validation

  • npm run release:check
  • full PostgreSQL integration suite
  • npm run deployment:check
  • package consumer and generated declaration smoke tests
  • Ajv model-schema contract tests
  • three-run SRE benchmark regeneration and verification
  • independent design and code reviews

@Jason-Doyle
Jason-Doyle merged commit fc950cc into main Sep 4, 2026
7 checks passed
@Jason-Doyle
Jason-Doyle deleted the feat/agent-middleware branch September 4, 2026 22:27
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