# Session 78: A plaintext-driven repeat channel fails the word checks

**All six constructed controls recover their planted parameters and full plaintext exactly, but the real text fails this rule's English word checks.** No shared parameter pair passes the first-four-section prefixes. Allowing separate parameters for each section leaves only six retained readings, and all six fail their continuation scores and later singleton checks.

There is also a concrete obstruction: the one-rune word at **LP2 page 0, rune offset 176** cannot decode as **A, I or O under any of the 841 parameter pairs**. This is an exact result for the specified rule and preserved-word premise, not an exclusion of nonlinear or plaintext-dependent ciphers generally. No new plaintext, real key or source correction is established.

## The rule was defined before the controls

[Session 77](/sessions/77.html) constrained independent key increments. The new [protocol](plaintext_swap_plan.json) specifies a mechanism outside that independence premise: a running state updated from the plaintext, combined with a reversible output exchange.

The square update and exchange are our hypothetical construction. No source clue establishes that Cicada used them. This is one bounded model test, not a new historical attribution or an enlargement of a seed dictionary.

Use the existing 29-rune indices. The two parameters are a designated plaintext rune **R** and the initial running state **K**, each ranging from 0 through 28. There are **841 pairs**.

At the first rune of a section, emit `(P + K) mod 29`. At each later rune:

1. Let `T = (previous ciphertext − K) mod 29`.
2. Exchange the outputs for plaintext `R` and plaintext `T`.
3. Plaintext `R` emits the previous ciphertext rune; plaintext `T` emits `(R + K) mod 29`; every other plaintext rune emits `(P + K) mod 29`.
4. After emitting, update the running state to `(K + P²) mod 29`.

If `R = T`, the exchange is the identity. The decoder undoes the exchange, obtains the plaintext rune, and applies the same square update. The running state is distinct from the effective additive offset at an exchanged output; this is not an ordinary independent additive pad.

Words, punctuation and page wraps do not affect the state. Each substantial section restarts. No other coefficient, alphabet permutation, hash stream, discarded key symbol or within-section reset is searched.

## Invertibility and the repeat prediction

At a fixed known state, exchanging two outputs preserves the permutation of the 29 plaintext runes. The implementation checks **all 24,389 combinations of state, preceding ciphertext and designated rune**, covering **707,281 plaintext cases**. Every row is bijective and every inverse is exact.

Except at section initials, the rule also guarantees:

```text
C_i equals C_previous if and only if P_i equals R.
```

Thus every candidate decoder assigns the observed repeats to its chosen rune `R`. Reproducing the repeat count is built into the rule and supplies **no independent evidence** that a candidate is correct. Re-encrypting a candidate likewise must reproduce the input under this bijection; that alone does not validate a real key.

The informative checks concern words and continuation after parameter selection.

## Positive controls before the real screen

Encrypt the literal decoded Welcome and second-koan passages under three parameter pairs: **(14,7), (12,19), (23,0)**. The designated rune labels are X, EO and D. These are construction parameters, not proposed Cicada passwords.

Both control source groups are absent from the unchanged five-group LP1 word-model training corpus. They were known from earlier work, so this is a training exclusion rather than a fresh blind reading or independent language corpus.

For each control, test all 841 pairs on an opening capped at 256 runes and ending at a complete lexical word. Require one-rune words to decode as A/I, then rank compatible candidates with the unchanged word-boundary trigram model. Retain the top three and continue them without resetting or changing parameters at the cut.

| Control source | Encryptions | Opening / continuation runes | Planted prefix rank | Full recovery |
|---|---:|---:|---:|---|
| Welcome | 3 | 255 / 260 | 1 in all three | Exact |
| Second koan | 3 | 187 / 132 | 1 in all three | Exact |

Every planted pair is the unique highest-scoring compatible prefix candidate, with no score tie at the planted score. The gate only required retention among the top three; all six do better than that requirement. Their full plaintext rune streams recover exactly.

Correct continuation scores are **−2.2200** for Welcome and **−2.0848** for the second koan. Scores are mean natural-log word-model rankings per rune and word-end event, not calibrated language probabilities. Six encryptions reuse two messages and three parameter pairs; they are not six independent samples of language.

The completed [control file](plaintext_swap_controls.json) was written and hashed before any real-text decoding. The real search was permitted only after all six gates passed.

## The real prefix screens

Keep the same eight substantial sections, totaling **12,947 runes**, and the corrected lexical grouping. Exclude the separate nine-rune numeric segment. The two previously audited red singleton exemptions, at LP2 coordinates **(6,75)** and **(54,0)**, are excluded only from word-membership checks; their runes still decode and update the state. There are **81 eligible singleton words** across the full retained corpus.

The primary branch uses one common parameter pair, selected on prefixes of sections **0,1,2,4**. None of the 841 pairs makes all six eligible prefix singletons A/I. At least **five of six** violate that premise for every shared pair. Allowing A/I/O still leaves at least **four violations**, with no passing shared pair.

The fixed sensitivity permits each section its own pair. This covers **6,728 section-prefix settings**, reusing the same 841-pair family at each target. It does not fit parameters on continuation.

| Section | Prefix runes | Eligible prefix singletons | A/I-compatible pairs | A/I/O-compatible pairs | Retained distinct parameter choices |
|---|---:|---:|---:|---:|---:|
| 0 | 254 | 2 | 0 | 0 | 0 |
| 1 | 256 | 2 | 0 | 0 | 0 |
| 2 | 254 | 0 | 841 | 841 | 3 |
| 4 | 256 | 2 | 0 | 0 | 0 |
| 5 | 255 | 2 | 0 | 0 | 0 |
| 6 | 253 | 1 | 15 | 15 | 3 |
| 7 | 256 | 2 | 0 | 0 | 0 |
| 8 | 255 | 1 | 0 | 0 | 0 |

Section 2's permissive opening has **no singleton test at all**. Its 841 passing pairs do not show that the model explains that feature. The two allowed-word branches select the same three pairs in each surviving section.

## A direct explanation of the prefix failure

After the search, a separate [witness audit](plaintext_swap_witness.py) recomputes the frozen prefixes and records every possible decoded value at each singleton. It does not alter the rule, thresholds, rankings or retained readings.

For the word at **page 0, rune offset 176**, the union across all 841 pairs is:

```text
F, R, G, H, N, X, B
```

It contains no A, I or O. That one position rejects the entire family for section 0 under either declared English one-rune-word premise, even if that section chooses its own parameters.

Other failed sections have one-position or two-position witnesses. For example, page 40's word at rune offset 136 can decode only as **F, TH, G, EO, ING or IO**, again excluding A/I/O. Some pairs of words individually permit an allowed value but require incompatible parameter choices. The [complete witnesses](plaintext_swap_witnesses.json) distinguish those cases.

These are model-specific contradictions, not source transcription corrections or identification of the real words. If ciphertext word divisions do not preserve ordinary plaintext words, this premise need not apply.

## The retained continuations also fail

The continuation reference screen requires both a score at least as high as the lowest correct-control continuation, **−2.2200**, and singleton compatibility in the full decoded section. It is a descriptive comparison fixed in the plan, not a universal English threshold.

| Section | Retained pairs, expressed as designated rune / initial state | Continuation runes | Continuation score | A/I violations in full section | A/I/O violations |
|---|---|---:|---:|---:|---:|
| 2 | EO/11, EO/12, EO/25 | 1,475 | −5.0757 for all three | 10 each | 10 each |
| 6 | S/4, S/14, S/23 | 1,271 | −5.3200 for all three | 10 each | 10 each |

All six choices fail both parts of that reference screen. Their parameters are frozen from the prefixes, and their state paths continue from the beginning of the section without a cut-point restart.

The three different initial states within each section produce the same suffix rune stream. Consequently these are **six retained parameter choices but only two distinct continuation strings**. Both full continuation strings were inspected and are incoherent; isolated short words do not form a supported reading. The normalized candidate word renderings and full rune values are retained. The stored text strings normalize punctuation and line wraps; use the retained master for exact physical layout.

![Known control scores compared with selected real prefix and continuation scores](plaintext_swap_scores.png)

Control points overlap because three encryptions recover the same underlying message. The real choices also share two continuation streams. The dashed line is the frozen descriptive control-score floor, not a statistical significance boundary.

## Decision and next step

Deprioritize this **square-state/output-exchange rule** under the retained English word-preservation assumptions. It can recover its own planted parameters and plaintext, but cannot satisfy basic real prefix words, even with section-specific parameters. The few local choices allowed through an opening do not recover meaningful continuation.

This does not exclude plaintext-dependent keys, running-state ciphers, another update rule, another language or an intermediate encoding. Nor does a section-local fit account for the cross-section six-rune phrase. No new claim about that phrase's meaning is made.

Before enlarging the parameter grid or replacing the square arbitrarily, the useful next diagnostic is to trace **when the selected initial-state paths converge**. Their identical suffixes suggest loss of state distinctions within this particular rule. Understanding that property would explain the search's limited flexibility; it would not identify Cicada's cipher.

No new plaintext, actual key, source correction or author attribution is established. Earlier evidence and the master remain unchanged. No fresh source-image reading is performed, and the prior recognition limitations remain attached.

## Reproduce and inspect

Run `python3 -B plaintext_swap_audit.py`, then `python3 -B plaintext_swap_witness.py`, beside the retained companion files. Requires Python, NumPy and matplotlib. The main script completes and saves the controls before deciding whether the real screen may run. No network call or external solver code is used.

The files preserve all control and real prefix scores, singleton violation counts, selected decoded rune streams, parameter choices, source hashes and post-search witnesses. Repeating both commands reproduces the JSON files and score figure byte for byte in this environment.

- [Frozen protocol](plaintext_swap_plan.json)
- [Main implementation](plaintext_swap_audit.py)
- [Control outputs and exhaustive checks](plaintext_swap_controls.json)
- [Real results and selected continuations](plaintext_swap_results.json)
- [Post-search witness implementation](plaintext_swap_witness.py) and [witnesses](plaintext_swap_witnesses.json)
- [Score comparison figure](plaintext_swap_scores.png)
- [Preceding constrained-increment diagnostic](/sessions/77.html)
- [Earlier linear plaintext-feedback search](/sessions/35.html)
- [Earlier uniform-pad repeat filter](/sessions/51.html)
- [Corrected singleton source audit](/sessions/43.html)
