Skip to content

feat(schema): add scalable catalog feed projections - #3147

Closed
giodl73-repo wants to merge 3 commits into
openclaw:mainfrom
giodl73-repo:feat/catalog-feed-query-deltas
Closed

feat(schema): add scalable catalog feed projections#3147
giodl73-repo wants to merge 3 commits into
openclaw:mainfrom
giodl73-repo:feat/catalog-feed-query-deltas

Conversation

@giodl73-repo

Copy link
Copy Markdown
Contributor

Summary

  • add strict wire schemas for official catalog query results, change pages, and reset-required responses
  • normalize bounded filters deterministically and validate page, cursor, range, expiry, identity, and metadata invariants
  • preserve blocked entries as upserts and represent removals as typed tombstones

Boundaries

  • no route handlers, signing, cursor issuance, durable storage, sharding, or OpenClaw consumer changes
  • the next ClawHub slice adds durable revisions/change state and bounded internal reads; transport and signing follow separately

Dependency

Validation

  • bun x vitest run packages/schema/src/catalogFeedDistribution.test.ts packages/schema/src/catalogFeed.test.ts (12 tests)
  • bun x tsc -p packages/schema/tsconfig.json --noEmit
  • targeted lint and format checks
  • git diff --cached --check
  • autoreview findings addressed for composite identities, bounded metadata, cursor/page invariants, calendar timestamps, and terminal delta completeness; one final compiler finding rejected because the cited option is not enabled and the package typecheck passes

Behavior proof

The package test harness parses valid query/change/reset documents and rejects malformed filters, pagination, sequence coverage, URLs, timestamps, oversized fields, and duplicate typed identities.

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Someone is attempting to deploy a commit to the OpenClaw Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@clawsweeper

clawsweeper Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper status: review started.

I am starting a fresh review of this pull request: feat(schema): add scalable catalog feed projections This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@giodl73-repo

Copy link
Copy Markdown
Contributor Author

Superseded by #3149, which now combines the scalable catalog wire schemas with their durable revision/change-history model as one internal distribution-state foundation.

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