Files
scriptorium/docs/internal/overview.md

1.5 KiB

Internal Component Overview

This inventory describes implemented Go components. The architecture policy owns normative boundaries; public behavior belongs in the linked contracts.

Component Implemented responsibility References
cmd/scriptorium Build identity, signal-aware context, native status-to-process exit. CLI, adapters
internal/adapter/cli CommandKit composition, ckconfig/ckprompt acquisition, application loading, native request mapping, run/report effects, and HTTP process lifecycle. CLI, adapters, sources
internal/adapter/http Routes, strict DTO decoding, transport limits, public request/result/error mapping, and restricted artifact reader. HTTP API, adapters, sources
internal/config Shared ConfigKit schema, secrets bootstrap, discovery/selection, and application definition callbacks. Configuration, sources
internal/defaults Application and HTTP default constants. Configuration
internal/report HTTP terminal-observation metadata projection. It is not used for CLI native result reports. HTTP execution report, adapters

CommandKit, ckconfig, ckprompt, ConfigKit, and PromptKit are released upstream dependencies, not local framework packages. There is no custom CLI formatter package or compatibility dispatch surface.