Magokoro and the encounter layer of the k-Framer AL framework

Open access module via USSoL (universities of signs & signatures)

Free USSoL learning module adapted from JuPeL (magokoro_jupel_bundle/magokoro/magokoro_encounter_layer.md).

Author: M.A. Sani · Institut Penyelidikan Lamania Date: 2026-05-31 Version: v1.0 Slug: magokoro_encounter_layer Status: Open access Document type: research note · framework extension

Abstract

The k-Framer universal rubric evaluates artefact-side quality through three layers — Structure (18-cell completeness under K₁₈ binding), Process (the pe/s sequence of customer-journey touchpoints), and Product (sensory and execution quality of the made thing). For a wide range of artefact types — research documents, project plans, course curricula, vendor listings — these three layers are jointly sufficient.

For service operations involving a producer-user encounter, the three-layer artefact framework is necessary but not sufficient. Customers report that the same dish from the same maker can deliver substantively different experiences on different occasions. The decisive variable is not in the artefact; it is in the encounter — specifically in the relational quality of the meeting between producer and user mediated by the artefact.

This paper introduces the encounter layer as a fourth measurement axis. The encounter is characterised by two five-dimensional stacks (one for the producer, one for the user) under the acronym KESWA (Knowledge, Experience, Skills, Wisdom, Assets), evaluated for cross-stack binding through a 5×5 matrix (25 face- and fold-pairs under RSB), and modulated by magokoro (Japanese: 真心, "true heart") — a per-encounter presence scalar distinct from the durable KESWA stack. The Soul_AL of an encounter is the product of capacity-binding and magokoro modulation; the Total Experience AL is the product of Artefact_AL and Encounter_AL.

The framework correctly attributes the variation in experience to its proper source. When a sick customer eats a dish from a master cook, the customer's KESWA capacity is structurally intact while their magokoro is depleted; the framework attributes the loss of experience to presence reduction, not to capacity change. When a chain restaurant industrially optimises structure, process, and product but cannot replicate the relational binding at the encounter, the framework predicts the soul deficit that customers report. The framework also predicts the inverse case — a hawker stall with low documentation AL but high encounter AL can outperform an extensively documented competitor on Total_AL.

The encounter layer is implemented in three TypeScript modules (kframer.keswa.ts, kframer.magokoro.ts, kframer.total.ts) and verified against 29 smoke-test assertions, including the sick-customer regression case. The existing artefact-side code is unchanged; the encounter layer is purely additive.

Keywords

magokoro · niyyah · soul · KESWA · encounter · acceptance level · AL · RSB · k-Framer · TLAQ · presence · cross-stack binding · service quality · barakah · 真心


§1 · Introduction: the artefact-side limit

The k-Framer rubric, in its initial formulation (kframer.universal.spec.md, v0.1–v0.3), measured the quality of an artefact through three layers:

  • Structure_AL — completeness of the 18 cells of the rubric and the coherence of their 153 face-pair bindings under K₁₈ (cell_AL × binding_AL)
  • Process_AL — manifestation of the 12-element pe/s sequence of customer-journey touchpoints, scored on observed quality
  • Product_AL — the sensory, execution, and authenticity quality of the made thing itself (recursive application of the k-Framer to the artefact as an artefact)

Total_AL was defined as the product of these three.

This formulation is sufficient for artefact types where there is no specific producer-user encounter to evaluate. A research document, a project plan, a course curriculum, a vendor listing — each can be evaluated in the absence of any specific reading or use occasion. The artefact stands alone.

For service operations involving real-time producer-user interaction, the three-layer framework leaves an explanatory residual. Empirical observation establishes the following pattern repeatedly:

The same dish, prepared by the same producer with the same recipe and ingredients, can deliver substantively different experiences to different customers, or even to the same customer on different days.

Three sub-observations sharpen the case:

  1. The sick-customer case. A regular customer who eats a dish from a master cook will report a different experience when ill than when well — even when the dish is technically identical. The customer's lifetime palate, knowledge of the cuisine, and lived experience remain intact; what is reduced is the moment-by-moment capacity to be present at the encounter.

  2. The takeaway case. The same dish, prepared by the same maker, eaten at the stall in the presence of the maker, delivers a substantively different experience from the same dish carried home and consumed an hour later. The artefact is identical; the encounter is severed.

  3. The chain-versus-hawker case. A multinational chain with extensive operating standards, training programmes, and ingredient quality control will routinely be reported as inferior to a hawker stall whose documentation is minimal, whose operations are visibly chaotic, and whose technique is unconventional — when the metric is customer satisfaction at the meal level.

These cases are not anomalies; they are central to the lived experience of food in any culture that has not yet been industrialised out of its memory. They are also not capturable by any rubric that measures the artefact in isolation. The variable is the relational binding between producer and user mediated by the artefact at one moment.

This paper proposes the framework extension that captures it.


§2 · KESWA: the producer-user stacks

A person at an encounter is characterised by a five-dimensional vector of durable capacities, named under the acronym KESWA:

SymbolDimensionDescription
KKnowledgeWhat one knows of the craft, of the canonical reference, of the other. The Arabic ʿilm.
EExperienceWhat one has lived through, repeated, encountered. The accumulated history of being-in-the-domain.
SSkillsTrained competence in execution. Hands that can do, palate that can detect, judgment that can apply.
WWisdomThe Arabic ḥikmah. Discernment — knowing when to bend the rule and when to hold to it. The meta-level.
AAssetsMaterial conditions accumulated in service of the craft. Tools, ingredients, networks, lineage rights, recipes, location, reputation, customer trust, established premises. On the receiving side: time, attention, capital, occasion.

The KESWA stack is durable — it represents what someone has slowly accumulated as a person. It evolves on the time-scale of years, not encounters. Each component is normalised to [0, 1] where 1.0 indicates maximal accumulation in that dimension.

The KESWA decomposition serves both the producer and the user side. A producer of nasi lemak might score:

KESWA_producer = [ K=0.95, E=0.95, S=0.90, W=0.85, A=0.90 ]

reflecting forty years of recipe lineage (K), forty years of making the dish weekly (E), trained hands and palate (S), the judgment to adjust by weather and customer (W), and the accumulated assets — the seasoned wok, the location regulars know, the supplier relationship since 1990 (A).

A regular customer of that stall might score:

KESWA_user = [ K=0.80, E=0.80, S=0.75, W=0.70, A=0.80 ]

reflecting genuine familiarity with what nasi lemak should be (K), a lifetime of eating it (E), developed palate (S), wisdom to appreciate the nuances (W), and the assets-in-this-moment that allow them to receive — time, attention, social context, occasion (A).

The norm of a KESWA vector serves as a scalar capacity measure. Following standard practice for normalised vector spaces:

‖KESWA‖ = √( K² + E² + S² + W² + A² ) / √5

so that a uniformly maximal stack scores 1.0 and a uniformly empty stack scores 0.0.

2.1 · A note on Assets

The "A" in KESWA is Assets, not Adab. This is significant. Earlier formulations of similar frameworks (and an initial misreading by collaborators on this work) interpreted the fifth dimension as comportment-of-the-maker or attitude. The framework selects Assets deliberately, for two reasons:

First, Assets captures the material conditions of the craft that are inseparable from its full manifestation. A master cook in exile, separated from her seasoned wok, her supplier of forty years, her location, and the customer trust she has built — retains K, E, S, W intact but loses the Assets that enabled their full expression. The dish suffers measurably even though her capacity in the other four dimensions is unchanged. Assets is what binds the maker to the place and the place to the dish.

Second, on the receiving side, Assets captures the time-attention-occasion that the user brings to the encounter. A user with rich K-E-S-W but no Assets-in-this-moment — short on time, distracted by other obligations, eating in transit — cannot fully receive what the producer offers. The user's structural capacities are sound; their material conditions for this encounter are insufficient.

The presence-of-the-maker concept (adab, niyyah, ihsan) is real and important, but the framework locates it in a separate dimension: magokoro (§4). KESWA captures who someone is; magokoro captures whether they are showing up.


§3 · Cross-stack binding: the 5×5 matrix

When a producer and a user meet through an artefact at an encounter, the two KESWA stacks interface. The framework evaluates this interface through a 5×5 binding matrix using RSB (Rope String Bundle) semantics.

There are 5 × 5 = 25 cross-stack pairs. Following the framework's existing K₁₈ binding categorisation:

  • 5 same-dimension pairs (K↔K, E↔E, S↔S, W↔W, A↔A) — termed faces — capture matched-dimension resonance. Does the producer's knowledge meet the user's knowledge at a shared frame of reference? Does the producer's skill register with the user's palate?

  • 20 cross-dimension pairs (K↔E, K↔S, K↔W, K↔A, E↔K, E↔S, ... A↔W) — termed folds — capture cross-dimension binding. Does the producer's wisdom land in the user's awareness? Does the user's experience receive the producer's accumulated assets?

Each pair carries one of four binding states (following the artefact-side framework):

StateScoreInterpretation
IoB (Instance of Binding)1.0Both dimensions strong and well-matched; meaningful transmission
Partial0.5Some coupling, but weak — alignment imperfect
IoDB (Instance of Debinding)0.0Asymmetric failure — offering present on one side, cannot land on the other
Not evaluatedexcludedBoth dimensions too thin to compare meaningfully

The IoDB case is the most diagnostically interesting. It captures the asymmetric-failure of soul transmission: when one side has substantial capacity in a dimension and the other side has essentially none, the cells debind — what was offered cannot be received. This is precisely the gap that hospitality industry literature has historically described as "mismatch between offer and recipient" but lacked a formal vocabulary for.

3.1 · Heuristic decision rules

The current implementation uses simple, observable heuristics for the binding decision on each (producer-dim, user-dim) pair:

ConditionResulting state
Both values ≥ 0.7 AND difference ≤ 0.2IoB (strong, well-matched)
Both values ≥ 0.5 AND difference ≤ 0.35Partial (decent coupling)
One value ≥ 0.7 AND other ≤ 0.3IoDB (asymmetric failure)
Both values ≤ 0.2Not evaluated
OtherwisePartial (weak coupling)

These rules are intentionally conservative. They will be refined in v0.4 of the spec, likely using LLM-as-judge or semantic similarity measures for the binding decisions. For v0.3 they provide a deterministic baseline.

3.2 · Aggregate binding_AL

The cross-stack binding_AL is the mean score over evaluated pairs:

binding_AL = Σ score over evaluated pairs / count(evaluated pairs)

Face_AL (within-dimension) and fold_AL (cross-dimension) are tracked separately for diagnostic purposes. A high face_AL with low fold_AL indicates that the producer and user are aligned on each dimension individually but the dimensions don't carry meaning across to each other — a kind of "they're alike but they're not connecting." A low face_AL with high fold_AL is rare and indicates the two are differently-shaped people whose strengths nonetheless cross-feed productively.


§4 · Magokoro: presence beyond capacity

The KESWA stack captures durable capacity. It does not capture moment-by-moment presence.

A regular customer of a hawker stall has KESWA that is stable over years. On Monday she may be well-rested, attentive, hungry-attentive, present. On Tuesday she may be sick with the flu, distracted by an argument from earlier in the morning, eating quickly because she must return to work. Her KESWA in both cases is identical. The encounters are different.

The framework names this difference magokoro (真心), borrowing from Japanese craft and aesthetic tradition. Literally "true heart," magokoro denotes the wholehearted presence one brings to an act — making or receiving. In the tea ceremony tradition the host's magokoro and the guest's magokoro together constitute the encounter; without either, the ceremony's structural form persists but the encounter does not occur.

Magokoro is modelled in the framework as a per-encounter scalar:

  • mk_p ∈ [0, 1] — the producer's magokoro at this encounter
  • mk_u ∈ [0, 1] — the user's magokoro at this encounter

The combined magokoro of the encounter is the product:

magokoro = mk_p × mk_u

The multiplicative form honours the relational structure: if either side is absent, the encounter does not transmit. A cook fully present (mk_p = 1.0) serving a customer on their phone (mk_u = 0.1) produces magokoro = 0.1 regardless of how prepared either party is structurally.

4.1 · What mk_p and mk_u measure

Both quantities are scored from observable behaviour, not introspective claims. They are not abstractions; they are signals.

mk_p (producer's magokoro this encounter):

  • Engagement with the making — visible attention to each step, vs going through motions
  • Care evident in small details — wiping the rim of the bowl, precise placement of the leaf garnish, the third rinse of the rice
  • Attention to ingredients — picking the right portion by feel, noticing when something is off
  • Mood and recognition — eye contact, mood-matched response to the customer, acknowledgment of regulars
  • Physical and mental presence — not tired, not distracted by phone calls or back-of-house drama, not preoccupied

mk_u (user's magokoro this encounter):

  • Attention — phone down, not multitasking, not deep in conversation that prevents reception
  • Physical state — not sick, not exhausted, not in pain
  • Emotional availability — not stressed, not numb, not in active distress
  • Social openness — not defensive, not impatient, not posturing
  • Sensory attention — smelling before eating, pausing on first bite, slowing the second mouthful

Each can be scored on observable behaviour during the encounter. The framework does not claim that mk reflects an essential property of the person; it claims only that it reflects this particular encounter.

4.2 · Why Reading C and not the alternatives

In developing the framework, three readings of mk were considered:

  • Reading A — mk as the binding state itself. The soul_AL value is mk. Compresses everything into one operator; loses internal structure.
  • Reading B — mk as the gap between realised and potential. Requires defining a counterfactual "peak" state; introduces complications around the reference.
  • Reading C — mk as moment-by-moment presence, separate from the structural KESWA stack. The framework selects this reading.

Reading C is most parsimonious — it adds two scalar variables (mk_p, mk_u) without modifying the cross-stack binding mathematics. Reading C is most observable — mk_p and mk_u are scored from behaviour, not from counterfactual estimation. Reading C is most predictive — it correctly attributes the sick-customer's experience loss to magokoro reduction without requiring any change to the customer's KESWA stack.


§5 · Total Experience: the four-axis composition

The complete framework now reads as a four-axis composition:

ARTEFACT layer (what the made thing IS):
  Structure_AL  · cells + K₁₈ binding within the artefact's documentation
  Process_AL    · pe/s manifestation in the operational sequence
  Product_AL    · sensory + execution + authenticity (recursive k-Framer)

  Artefact_AL = Structure_AL × Process_AL × Product_AL

ENCOUNTER layer (what happens when it meets someone):
  capacity_binding  =  min(‖KESWA_p‖, ‖KESWA_u‖) × Cross_RSB(KESWA_p, KESWA_u)
  magokoro          =  mk_p × mk_u
  Soul_AL           =  capacity_binding × magokoro

  Encounter_AL = Soul_AL

TOTAL:
  Total_AL = Artefact_AL × Encounter_AL

The architectural symmetry is pleasing: both the made and the meeting decompose into a structural component and a manifestation component. Structure × Process × Product on the artefact side; Capacity × Magokoro on the encounter side. The framework treats reproducible quality and one-time relational quality as architecturally analogous.

5.1 · Optional encounter

The encounter layer is optional. Many artefacts are evaluated without a specific encounter context — JuPeL documents, project plans, vendor listings, course curricula. In these cases the encounter dimension is undefined, and Total_AL collapses to Artefact_AL. The framework does not require an encounter measurement for every evaluation; it makes one available when one is appropriate.

When an encounter is specified, the framework produces both numbers — Artefact_AL and Encounter_AL — and surfaces a diagnostic identifying which side is the bottleneck. A strong artefact with weak encounter (high cell_AL, low Soul_AL) tells the operator "the dish was made well; the encounter failed to carry it" — a different remediation from "the dish itself was insufficient."

5.2 · Bottleneck diagnostic

The composition function produces a categorical bottleneck identification:

  • Artefact bottleneck — Artefact_AL is materially lower than Encounter_AL. The encounter was ready; the artefact didn't deliver. Action: improve structure, process, or product.
  • Encounter bottleneck — Encounter_AL is materially lower than Artefact_AL. The artefact was sound; the encounter failed to land it. Action depends on which encounter sub-component dropped: KESWA mismatch (audience misalignment), low magokoro (presence training, occasion management), or capacity floor (one side genuinely too thin for the offering).
  • Balanced — both layers contributing similarly to the gap. Both sides need work.
  • N/A — no encounter specified; the artefact_AL is the full result.

§6 · Worked example: the sick-customer case

The motivating test case for the framework, due to M.A. Sani's observation:

"A sick person, tasting the same nasi lemak, will have a different experience level."

Same producer, same dish, same recipe, same ingredients, same kitchen, same moment of service. The customer's KESWA is structurally unchanged — they still have lifetime palate, lifetime familiarity, lifetime wisdom. What is different is their presence today.

The framework handles this without any modification to the customer's KESWA stack. The change is located in mk_u.

6.1 · Numerical walk-through

Producer (the cook)
  KESWA_p = [ K=0.95, E=0.95, S=0.90, W=0.85, A=0.90 ]
  ‖KESWA_p‖ = 0.910

User (the customer; KESWA durable, unchanged across the two encounters)
  KESWA_u = [ K=0.80, E=0.80, S=0.75, W=0.70, A=0.80 ]
  ‖KESWA_u‖ = 0.770

capacity_floor = min(0.910, 0.770) = 0.770
Cross_RSB binding (5×5 evaluated):  0.92
capacity_binding = 0.770 × 0.92 = 0.708

Encounter 1 · healthy customer:
  mk_p = 0.95, mk_u = 0.95
  magokoro = 0.95 × 0.95 = 0.903
  Soul_AL = 0.708 × 0.903 = 0.639

Encounter 2 · same customer, sick today:
  mk_p = 0.95, mk_u = 0.40
  magokoro = 0.95 × 0.40 = 0.380
  Soul_AL = 0.708 × 0.380 = 0.269

Ratio: 0.269 / 0.639 = 0.421 = magokoro_2 / magokoro_1

The framework correctly identifies that:

  1. The capacity_binding is identical in both encounters (the same KESWA on both sides, the same cross-stack alignment). The framework does not pretend that the customer became structurally less competent overnight.

  2. The Soul_AL ratio matches the magokoro ratio exactly. The drop in experience is attributable to magokoro alone — to presence, not to capacity. This is the diagnostic separation Reading C was designed to provide.

  3. The bottleneck diagnostic correctly identifies the encounter as the locus of loss. The producer made the dish well; the customer could not fully receive it today.

6.2 · The remediation that follows

The framework's diagnostic output points to action. In this case:

  • Not "the cook should improve" — capacity_binding indicates the cook delivered her capacity.
  • Not "the customer should improve their palate" — KESWA_u indicates the customer's capacity was intact.
  • Yes "the customer is not in a state to receive this kind of food today" — magokoro indicates the presence deficit.

The remediation, if any, is on the encounter context: perhaps deferring the meal to a day when the customer is well, perhaps a simpler dish more forgiving of a depleted state, perhaps an apology from the customer to themselves for asking too much of their own attention today. None of these are kitchen-side actions.

This is what a real diagnostic framework should produce: not a generic "your AL dropped" but a structurally located "your AL dropped here, for this reason."


§7 · Implications

The encounter layer makes several phenomena measurable that were previously only describable.

7.1 · Why takeaway feels different

The same dish, prepared by the same maker, eaten at the stall in the presence of the maker, delivers a different experience from the same dish carried home and eaten an hour later. The artefact is identical. The encounter is severed.

In the framework: at the stall, the encounter is real-time and mutually witnessed. Producer-A (the stall, the maker, the moment) meets user-A (the time-attention-occasion of being there). At home an hour later, the producer is absent at the moment of consumption. mk_p is no longer assessable — the producer is not present to bring magokoro to this consumption. The encounter exists in attenuated form, mediated by memory and packaging.

The framework predicts that takeaway experience approaches the artefact-side AL alone — Total_AL ≈ Artefact_AL when Encounter_AL is degraded by separation. This matches the lived report: takeaway food is judged on its merits as food, whereas hawker food on the stool next to the wok is judged on the encounter.

7.2 · Why mass production lacks soul

Industrial reproduction optimises Producer-K (recipe specification), Producer-S (training), and Producer-A (operations infrastructure) at scale. It cannot scale Producer-E (lived experience of this dish over years) or Producer-W (judgment) because these don't transmit through training manuals. It cannot scale mk_p (presence) because mk_p is per-encounter and a shift worker cannot bring the same magokoro to ten thousand encounters per year that a hawker brings to fifty.

The framework predicts: industrial production lifts K, S, A on the producer side; sacrifices E, W, and especially mk_p. Customer reports that "it's well-made but soulless" map directly to this prediction. The cell_AL of a chain restaurant can be high; the Soul_AL is structurally constrained.

This is not a moral judgment about chains. It is a measurement of the trade-off industrial production has made. Customers who value high cell_AL (consistency, speed, safety) are well-served by chains. Customers who value high Soul_AL (presence, lineage, encounter) cannot be well-served by chains regardless of how well the chains optimise the artefact layer.

7.3 · Why your grandmother's recipe served by someone else isn't the same

Producer-K can be transferred via recipe transcription. Producer-S can be trained. Producer-A can be partially inherited (the wok, the kitchen). Producer-E and Producer-W transfer slowly and incompletely — and Producer-A specific to the relationship between this maker and you does not transfer at all. Your grandmother's neighbour cooking from her recipe books has different Producer-E (her own lived experience), different Producer-W (her own developed judgment), and crucially different Producer-A — she does not have the accumulated lineage of cooking for you that your grandmother had.

The same recipe; different stacks. The framework predicts the experience difference. Customer reports confirm.

7.4 · Why a tourist eating heritage food doesn't get what locals get

User-K, User-E, User-W, and User-A all live in the cumulative experience of the eating culture. A first-time tourist eating an unfamiliar dish has thin User-KESWA: low K (doesn't know what the dish should be), low E (no lifetime of eating it), low W (cannot detect the subtleties that distinguish good from great). The tourist's mk_u may be high (attention, openness), but the capacity_binding is constrained by the thin user stack.

This is not a deficit of the tourist as a person; it is a structural truth about heritage food. Heritage food does not transplant because its full reception requires accumulated cultural capacity on the user side. The framework names this without moralising about it.

7.5 · Where chains lose to hawkers, predicted

A typical Western QSR archetype (Chain#1 in our earlier worked comparison) scores well on Artefact-Process_AL — the pe/s manifestation is consistent: counter service, predictable menu, dependable food quality. But it scores poorly on Encounter_AL because:

  • Producer-A is corporately optimised but not personally accumulated — the staff are interchangeable
  • Producer-E is shallow — the cook serving you tonight may have been there three months
  • Producer-W is delegated upward — local judgment is replaced by HQ standards
  • mk_p is suppressed by the operational model — staff cannot afford to be deeply present at every encounter; the operational model would break

A typical hawker stall scores poorly on Artefact-Structure_AL (no brand book, no published procedures) but high on Encounter_AL because:

  • Producer-A is personally accumulated over decades
  • Producer-E is deep
  • Producer-W is local and active
  • mk_p is high — the operational model preserves the maker's presence at every encounter

The framework predicts: Total_AL_hawker > Total_AL_chain in encounter-anchored consumption (sit-down meal at the stall). The artefact-AL gap closes in encounter-stripped consumption (takeaway, delivery).

7.6 · The marketplace application

For a marketplace like SMoL (within the TLAQ infrastructure), the framework predicts that vendors can be meaningfully scored on Total_AL — combining the artefact-side AL of their listings (Structure × Process × Product) with the encounter-side AL of their actual delivery (KESWA × magokoro). Buyers see both numbers. Vendors compete on the full picture, not just on listing polish.

This is a significant departure from existing marketplace quality signals (star ratings, review counts, response time) which collapse heterogeneous quality dimensions into one number. The TLAQ framework lets the dimensions remain separate: a vendor with high artefact-AL and low encounter-AL is structurally different from a vendor with low artefact-AL and high encounter-AL, and a buyer choosing for one purpose (gift) may correctly prefer one, while a buyer choosing for another (long-term relationship) may correctly prefer the other.


§8 · Caveats and open questions

8.1 · mk as observable behaviour

The framework's claim is that mk_p and mk_u can be scored from observed behaviour at the encounter. The claim is not that the framework can read minds or measure subjective interiority. A producer's mk_p of 0.3 is a statement about the visible signals at this encounter (going through motions, lack of attention to detail, no eye contact, mechanical handling of ingredients) — it is not a claim about the producer's deeper character. A producer can be a kind, careful, soulful person and have a low mk_p on a particular shift because she is exhausted from family difficulties at home.

The framework is rigorous about this distinction. mk is an encounter measurement, not a person measurement. The person is captured by KESWA; the encounter is captured by KESWA + mk.

8.2 · The 9 KESWA Client-B levels (separate concept)

In other framework documents the term KESWA appears in connection with a 9-level Client-B classification (Own → Family → Friends → Superiors → Entrepreneurs → Corporations → NGO → Government agencies → Think-tank). This is a separate concept from the KESWA decomposition used here. The 9-level classification captures relational distance between actors; the KESWA decomposition in this paper captures dimensions of capacity within an actor. The same acronym labels two distinct framework concepts. This document concerns only the dimensional decomposition.

Future framework writeups should clarify the distinction or rename one of the two uses.

8.3 · Calibration is open

The current heuristic decision rules for cross-stack binding (§3.1) are deterministic and conservative. They will produce sensible results for clear cases (matched-strong, asymmetric-failure, both-thin) and may produce edge-case behaviour in borderline cases. Calibration against hand-graded encounter fixtures is a v0.4 task.

LLM-as-judge for the cross-stack binding decisions is also a v0.4 option. The trade-off is determinism (current heuristics are repeatable) vs precision (LLM-as-judge can be more discerning but introduces non-determinism). The framework can support both — heuristics for live audit feedback, LLM-as-judge for publish-grade evaluation.

8.4 · What the framework does not claim

The framework does not claim to measure soul as a metaphysical entity. It claims to measure the relational binding quality at an encounter mediated by an artefact. The word "soul" is used because it is the word lived experience uses to describe the phenomenon; the framework's contribution is to provide a measurement vocabulary that captures the phenomenon without metaphysical commitments.

The framework also does not claim that high Total_AL is a sufficient condition for human flourishing. A meal can be excellent and the eater can still be having a difficult evening. The framework measures one dimension of one kind of experience; it does not pretend to measure the eater's life.

8.5 · What if either party is non-human

The KESWA + magokoro framework is built for human-human encounters. Producer = AI service, User = human, raises interesting questions. Producer = animal (a service dog, e.g.), User = human, similarly. The framework's mathematics carries forward to these cases formally — KESWA can be assigned, mk can be observed — but the interpretive content of each dimension shifts. These extensions are not addressed in this paper and warrant separate treatment.


§9 · Implementation

The encounter layer is implemented in three TypeScript modules of the tlaq-assisti worker repository, all additive (no existing module modified):

9.1 · src/kframer.keswa.ts

KESWA types, vector magnitude, cross-stack 5×5 binding evaluator. Exports:

interface KESWAVector { K, E, S, W, A : number }    // each ∈ [0,1]
interface Person { id, role, KESWA, meta? }
function keswaMagnitude(KESWA): number               // ∈ [0,1]
function evaluateCrossStack(KESWA_p, KESWA_u): CrossStackBinding

9.2 · src/kframer.magokoro.ts

Encounter type, mk_p / mk_u presence scalars, encounter evaluation. Exports:

interface Encounter {
  id, timestamp?, producer, user, mk_p, mk_u, artefact_ref?, context?
}
function evaluateEncounter(encounter): EncounterMeasurement

The EncounterMeasurement carries:

  • producer_magnitude, user_magnitude
  • capacity_floor (the min)
  • cross_stack binding state and aggregate binding_AL
  • capacity_binding = floor × cross_stack.binding_AL
  • magokoro = mk_p × mk_u
  • soul_AL = capacity_binding × magokoro
  • audit trail with structured diagnosis

9.3 · src/kframer.total.ts

Composition of artefact-side and encounter-side measurements into Total_AL with bottleneck diagnostic. Exports:

function totalExperience(artefact, encounter?): TotalExperience
function evaluateTotal(artefact, encounter): { encounter, total }

9.4 · Test coverage

29 smoke-test assertions in src/encounter.smoke.ts covering:

  • KESWA magnitude (vector norm behaviour)
  • Cross-stack 5×5 binding (face/fold separation, IoB/IoDB asymmetric-failure detection)
  • Magokoro presence modulation (mk_p × mk_u correctness)
  • Encounter evaluation end-to-end
  • Sick-customer regression (same KESWA, different mk_u → different Soul_AL with exact ratio match)
  • Total experience composition (bottleneck diagnosis)
  • Edge cases (mk = 0 → Soul_AL = 0; KESWA = 0 → Soul_AL = 0; out-of-range value clamping)
  • No regression on existing artefact-side modules

All 29 assertions pass. The existing 27-assertion chaos.ts smoke test continues to pass. The existing bamboo doc evaluation continues to produce AL = 0.5967 (unchanged).

9.5 · Files unchanged

The following existing modules were not touched in this addition:

  • chaos.ts · chaos.spec.md · chaos.smoke.ts
  • kframer.contracts.ts · kframer.binding.ts · kframer.evaluator.ts
  • kframer.document.ts · kframer.service.ts · kframer.service.ops.ts
  • bamboo.al.ts · service.kfc_mcd.ts · service_ops.kfc_mcd_amazon.ts · service_ops.chain1_chain2.ts

The encounter layer is genuinely additive at the architectural level.


§10 · Future direction

10.1 · v0.4 of the universal spec

The kframer.universal.spec.md document will be updated to v0.4 to formalise:

  1. The Artefact / Encounter axis as the top-level decomposition
  2. KESWA as the producer-user stack representation
  3. The 5×5 cross-stack binding with face/fold categorisation
  4. Magokoro as the per-encounter presence modulator (Reading C)
  5. Total_AL = Artefact_AL × Encounter_AL with optional encounter
  6. The bottleneck diagnostic
  7. Worked examples including the sick-customer case
  8. The provable invariants from chaos.spec.md extended to K₅ (monotonicity, critical density, spanning-tree sufficiency)

10.2 · k-Framer station updates on tlaq.org

The k-Framer station will be updated to include:

  • About page: encounter-layer section
  • 18 cells visual: sister visual for the KESWA 5-cell + 5×5 cross-stack
  • New sub-page /kframer/magokoro (or /kframer/encounter): explainer with the math and worked example
  • Examples wheel: sick-customer worked encounter example
  • Home wheel sublabel: "AL rubric · artefact + encounter"

10.3 · SMoL marketplace wiring

The marketplace integration (path B in the project sequence) will surface Total_AL on vendor listings — composed of vendor artefact-AL and aggregated encounter-AL across recent transactions. This requires:

  • vendor.rubrics.ts artefact rubric set for marketplace listings
  • A mechanism to capture encounter observations (perhaps a structured post-transaction prompt that scores mk_u and notes mk_p signals)
  • Aggregation across multiple encounters into a stable vendor encounter_AL
  • Display in the SMoL listing UI

10.4 · WBS-Relay project encounters

A project workspace can be evaluated for encounter-AL between the project owner and stakeholders. The same KESWA + magokoro framework applies — does the owner's project documentation (artefact) bind to the stakeholders' capacity to receive and act on it (KESWA), under the magokoro of present engagement (mk)?

10.5 · auth.ai manuscript encounters

A book manuscript has an artefact-AL. The encounter-AL between the author and a reader is also measurable — does the author's craft (KESWA_author) bind to the reader's lifetime of reading in this genre (KESWA_reader), under the magokoro of focused reading (mk)? This frames a different way to think about whether a draft is publishable: not just whether it is well-made, but whether it will land for its intended reader.

10.6 · The non-human encounter

As noted in §8.5, extending the framework to encounters involving AI agents (e.g., AssistI as producer, user as receiver) or animals raises interpretive questions about each KESWA dimension. The mathematics carries forward; the interpretive scaffolding does not. Treatment of these cases is open for v0.5 or later.


§11 · Summary

The k-Framer universal AL framework, in its prior formulation, measured artefact quality through three layers: Structure, Process, Product. This was sufficient for non-relational artefacts but left a measurable residual in encounters involving real-time producer-user interaction.

This paper introduces the encounter layer as a fourth measurement axis. The encounter is characterised by:

  • KESWA stacks (Knowledge · Experience · Skills · Wisdom · Assets) — five-dimensional durable capacity vectors for the producer and user
  • Cross-stack 5×5 binding — 25 face/fold pairs under RSB, with IoB / partial / IoDB / not-evaluated states
  • Magokoro (真心, "true heart") — per-encounter presence scalars (mk_p and mk_u) distinct from the durable KESWA stack
  • Soul_AL = capacity_binding × magokoro
  • Total_AL = Artefact_AL × Encounter_AL

The framework correctly attributes experience variation to its proper source. The sick-customer case decomposes cleanly into KESWA (unchanged) and magokoro (reduced), with the framework predicting the experience reduction in exact proportion to the magokoro drop. The takeaway, mass-production, heritage-food, and chain-vs-hawker cases all decompose into predictable patterns within the framework.

The encounter layer is implemented additively in three TypeScript modules, verified by 29 smoke-test assertions, and does not modify any existing framework code. The bamboo document evaluation, the service operations comparison, and all other prior measurements remain unchanged.

The framework now offers a complete vocabulary for what soul is — operationally — without metaphysical commitment. Soul is the relational binding quality at an encounter mediated by an artefact, modulated by the presence each party brings to that encounter, between two persons of measurable capacity. It is reproducible to measure. It is not reproducible to manufacture.


§12 · References

  • M.A. Sani, kframer.universal.spec.md (v0.3), Institut Penyelidikan Lamania, 2026-05.
  • M.A. Sani, chaos.spec.md (v0.1), CHAOS refinement engine specification, 2026-05.
  • M.A. Sani, Bamboo, Napier and Sorghum in Southeast Asia (JuPeL bamboo entry), Institut Penyelidikan Lamania, 2026-05.
  • Internal framework documents: RSB (Rope String Bundle, NQL-6) · ConPars (Sabab/Sharaṭ/Māniʿ/Ṣaḥīḥ/Bāṭil) · KFY[A]/kfy(h) · n-FA · BM.
  • TLAQ-IA QL Edition (forthcoming), Soul Publishing House.

JuPeL · Jurnal Penyelidikan Lamania · 2026 · Open access · Distributed under TuPL terms.