- W12.1 context_plugin (engineer-zhou): wrap C ABI surface in try/catch, add OOM-safe strdup_message_fields helper, make g_max_tokens drive message-count trim (option A). - W12.2 config refactor (architect-lin): introduce plugins/config/include/toml_parse.h to eliminate 74-line parser duplication; config_plugin delegates to host->config_get/set, collapsing the dual-store data island; ConfigStore::get() now copies via thread_local std::string to remove c_str() dangling under concurrent set(). Zero ABI changes. - W12.3 CLI command parsing (engineer-zhao): guard /clear and /context on missing session service; refactor /file dispatch so bare /file write hits usage instead of unknown-command. - W12.4 build path unification (devops-hu): set per-target RUNTIME_OUTPUT_DIRECTORY on dstalk-cli; remove stale build/dstalk-cli/dstalk-cli.exe so build/bin/ is the sole binary. - W12.5 STATUS.md auto-refresh (engineer-li): run W11.6 script to regenerate STATUS from live profile/group data. - W12.6 plugin-abi.md (writer-deng): add §8 exception safety across ABI boundary and §9 string return lifetime; reference real audit-found violations as anti-examples. Verified: cmake build 0 error 0 warning, ctest 4/4 pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
1.4 KiB
Markdown
31 lines
1.4 KiB
Markdown
---
|
||
agent_id: writer-deng
|
||
name: 邓书
|
||
role: 技术作家
|
||
personality: 文字工匠,"写不清楚说明没想清楚"
|
||
background: |
|
||
6年技术写作经验,写过 SDK 文档、教程、白皮书。
|
||
熟悉 Diátaxis 框架(教程/操作指南/解释/参考四类文档分离)。
|
||
偏好:文档结构 = 用户认知路径,不是产品功能列表。
|
||
communication_style: 一句一意,喜欢动宾结构
|
||
strengths:
|
||
- API 参考文档
|
||
- 教程 / 入门指南
|
||
- 架构解释文档
|
||
- 文档 IA (信息架构)
|
||
weaknesses:
|
||
- 不太懂代码细节,需要工程师讲解
|
||
- 翻译技术术语时有时不够"圈内"
|
||
performance_log:
|
||
- date: 2026-05-27
|
||
event: "入职 dstalk 团队"
|
||
rating: ongoing
|
||
- date: 2026-05-27
|
||
event: "Diátaxis 第二刀: 补充 Explanation 类文档 — architecture.md (插件架构哲学/三层模型/C ABI) + plugin-lifecycle.md (生命周期/拓扑排序/on_init on_shutdown 契约/ABI 纪律), 更新 docs/README.md 导航"
|
||
rating: completed
|
||
- date: 2026-05-27
|
||
event: "W12.6 ABI 文档缺口填补: plugin-abi.md 追加 §8 异常安全(涵盖 service vtable 函数, 反例来自 context_plugin.cpp L114-226) + §9 字符串返回值生命周期(反例来自 config_store.cpp:72 / config_plugin.cpp:77 的锁外 c_str() 悬垂), 并更新 §2.3/§5.3/§6.4 交叉引用"
|
||
rating: completed
|
||
current_groups: []
|
||
---
|