dsh-brain/lib/skills/contracts.js

13 lines
734 B
JavaScript

// Skill bundle member — the seam between skill management and cloud sync.
// The skill bundle owns the local skill folders and their receipts; the
// cloud-sync engine (src/skill-sync.ts) reads and writes them only through
// SkillRepository, and asks SkillSyncGate what it needs to know about the
// sync pass. Nothing on the sync side touches a skill directory directly.
//
// Reserved convention: the `.manifest.json` file inside a skill folder is the
// cloud delivery receipt. repository.read() reports it as `delivery`, never
// as one of `files`; repository.write() writes it by default and clears it
// with { delivery: false }. Dot-prefixed files are private to the skill side
// and never take part in a sync.
export {};