CLIScenariosScenario guides

Scenario 37: Publish a profile layer to the catalog

Use this when you want teammates to discover and install a switchable global preset from HarnessTap Cloud. Published profiles are ordinary published layers...

Frequency: Occasional · Status: Shipped

← Back to scenarios index

Use this when you want teammates to discover and install a switchable global preset from HarnessTap Cloud. Published profiles are ordinary published layers with the profile tag — there is no separate catalog entity.

Typical commands:

harnesstap auth login work
harnesstap profile create work --description "Work machine preset"
harnesstap layer edit work --add layer:engineering-foundation
harnesstap profile publish work --account work
harnesstap profile list --search foundation --remote-only --account work
harnesstap profile pull harnesstap-cloud/default/work@1.0.0
harnesstap profile use work

What this gives you:

  • profile publish runs the same pipeline as layer publish with extra validation warnings (empty stack, unpublished local composition refs)
  • Cloud browse can filter published layers with tag=profile (Profiles tab in HarnessTap Cloud)
  • profile pull installs the bundle locally and warns when the result is not profile-tagged
  • profile use auto-pulls missing published layer dependencies before global apply (pass --no-pull to require local copies)

Profile layers export as urn:harnesstap:layer:v1 with tags including profile. Share across machines with migrate export / migrate import (active profile pointer included) or pull from the catalog after publish.

For project baselines without the profile tag, use layer publish and layer pull directly (Scenario 11).