Help us shape the future of Go! Take the 2026 Go Developer Survey

memskill

package
v0.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package memskill provides the in-memory learned-skill repository reference adapter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	// contains filtered or unexported fields
}

func New

func New() *Store

func (*Store) Activate

func (*Store) ActivateValidated

func (s *Store) ActivateValidated(ctx context.Context, p learning.SkillPartition, owner string, id learning.SkillID, version learning.VersionID, expected learning.Revision) (learning.SkillVersion, error)

ActivateValidated activates only an evidence-backed, accepted/exact, staged ABSTAIN version and archives the prior active version in the same update.

func (*Store) Archive

func (*Store) CreateDraft

func (*Store) Generation added in v0.14.0

func (*Store) Get

func (*Store) RecordEvaluation

func (s *Store) RecordEvaluation(ctx context.Context, p learning.SkillPartition, owner string, id learning.SkillID, version learning.VersionID, expected learning.Revision, evaluation learning.SkillEvaluation) (learning.SkillVersion, error)

func (*Store) Reject

func (*Store) Rollback

func (s *Store) Rollback(ctx context.Context, p learning.SkillPartition, owner string, id learning.SkillID, expectedActive learning.Revision, target learning.VersionID) (learning.SkillVersion, error)

func (*Store) Stage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL