| Function | Ref. Model | I/O Data | SubAIMs | JSON MData | Profiles | Ref. Software | Conformance | Performance |
1. Function
The Context Resolution (PGM‑CXR) AIM is a Sub-AIM of Personality Alignment (PGM‑PAL). It obtains the interaction context and reconciles it with the User State, so that the stance decision is context‑aware.
PGM‑CXR:
- Receives the User State and the PAL Interaction History Response.
- Obtains the interaction context from Private Storage as needed, with a PAL Interaction History Request.
- Reconciles the context with the User State and produces the Resolved Context.
PGM‑CXR does not select the stance.
2. Reference Model
Figure 1 depicts the Reference Model of the Context Resolution (PGM‑CXR) AIM.

Figure 1 – The Context Resolution (PGM‑CXR) AIM
3. Input/Output Data
Table 1 specifies the Input and Output Data of the Context Resolution (PGM‑CXR) AIM.
Table 1 – I/O Data of the Context Resolution (PGM‑CXR) AIM
| Input | Description |
|---|---|
| User State | Estimate of the User’s internal state, sent one‑way by User State Refinement. |
| PAL Interaction History Response | Prior context content read from Private Storage. |
| Output | Description |
| Resolved Context | The interaction context, reconciled with the User State. |
| PAL Interaction History Request | Request to Private Storage to read the context needed for the stance decision. |
4. Sub-AIMs
No Sub-AIMs.
5. JSON Metadata
https://schemas.mpai.community/PGM1/V1.0/AIMs/ContextResolution.json
6. Profiles
No Profiles.
7. Reference Software
Not part of this specification.
8. Conformance Testing
Table 2 provides the Conformance Testing Method for the Context Resolution (PGM‑CXR) AIM.
If a schema contains references to other schemas, conformance of data for the primary schema implies that any data referencing a secondary schema shall also validate against the relevant schema, if present, and conform with the Qualifier, if present.
| Receives | User State | Shall validate against the User State schema. |
| PAL Interaction History Response | Shall validate against the PAL Interaction History schema. | |
| Produces | Resolved Context | Shall validate against the Resolved Context schema. |
| PAL Interaction History Request | Shall validate against the PAL Interaction History schema. |
9. Performance Assessment
Not part of this specification.