Documentation
¶
Overview ¶
Package skilllifecycle orchestrates one learned-skill candidate through validation, durable lifecycle transitions, evaluation, and live publication.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Candidate ¶
type Candidate struct {
Draft learning.SkillDraftInput
Inventory []learning.SkillInventoryItem
Mode learning.Mode
Automatic bool
}
type Pipeline ¶
type Pipeline struct {
Repository learning.SkillRepository
Validator learning.SkillValidator
// Evaluator is trusted admission-control code supplied by the host. It must
// evaluate host-issued immutable fixture IDs, keep baseline and treatment
// independent, expose no tools/shell/network, fence candidate content, and
// enforce deterministic time/token/output limits. Nil deliberately records
// ABSTAIN. A returned error is durably marked ERROR and can never activate;
// the engine deliberately provides no production keyword or model judge.
Evaluator learning.SkillEvaluator
// ActivationPolicy is the assurance required for Auto activation. The zero
// value resolves to evaluated for source compatibility with existing embedders.
ActivationPolicy learning.SkillActivationPolicy
Publisher Publisher
Now func() time.Time
}
type Quarantiner ¶
type Quarantiner interface{ Quarantine(string) }
Click to show internal directories.
Click to hide internal directories.