# Tasks Work in this order. Finish each check before the next task. Run every command from the spec folder. 1. **Codec.** Build the codec as one Python 3.11+ file with no dependencies beyond the standard library, or use `reference/spec_kit_codec.py` as that file. The subcommands are `to-speckit` and `to-spekkr`, and the flags are `--dir`, `--activate`, `--author`, `--date` and `--platforms`. Define `SAFETY_BLOCK` and `DESIGN_STUB` as the bytes in `design.md`. Follow `spec.md` (R1-R11) and `design.md`. **Accept when:** `python3 reference/spec_kit_codec.py --help` exits 0 and lists both subcommands. For a codec of your own, `--help` on it does the same. 2. **Golden checks.** Compare the codec's output with the golden fixtures in `reference/fixtures.tar.gz` (which `reference/check.py` reads directly, or unpacks to `reference/fixtures/` with `tar -xzf reference/fixtures.tar.gz -C reference`) byte for byte, including the collision cases, the flags and the unreadable directory. **Accept when:** `python3 reference/check.py` exits 0 and prints `Spec Kit codec checks passed (reference fixtures).` For a codec of your own, `python3 reference/check.py path/to/your_codec.py` does the same. 3. **Skill.** Install `reference/SKILL.md` as an agent skill named `spec-kit-codec`, next to the codec it points at, on the skill path the agent loads (R12). If the codec is not at `reference/spec_kit_codec.py`, set `CODEC` in the skill's commands to its path. **Accept when:** the agent lists the `spec-kit-codec` skill, and after unpacking `reference/fixtures.tar.gz` into `reference/`, the skill's `to-speckit` command, run on `reference/fixtures/spekkr/basic/source` with `--activate` from an empty directory, writes `specs/basic/` and `.specify/feature.json`.