Skip to content

Sync upstream openclaw v2026.2.14#2

Merged
speculatingwook merged 997 commits intomainfrom
sync-upstream-v2026.2.14
Feb 15, 2026
Merged

Sync upstream openclaw v2026.2.14#2
speculatingwook merged 997 commits intomainfrom
sync-upstream-v2026.2.14

Conversation

@speculatingwook
Copy link

What

Sync fork with upstream openclaw/openclaw release v2026.2.14.

This PR is primarily a large upstream merge (995 commits since origin/main) and includes a small set of local follow-up fixes we made to keep the suite green in the merge workspace.

Notable additions in this branch

  • Memory search/indexing:
    • Add status-only manager mode and keep dirty false when meta exists.
    • Ensure chokidar watcher ignores dependency dirs (e.g. node_modules, .venv).
  • Test runner reliability on Node 22:
    • Ensure vitest runs include --experimental-sqlite via wrapper script(s).

Testing

  • pnpm test:fast PASS

Notes

  • This is a big upstream sync PR; review/merge should be treated as a release update.

steipete and others added 30 commits February 14, 2026 23:33
Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 43da87f
Co-authored-by: Grynn <212880+Grynn@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
…openclaw#16533)

Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 21e4045
Co-authored-by: BinHPdev <219093083+BinHPdev@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
vignesh07 and others added 22 commits February 14, 2026 18:57
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@github-actions
Copy link

⚠️ Formal models conformance drift detected

The formal models extracted constants (generated/*) do not match this openclaw PR.

This check is informational (not blocking merges yet).
See the formal-models-conformance-drift artifact for the diff.

If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there.

speculatingwook and others added 2 commits February 15, 2026 20:38
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@github-actions
Copy link

⚠️ Formal models conformance drift detected

The formal models extracted constants (generated/*) do not match this openclaw PR.

This check is informational (not blocking merges yet).
See the formal-models-conformance-drift artifact for the diff.

If this change is intentional, follow up by updating the formal models repo or regenerating the extracted artifacts there.

@speculatingwook speculatingwook merged commit beec8b8 into main Feb 15, 2026
9 of 14 checks passed
speculatingwook added a commit that referenced this pull request Feb 18, 2026
…ocket push (Design #2 Phase 1)

- Add EventCache class with incremental file reading (offset-based), in-memory cache (100k max events), and lazy work session building
- Replace all 3 REST API handlers (/api/events, /api/work-sessions, /api/work-sessions/:id) to read from cache instead of re-parsing full ndjson file on every request
- Enhance WebSocket to push actual event data via coordination_event_new message type (was notification-only)
- Add cache invalidation on category PATCH endpoint
- Initialize cache at server startup, hook chokidar file change to incremental cache update
- Remove readLastCoordinationEvent (replaced by EventCache.onFileChange)
- API response time: ~20ms (current) → <5ms (cached), scales to 100k+ events without degradation
speculatingwook added a commit that referenced this pull request Feb 18, 2026
…Phase 2)

- Add MongoDB connection with auto-index creation (8 event + 4 session indexes)
- Implement idempotent event sync via SHA256 eventHash (duplicate-safe upsert)
- Add incremental work_sessions sync on every file change
- Full sync from EventCache to MongoDB on startup (batch of 500)
- Add /api/events/search and /api/work-sessions/search endpoints with regex search
- Support pagination (offset/limit) and role/category filters in search
- 90-day TTL auto-expiry via MongoDB TTL index
- Graceful MongoDB shutdown on SIGINT
speculatingwook added a commit that referenced this pull request Feb 19, 2026
Improvements completed:
- #1 A2A conversation index (O(1) lookup, 24 tests)
- #2 A2A durable jobs (JobManager + Reaper + Orchestrator, 43 tests)
- openclaw#3 task-tool.ts modularization (5 modules, 2296→45 LOC facade, 147 tests)
- openclaw#4 continuation state machine Phase 1 (pure decision functions, 56 tests)
- openclaw#5 gateway composition (6 init modules, 737→565 LOC, 80→48 imports)
- openclaw#7 A2A per-agent concurrency gate (semaphore + config, 25 tests)
- openclaw#8 structured handoff payload (types + parser, 42 tests)
- openclaw#9 coordination invariants test suite (TC-01~07, 22 tests)
- openclaw#11 subagent-task lifecycle (delegation manager + verify tool, 135 tests)
- openclaw#12 task enforcement bypass fix (session-scoped + stale cleanup, 20 tests)

N/A: openclaw#6 (DI already via GatewayRequestContext), openclaw#10 (partially resolved by #2)
Deferred: openclaw#4 Phase 2-5 (high risk, Phase 1 delivers core value)

Total: 514 new tests, 0 regressions, 11 implementation docs
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.