[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112724":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":12,"stars7d":12,"stars30d":15,"stars90d":12,"forks30d":12,"starsTrendScore":12,"compositeScore":16,"rankGlobal":9,"rankLanguage":9,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":9,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":12,"starSnapshotCount":12,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},112724,"agent-shared-facts","siwen-121\u002Fagent-shared-facts","siwen-121","An agent-first reference implementation for sharing reviewed facts across devices with Git and read-only MCP.",null,"Python",68,0,63,1,3,40.3,"MIT License",false,"main",true,[],"2026-11-19 16:37:35","2026-11-16 15:35:20","# Shared Facts\n\n让 Windows、macOS 和不同智能体读到同一条已发布事实，让离线草稿、审阅中的候选和已生效的状态有明确区别。\n\n每条共享记录在指定 Git 分支上有一个固定 ID 和文件路径。智能体读取记录时同时得到 commit SHA。它可以整理候选，但候选必须经过对照、审阅和合并。第二个设备从上游读回实际内容后，才确认发布完成。\n\n```mermaid\nflowchart LR\n    A[\"设备或智能体\"] -->|\"读取记录与版本\"| B[\"共享 Git 分支\"]\n    A --> C[\"本地候选\"]\n    C --> D[\"审阅与合并\"]\n    D --> B\n    B -->|\"另一设备拉取并核对\"| E[\"发布回执\"]\n```\n\n## 五分钟跑通\n\n下载或克隆仓库后，Windows 运行 `.\\setup.cmd`，macOS\u002FLinux 运行 `sh .\u002Fsetup.sh`。入口会按需求选择路线、检查本机依赖，并可准备所选路线的本地安装。让智能体自动选型时使用 `--json`。详见[下载与安装](docs\u002Fquick-setup.md)。\n\n需要 Git、Python 3.12+。MCP 验收还需要 Python 虚拟环境及下面的依赖。在本仓库根目录执行：\n\n```sh\npython -m pip install -r requirements-mcp.txt\npython -m unittest discover -s tests -v\n```\n\nWindows 上可用 `py -3.12`，macOS\u002FLinux 可用 `python3`。推荐先创建虚拟环境。测试只使用临时 Git 上游、两个独立克隆和合成记录，无需 GitHub 账号、模型 API、域名或隧道。默认部署是私有 Git 仓库加本地读写工具。支持 MCP 的客户端可以加一个只读服务，云端接入另按网络与认证能力选择。\n\n| 读者 | 从这里开始 |\n| --- | --- |\n| 下载后安装、选型与生成配置 | [下载与安装](docs\u002Fquick-setup.md) |\n| 接手部署或维护的智能体 | [AGENTS.md](AGENTS.md) |\n| 第一次部署、第二台设备、审核及故障恢复 | [部署手册](docs\u002Fdeployment.md) |\n| Codex、Claude Code、Antigravity、Kimi、DeepSeek、Muse 和浏览器端 | [智能体接入](docs\u002Fagents.md) |\n| Tailscale 或 Cloudflare 域名、隧道和认证 | [远程接入](docs\u002Fremote.md) |\n| Windows 直连 Mac 或笔记本，逐设备接入 DevSpace MCP | [设备远控和 DevSpace](docs\u002Fdevices.md) |\n| 能力边界、证据和上线检查 | [验收标准](docs\u002Facceptance.md) |\n\n公开仓库存放程序、流程和合成示例。实际部署使用自己的共享数据仓库。研究原始文件、个人信息和凭据留在各自获准的位置，共享端只提交获准的摘要和可追溯的证据 ID。源文件与共享摘要的归属规则见部署手册。\n\n## English\n\nShared Facts is an agent-first reference implementation for sharing reviewed records across devices. One Git branch owns the published version of each record. An agent can prepare a candidate offline, reconcile it after reconnecting, submit it for review, and confirm it by fetching the merged record from another clone. The optional MCP adapter exposes allowlisted records through stdio or authenticated Streamable HTTP.\n\nStart with [AGENTS.md](AGENTS.md) or run the [setup launcher](docs\u002Fquick-setup.md) for your platform. Run `python -m pip install -r requirements-mcp.txt` in a virtual environment, then run `python -m unittest discover -s tests -v`. The demo uses synthetic data and two temporary local Git clones. See [deployment](docs\u002Fdeployment.md), [client integration](docs\u002Fagents.md), [remote access](docs\u002Fremote.md), [device control and DevSpace](docs\u002Fdevices.md), and [acceptance](docs\u002Facceptance.md) for the full operator runbook.\n\nLicensed under [MIT](LICENSE).\n","这是一个面向智能体（Agent）的跨设备共享事实记录的参考实现，通过 Git 分支管理已审阅、待审和草稿状态的事实数据，确保多端读取一致性与版本可追溯性。核心功能包括基于 Git 的只读事实分发、本地候选生成与审阅流程、跨设备合并确认机制，并提供 MCP（Model Context Protocol）只读适配器支持。技术上依赖 Git 版本控制、Python 3.12+ 和轻量级进程间通信，不依赖中心化服务或模型 API，适合私有部署、离线优先场景及需审计追踪的多智能体协作环境。",2,"2026-11-24 04:43:57","CREATED_QUERY"]