ckb/.agents/modules/share/module.yaml
Michał Kopeć 8dc3445b27 Template 1.28.0: share module — mailboxes in a git channel (D-0018)
New opt-in `share` module with skill `ckb-share` and stdlib `share.py`
(join/send/unshare/list/receive/status). KBs exchange documents through a
git channel with one append-only mailbox per KB; sends are packed
self-contained, secret-scanned and confirmed; received documents land in
raw/inbox/ (untrusted), retractions in raw/retractions/; the git author
must own the mailbox. dedup_inbox.py reports SAME SHARE; ckb-ingest and
ckb-retract know share files. Smoke test covers two KBs end to end.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 13:31:51 +01:00

30 lines
920 B
YAML

# Cascade KB module manifest — read by `ckb-module` on install/uninstall.
# See docs/decisions/0018-share-mailbox-module.md.
name: share
title: Share mailbox between KBs
version: 1.0.0
requires_kb_schema: "1.7"
summary: >
Sends a self-contained document from this KB to another through a shared git
repo (a channel) with one append-only mailbox per KB, and receives what other
KBs sent into raw/inbox/ for the usual ingest, with versions and retractions.
skills:
- ckb-share
agents_fragment: fragments/agents-routing.md
gitignore_fragment: fragments/gitignore.snippet
schema_additions:
types:
- share # a received message in raw/inbox/ or raw/archive/; never a wiki page
fields: []
depends_on:
- name: git
scope: all
check: "git --version"
optional: false
note: >
Channels are git repos. Access to them uses the person's own git
credentials; the module stores none.