# 01.d-component-script Checklist

## Purpose

Deliver a small learning sample that shows how a Component command surface can be wrapped as a script-style management command.
This is a special `01` operational form. It is not the normal Component/CML
authoring path.

Stage Status:
- Current status: `DONE`
- Owner: `Codex + human`
- Update rule: `Update this block whenever a checklist item changes state.`

## Focus

- single-file script shape
- scala-cli startup
- script DSL as contract
- exception to the normal CML Component line

## Step

- Show how a single-file script can stay thin while the real behavior remains inside CNCF runtime behavior.

## Checklist

- [x] The sample explains why the logic should live in the script rather than in wrapper shell logic
- [x] The sample includes one concrete single-file script example
- [x] The sample explains development-time invocation
- [x] The sample explains that larger behavior should use formal Component definition
- [x] `samples/01.d-component-script/README.md` is updated to match the final flow

## Exit Criteria

- [x] The script-style usage is clear
- [x] The relationship to CNCF runtime behavior is explicit
- [x] README is complete
