// SKS Core Skill Engine — shared type contract (SkillOpt-derived).
//
// Skills are the frozen agent's external, versioned state. An optimizer proposes
// bounded edits to a single skill document; edits are accepted ONLY on strict
// held-out improvement; deployment reads an immutable accepted snapshot and never
// calls the optimizer. None of this mutates code/config/global files.
export const CORE_SKILL_CARD_SCHEMA = 'sks.core-skill-card.v1';
export const CORE_SKILL_PATCH_SCHEMA = 'sks.core-skill-patch.v1';
export const CORE_ROLLOUT_TRACE_SCHEMA = 'sks.core-rollout-trace.v1';
export const CORE_SKILL_SCORE_SCHEMA = 'sks.core-skill-rollout-score.v1';
// Targets a SkillPatch may address. Anything else (code/config/global files) is
// rejected — patches only ever edit the single skill document.
export const SKILL_PATCH_TARGET_RE = /^(section|sentence|paragraph):[A-Za-z0-9 _.-]+$/;
// Targets that look like filesystem/code/config paths are explicitly forbidden.
export const FORBIDDEN_PATCH_TARGET_RE = /[/\\]|\.(ts|js|mjs|json|toml|rs|md|lock)\b|^~|^\.{1,2}\//i;
//# sourceMappingURL=core-skill-types.js.map