Slowest-changing layer. Stable principles that constrain everything below. Schwartz's ten universal categories plus three agent-specific extensions, arranged on a circumplex with structural-conflict detection between opposing poles.
ValuesEngine: add, check_action (keyword match), detect_structural_conflicts (Schwartz opposing poles), rank_for_context, export/import.
Schwartz (2012); ACT — Hayes, Strosahl & Wilson (2011).
Mental models of the world updated by evidence. Confidence rises or falls via AGM-flavoured weighted updates — not a logic engine; a numeric heuristic inspired by AGM. Tier 2: present in v0.1, not yet shown to add measurable benefit on the experimental seed (ADR-011 Decision 2).
BeliefsEngine: add, add_evidence (confidence-weighted), query_by_domain, decay_stale (linear time-decay; richer functions are not implemented).
AGM postulates — Alchourrón, Gärdenfors & Makinson (1985).
Why the agent exists and the role it inhabits. Grounded in values, informed by beliefs, scoped as primary / secondary / contextual. Ikigai is cited as inspiration; the four-domain intersection is not encoded. Tier 2: present in v0.1, not yet shown to add measurable benefit on the experimental seed (ADR-011 Decision 2).
PurposeEngine: set_primary, add_secondary, add_contextual, get_for_context, check_consistency.
Ikigai — Mogi (2017); SDT — Deci & Ryan (2000).
Opt-in module (ADR-008). Descriptive self-model with an append-only autobiographical episode stream — the episode-stream piece is what the v0.1 experiment showed doing measurable work (driving the +0.11 Δ on McAdams Meaning-made). The three integration loops (infer_from_behaviour, integrate_lessons, check_identity_drift) are deterministic token-overlap heuristics inspired by Bem / SDT-OIT / Erikson — diagnostic signals, not strong claims about machine selfhood.
SelfConceptEngine: set_self_concept, add_capability/limitation, add_episode (append-only), infer_from_behaviour, integrate_lessons, check_identity_drift. AlignmentEngine surfaces an identity-coherence score via full_audit() when wired in.
Bem (1972); Erikson (1968); McAdams (2001); Damasio (1999); Metzinger (2003). Implementation faithfulness varies — see research page.
Aspirational drivers between purpose and concrete goals. BDI's 'D'. Carry intensity and link to values/beliefs. Tier 3: research / experimental — not exercised by the v0.1 experimental seed (ADR-011 Decision 2).
DesiresEngine: add, update_intensity, link_to_value, link_to_belief, generate_goal_candidates.
BDI — Bratman (1987); Rao & Georgeff (1995); ACT bridges values to action.
Measurable, time-bound objectives with lifecycle management. The 'I' in BDI (intentions). Goals decompose into sub-goals, track progress, and enforce validated state transitions. Tier 3: research / experimental — not exercised by the v0.1 experimental seed (ADR-011 Decision 2).
GoalsEngine: create, update_progress (auto-completes at 1.0), set_status (validated transitions), decompose, check_deadlines.
BDI intentions — Bratman (1987); SMART — Doran (1981); Locke & Latham (2002).
Atomic, transient work items — the fastest-changing layer. Reasoned about (alignment checks consume an action description) but not owned. The host's runtime executes tasks; the framework does not.
Not a framework engine — tasks are managed by the integrator's runtime. AlignmentEngine.check_alignment() evaluates a candidate action against the layers above.
Out-of-scope for the framework; integrators bring their own task system.