OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

team.ritual.schedule

Schedule a recurring ritual.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: stable
  • Owners: @examples.team-hub
  • Tags: team-hub, ritual, schedule
  • File: packages/examples/team-hub/src/ritual/ritual.operations.ts
  • field.key.label
    team.ritual.schedule
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    team.ritual.schedule
    field.description.label

    Schedule a recurring ritual.

  • Type: operation (command)
  • Version: 1.0.0
  • Stability: stable
  • Owners: @examples.team-hub
  • Tags: team-hub, ritual, schedule
  • File: packages/examples/team-hub/src/ritual/ritual.operations.ts
  • field.tags.label
    team-hub,ritual,schedule
    field.owners.label
    @examples.team-hub
    field.stability.label
    stable

    Schedule a recurring ritual.

    Goal

    Team ceremonies.

    Context

    Ritual management.

    Source Definition

    import { defineCommand } from '@lssm-tech/lib.contracts-spec';
    import {
    	LogRitualOccurrenceInputModel,
    	RitualModel,
    	ScheduleRitualInputModel,
    } from './ritual.schema';
    
    export const ScheduleRitualContract = defineCommand({
    	meta: {
    		key: 'team.ritual.schedule',
    		version: '1.0.0',
    		stability: 'stable',
    		owners: ['@examples.team-hub'],
    		tags: ['team-hub', 'ritual', 'schedule'],
    		description: 'Schedule a recurring ritual.',
    		goal: 'Team ceremonies.',
    		context: 'Ritual management.',
    	},
    	io: {
    		input: ScheduleRitualInputModel,
    		output: RitualModel,
    	},
    	policy: { auth: 'user' },
    	acceptance: {
    		scenarios: [
    			{
    				key: 'schedule-ritual-happy-path',
    				given: ['Space exists'],
    				when: ['User schedules ritual'],
    				then: ['Ritual is scheduled'],
    			},
    		],
    		examples: [
    			{
    				key: 'schedule-standup',
    				input: {
    					spaceId: 'space-123',
    					name: 'Daily Standup',
    					interval: 'daily',
    					time: '10:00',
    				},
    				output: { id: 'rit-123', status: 'active' },
    			},
    		],
    	},
    });