Documentation
¶
Overview ¶
Package skillmigration protects converted local slots during supported rollback and CLI downgrade operations. It contains coordinates, never content.
Index ¶
- Constants
- func ActiveNames(root string) (map[string]bool, error)
- func CheckConfig(raw []byte, active map[string]bool) error
- func CheckVersion(root, target string) error
- func CheckVersionLocked(root, target string) error
- func LocalSlot(name string) string
- func WithRecovered(root string, fn func() error) error
- func WithRecoveredContext(ctx context.Context, root string, fn func() error) error
Constants ¶
const MinimumCLI = "1.0.0"
MinimumCLI is the first CLI release with the migration's ownership safeguard. This is a CLI capability boundary, not a skill-content release/version.
Variables ¶
This section is empty.
Functions ¶
func ActiveNames ¶
ActiveNames returns occupied imported slots with the migration's genuine repository/path lock identity. Bad evidence blocks mutation rather than guessing.
func CheckConfig ¶
CheckConfig preserves import ownership when a rollback restores configuration.
func CheckVersion ¶
CheckVersion checks capability before locking and recovering unsafe handoffs.
func CheckVersionLocked ¶
CheckVersionLocked refuses a CLI that can recreate converted local templates. Callers hold the project lock and have recovered imports before invoking it.
func WithRecovered ¶
WithRecovered serializes a supported operation with imports and projection.
Types ¶
This section is empty.