Skip to content

Patch dependencies and enforce preflight schema constraints - #50

Merged
ericmourant merged 1 commit into
mainfrom
copilot/dependency-and-preflight-health
Oct 31, 2026
Merged

ericmourant merged 1 commit into
mainfrom
copilot/dependency-and-preflight-health

Conversation

Copilot AI commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Refresh the locked dependency graph and add approved, targeted overrides for MCP SDK, minimatch, undici, and zod, clearing 37 reported dependency advisories without upgrading OpenClaw.
  • Validate settings recursively against the existing schema, rejecting explicit nulls and unknown nested fields while preserving optional sections and permitted top-level extensions.
  • Add preflight regression tests and minimatch compatibility coverage; document validation behavior and override rationale.

Validation

  • bun install --frozen-lockfile
  • bun lifecycle/preflight.ts
  • bun run build
  • bun run test — 59 passing tests
  • bun run chat --help
  • bun audit — no vulnerabilities reported
  • git diff --check

Compatibility notes

The minimatch override crosses a major version; tests cover the glob APIs used by OpenClaw. Installed OpenClaw CLI startup and configuration validation pass. Live model calls and end-to-end GitHub agent execution were not exercised.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ericmourant
ericmourant marked this pull request as ready for review October 31, 2026 22:46
@ericmourant
ericmourant merged commit 2cea9f9 into main Oct 31, 2026
3 checks passed
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.

2 participants