mirror of
https://github.com/openclaw/openclaw.git
synced 2026-10-04 02:00:10 +00:00
* refactor(state): resolve Gateway profiles in state workers Move the remaining Gateway email acquisition and canonical profile selection callers onto existing state worker operations. Retain request and profile authority across waits and recheck it before writes, network effects, and metadata publication. Remove the synchronous Gateway access helpers. Keep schemas, stored data, permissions, and update behavior unchanged. Remaining profile reads/setters and account stores follow in a second slice. Isolate session-catalog fixture writes from background reclamation so request cleanup assertions remain deterministic across the worker wait. * test(gateway): assert snapshot rejection at handler boundary Profile acquisition now rejects discovery snapshots before model catalog loading. Preserve zero credential and HTTP effects while testing the direct handler rejection; WebSocket dispatch owns the error response. * test(gateway): await concurrent metadata reader admission Synchronize the concurrency fixture on all reader callbacks entering after asynchronous profile preparation. Preserve the original unrelated-creation, response, and cleanup assertions without timers or polling. * refactor(state): register worker operations once per domain Infer shared-state worker command contracts from lazy per-domain handler tables. Migrate Web Push, APNs, worktree registry operations, and fleet registry while preserving the existing broker and transaction owners. * fix(gateway): retain one catalog acquisition authority check Keep the shared post-await authority assertion before catalog effects and the final publication check, without duplicate session path validation. Migrate authorization fixtures to the async profile owner contracts and remove their retired resolver mock. Existing real Gateway freshness budgets and permission assertions remain unchanged. * refactor(state): run profile setters in state workers Move profile writer kernels behind the typed worker registry and route display-name and avatar RPCs through admitted worker writes. Recheck requester authority before refreshing connected profiles, use current committed display facts, and preserve committed self-merge responses. Keep role-policy reads as follow-up migration work; schemas and update behavior are unchanged. * refactor(state): let profile handlers own kernel dispatch * test(gateway): assemble synthetic question URL credentials * test(gateway): synchronize concurrent project discovery |
||
|---|---|---|
| .. | ||
| database-schemas | ||
| full-release-validation | ||
| session-management-compaction | ||
| templates | ||
| test | ||
| AGENTS.default.md | ||
| api-usage-costs.md | ||
| credits.md | ||
| database-schemas.md | ||
| device-models.md | ||
| full-release-validation.md | ||
| memory-config.md | ||
| openclaw-ai.md | ||
| prompt-caching.md | ||
| pull-request-review-flow.md | ||
| release-performance-sweep.md | ||
| RELEASING.md | ||
| rich-output-protocol.md | ||
| rpc.md | ||
| secret-placeholder-conventions.md | ||
| secretref-credential-surface.md | ||
| secretref-user-supplied-credentials-matrix.json | ||
| session-management-compaction.md | ||
| test.md | ||
| token-use.md | ||
| transcript-hygiene.md | ||