Work / Learning Platform / Wiki / Entities
course-repository
Entitycanonicalverified 2026-10-04
COURSE.REPOSITORYSummary
What a linked GitHub repository has to contain.
Canonical values
| Key | Value | Last changed |
|---|---|---|
| REPO.HOST | https://github.com/owner/repo only |
2026-10-04 |
| REPO.BRANCH-DEFAULT | main |
2026-10-04 |
| REPO.MANIFESTS | course.json · lesson.json · questions.json |
2026-10-04 |
| REPO.PHASE-FILES | pre.mdx · live.mdx · post.mdx · instructor.mdx |
2026-10-04 |
| REPO.TOKEN | optional; needed for a private repository. Scope repo. |
2026-10-04 |
| REPO.TOKEN-AT-REST | encrypted, AES-256, with ENCRYPTION_KEY |
2026-10-04 |
| REPO.CLONE | on the server's disk; lost on a cold start on Vercel | 2026-10-04 |
The sync panel's hints say course.yaml. The sync reads course.json. The hint is wrong; tasks.md T003.
Two documents name two clone folders. The deployment runbook says REPO_STORAGE_PATH, default /tmp/lms-repos. The content rule says REPO_CACHE_DIR, default /tmp/learning-platform-repos. Not resolved here; tasks.md T003.
Related
Sources
- apps/website/src/components/courses/link-course-modal.tsx
- apps/server/src/api/02-curriculum/course-sync-content.utils.ts
- .claude/rules/50-content-model.md
- .context/ops/runbooks/deployment.md