Skip to content

Add cache churn observation contract#1654

Merged
chubes4 merged 2 commits into
mainfrom
feature/cache-churn-observation
Jun 29, 2026
Merged

Add cache churn observation contract#1654
chubes4 merged 2 commits into
mainfrom
feature/cache-churn-observation

Conversation

@chubes4

@chubes4 chubes4 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds the public wp-codebox/cache-churn-observation/v1 contract and TypeScript exports.
  • Adds wordpress.cache-churn-observation for in-process REST action/case correlation of transient, site transient, option, and autoload churn.
  • Advertises the optional cache churn artifact/schema through the fuzz runtime descriptor for HBEX consumers.
  • Documents the command and validates the generated artifact behavior with a contract test.

Testing

  • npm run test:cache-churn-observation-contracts
  • npx tsx tests/performance-observation-contracts.test.ts
  • npm run test:runtime-contract-manifest
  • npm run build

Known unrelated failure:

  • npm run test:docs-boundary-language fails on existing README language matching agents-api/....

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 via OpenCode
  • Used for: Drafting and implementing the cache churn observation contract, runtime instrumentation, tests, and documentation.

chubes4 added 2 commits June 29, 2026 12:56
…bservation

# Conflicts:
#	packages/runtime-core/src/contracts.ts
#	packages/runtime-core/src/index.ts
#	packages/runtime-core/src/runtime-contract-manifest.ts
@chubes4 chubes4 merged commit d64d683 into main Jun 29, 2026
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