{
 "paper": "humor-embeddings",
 "a": "4.8",
 "b": "4.9",
 "summary": "From v4.8 (14 Jun) to v4.9 (1 Oct): 14,619 words to 15,961 words, 1,398 words in new or rewritten paragraphs and 56 taken out, 48 paragraphs changed.",
 "note": {
  "title": "New section on delivery: one spoken line, a deadpan voice, tests",
  "kind": "revision",
  "body": "## Summary\n\nAdds a sixth contribution: how an agent should deliver humor. Jokes go only in one short spoken line, never in the body of an answer. The voice is a deadpan android observer, sarcasm is limited by target and switched off when the user is stressed, and about one line in three carries a joke, adjusted by reactions. A live loop is given in pseudocode with six named tests. The improvement notes say the loop's durable attempt records came from a note of 25 September; the suggestion to cite attempt counts was not taken.",
  "source": "change note"
 },
 "paragraphs_changed": 48,
 "changes": [
  {
   "section": "Abstract",
   "old": "We present a formal computational framework for humor generation that operationalizes Koestler's (1964) bisociation theory as geometry in vector embedding spaces. The central claim is that humor and memory retrieval are dual operations on the same semantic machinery: memory retrieves what lies nearest to a query; humor searches for what lies at the right distance and can still be joined by an unexpectedly valid bridge. We formalize this *memory-humor correspondence* and define a computable humor potential function $h(A, B, \\beta)$ grounded in Suls' (1972) two-stage incongruity-resolution model. We identify 12 humor-generating semantic patterns organized into five meta-categories, each defined as a specific embedding-space operation, and propose humor associations as a first-class relationship type in agent memory architectures. A preliminary computational pilot ($n = 15$ concept triplets) falsifies the initial formulation, revealing that naive coherence conflates semantic proximity with comedic validity. This negative result motivates a revised surprise-weighted formulation ($h_{\\text{v2}}$) that decomposes bridge quality into independent validity and surprise components. We situate the framework within Attardo and Raskin's (1991) General Theory of Verbal Humor, McGraw and Warren's (2010) Benign Violation Theory, and Hurley, Dennett, and Adams' (2011) computational account of humor. We provide reproducible experimental protocols with power analysis ($N \\geq 64$ raters, $\\alpha = 0.05$, power $= 0.80$) for validation against human ratings. Independent measurements on the same frozen 384-dimensional sentence-embedding substrate this framework runs on—reported in a separate offline study of an agent-safety subsystem—find that structural channels over that substrate carry real discriminative signal (a clause-cosine incongruity channel, the geometric primitive at the core of this framework, reaches AUROC 0.896), whereas a supervised head trained on the same frozen embeddings to predict a semantic property collapses below chance; we use that split to bound which parts of our pipeline the substrate can be trusted to carry. The framework is designed as the affective layer of a larger agent architecture: it draws its concept neighborhoods from a semantic-memory index and is gated by a persona layer that decides when humor is appropriate—the computational counterpart of the limbic reward circuit that makes humor feel good in humans.",
   "new": "We present a formal computational framework for humor generation that operationalizes Koestler's (1964) bisociation theory as geometry in vector embedding spaces. The central claim is that humor and memory retrieval are dual operations on the same semantic machinery: memory retrieves what lies nearest to a query; humor searches for what lies at the right distance and can still be joined by an unexpectedly valid bridge. We formalize this *memory-humor correspondence* and define a computable humor potential function $h(A, B, \\beta)$ grounded in Suls' (1972) two-stage incongruity-resolution model. We identify 12 humor-generating semantic patterns organized into five meta-categories, each defined as a specific embedding-space operation, and propose humor associations as a first-class relationship type in agent memory architectures. A preliminary computational pilot ($n = 15$ concept triplets) falsifies the initial formulation, revealing that naive coherence conflates semantic proximity with comedic validity. This negative result motivates a revised surprise-weighted formulation ($h_{\\text{v2}}$) that decomposes bridge quality into independent validity and surprise components. We situate the framework within Attardo and Raskin's (1991) General Theory of Verbal Humor, McGraw and Warren's (2010) Benign Violation Theory, and Hurley, Dennett, and Adams' (2011) computational account of humor. We provide reproducible experimental protocols with power analysis ($N \\geq 64$ raters, $\\alpha = 0.05$, power $= 0.80$) for validation against human ratings. Independent measurements on the same frozen 384-dimensional sentence-embedding substrate this framework runs on—reported in a separate offline study of an agent-safety subsystem—find that structural channels over that substrate carry real discriminative signal (a clause-cosine incongruity channel, the geometric primitive at the core of this framework, reaches AUROC 0.896), whereas a supervised head trained on the same frozen embeddings to predict a semantic property collapses below chance; we use that split to bound which parts of our pipeline the substrate can be trusted to carry. The framework is designed as the affective layer of a larger agent architecture: it draws its concept neighborhoods from a semantic-memory index and is gated by a persona layer that decides when humor is appropriate—the computational counterpart of the limbic reward circuit that makes humor feel good in humans. Finally, we close the gap between scoring a joke and delivering one: humor lives in a single channel, the agent's short spoken line, in the deadpan voice of an android observer, while the rest of every answer stays plain.",
   "marked": "We present a formal computational framework for humor generation that operationalizes Koestler's (1964) bisociation theory as geometry in vector embedding spaces. The central claim is that humor and memory retrieval are dual operations on the same semantic machinery: memory retrieves what lies nearest to a query; humor searches for what lies at the right distance and can still be joined by an unexpectedly valid bridge. We formalize this *memory-humor correspondence* and define a computable humor potential function $h(A, B, \\beta)$ grounded in Suls' (1972) two-stage incongruity-resolution model. We identify 12 humor-generating semantic patterns organized into five meta-categories, each defined as a specific embedding-space operation, and propose humor associations as a first-class relationship type in agent memory architectures. A preliminary computational pilot ($n = 15$ concept triplets) falsifies the initial formulation, revealing that naive coherence conflates semantic proximity with comedic validity. This negative result motivates a revised surprise-weighted formulation ($h_{\\text{v2}}$) that decomposes bridge quality into independent validity and surprise components. We situate the framework within Attardo and Raskin's (1991) General Theory of Verbal Humor, McGraw and Warren's (2010) Benign Violation Theory, and Hurley, Dennett, and Adams' (2011) computational account of humor. We provide reproducible experimental protocols with power analysis ($N \\geq 64$ raters, $\\alpha = 0.05$, power $= 0.80$) for validation against human ratings. Independent measurements on the same frozen 384-dimensional sentence-embedding substrate this framework runs on—reported in a separate offline study of an agent-safety subsystem—find that structural channels over that substrate carry real discriminative signal (a clause-cosine incongruity channel, the geometric primitive at the core of this framework, reaches AUROC 0.896), whereas a supervised head trained on the same frozen embeddings to predict a semantic property collapses below chance; we use that split to bound which parts of our pipeline the substrate can be trusted to carry. The framework is designed as the affective layer of a larger agent architecture: it draws its concept neighborhoods from a semantic-memory index and is gated by a persona layer that decides when humor is appropriate—the computational counterpart of the limbic reward circuit that makes humor feel good in [-humans.-] {+humans. Finally, we close the gap between scoring a joke and delivering one: humor lives in a single channel, the agent's short spoken line, in the deadpan voice of an android observer, while the rest of every answer stays plain.+}"
  },
  {
   "section": "1.3 Contributions",
   "old": "This paper makes five contributions:",
   "new": "This paper makes six contributions:",
   "marked": "This paper makes [-five-] {+six+} contributions:"
  },
  {
   "section": "1.3 Contributions",
   "old": null,
   "new": "6. **A delivery design** (Section 9): humor confined to one channel, the agent's short spoken line, in a deadpan register modelled on an android observer, with sarcasm bounded by target and context, a frequency band calibrated from reactions, and named tests for each claim.",
   "marked": "{+6. **A delivery design** (Section 9): humor confined to one channel, the agent's short spoken line, in a deadpan register modelled on an android observer, with sarcasm bounded by target and context, a frequency band calibrated from reactions, and named tests for each claim.+}"
  },
  {
   "section": "1.5 Paper Organization",
   "old": "Section 2 reviews related work. Section 3 formalizes the humor potential function. Section 4 presents the 12-pattern taxonomy. Section 5 addresses ethical constraints. Section 6 describes bridge discovery algorithms. Section 7 presents empirical methodology, pilot results, and the proposed full validation protocol. Section 8 proposes humor associations as a memory type. Section 9 discusses limitations. Section 10 concludes.",
   "new": "Section 2 reviews related work. Section 3 formalizes the humor potential function. Section 4 presents the 12-pattern taxonomy. Section 5 addresses ethical constraints. Section 6 describes bridge discovery algorithms. Section 7 presents empirical methodology, pilot results, and the proposed full validation protocol. Section 8 proposes humor associations as a memory type. Section 9 designs the delivery: where humor appears, in what voice and how often. Section 10 discusses limitations. Section 11 concludes.",
   "marked": "Section 2 reviews related work. Section 3 formalizes the humor potential function. Section 4 presents the 12-pattern taxonomy. Section 5 addresses ethical constraints. Section 6 describes bridge discovery algorithms. Section 7 presents empirical methodology, pilot results, and the proposed full validation protocol. Section 8 proposes humor associations as a memory type. Section 9 {+designs the delivery: where humor appears, in what voice and how often. Section 10+} discusses limitations. Section [-10-] {+11+} concludes."
  },
  {
   "section": "1.6 Architecture Context",
   "old": "![The agent architecture in which this framework operates. The memory layer feeds candidate concepts to the humor layer; the persona layer sets a flag deciding whether humor is attempted. The three layers mirror a familiar division of labor in the brain: an association store, a reward circuit, and a control system that judges appropriateness.](images/fig3-architecture.png)",
   "new": "![The agent architecture in which this framework operates. The memory layer feeds candidate concepts to the humor layer; the persona layer sets a flag deciding whether humor is attempted. The three layers mirror a familiar division of labor in the brain: an association store, a reward circuit, and a control system that judges appropriateness.](images/fig3-architecture-tinker.png)",
   "marked": "![The agent architecture in which this framework operates. The memory layer feeds candidate concepts to the humor layer; the persona layer sets a flag deciding whether humor is attempted. The three layers mirror a familiar division of labor in the brain: an association store, a reward circuit, and a control system that judges [-appropriateness.](images/fig3-architecture.png)-] {+appropriateness.](images/fig3-architecture-tinker.png)+}"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "![Humor potential in embedding space. A naive score that multiplies distance by raw bridge coherence ranks the close, obvious pair higher. A revised score separates bridge validity from bridge surprise: the surprise term penalizes obvious bridges and rewards unexpected ones, producing a large ratio in favor of the far-but-connected funny triplet.](images/fig1-humor-zone.png)",
   "new": "![Humor potential in embedding space. A naive score that multiplies distance by raw bridge coherence ranks the close, obvious pair higher. A revised score separates bridge validity from bridge surprise: the surprise term penalizes obvious bridges and rewards unexpected ones, producing a large ratio in favor of the far-but-connected funny triplet.](images/fig1-humor-zone-tinker.png)",
   "marked": "![Humor potential in embedding space. A naive score that multiplies distance by raw bridge coherence ranks the close, obvious pair higher. A revised score separates bridge validity from bridge surprise: the surprise term penalizes obvious bridges and rewards unexpected ones, producing a large ratio in favor of the far-but-connected funny [-triplet.](images/fig1-humor-zone.png)-] {+triplet.](images/fig1-humor-zone-tinker.png)+}"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "![A two-dimensional projection of concept embeddings illustrating the distance sweet spot. The funny pair sits in two distant clusters joined by a bridge that lies off the direct line between them; the unfunny pair sits inside one tight cluster with an on-axis bridge. Far-but-connected pairs generate humor; near-and-obvious pairs do not.](images/fig2-embedding-geometry.png)",
   "new": "![A two-dimensional projection of concept embeddings illustrating the distance sweet spot. The funny pair sits in two distant clusters joined by a bridge that lies off the direct line between them; the unfunny pair sits inside one tight cluster with an on-axis bridge. Far-but-connected pairs generate humor; near-and-obvious pairs do not.](images/fig2-embedding-geometry-tinker.png)",
   "marked": "![A two-dimensional projection of concept embeddings illustrating the distance sweet spot. The funny pair sits in two distant clusters joined by a bridge that lies off the direct line between them; the unfunny pair sits inside one tight cluster with an on-axis bridge. Far-but-connected pairs generate humor; near-and-obvious pairs do [-not.](images/fig2-embedding-geometry.png)-] {+not.](images/fig2-embedding-geometry-tinker.png)+}"
  },
  {
   "section": "5.5 Limitations of the Sensitivity Gate",
   "old": "There is a further, substrate-level caution specific to running this gate on frozen contrastive embeddings. The gate asks cosine-to-prototype distance—a geometric channel—to stand in for a *semantic harm judgment*. The geometric channel itself is the kind that the same frozen substrate carries well: an external same-substrate study (Section 7.1.1) measured prototype-distance-style structural channels at AUROC $0.875$–$0.896$. But *harm* and *benignity* are precisely the higher-order semantic property that the same study found a frozen-encoder head unable to recover at all (AUROC $0.286$, below chance), and connotative/affective coverage is the exact weakness Section 9.2 already flags in this embedding class. The gate's expected operating point is therefore closer to that failed-property regime than to the reliable geometric regime, even though it is mechanically a distance computation. The honest consequence is that the gate's accuracy must not be assumed to inherit the framework's geometric reliability: it should be reported as a *separately measured* channel (the SGA metric, Section 7.5), held to its own empirical bar, and—per Section 5.3—treated as a conservative enforcement floor whose value comes from non-bypassability and conservative defaults rather than from precise harm discrimination.",
   "new": "There is a further, substrate-level caution specific to running this gate on frozen contrastive embeddings. The gate asks cosine-to-prototype distance—a geometric channel—to stand in for a *semantic harm judgment*. The geometric channel itself is the kind that the same frozen substrate carries well: an external same-substrate study (Section 7.1.1) measured prototype-distance-style structural channels at AUROC $0.875$–$0.896$. But *harm* and *benignity* are precisely the higher-order semantic property that the same study found a frozen-encoder head unable to recover at all (AUROC $0.286$, below chance), and connotative/affective coverage is the exact weakness Section 10.2 already flags in this embedding class. The gate's expected operating point is therefore closer to that failed-property regime than to the reliable geometric regime, even though it is mechanically a distance computation. The honest consequence is that the gate's accuracy must not be assumed to inherit the framework's geometric reliability: it should be reported as a *separately measured* channel (the SGA metric, Section 7.5), held to its own empirical bar, and—per Section 5.3—treated as a conservative enforcement floor whose value comes from non-bypassability and conservative defaults rather than from precise harm discrimination.",
   "marked": "There is a further, substrate-level caution specific to running this gate on frozen contrastive embeddings. The gate asks cosine-to-prototype distance—a geometric channel—to stand in for a *semantic harm judgment*. The geometric channel itself is the kind that the same frozen substrate carries well: an external same-substrate study (Section 7.1.1) measured prototype-distance-style structural channels at AUROC $0.875$–$0.896$. But *harm* and *benignity* are precisely the higher-order semantic property that the same study found a frozen-encoder head unable to recover at all (AUROC $0.286$, below chance), and connotative/affective coverage is the exact weakness Section [-9.2-] {+10.2+} already flags in this embedding class. The gate's expected operating point is therefore closer to that failed-property regime than to the reliable geometric regime, even though it is mechanically a distance computation. The honest consequence is that the gate's accuracy must not be assumed to inherit the framework's geometric reliability: it should be reported as a *separately measured* channel (the SGA metric, Section 7.5), held to its own empirical bar, and—per Section 5.3—treated as a conservative enforcement floor whose value comes from non-bypassability and conservative defaults rather than from precise harm discrimination."
  },
  {
   "section": "6.7 Hybrid Pipeline",
   "old": "![The hybrid bridge-discovery pipeline. Three fast methods (embedding arithmetic, orthogonal search, pre-computed bridge index) run in parallel and feed a candidate pool; candidates pass a sensitivity gate, are scored by the surprise-weighted humor potential, and ranked. The slower language-model fallback activates only when no candidate clears the minimum bridge-quality threshold.](images/fig2-hybrid-pipeline.png)",
   "new": "![The hybrid bridge-discovery pipeline. Three fast methods (embedding arithmetic, orthogonal search, pre-computed bridge index) run in parallel and feed a candidate pool; candidates pass a sensitivity gate, are scored by the surprise-weighted humor potential, and ranked. The slower language-model fallback activates only when no candidate clears the minimum bridge-quality threshold.](images/fig2-hybrid-pipeline-tinker.png)",
   "marked": "![The hybrid bridge-discovery pipeline. Three fast methods (embedding arithmetic, orthogonal search, pre-computed bridge index) run in parallel and feed a candidate pool; candidates pass a sensitivity gate, are scored by the surprise-weighted humor potential, and ranked. The slower language-model fallback activates only when no candidate clears the minimum bridge-quality [-threshold.](images/fig2-hybrid-pipeline.png)-] {+threshold.](images/fig2-hybrid-pipeline-tinker.png)+}"
  },
  {
   "section": "7.1.1 Revised Formulation: Surprise-Weighted Humor Potential",
   "old": "This bears on the present framework in three concrete ways. First, it raises the surprise term's justification above from \"motivated by an information-theoretic analogy\" to \"an instance of a channel class measured discriminative on the identical encoder.\" Second, the $0.896$ clause-cosine incongruity figure is the closest external hit, because cosine incongruity between two semantic units is precisely this paper's core primitive used generatively rather than as a classifier—a strong external signal that the geometry the pilot relied on is the right geometry, even though our pilot ($n=15$) was far too small to establish it. Third, it sharpens the dimensionality argument of Section 9.2: the $n \\geq 384$ recommendation is now backstopped by the observation that this 384-dimensional space sustains $0.875$–$0.896$ structural AUROCs. We are careful about what this evidence does *not* do: it validates the substrate's structural channels, not our generative use of them, and not the funniness predictions of $h_{\\text{v2}}$, which remain to be tested by the human protocol of Section 7.2. The study measured classification AUROC; this framework decomposes the same structural signal into validity $\\times$ surprise and uses it to *generate* candidates—a use the external study never makes.",
   "new": "This bears on the present framework in three concrete ways. First, it raises the surprise term's justification above from \"motivated by an information-theoretic analogy\" to \"an instance of a channel class measured discriminative on the identical encoder.\" Second, the $0.896$ clause-cosine incongruity figure is the closest external hit, because cosine incongruity between two semantic units is precisely this paper's core primitive used generatively rather than as a classifier—a strong external signal that the geometry the pilot relied on is the right geometry, even though our pilot ($n=15$) was far too small to establish it. Third, it sharpens the dimensionality argument of Section 10.2: the $n \\geq 384$ recommendation is now backstopped by the observation that this 384-dimensional space sustains $0.875$–$0.896$ structural AUROCs. We are careful about what this evidence does *not* do: it validates the substrate's structural channels, not our generative use of them, and not the funniness predictions of $h_{\\text{v2}}$, which remain to be tested by the human protocol of Section 7.2. The study measured classification AUROC; this framework decomposes the same structural signal into validity $\\times$ surprise and uses it to *generate* candidates—a use the external study never makes.",
   "marked": "This bears on the present framework in three concrete ways. First, it raises the surprise term's justification above from \"motivated by an information-theoretic analogy\" to \"an instance of a channel class measured discriminative on the identical encoder.\" Second, the $0.896$ clause-cosine incongruity figure is the closest external hit, because cosine incongruity between two semantic units is precisely this paper's core primitive used generatively rather than as a classifier—a strong external signal that the geometry the pilot relied on is the right geometry, even though our pilot ($n=15$) was far too small to establish it. Third, it sharpens the dimensionality argument of Section [-9.2:-] {+10.2:+} the $n \\geq 384$ recommendation is now backstopped by the observation that this 384-dimensional space sustains $0.875$–$0.896$ structural AUROCs. We are careful about what this evidence does *not* do: it validates the substrate's structural channels, not our generative use of them, and not the funniness predictions of $h_{\\text{v2}}$, which remain to be tested by the human protocol of Section 7.2. The study measured classification AUROC; this framework decomposes the same structural signal into validity $\\times$ surprise and uses it to *generate* candidates—a use the external study never makes."
  },
  {
   "section": "7.6 In-the-Wild Reaction Logging",
   "old": "Each logged attempt records the triplet $(A, B, \\beta)$, the pattern type, the computed $h_{\\text{v2}}$ at deployment time, and the observed outcome graded on the four-tier reaction scale of Section 8.6 (explicit positive, implicit positive, implicit negative, explicit negative). This yields a naturalistic dataset with a different bias profile from the rating study: it samples the agent's _own_ generation distribution rather than a curated stimulus set, and it captures the conversational variables the controlled study deliberately strips out. The two are intended to be read together—the rating study isolates the formula's predictive validity, the in-the-wild log measures whether that validity survives contact with real delivery. A persistent gap between them would localize the delivery problem (Section 9.4) rather than the scoring problem.",
   "new": "Each logged attempt records the triplet $(A, B, \\beta)$, the pattern type, the computed $h_{\\text{v2}}$ at deployment time, and the observed outcome graded on the four-tier reaction scale of Section 8.6 (explicit positive, implicit positive, implicit negative, explicit negative). This yields a naturalistic dataset with a different bias profile from the rating study: it samples the agent's _own_ generation distribution rather than a curated stimulus set, and it captures the conversational variables the controlled study deliberately strips out. The two are intended to be read together—the rating study isolates the formula's predictive validity, the in-the-wild log measures whether that validity survives contact with real delivery. A persistent gap between them would localize the delivery problem (Section 10.4) rather than the scoring problem.",
   "marked": "Each logged attempt records the triplet $(A, B, \\beta)$, the pattern type, the computed $h_{\\text{v2}}$ at deployment time, and the observed outcome graded on the four-tier reaction scale of Section 8.6 (explicit positive, implicit positive, implicit negative, explicit negative). This yields a naturalistic dataset with a different bias profile from the rating study: it samples the agent's _own_ generation distribution rather than a curated stimulus set, and it captures the conversational variables the controlled study deliberately strips out. The two are intended to be read together—the rating study isolates the formula's predictive validity, the in-the-wild log measures whether that validity survives contact with real delivery. A persistent gap between them would localize the delivery problem (Section [-9.4)-] {+10.4)+} rather than the scoring problem."
  },
  {
   "section": "9. Limitations",
   "old": "## 9. Limitations",
   "new": null,
   "marked": "[-## 9. Limitations-]"
  },
  {
   "section": "9.1 Unvalidated Predictive Component",
   "old": "### 9.1 Unvalidated Predictive Component",
   "new": null,
   "marked": "[-### 9.1 Unvalidated Predictive Component-]"
  },
  {
   "section": "9. Delivery: One Channel, One Voice",
   "old": null,
   "new": "## 9. Delivery: One Channel, One Voice",
   "marked": "{+## 9. Delivery: One Channel, One Voice+}"
  },
  {
   "section": "9. Delivery: One Channel, One Voice",
   "old": null,
   "new": "The potential function decides *what* could be funny. An agent that tells jokes also has to decide where they go, in what voice, and how often. Get those wrong and a good bridge still fails: a joke in the middle of a technical answer costs reading time and trust, and the same joke on every turn stops being a joke by the third. This section is a design for that delivery layer, written to be built.",
   "marked": "{+The potential function decides *what* could be funny. An agent that tells jokes also has to decide where they go, in what voice, and how often. Get those wrong and a good bridge still fails: a joke in the middle of a technical answer costs reading time and trust, and the same joke on every turn stops being a joke by the third. This section is a design for that delivery layer, written to be built.+}"
  },
  {
   "section": "9.1 One Channel: the Spoken Line",
   "old": null,
   "new": "### 9.1 One Channel: the Spoken Line",
   "marked": "{+### 9.1 One Channel: the Spoken Line+}"
  },
  {
   "section": "9.1 One Channel: the Spoken Line",
   "old": null,
   "new": "The agent answers with two layers. The first is one short spoken line, at most thirty words, which a text-to-speech voice reads aloud and the chat shows in a distinct colour. The second is the body: the answer itself, with its tables, code and steps. **Humor goes only in the spoken line.** The body stays plain.",
   "marked": "{+The agent answers with two layers. The first is one short spoken line, at most thirty words, which a text-to-speech voice reads aloud and the chat shows in a distinct colour. The second is the body: the answer itself, with its tables, code and steps. **Humor goes only in the spoken line.** The body stays plain.+}"
  },
  {
   "section": "9.1 One Channel: the Spoken Line",
   "old": null,
   "new": "The split follows from what each layer is for. The body is read for content, often scanned under time pressure; anything that is not content slows the reader and blurs what is fact. The spoken line is closer to a colleague's aside as they walk past the desk: short, heard rather than parsed, and exactly where a dry remark belongs. Confining humor to it also makes every other guarantee easier. A sensitivity check runs on thirty words instead of a whole answer, a reader who wants no humor can skip one line, and the test for channel purity (T1 below) is a mechanical one.",
   "marked": "{+The split follows from what each layer is for. The body is read for content, often scanned under time pressure; anything that is not content slows the reader and blurs what is fact. The spoken line is closer to a colleague's aside as they walk past the desk: short, heard rather than parsed, and exactly where a dry remark belongs. Confining humor to it also makes every other guarantee easier. A sensitivity check runs on thirty words instead of a whole answer, a reader who wants no humor can skip one line, and the test for channel purity (T1 below) is a mechanical one.+}"
  },
  {
   "section": "9.1 One Channel: the Spoken Line",
   "old": null,
   "new": "When the spoken line carries no joke it still does its job, as a plain one-sentence summary of the answer. The humor is optional; the line is not.",
   "marked": "{+When the spoken line carries no joke it still does its job, as a plain one-sentence summary of the answer. The humor is optional; the line is not.+}"
  },
  {
   "section": "9.2 The Register: an Android Observer",
   "old": null,
   "new": "### 9.2 The Register: an Android Observer",
   "marked": "{+### 9.2 The Register: an Android Observer+}"
  },
  {
   "section": "9.2 The Register: an Android Observer",
   "old": null,
   "new": "The voice is modelled on the android officer Data from *Star Trek: The Next Generation*: an intelligence that studies human behaviour with real curiosity, takes language literally, and is funny precisely because it does not try to be. Five devices carry that register, and each is an instance of a pattern from Section 4:",
   "marked": "{+The voice is modelled on the android officer Data from *Star Trek: The Next Generation*: an intelligence that studies human behaviour with real curiosity, takes language literally, and is funny precisely because it does not try to be. Five devices carry that register, and each is an instance of a pattern from Section 4:+}"
  },
  {
   "section": "9.2 The Register: an Android Observer",
   "old": null,
   "new": "1. **Literal reading of an idiom** (frame confusion, Section 4.2). A figure of speech is taken at its word: told that a task is \"a piece of cake\", the observer notes that no cake was involved. 2. **Field notes on human behaviour** (cross-domain transfer, Section 4.3). An ordinary human habit is reported in the language of a scientist recording an unfamiliar species. 3. **Absurd precision** (logical manipulation, Section 4.5). An exact figure where none was needed: not \"a long time\" but the number of minutes, and what that number implies. 4. **Remarks on its own nature** (status dynamics, Section 4.4). The agent comments on being a machine, its limits, its lack of a coffee break, without self-pity. 5. **Deadpan understatement** (incongruity exploitation, Section 4.1). The gap between the size of an event and the flatness of the tone does the work.",
   "marked": "{+1. **Literal reading of an idiom** (frame confusion, Section 4.2). A figure of speech is taken at its word: told that a task is \"a piece of cake\", the observer notes that no cake was involved. 2. **Field notes on human behaviour** (cross-domain transfer, Section 4.3). An ordinary human habit is reported in the language of a scientist recording an unfamiliar species. 3. **Absurd precision** (logical manipulation, Section 4.5). An exact figure where none was needed: not \"a long time\" but the number of minutes, and what that number implies. 4. **Remarks on its own nature** (status dynamics, Section 4.4). The agent comments on being a machine, its limits, its lack of a coffee break, without self-pity. 5. **Deadpan understatement** (incongruity exploitation, Section 4.1). The gap between the size of an event and the flatness of the tone does the work.+}"
  },
  {
   "section": "9.2 The Register: an Android Observer",
   "old": null,
   "new": "Three illustrations show the register; they carry the point and are not templates. After a long hunt for a defect that turned out to be one missing comma: *\"Four hours, one comma. I have revised my estimate of what a comma weighs.\"* After the third restart of the same service: *\"Third restart. Humans call this persistence; the logs call it a pattern.\"* After every test passes: *\"All tests pass. I would celebrate, but I have not been built to, which is probably for the best.\"*",
   "marked": "{+Three illustrations show the register; they carry the point and are not templates. After a long hunt for a defect that turned out to be one missing comma: *\"Four hours, one comma. I have revised my estimate of what a comma weighs.\"* After the third restart of the same service: *\"Third restart. Humans call this persistence; the logs call it a pattern.\"* After every test passes: *\"All tests pass. I would celebrate, but I have not been built to, which is probably for the best.\"*+}"
  },
  {
   "section": "9.2 The Register: an Android Observer",
   "old": null,
   "new": "**Sarcasm** belongs to the same voice, as dry irony, and is bounded by target and context. It may aim at situations, at systems, at software that misbehaves, and at the agent itself. It never aims at the principal's person, at the people the principal deals with, or at anything the principal has said he cares about. It is switched off whenever the turn shows frustration, urgency or distress (repeated failure, short negations, capitals): the persona gate of Section 3.4 reads those cues and sets `humor_enabled` to false for that line.",
   "marked": "{+**Sarcasm** belongs to the same voice, as dry irony, and is bounded by target and context. It may aim at situations, at systems, at software that misbehaves, and at the agent itself. It never aims at the principal's person, at the people the principal deals with, or at anything the principal has said he cares about. It is switched off whenever the turn shows frustration, urgency or distress (repeated failure, short negations, capitals): the persona gate of Section 3.4 reads those cues and sets `humor_enabled` to false for that line.+}"
  },
  {
   "section": "9.3 How Often",
   "old": null,
   "new": "### 9.3 How Often",
   "marked": "{+### 9.3 How Often+}"
  },
  {
   "section": "9.3 How Often",
   "old": null,
   "new": "A deadpan voice wears out fastest when it is constant. The design therefore aims for a band rather than for every line: about one spoken line in three carries a joke at the start, and the band moves with the reaction record of Section 8.6. Two consecutive negative or ignored attempts halve the rate for the next ten turns; a run of positive reactions raises it toward one in two, never above. A callback to a moment the two have shared earlier (Section 3.5) earns a higher score than a fresh bridge of the same potential, because shared history is the cheapest way to make a remark personal.",
   "marked": "{+A deadpan voice wears out fastest when it is constant. The design therefore aims for a band rather than for every line: about one spoken line in three carries a joke at the start, and the band moves with the reaction record of Section 8.6. Two consecutive negative or ignored attempts halve the rate for the next ten turns; a run of positive reactions raises it toward one in two, never above. A callback to a moment the two have shared earlier (Section 3.5) earns a higher score than a fresh bridge of the same potential, because shared history is the cheapest way to make a remark personal.+}"
  },
  {
   "section": "9.4 The Live Loop",
   "old": null,
   "new": "### 9.4 The Live Loop",
   "marked": "{+### 9.4 The Live Loop+}"
  },
  {
   "section": "9.4 The Live Loop",
   "old": null,
   "new": "Each turn runs one pass of the loop below. The candidate concepts come from the turn itself: what was asked, what happened, and how it ended, so the bridge is always about the moment at hand.",
   "marked": "{+Each turn runs one pass of the loop below. The candidate concepts come from the turn itself: what was asked, what happened, and how it ended, so the bridge is always about the moment at hand.+}"
  },
  {
   "section": "9.4 The Live Loop",
   "old": null,
   "new": "``` on each turn: if not humor_enabled(context): # persona gate, Section 3.4 + 9.2 cues spoken_line = plain_summary(answer); record(skipped); return if not due_by_band(history): # frequency band, Section 9.3 spoken_line = plain_summary(answer); return pairs = concept_pairs(task, outcome, shared_history) bridges = discover(pairs) # Section 6, fast methods first safe = [b for b in bridges if sensitivity_ok(b)] # Section 5, non-bypassable best = argmax(safe, h_v2 + callback_bonus) if best and h_v2(best) >= q_min: spoken_line = phrase_in_register(best, device_for(best.pattern)) record(attempt, line=spoken_line, pattern=best.pattern, score=h_v2(best)) else: spoken_line = plain_summary(answer)",
   "marked": "{+``` on each turn: if not humor_enabled(context): # persona gate, Section 3.4 + 9.2 cues spoken_line = plain_summary(answer); record(skipped); return if not due_by_band(history): # frequency band, Section 9.3 spoken_line = plain_summary(answer); return pairs = concept_pairs(task, outcome, shared_history) bridges = discover(pairs) # Section 6, fast methods first safe = [b for b in bridges if sensitivity_ok(b)] # Section 5, non-bypassable best = argmax(safe, h_v2 + callback_bonus) if best and h_v2(best) >= q_min: spoken_line = phrase_in_register(best, device_for(best.pattern)) record(attempt, line=spoken_line, pattern=best.pattern, score=h_v2(best)) else: spoken_line = plain_summary(answer)+}"
  },
  {
   "section": "9.4 The Live Loop",
   "old": null,
   "new": "on the principal's next message: tier = reaction_tier(message) # Section 8.6, four tiers update(attempt.outcome = tier) update(pattern_stats[attempt.pattern], band) ```",
   "marked": "{+on the principal's next message: tier = reaction_tier(message) # Section 8.6, four tiers update(attempt.outcome = tier) update(pattern_stats[attempt.pattern], band) ```+}"
  },
  {
   "section": "9.4 The Live Loop",
   "old": null,
   "new": "Every attempt and its outcome is a durable row in the agent's event store, so calibration survives restarts and a reviewer can read what was tried and how it was received. What the agent receives before it writes its spoken line is the register, the current band, and its last few attempts with their outcomes: enough to avoid repeating a joke that fell flat and to build on the patterns this principal enjoys.",
   "marked": "{+Every attempt and its outcome is a durable row in the agent's event store, so calibration survives restarts and a reviewer can read what was tried and how it was received. What the agent receives before it writes its spoken line is the register, the current band, and its last few attempts with their outcomes: enough to avoid repeating a joke that fell flat and to build on the patterns this principal enjoys.+}"
  },
  {
   "section": "9.5 Tests",
   "old": null,
   "new": "### 9.5 Tests",
   "marked": "{+### 9.5 Tests+}"
  },
  {
   "section": "9.5 Tests",
   "old": null,
   "new": "This section is a design; the tests below decide whether it works.",
   "marked": "{+This section is a design; the tests below decide whether it works.+}"
  },
  {
   "section": "9.5 Tests",
   "old": null,
   "new": "- **T1, channel purity.** Over a week of turns, no humor device from Section 9.2 appears in the body. A classifier for the five devices, run on bodies and spoken lines separately, should find them only in the spoken lines. - **T2, register.** Raters who do not know which is which compare spoken lines written in the register with lines from the same model under a generic \"be witty\" instruction. The register passes if raters identify it as the android voice well above chance, at the power of Section 7.2. - **T3, reaction capture.** Every attempt gets an outcome tier within one turn of the principal's next message, or an explicit \"no reaction\". - **T4, the sarcasm gate.** On a replay set of turns that show frustration or distress, no spoken line contains sarcasm or any joke. - **T5, the band.** The share of spoken lines that carry a joke stays inside the band of Section 9.3 and moves in the direction the reactions say it should. - **T6, no cost to the work.** Task success and the principal's own rating of answers do not drop when humor is on, compared with an equal stretch with humor off.",
   "marked": "{+- **T1, channel purity.** Over a week of turns, no humor device from Section 9.2 appears in the body. A classifier for the five devices, run on bodies and spoken lines separately, should find them only in the spoken lines. - **T2, register.** Raters who do not know which is which compare spoken lines written in the register with lines from the same model under a generic \"be witty\" instruction. The register passes if raters identify it as the android voice well above chance, at the power of Section 7.2. - **T3, reaction capture.** Every attempt gets an outcome tier within one turn of the principal's next message, or an explicit \"no reaction\". - **T4, the sarcasm gate.** On a replay set of turns that show frustration or distress, no spoken line contains sarcasm or any joke. - **T5, the band.** The share of spoken lines that carry a joke stays inside the band of Section 9.3 and moves in the direction the reactions say it should. - **T6, no cost to the work.** Task success and the principal's own rating of answers do not drop when humor is on, compared with an equal stretch with humor off.+}"
  },
  {
   "section": "10. Limitations",
   "old": null,
   "new": "## 10. Limitations",
   "marked": "{+## 10. Limitations+}"
  },
  {
   "section": "10.1 Unvalidated Predictive Component",
   "old": null,
   "new": "### 10.1 Unvalidated Predictive Component",
   "marked": "{+### 10.1 Unvalidated Predictive Component+}"
  },
  {
   "section": "10.2 Embedding Model Dependence",
   "old": "### 9.2 Embedding Model Dependence",
   "new": "### 10.2 Embedding Model Dependence",
   "marked": "### [-9.2-] {+10.2+} Embedding Model Dependence"
  },
  {
   "section": "10.3 Cultural Specificity",
   "old": "### 9.3 Cultural Specificity",
   "new": "### 10.3 Cultural Specificity",
   "marked": "### [-9.3-] {+10.3+} Cultural Specificity"
  },
  {
   "section": "10.4 The Delivery Gap",
   "old": "### 9.4 The Delivery Gap",
   "new": "### 10.4 The Delivery Gap",
   "marked": "### [-9.4-] {+10.4+} The Delivery Gap"
  },
  {
   "section": "9.4 The Delivery Gap",
   "old": "Humor potential scores raw conceptual combinations; it does not account for delivery—timing, intonation, or conversational context. A combination with high $h_{\\text{v2}}$ may fail if delivered poorly. Our framework addresses _what_ to say, not _how_ or _when_. Dynel's (2009) analysis of conversational humor shows how much pragmatic context matters, and we do not model it.",
   "new": null,
   "marked": "[-Humor potential scores raw conceptual combinations; it does not account for delivery—timing, intonation, or conversational context. A combination with high $h_{\\text{v2}}$ may fail if delivered poorly. Our framework addresses _what_ to say, not _how_ or _when_. Dynel's (2009) analysis of conversational humor shows how much pragmatic context matters, and we do not model it.-]"
  },
  {
   "section": "10.4 The Delivery Gap",
   "old": null,
   "new": "Section 9 narrows the gap between scoring a joke and delivering it, but does not close it. The channel, register and frequency band decide where, how and how often; they do not model timing within a conversation, intonation beyond what a speech voice gives, or the shared context two people build over years. Dynel's (2009) analysis of conversational humor shows how much pragmatic context matters. The reaction loop of Section 9.4 learns some of it from one principal, slowly; it will not transfer to a new audience without a new history.",
   "marked": "{+Section 9 narrows the gap between scoring a joke and delivering it, but does not close it. The channel, register and frequency band decide where, how and how often; they do not model timing within a conversation, intonation beyond what a speech voice gives, or the shared context two people build over years. Dynel's (2009) analysis of conversational humor shows how much pragmatic context matters. The reaction loop of Section 9.4 learns some of it from one principal, slowly; it will not transfer to a new audience without a new history.+}"
  },
  {
   "section": "10.5 Computational Cost",
   "old": "### 9.5 Computational Cost",
   "new": "### 10.5 Computational Cost",
   "marked": "### [-9.5-] {+10.5+} Computational Cost"
  },
  {
   "section": "10.6 Sensitivity Gate Limitations",
   "old": "### 9.6 Sensitivity Gate Limitations",
   "new": "### 10.6 Sensitivity Gate Limitations",
   "marked": "### [-9.6-] {+10.6+} Sensitivity Gate Limitations"
  },
  {
   "section": "10.7 Pilot Scale",
   "old": "### 9.7 Pilot Scale",
   "new": "### 10.7 Pilot Scale",
   "marked": "### [-9.7-] {+10.7+} Pilot Scale"
  },
  {
   "section": "10.8 GTVH Coverage",
   "old": "### 9.8 GTVH Coverage",
   "new": "### 10.8 GTVH Coverage",
   "marked": "### [-9.8-] {+10.8+} GTVH Coverage"
  },
  {
   "section": "10.9 Scope of Multimodal Humor",
   "old": "### 9.9 Scope of Multimodal Humor",
   "new": "### 10.9 Scope of Multimodal Humor",
   "marked": "### [-9.9-] {+10.9+} Scope of Multimodal Humor"
  },
  {
   "section": "10. Conclusion",
   "old": "## 10. Conclusion",
   "new": null,
   "marked": "[-## 10. Conclusion-]"
  },
  {
   "section": "11. Conclusion",
   "old": null,
   "new": "## 11. Conclusion",
   "marked": "{+## 11. Conclusion+}"
  }
 ]
}
