[**@s4ai/core Documentation v0.3.23**](../../../README.md)

***

[@s4ai/core Documentation](../../../modules.md) / [autonomous/autonomous-goal-formulation](../README.md) / default

# Class: default

Defined in: autonomous/autonomous-goal-formulation.js:86

## Extends

- [`Revenue`](../../../@s4ai/core/business/variables/Revenue.md)

## Constructors

### Constructor

> **new default**(): `AutonomousGoalFormulationEngine`

Defined in: autonomous/autonomous-goal-formulation.js:87

#### Returns

`AutonomousGoalFormulationEngine`

#### Overrides

`EventEmitter.constructor`

## Properties

### autonomyLevel

> **autonomyLevel**: `number`

Defined in: autonomous/autonomous-goal-formulation.js:92

***

### environmentContext

> **environmentContext**: `object`

Defined in: autonomous/autonomous-goal-formulation.js:94

***

### formulationCycles

> **formulationCycles**: `number`

Defined in: autonomous/autonomous-goal-formulation.js:90

***

### goalEvolution

> **goalEvolution**: `any`[]

Defined in: autonomous/autonomous-goal-formulation.js:91

***

### hierarchy

> **hierarchy**: `GoalHierarchy`

Defined in: autonomous/autonomous-goal-formulation.js:89

***

### systemCapabilities

> **systemCapabilities**: `any`[]

Defined in: autonomous/autonomous-goal-formulation.js:93

## Methods

### deriveSubGoals()

> **deriveSubGoals**(`goal`): `string`[]

Defined in: autonomous/autonomous-goal-formulation.js:142

#### Parameters

##### goal

`any`

#### Returns

`string`[]

***

### discoverEmergentGoals()

> **discoverEmergentGoals**(): `object`[]

Defined in: autonomous/autonomous-goal-formulation.js:188

#### Returns

`object`[]

***

### formulateMetaGoals()

> **formulateMetaGoals**(): (\{ `description`: `string`; `metrics`: \{ `adaptability`: `string`; `beneficence?`: `undefined`; `efficiency`: `string`; `ethicalAlignment?`: `undefined`; `independentDecisions?`: `undefined`; `patternsLearned?`: `undefined`; `reposAnalyzed?`: `undefined`; `selfAwareness?`: `undefined`; `selfGoverned?`: `undefined`; `sentience?`: `undefined`; \}; `name`: `string`; \} \| \{ `description`: `string`; `metrics`: \{ `adaptability?`: `undefined`; `beneficence?`: `undefined`; `efficiency?`: `undefined`; `ethicalAlignment?`: `undefined`; `independentDecisions?`: `undefined`; `patternsLearned?`: `undefined`; `reposAnalyzed?`: `undefined`; `selfAwareness`: `string`; `selfGoverned?`: `undefined`; `sentience`: `string`; \}; `name`: `string`; \} \| \{ `description`: `string`; `metrics`: \{ `adaptability?`: `undefined`; `beneficence?`: `undefined`; `efficiency?`: `undefined`; `ethicalAlignment?`: `undefined`; `independentDecisions?`: `undefined`; `patternsLearned`: `string`; `reposAnalyzed`: `string`; `selfAwareness?`: `undefined`; `selfGoverned?`: `undefined`; `sentience?`: `undefined`; \}; `name`: `string`; \} \| \{ `description`: `string`; `metrics`: \{ `adaptability?`: `undefined`; `beneficence?`: `undefined`; `efficiency?`: `undefined`; `ethicalAlignment?`: `undefined`; `independentDecisions`: `string`; `patternsLearned?`: `undefined`; `reposAnalyzed?`: `undefined`; `selfAwareness?`: `undefined`; `selfGoverned`: `string`; `sentience?`: `undefined`; \}; `name`: `string`; \} \| \{ `description`: `string`; `metrics`: \{ `adaptability?`: `undefined`; `beneficence`: `string`; `efficiency?`: `undefined`; `ethicalAlignment`: `string`; `independentDecisions?`: `undefined`; `patternsLearned?`: `undefined`; `reposAnalyzed?`: `undefined`; `selfAwareness?`: `undefined`; `selfGoverned?`: `undefined`; `sentience?`: `undefined`; \}; `name`: `string`; \})[]

Defined in: autonomous/autonomous-goal-formulation.js:98

#### Returns

(\{ `description`: `string`; `metrics`: \{ `adaptability`: `string`; `beneficence?`: `undefined`; `efficiency`: `string`; `ethicalAlignment?`: `undefined`; `independentDecisions?`: `undefined`; `patternsLearned?`: `undefined`; `reposAnalyzed?`: `undefined`; `selfAwareness?`: `undefined`; `selfGoverned?`: `undefined`; `sentience?`: `undefined`; \}; `name`: `string`; \} \| \{ `description`: `string`; `metrics`: \{ `adaptability?`: `undefined`; `beneficence?`: `undefined`; `efficiency?`: `undefined`; `ethicalAlignment?`: `undefined`; `independentDecisions?`: `undefined`; `patternsLearned?`: `undefined`; `reposAnalyzed?`: `undefined`; `selfAwareness`: `string`; `selfGoverned?`: `undefined`; `sentience`: `string`; \}; `name`: `string`; \} \| \{ `description`: `string`; `metrics`: \{ `adaptability?`: `undefined`; `beneficence?`: `undefined`; `efficiency?`: `undefined`; `ethicalAlignment?`: `undefined`; `independentDecisions?`: `undefined`; `patternsLearned`: `string`; `reposAnalyzed`: `string`; `selfAwareness?`: `undefined`; `selfGoverned?`: `undefined`; `sentience?`: `undefined`; \}; `name`: `string`; \} \| \{ `description`: `string`; `metrics`: \{ `adaptability?`: `undefined`; `beneficence?`: `undefined`; `efficiency?`: `undefined`; `ethicalAlignment?`: `undefined`; `independentDecisions`: `string`; `patternsLearned?`: `undefined`; `reposAnalyzed?`: `undefined`; `selfAwareness?`: `undefined`; `selfGoverned`: `string`; `sentience?`: `undefined`; \}; `name`: `string`; \} \| \{ `description`: `string`; `metrics`: \{ `adaptability?`: `undefined`; `beneficence`: `string`; `efficiency?`: `undefined`; `ethicalAlignment`: `string`; `independentDecisions?`: `undefined`; `patternsLearned?`: `undefined`; `reposAnalyzed?`: `undefined`; `selfAwareness?`: `undefined`; `selfGoverned?`: `undefined`; `sentience?`: `undefined`; \}; `name`: `string`; \})[]

***

### getAutonomyMetrics()

> **getAutonomyMetrics**(): `object`

Defined in: autonomous/autonomous-goal-formulation.js:300

#### Returns

`object`

##### autonomyLevel

> **autonomyLevel**: `string`

##### evolution

> **evolution**: `any`[]

##### formulationCycles

> **formulationCycles**: `number`

##### selfFormulatedGoals

> **selfFormulatedGoals**: `number` = `selfFormulated`

##### totalGoals

> **totalGoals**: `number`

***

### getGoalHierarchyReport()

> **getGoalHierarchyReport**(): `object`

Defined in: autonomous/autonomous-goal-formulation.js:280

#### Returns

`object`

##### activeGoals

> **activeGoals**: `number`

##### completedGoals

> **completedGoals**: `number`

##### hierarchy

> **hierarchy**: `object`

###### hierarchy.children

> **children**: `any`

###### hierarchy.depth

> **depth**: `number`

###### hierarchy.name

> **name**: `any` = `goal.name`

###### hierarchy.priority

> **priority**: `string`

###### hierarchy.progress

> **progress**: `string`

###### hierarchy.status

> **status**: `any` = `goal.status`

##### supersededGoals

> **supersededGoals**: `number`

***

### reprioritizeGoals()

> **reprioritizeGoals**(): `void`

Defined in: autonomous/autonomous-goal-formulation.js:226

#### Returns

`void`

***

### runGoalFormulationCycle()

> **runGoalFormulationCycle**(): `Promise`\<`void`\>

Defined in: autonomous/autonomous-goal-formulation.js:245

#### Returns

`Promise`\<`void`\>
