Skip to main content
在 Manus 中运行任何 Skill
一键导入

dedalo-ts-isolation-caching

星标45
分支9
更新时间2026年7月11日 17:49

Request isolation and caching without cross-request bleed or stale-after-edit serving in the Dédalo v7 TypeScript/Bun rewrite. ONE Bun process serves concurrent requests via 3 AsyncLocalStorage stores — transaction ALS (src/core/db/postgres.ts withTransaction), request-lang ALS (src/core/resolve/request_lang.ts runWithRequestLangs / currentApplicationLang / currentDataLang), request-context ALS (src/core/security/request_context.ts currentPrincipal). Use when adding or editing ANY module-level cache/singleton (new Map/Set/let), any createOntologyCache / createDataCache (src/core/ontology/cache_factory.ts), any ALS read (currentPrincipal / currentApplicationLang / currentDataLang / withTransaction), background-job/scheduler identity threading, or when debugging "cross-request bleed", "wrong language shown to user", "wrong actor in audit rows", "stale after edit", or a module_state_tripwire.test.ts failure. Authoritative: engineering/REQUEST_ISOLATION.md; state: rewrite/LEDGER.md.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly