@nexartis/cubicle-adapter-hb3 0.2.0 nexartis

Cubicle → HB3 workflow plan compiler.

Reference host adapter. Ozzy Dev studies this to shape the local-mac adapter.

  • compileCubicleToHb3Workflow(spec, options) — the shape Ozzy Dev\u2019s adapter mirrors.
  • Hb3WorkflowPlan type — reference for the fields a runtime plan must carry.
  • Reserved-metadata guard: attacker-supplied options.metadata can\u2019t override compiler-authored trust fields.
  • HB3 adapter is the reference implementation of the HostAdapter contract; Ozzy Dev studies it for the local-mac adapter.
  • Adapter rejects specs whose `runtime.host` does not match its target.
  • Ozzy Dev’s local-mac adapter follows the same reserved-metadata + opaque-ref invariants.
  • The HB3 adapter’s tool-mapping shape is a reasonable starting point for the local-mac plan.
compileCubicleToHb3Workflow() produces a plan from a minimal spec
{"host":"hb3","spec":{"schemaVersion":"0.2.0","id":"demo-hb3.v1","subject":{"id":"user:tony","kind":"user"},"owner":{"id":"user:tony","kind":"user"},"runtime":{"host":"hb3","harnesses":["claude-code"]…