Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Function initComplianceMaps

    • Parameters

      • workspace: string
      • Optionalfile: {
            complianceMaps: {
                mappings: {
                    category: string;
                    description: string;
                    evidenceRequirements: (
                        | {
                            eventTypes: (
                                | "gateway"
                                | "stdin"
                                | "stdout"
                                | "stderr"
                                | "artifact"
                                | "metric"
                                | "test"
                                | "audit"
                                | "review"
                                | "llm_request"
                                | "llm_response"
                                | "output_validated"
                                | "tool_action"
                                | "tool_result"
                                | "outcome"
                                | "agent_process_started"
                                | "agent_stdout"
                                | "agent_stderr"
                                | "agent_process_exited"
                                | "agent_handoff_sent"
                                | "agent_handoff_received"
                                | "agent_delegation_started"
                                | "agent_delegation_completed"
                                | "session/open"
                                | "session/close"
                                | "work/accepted"
                                | "turn/start"
                                | "turn/end"
                                | "turn/seal"
                                | "step/start"
                                | "step/end"
                                | "request/header"
                                | "request/tools"
                                | "request/response"
                                | "request/failure"
                                | "system/prompt"
                                | "user/message"
                                | "user/attachment"
                                | "assistant/block"
                                | "tool/call"
                                | "tool/result"
                                | "tool/spill-commitment"
                                | "approval/request"
                                | "approval/answer"
                                | "sandbox/mode"
                                | "session/recovery-claim"
                                | "session/resume"
                                | "session/release"
                                | "session/recovered"
                                | "loop/inbox"
                                | "loop/cancel"
                                | "loop/veto"
                                | "loop/retry"
                                | "loop/compact"
                            )[];
                            minObservedRatio: number;
                            type: "requires_evidence_event";
                        }
                        | {
                            maxSucceeded: number;
                            minScore: number;
                            packId: string;
                            type: "requires_assurance_pack";
                        }
                        | { auditTypesDenylist: string[]; type: "requires_no_audit" }
                    )[];
                    framework: string;
                    id: string;
                    related: { configs: string[]; packs: string[]; questions: string[] };
                }[];
                version: 1;
            };
        }

      Returns { path: string; sigPath: string }