Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

fix(aop): allow cloning a no-op AOP source with no playbook tree

merged#2891CedarCopilot

CedarCopilot wants to merge 2 commits into staging from fix/aop-clone-noop-source

What Libra verified

  • A no-op AOP clones into another document-less no-op AOP

    Libra ran this behavior against the change and confirmed the check detects when it breaks.

    Technical evidence
    • cloning an existing no-op AOP with no playbook documents succeeds with zero documents and marks both created AOP rows as no-op

    Changed code: create-aop.test.ts.

  • Cloning preserves no-op execution semantics in both AOP representations

    Libra ran this behavior against the change and confirmed the check detects when it breaks.

    Technical evidence
    • cloning a no-op source preserves isNoOp=true on both the new user-level and organization-level rows

    Changed code: create-aop.ts.

run f7edf532-20a2-4b0c-a3f0-786a417b6ff9, completed Sep 22, 2026, 7:56 PM