[codex] 迁移 Meme 到组合 API - #2
Merged
Merged
Conversation
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目标
把 Meme 的真实 prompt、reply/media 装饰、Skill、Dashboard 与
memes/资产根迁到 v3;本层暂留 v2MemePlugin作为领域行为差分 oracle,下一层物理删除。依赖 Core kachofugetsu09/akashic-agent#438 与 Citation #2。
实现
api_version = 3、inject、apply(ctx, config)inject=(citation.protocol,)明确固定 Citation → Meme listener 顺序skill_roots=("skills",)、dashboard_module="dashboard.py"由包声明静态投影workspace_roots=("memes",);runtime 与 Dashboard 都从 Core 分配的同一 root 读取apply只构造插件自己的MemeCatalog/MemeDecorator并注册两个 typed serial listener精确依赖
a047470a39d4f7d2e6be1d2a8e2824916d52fad112f9552e45db794fdc1cdb9e1367d0ca8f132f9b4dd69dd621e029e51e99aa428443fa3a4ec1f6cf验证
10 passedMemePluginmemes/逐字节不变cited_memory_ids、reply、media、meme_tag 一致0 errors(旧 v2、Dashboard 领域代码与缺失 stubs 有 144 warnings)git diff --check: passedruntime.py与既有dashboard.py全文件 Black check 仍有基线格式差异,本 PR 未顺手格式化领域实现恢复点
backup/meme-v3-before-current-core-202608163ca7e1415d50c05a7f475595b26032f3db9faae2