Awesome Cohub
EN
概念cohub.concept.platform-config4 min

Platform config is the account-global operator configuration layer shared by all Spaces in an environment.

Identity

  • Controlled by env PLATFORM_SPACE_ID (worker/API).
  • When a checkpoint is saved on that Space id, worker runs publishConfigFromWorkspace → target /configs/platform (on the config volume).
  • Whitelist (same shape as user config): AGENTS.md, CLAUDE.md, .agents/, .cohub/.

Not identified by name === "config" (that is user config). Platform is id-pinned.

Sandbox projection

Every sandbox mounts (read-only):

/configs/platform/.agents   # PLATFORM_AGENTS_DIR

(User layer mounts separately at /configs/user/.agents.)

What it feeds

SurfacePath under platform publish
Platform skills.agents/skills → slash/API catalog scope platform
Platform promptsprompts dirs under platform tree
Platform models.cohub/models.json
Auxiliary task models.cohub/model-tasks.json
Platform generations.cohub generations declarations
Explore / othere.g. .cohub/explore.json (API readers)

vs user config vs mods

LayerTrigger SpacePublish rootAudience
PlatformPLATFORM_SPACE_ID/configs/platformAll users/spaces in env
Username === "config"/configs/users/{userId} → mount /configs/userThat owner
Modany mounted Spacecheckpoint-cache …/latest → /mods/<slug>Spaces that mount it
Workspacecurrent Spaceno publish; live /workspaceThat Space only

See also

  • Playbook: cohub.bp.platform-config
  • Cheat: cohub.cheat.config-layers

另见:.cohub 分层与优先级 · 实践卡。