Skip to content

Tape Format

mixtape/tape.yaml is the recipe for a liner’s research packet. It lists the job, metadata, and approved sources used during compile.

When your agent builds a liner, liner research writes tape.yaml for you. To update a finished liner while keeping immutable IDs, lineage, approvals, and change receipts intact, ask your agent or use the liner sources and liner project commands; direct edits bypass those checks.

title: Mobile Design Foundations
description: Core touch and gesture references for native mobile UX.
version: 1
curator: cmdux-sh
mode: methodology
jtbd: When I am designing native mobile interactions, I want grounded touch guidance, so I can avoid brittle gesture patterns.
sources:
- type: web
url: https://developer.apple.com/design/human-interface-guidelines/gestures
note: Apple's canonical gesture reference.
section: foundations
kind: reference

Top-level required fields:

  • title
  • description
  • version: 1
  • curator
  • sources

sources can be empty while drafting a tape. Compiling and sharing require at least one source.

  • mode: quick or methodology. Agent-built liners use methodology; liner init starts with quick. The label does not affect how compile runs.
  • tags
  • created
  • updated
  • license
  • homepage
  • jtbd
  • jtbd_clarifications
  • methodology_version
  • parent

jtbd records the liner’s job in Job Story form:

When [circumstance], I want [motivation], so I can [outcome].

The tape format supports six source types.

- type: web
url: https://example.com/article
note: Why this source belongs.
section: foundations
priority: required
kind: reference

The optional render field controls how Liner fetches the page:

  • Omitted (default): try server-rendered HTML first and fall back to headless Chromium if needed (requires liner setup-js).
  • render: js: fetch with headless Chromium immediately.
  • render: server: fetch server-rendered HTML only.
- type: youtube
url: https://www.youtube.com/watch?v=XXXX
note: Watch for the section on source evaluation.
section: examples

Liner tries direct transcript fetching first and falls back through yt-dlp when available.

- type: local_file
path: local-sources/touch-target-paper.pdf
citation: "Parhi et al., Target Size for One-Handed Thumb Use, Mobile HCI 2006."
note: Canonical empirical study behind small-screen touch targets.
section: research

Place local files under mixtape/local-sources/ and reference them relative to mixtape/ (for example local-sources/touch-target-paper.pdf). Legacy root-level liners resolve paths from the root and also recognize personal/. Supported formats: Markdown, plain text, HTML, PDF, and EPUB, up to 10 MiB per file.

- type: skill
path: terminal-ui
note: Extract terminal interaction guidance as reference material.
section: craft

Skill sources accept an installed skill name, a local skill folder or SKILL.md path, a snapshot under local-sources/skills/, or a GitHub skill URL. Skill files are compiled strictly as inert reference evidence and are never installed or executed.

- type: repository
url: https://github.com/owner/project
note: The project's own docs on its configuration format.
section: reference

A repository source reads documentation files from a public GitHub repository at the commit it was compiled from (README first, then .md, .mdx, .markdown, .rst, .txt, .adoc, up to 60 files, 512 KiB each, 2 MiB total). It skips code files and private repositories. Folder URLs require a branch or tag name without a slash.

- type: liner
url: liner://mobile-design-foundations
note: The touch-target rules this liner builds on.
section: foundations

A liner source references another finished liner in the same library:

  • liner://<slug> includes that liner’s reviewed synthesis.
  • liner://<slug>/<source-id> copies one of its saved sources (get the exact address from liner find-sources).

These optional fields work across all source types:

  • note: explains why the source belongs and any caveats.
  • section: groups sources for organization and compile filters.
  • priority: required (default) or optional.
  • kind: reference, principle, prescription, or example.

Required per-type fields: local_file requires path and citation; web, youtube, repository, and liner require url; skill requires either path or a GitHub url.