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.
Update goal progress.
Goal
Keep progress current.
Context
Periodic update.
Source Definition
import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
export const UpdateGoalContract = defineCommand({
meta: {
key: 'wealth.goal.update',
version: '1.0.0',
stability: 'stable',
owners: ['examples.wealth-snapshot'],
tags: ['wealth', 'goal', 'update'],
description: 'Update goal progress.',
goal: 'Keep progress current.',
context: 'Periodic update.',
},
io: { input: UpdateGoalInput, output: GoalModel },
policy: { auth: 'user' },
});