You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added focused ReAct schema contract coverage in packages/patterns/tests/react/state.test.ts for JSON-safe metadata acceptance and rejection boundaries
Added packages/patterns/tests/react/contracts.typecheck.ts and wired it into package typecheck validation so ReAct metadata and tool payload contract assertions are compiled during release verification
Added story documentation in docs/st09059-react-schema-payload-contracts.md capturing the contract changes, validation evidence, and no-regression explicit-any outcome
Tightened packages/patterns/src/react/schemas.ts so message and thought metadata now use JSON-safe object contracts while tool-call arguments and tool-result payloads stay unknown-first
Preserved ReAct reasoning, action, observation, and prompt behavior while making metadata boundaries safer for downstream serialization and validation consumers
Rejected non-finite metadata numbers such as Infinity and -Infinity from the JSON-safe metadata branch during review follow-up
Corrected the package typecheck wiring and release documentation so the new compile-time contract assertions are actually enforced and the story notes no longer overstate validation coverage
Kept the explicit-any baseline stable at workspace 84/289 and patterns 2/28
Published
All packages published to npm registry at version 0.16.46: