Commit graph

2 commits

Author SHA1 Message Date
b6b592d5d7 Template 2.0.2: share and capture hardening, Crux without Sources
Fixes F6, F12-F16 from the 2.0.0 script review:
- share: plain file/mailbox names and mailbox-bound share_id/version, or
  the message is ignored (no ckb.yaml injection, no writes outside
  raw/inbox/); ledger rejects whitespace/control characters; every
  commit on a message must be by an owner; duplicate members.yaml
  entries unown a mailbox; only verified retractions hide mail; branch,
  url and name validated before git; received copy always untrusted;
  <private> stripped from title/tldr and unclosed tags; no send without
  the secret scan
- capture: frontmatter values quoted unless plainly safe; one-line title
- lint check 13: chat-attributed Crux needs no Sources

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 14:38:18 +01:00
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