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.
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' },
},
],
},
});