import type { IiosPlatformPorts, ContextDecisionBundle } from '@insignia/iios-contracts';

type CrrePort = IiosPlatformPorts['crre'];

/** Deterministic CRRE fake. Returns an empty (no-constraint) context bundle. */
export class FakeCrre implements CrrePort {
  async resolve(_input: unknown): Promise<ContextDecisionBundle> {
    return {
      bundleRef: 'fake-bundle',
      scopeHash: 'fake-hash',
      resourceSet: [],
      constraints: [],
    };
  }
}
