Design Documents

Design documents provide detailed implementation guidance for CCM’s resource types, providers, and internal components. They are intended for developers contributing to CCM or those seeking to understand specific implementation details.

For end-user documentation on how to use resources, see Resources.

Note

These design documents are largely written with AI assistance and reviewed before publication.

Contents

Each design document covers:

  • Purpose and scope: What the component does and its responsibilities
  • Architecture: How the component fits into CCM’s overall design
  • Implementation details: Key data structures, interfaces, and algorithms
  • Provider contracts: Requirements for implementing new providers
  • Testing considerations: How to test the component

Available Documents

DocumentDescription
ArchiveArchive resource for downloading and extracting archives
ExecExec resource for command execution
FileFile resource for managing files and directories
PackagePackage resource for system package management
ScaffoldScaffold resource for template directory rendering
ServiceService resource for system service management
New TypeHow to add a new resource type to CCM