Skip to main content

Interface: TurnScopes

Defined in: packages/agentos/src/cognition/learning/types.ts:173

The scope ids a turn files and reads its own memory under, and the turn's mode.

Properties​

learner​

learner: "none" | "bound"

Defined in: packages/agentos/src/cognition/learning/types.ts:174


mode​

mode: LearningMode

Defined in: packages/agentos/src/cognition/learning/types.ts:180

The turn's mode: off (the config, AGENTOS_LEARNING_OFF=1 or a suspension of the turn's scope) stops the reads of learned state and the five self-modification tools; frozen (the config, AGENTOS_LEARNING_FREEZE=1 or a run-time freeze) stops every new self-change.


namespace​

namespace: string

Defined in: packages/agentos/src/cognition/learning/types.ts:186

The namespace the session's form uses: a reader writes the turn's own thread ids with taggedScopeId(id, namespace).


personaScopeId​

personaScopeId: string

Defined in: packages/agentos/src/cognition/learning/types.ts:184

<u>::<personaId>, or <s>::<personaId>.


userScopeId​

userScopeId: string

Defined in: packages/agentos/src/cognition/learning/types.ts:182

<u> of user:<u> for the turn's learner; the session's form when it has none.