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.

agent.approvals

Approve or reject an agent step or run.

  • Type: operation (command)
  • Version: 1.0.0
  • Tags: approval
  • File: packages/libs/contracts-spec/src/agent/commands/agentApprovals.command.ts
  • Provide governed human-in-the-loop control for risky steps.

    field.key.label
    agent.approvals
    field.version.label
    1.0.0
    field.type.label
    operation (command)
    field.title.label
    agent.approvals
    field.description.label

    Approve or reject an agent step or run.

  • Type: operation (command)
  • Version: 1.0.0
  • Tags: approval
  • File: packages/libs/contracts-spec/src/agent/commands/agentApprovals.command.ts
  • Provide governed human-in-the-loop control for risky steps.

    field.tags.label
    approval
    field.owners.label
    field.stability.label

    Approve or reject an agent step or run.

    Goal

    Provide governed human-in-the-loop control for risky steps.

    Context

    Used by reviewers to approve or reject agent actions.

    Source Definition

    import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
    import { docId } from '../../docs/registry';
    import type { DocBlock } from '../../docs/types';
    import { defineCommand } from '../../operations';
    import {
    	AGENT_DOMAIN,
    	AGENT_OWNERS,
    	AGENT_STABILITY,
    	AGENT_TAGS,
    } from '../constants';
    
    export const AgentApprovalsCommand = defineCommand({
    	meta: {
    		key: 'agent.approvals',
    		title: 'Resolve Agent Approval',
    		version: '1.0.0',
    		description: 'Approve or reject an agent step or run.',
    		goal: 'Provide governed human-in-the-loop control for risky steps.',
    		context: 'Used by reviewers to approve or reject agent actions.',
    		domain: AGENT_DOMAIN,
    		owners: AGENT_OWNERS,
    		tags: [...AGENT_TAGS, 'approval'],
    		stability: AGENT_STABILITY,
    		docId: [docId('docs.tech.agent.approvals')],
    	},
    	capability: {
    		key: 'agent.execution',
    		version: '1.0.0',
    	},
    	io: {
    		input: AgentApprovalsInput,
    		output: AgentApprovalsOutput,
    	},
    	policy: {
    		auth: 'admin',
    		pii: [],
    	},
    });