/** * Ownership-unit registry. * * Every native unit AXM can own is declared here exactly once: its extension * type, whether it carries one contributor or many, and how its membership is * decided. The conformance suite derives its aggregate coverage obligations * from this registry, so a new aggregate unit cannot ship without multi-route * contributor coverage. * * @experimental This API is unstable and may change without notice. */ import type { ExtensionType } from "../extensions/index.js"; export interface OwnershipUnitDeclaration { /** Stable unit identifier used by planning, facts, and conformance. */ readonly unitId: string; readonly type: ExtensionType; /** Whether the unit carries exactly one extension or a contributor set. */ readonly contributors: "one" | "many"; /** Membership rule, stated over the desired-state graph. */ readonly membership: string; } export declare const ownershipUnits: readonly [{ readonly unitId: "skill:agent-skill-directory"; readonly type: "skill"; readonly contributors: "one"; readonly membership: "That Skill."; }, { readonly unitId: "mcp-server:native-config-entry"; readonly type: "mcp-server"; readonly contributors: "one"; readonly membership: "That MCP server or inline definition."; }, { readonly unitId: "subagent:native-profile"; readonly type: "subagent"; readonly contributors: "one"; readonly membership: "That Subagent."; }, { readonly unitId: "hook:agent-hook-entries"; readonly type: "hook"; readonly contributors: "many"; readonly membership: "Every active reachable Hook realized natively for that agent."; }, { readonly unitId: "hook:fallback-region"; readonly type: "hook"; readonly contributors: "many"; readonly membership: "Every active reachable Hook realized through the fallback."; }, { readonly unitId: "rule:instructions-region"; readonly type: "rule"; readonly contributors: "many"; readonly membership: "Every active reachable Rule."; }, { readonly unitId: "knowledge:discovery-region"; readonly type: "knowledge"; readonly contributors: "many"; readonly membership: "Every active reachable Knowledge bundle the workspace's discovery configuration permits to publish."; }]; export type OwnershipUnitId = (typeof ownershipUnits)[number]["unitId"]; export type AggregateOwnershipUnitId = Extract<(typeof ownershipUnits)[number], { readonly contributors: "many"; }>["unitId"]; export type SingletonOwnershipUnitId = Extract<(typeof ownershipUnits)[number], { readonly contributors: "one"; }>["unitId"]; type AggregateOwnershipUnitDeclaration = Extract<(typeof ownershipUnits)[number], { readonly contributors: "many"; }>; export declare const aggregateOwnershipUnits: ReadonlyArray; export {}; //# sourceMappingURL=units.d.ts.map