Concepts/Concept
ADPS Engineering Concept Registry
Layered Memory L1/L2/L3
Separate current input, task facts, and reviewed cross-task experience.

Application context
An agent needs current user input on every turn, task facts throughout one run, and selected lessons across later runs. Applying one retention and loading rule to all three either loses useful history or fills every prompt with stale material.
Definition
| Layer | Scope | Examples | Loading rule |
|---|---|---|---|
| L1 | Current turn or step | Message, observation, temporary scratchpad | Loaded directly; discarded or promoted after the step |
| L2 | Current task or session | Milestones, decisions, evidence, artifacts | Selected by task and step; retained through recovery |
| L3 | Across tasks | Reviewed preferences, lessons, procedures | Retrieved by scope and task signature; source facts loaded on demand |
Engineering mechanism
Promotion is explicit. An L1 observation becomes L2 only when it changes progress, evidence, or a decision. An L2 lesson becomes L3 after source review, scope assignment, conflict checks, and publication. L3 summaries keep references to L2 facts so the runtime can load the full record when a decision requires detail.
Boundary
The three labels are functional tiers, not required databases. A deployment may use files, relational tables, object storage, and indexes together. Fast-changing control state remains outside memory even when it is referenced from a task record.
Proposal and provenance
- Concept group
- Context and memory
- Initial source within ADPS
- Initial practice: Bo Liang
- First recorded in
- Dongfang Yiteng execution-agent case ()
- ADPS editorial work
- ADPS added loading and reference rules for current input, task facts, and cross-task experience.
- Current standing
- ADPS restatement
Initial source: Dongfang Yiteng Execution Agent case report; contributed by Bo Liang.
Chronicle
- Recorded source
- Dongfang Yiteng execution-agent case ()
- Source date
- First published on ADPS