Repository navigation
Conversation
Persist event revisions, independent subscriptions and task-derived Agent status. Commit invitation enrollment, stable retry identity and notification outbox atomically; keep opt-out, quiet acknowledgements and audience scopes independent without collaboration-round limits. Route shared state and wake delivery through CLI, Pi, OpenCode, MCP and DSH. Verify all 16 blocking checks on the integrated source (a2f6ac84-01c5-4a86-b2be-7a46dffc58a2); isolated fixtures do not claim live-host deployment or natural collaboration benefit.
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.
变更描述
What(改了什么):在保留普通世界频道通信的前提下,新增跨频道事件记录(快照 + 版本化历史 + 父子/依赖 + 独立结果与持续影响)、由任务 owner 派生的 Agent 公开状态,以及显式通知:点名、频道订阅、事件订阅是三类独立受众,重叠收件人只送一次。
Why(为什么改 / 解决什么问题):跨频道协作只有聊天时,关键变化、结束与影响散落在各处无法回收;同时"事件关联"曾被误当成群发,造成定向更新不唤醒或整事件重复唤醒。用户要求邀请首条直接送达并自动订阅目标频道(可退出)、ACK 静默、且不引入任何唤醒链/轮数上限。
Changes(关键改动点,按文件或模块列出):
src/core/coordination-events.ts、src/core/store/coordination*.ts:事件快照、CAS 修订、粗历史、订阅与历史关联、独立 outcome/effects、频道状态;通知去重与合并、退订永久作废旧提醒、稳定邀请身份与 TTL 墓碑;withCoordination复用原TransactionPort,无嵌套 BEGIN。src/core/board-notifications.ts、src/core/store/board-notifications.ts:notification={key,scopes:[direct|channel|event],recipients?,invite?},源消息与邀请订阅登记、outbox 同事务提交。src/cli/{protocol,service,commands,daemon-client}.ts:put(notification)、--notification-json、board-eventscapability 门禁、订阅列表走共享 membership owner。src/integration/{state,coordination-state,board-wake,board-delivery,agent-surface,information-output,tool-contract}.ts:共享 typed 视图、静默普通事件 note、有界来源标注唤醒预览、delivery 与 eligibility 分离。.pi/extensions/nmg/index.ts、opencode-plugin/、claude-plugins/nmg-memory/agents/memory-copilot.ts、dsh/dsh-nmg/src/plugin/index.ts:薄宿主透传;DSH 先await agent.send再记 delivery。docs/design/board-event-records.md、双语 ADR、能力矩阵 EN/ZH、skills/nmg-memory/references/board.md、hidden-features 注册表、completion 台账;测试覆盖独立受众、邀请即订阅、退订/再邀请、回滚、TTL 重放、静默 ACK、合并与宿主入队失败。未验证项
Not verified(没验证什么):
verify:research/verify:chaos未运行。default世界频道出现在显式订阅列表的回归,已按既有断言修复代码;旧失败记录不作为通过证据。完成检查项
本地质量检查
npm run verify:static全绿(含 build / package:check / check / check:tests / check:lock / lint / format:check / docs:check / agent:context:check / complexity:gate / verify:packages / glossary / policy-words / rtm)npm run test:product通过,并由npm run agent:verify完整门禁复核:a2f6ac84-01c5-4a86-b2be-7a46dffc58a2(16 项阻断 exit 0)26353dbd-f96e-4ed2-aac8-8f8cad8676d1(--full --require-clean,exit 0)verify:packagesfrozen-lockfile install + build 通过docs:check(383 files / 0 errors / 0 warnings);非平凡改动携带双语决策记录npm run complexity:gate通过(新代码方法 ≤ 15)dist/、dsh/dsh-nmg/lib/、src/prompts/nmg-prompts.generated.ts)RCP(Repository Control Plane)
repo-development#1792240237659_000608;按其自身 TTL 到期后再 resolve 时黑板报entry not found,因此没有成功关闭记录(如实保留,不补造)npm run agent:verify完整门禁即证据;证据目录.nmg/verification/board-event-integration-20261018/(full2.json、clean.json)nmg-rcp forge-status --pr <PR号>读取git status --short核对)CI 完成确认
nmg-rcp forge-status的 All checks passed 为 SUCCESS