release: v0.1.22 — hardened read-only queries + observable status#9
Merged
Conversation
- 侧边栏 .side 加 min-height: 100vh-36px + sticky,foot 始终在底部,不再因页面内容 短而塌到中间/只在 overview 才到位。 - 采集常驻的日志 message 全部改英文(sync.mjs 31 条 + viewer.mjs 3 条)→ Activity 页 与 brain logs 不再中英混杂。字段名本就英文,纯改 message 文案,无逻辑改动。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- status:用 launchctl 退出码区分「未装/未加载」与「已加载但没跑」,不再被正则兜成误导状态 - status:从结果账本显示「已传/跳过」足迹,并扫日志尾巴对失败/报错告警(同步坏了不再显得一切正常) - join:首次回填提示改为会滚动日志、结尾有「本机足迹」小结 - viewer:本机足迹页文案品牌名对齐 Klear-Team-Brain 本次 review 其余修复(docs 重构 / AGENTS.md / 品牌 / gitstore·docsync·sync 等)已并入上一条提交 9e67006。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
服务端 / MCP: - grep 非法正则不再吞成「无命中」,回清晰报错(query.mjs) - /health 改真·就绪检查(truth 存在 / 是 git 仓 / 可写),降级回 503 + version(server.mjs) - GITHUB_TOKEN_FILE 配了却读不到 → 启动告警,不再静默以 token-less 跑(server.mjs) - /read 大文件护栏:超大整读拒绝、无 limit 时默认 5000 行截断带分页提示(server.mjs) - code-state 活跃分支窗口可配 CODESTATE_ACTIVE_DAYS(默认 30)(codestate.mjs) - brain join 可达探测与 /health 503 解耦:任意 HTTP 响应即「连得上」(brain.mjs) - DEPLOY.md 补 /health / 新 env 文档 web: - 概览 / 仓库 / code-state 的「未推进度」措辞改为中性的「push 后有活动」(app.js) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
真错误纠正: - SECURITY.md 漏洞上报邮箱被脱敏脚本弄坏(neiyouser2@…)→ 修正 - CONTRIBUTING.md 开头「Tuser2s」→「Thanks」(同一脚本误伤) - 新建 team.example.yaml(DEPLOY 让人 copy 它,却一直不存在 → 手动部署路走不通) README(中英对齐): - read_github / 代码现状:GitHub → GitHub/GitLab/Gitea(含自建) - 文档源:飞书 → 飞书/Lark · Notion · Google Docs - 隐私段新增「生产者透明可控(brain viewer / 撤回)」+「个人脱敏词表」 - 接编辑器段补 HTTP MCP 远程挂载(URL+token) - 飞书镜像路径修正 feishu/<wiki>/ → feishu/<wiki>__<id>/ DEPLOY: - 新增 /ask(ASK_ENABLED 等)一节、完整环境变量参考表(补 TEAM_FILE/NOTION_FILE/GOOGLE_FILE/PUBLIC_URL/NO_POLL) - 新增真相库备份方法(git bundle / tar;低内存机别 gc --aggressive) - §1.7 补 GitLab/Gitea;§1.8 文档镜像扩成飞书/Notion/Google - 新增 brain admin over-SSH 用法;client.config 参考块补 collect_all/session_history_md/trae_memory/auto_update 其它: - cli/brain.mjs writeConfig 不再写废键 docs/agentdocs,改写真实采集开关 - registry.example.yaml 去掉私有 REDESIGN 引用;CHANGELOG 标注 0.1.12-0.1.13 跳号 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
# Conflicts: # cli/brain.mjs # package.json
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.
Ships the changes accumulated since 0.1.21 as v0.1.22, and clears the changelog/tag backlog along the way.
Release contents (0.1.22)
grepreturns a clear error;/healthis a real readiness check (truth store exists / is a git repo / writable, degrades to 503);GITHUB_TOKEN_FILEset-but-unreadable warns at startup; large-file guard on/read; configurableCODESTATE_ACTIVE_DAYS;brain joinreachability probe decoupled from/health503.brain statusshows capture footprint + failure warnings and tells "not installed" from "not running";joinfirst-run backfill streams a rolling log and ends with a local-footprint summary.Also: backlog cleanup
🤖 Generated with Claude Code