Class: Insika::SkillCatalog::Skill

Inherits:
Data
  • Object
show all
Defined in:
lib/insika/skill_catalog.rb

Overview

Eagerness is NOT here. It used to be a frontmatter flag, i.e. a property of the SKILL — but skills are shared between agents, so one flag forced one decision onto every allowlist holding the skill. It is a property of the AGENT (profile.skills_eager, see #eager_for).

companions: names of the skills this one cannot work without. Injecting or loading a skill brings them along, so the half-recipe state cannot be assembled — a reference table arriving without the procedure that reads it is worse than nothing, because the model then never asks for the other half.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



23
24
25
# File 'lib/insika/skill_catalog.rb', line 23

def body
  @body
end

#companionsObject (readonly)

Returns the value of attribute companions

Returns:

  • (Object)

    the current value of companions



23
24
25
# File 'lib/insika/skill_catalog.rb', line 23

def companions
  @companions
end

#descriptionObject (readonly)

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



23
24
25
# File 'lib/insika/skill_catalog.rb', line 23

def description
  @description
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



23
24
25
# File 'lib/insika/skill_catalog.rb', line 23

def name
  @name
end

#pathObject (readonly)

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



23
24
25
# File 'lib/insika/skill_catalog.rb', line 23

def path
  @path
end

#triggersObject (readonly)

Returns the value of attribute triggers

Returns:

  • (Object)

    the current value of triggers



23
24
25
# File 'lib/insika/skill_catalog.rb', line 23

def triggers
  @triggers
end