@nexartis/cubicle-adapter-hb3 0.2.0 nexartisCubicle → HB3 workflow plan compiler.
Reference host adapter. Ozzy Dev studies this to shape the local-mac adapter.
Interfaces we consume
compileCubicleToHb3Workflow(spec, options)— the shape Ozzy Dev\u2019s adapter mirrors.Hb3WorkflowPlantype — reference for the fields a runtime plan must carry.- Reserved-metadata guard: attacker-supplied
options.metadatacan\u2019t override compiler-authored trust fields.
Assumptions we’re validating
- 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.
Live smoke
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"]…