sync-scaffold-gen
SyncScaffoldGen
Scaffold a sync rule $ARGUMENTS with trigger patterns, where-clause conditions (filter/guard/query/not), and sequential then blocks.
When to use: Use when creating a new sync rule to connect concepts. Generates a .sync file with when/where/then clauses including filter() and guard() conditions, multi-then sequential blocks, query bindings, and not() negation from trigger and effect configurations.
Design Principles
- Declarative Wiring: Syncs declare what happens when — they never contain imperative logic, loops, or conditionals beyond pattern matching.
- Concept Independence: Syncs reference concepts by name but concepts never know about syncs. The sync is the only place where concept names appear together.
- Pattern Completeness: The when clause must match specific action completions (concept/action with variant). The then clause invokes specific actions.
- Purpose Clause Quality: Every sync must have a purpose clause that explains the causal chain — 'When X happens, do Y because Z'. Never just restate the sync name or omit the purpose entirely.
More from itshalffull/concept-oriented-programming-framework
concept-scaffold-gen
Generate concept specification ( . concept ) file scaffolds from provided configuration including name , type parameters , state fields , actions , and invariants
10handler-scaffold-gen
Generate TypeScript concept handler ( . handler . ts ) implementation scaffolds from provided configuration including concept name , action signatures , and storage patterns . Defaults to functional ( StorageProgram ) style ; falls back to imperative style only when explicitly requested . Optionally generates a conformance test file
9project-scaffold
Initialize new Clef projects with the standard directory structure , example concept specs , and configuration files
1suite-scaffold-gen
Generate suite manifest ( suite . yaml ) scaffolds and directory structures for new Clef suites from provided configuration
1deploy-scaffold-gen
Generate deployment manifest ( deploy . yaml ) scaffolds from provided configuration including runtimes , concepts , and infrastructure settings
1deployment-validator
Parse and validate deployment manifests against compiled concepts and syncs . Produce deployment plans with transport assignments , runtime mappings , and sync to engine bindings
1