How Many Agents Share One Knowledge Tree

How Many Agents Share One Knowledge Tree A workflow diagram generated by Archify. 01 / Agent A: Claude Code + PKC 02 / Agent B: Grok Bot + DEKC 03 / Ownership gates and shared repository EX / Conflict path Isolate Enforce ownership Integrate Agent A · reads origin/main · Agent A: Claude Code + PKC › Isolate Agent A reads origin/main Open session · brain/pkc/<id> · Agent A: Claude Code + PKC › Isolate · worktree Open session brain/pkc/<id> worktree Write Meeting · pkc_capture.py · Agent A: Claude Code + PKC › Isolate Write Meeting pkc_capture.py Agent B · reads origin/main · Agent B: Grok Bot + DEKC › Isolate Agent B reads origin/main Open session · brain/dekc/<id> · Agent B: Grok Bot + DEKC › Isolate · worktree Open session brain/dekc/<id> worktree Write Table · dekc_capture.py · Agent B: Grok Bot + DEKC › Isolate Write Table dekc_capture.py Noun ownership · do I own this type? · Ownership gates and shared repository › Enforce ownership · refuse if not Noun ownership do I own this type? refuse if not Catalog ownership · may I rewrite this index? · Ownership gates and shared repository › Enforce ownership · registry.json Catalog ownership may I rewrite this index? registry.json main · PR merged · Ownership gates and shared repository › Integrate · non-overlapping paths main PR merged non-overlapping paths Same concept file · a human resolves it · Conflict path › Integrate · useful signal Same concept file a human resolves it useful signal type check read first write only here type check read first write only here owned type both edited one path ready PR Legend Agent logic Policy Context / trace External system

Read main, write a branch

  • • brain_session.py opens brain/<actor>/<session-id>
  • • Closing the session pushes and opens a pull request

Ownership prevents collisions

  • • A plugin refuses types another plugin owns
  • • registry.json lists the catalogs it may rewrite

Why not a lock on main

  • • A file lock serializes writers on one machine only
  • • A conflict on one concept file is information