TenkaCloud Docs

First pack tutorial Preview

Hosting uses immutable snapshots selected by sources. problems/ is a generated view; Pack CLI activation records are not hosting inputs. See the source contract, local-path example and formal schema.

Just want to run an existing pack? → Use an existing pack.

Prerequisites

Run from the TenkaCloud repository root with Bun 1.4.4 and installed dependencies. Local-directory operations need no cloud credentials. Installing from Git contacts the given HTTPS repository.

Scaffold a pack

make pack-init ARGS="./my-first-pack"

This writes a manifest, one starter problem, an artifact placeholder and README. The placeholder is not a completed runnable exercise.

Validate the contract

make pack-validate ARGS="./my-first-pack"

Validation checks metadata, runtime declarations and files. It does not deploy, score or prove participant playability. Complete the problem and its own tests before making those claims.

Install and inspect locally

make pack-install ARGS="./my-first-pack"
make pack-list
bun run pack inspect com.example.starter@0.1.0

For a Git install use an HTTPS URL and full immutable 40-hex commit SHA. Keep source provenance and content digest. Do not use a moving branch as the revision.

Connect to hosting

Select the original validated directory using a sources entry with path. Follow the mixed-source example and formal schema. Pack CLI install/activate and the current hosting catalog use separate stores. Do not edit generated problems/.

Common failures and diagnostic codes

PACK_DIR_MISSING, MANIFEST_INVALID, duplicate IDs and missing artifacts need corrections in the pack, not a cloud deployment. See validation errors.

Remove a stored revision

bun run pack remove com.example.starter@0.1.0

Removal may refuse a retained activation/reference; inspect it first. Removing a pack is not exercise or cloud teardown.