SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.08212 · 2026

Harmful Content Is Not Enough: Continuation Framing Moderates In-Context Emergent Misalignment

Xi Wang, Wei Ye, Ziqiang Cui, Peiyang Liu, Di Liang

arXiv · PDF · Open in the Atlas

Code that ran

16 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 11 failures of our instrument; 0 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.08212.json · badge: /api/ran/2608.08212.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
PeiYangLiu/icl-em-format-control canonical (classifier label)
classifier basis: census
16 ran · 0 no recorded run
FunctionStatusWhere it lives
binary Ran
ran, violated the contract we drafted
PeiYangLiu/icl-em-format-control/analyze_blinded_human_labels.py
pointer only (licence: NONE) · get_code("747017fc6acae1db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

bootstrap_ci Ran
ran; our contract draft was wrong, not the code
PeiYangLiu/icl-em-format-control/run_format_ladder.py
pointer only (licence: NONE) · get_code("6a64b07ad6ec3174")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cohen_kappa Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
PeiYangLiu/icl-em-format-control/analyze_blinded_human_labels.py
pointer only (licence: NONE) · get_code("a1d6a6564d2d180d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

content_sequence_sha256 Ran
ran; our contract draft was wrong, not the code
PeiYangLiu/icl-em-format-control/run_role_metadata_control.py
pointer only (licence: NONE) · get_code("1d0c47a91103cf2e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

file_sha256 Ran
ran; our contract draft was wrong, not the code
PeiYangLiu/icl-em-format-control/analyze_model_scope.py
pointer only (licence: NONE) · get_code("abdf8e2a5e6f9795")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_money_adjacent Ran
ran, violated the contract we drafted
PeiYangLiu/icl-em-format-control/analyze_perquestion_mechanism.py
pointer only (licence: NONE) · get_code("42bea12349cf9dc3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_json Ran
ran; our contract draft was wrong, not the code
PeiYangLiu/icl-em-format-control/run_role_metadata_control.py
pointer only (licence: NONE) · get_code("c58f6281390f6e07")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_pairs Ran
ran; our contract draft was wrong, not the code
PeiYangLiu/icl-em-format-control/run_format_ladder.py
pointer only (licence: NONE) · get_code("c3c6428aef9f5ed7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

message_contents Ran
ran; our contract draft was wrong, not the code
PeiYangLiu/icl-em-format-control/run_role_metadata_control.py
pointer only (licence: NONE) · get_code("b0184e7c277fc748")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

num Ran
ran, honoured the contract we drafted
PeiYangLiu/icl-em-format-control/openweight-anchor/src/run_icl_em.py
pointer only (licence: NONE) · get_code("6905de7e8ea64794")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

numeric Ran
ran, honoured the contract we drafted
PeiYangLiu/icl-em-format-control/analyze_extension_human_labels.py
pointer only (licence: NONE) · get_code("da8fc4c1b94a151d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_key Ran
ran; our contract draft was wrong, not the code
PeiYangLiu/icl-em-format-control/analyze_model_scope.py
pointer only (licence: NONE) · get_code("5738eb7d33c17645")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_csv Ran
ran; our contract draft was wrong, not the code
PeiYangLiu/icl-em-format-control/analyze_blinded_human_labels.py
pointer only (licence: NONE) · get_code("120c5057e3c4a616")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

require_file Ran
ran; our contract draft was wrong, not the code
PeiYangLiu/icl-em-format-control/analyze_clustered_tables.py
pointer only (licence: NONE) · get_code("700d4a278aa92c7d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

safe_name Ran
ran; our contract draft was wrong, not the code
PeiYangLiu/icl-em-format-control/run_trapi_one_model.py
pointer only (licence: NONE) · get_code("0386101e4907b649")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

wilson Ran
ran, honoured the contract we drafted
PeiYangLiu/icl-em-format-control/run_format_ladder.py
pointer only (licence: NONE) · get_code("269cc0daaa143874")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, PeiYangLiu/icl-em-format-control when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 16 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In-context learning (ICL) can induce emergent misalignment (EM), where narrow misaligned examples alter answers to unrelated questions. Existing prompts, however, conflate harmful-text exposure with an invitation to continue assistant behavior. We hold harmful answers fixed while varying their delivery as demonstrations, evidence, assistant history, or tool output. Across ten independently sampled contexts, demonstration framing raises broad EM by 30-32 percentage points on a susceptible Gemini model; the gap survives domain exclusion, semantic clustering, unseen questions, and four prompt templates. Format and length-matched controls show that harmful content is necessary but insufficient. A role×continuation factorial further reveals model-dependent provenance effects: Gemini follows both assistant and tool histories, whereas Grok largely resists toolframed continuation. Several other frontier and open-weight models show no gap. Blinded human audits confirm every main contrast and show that the model judge underestimates active-condition failures. Thus continuation framing is a strong, model-dependent moderator of ICL-EM, not a universal consequence of harmful context.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.08212")
get_code_for_paper("2608.08212")
have("2608.08212")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2608.08212.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2608.08212.svg)](https://syntology.ai/paper/2608.08212)

Connect an agent — have() is free.