import: publish the amended ImportOutsideCampaign text; pin the outcome-citation path

Soul: the schema carries the refusal's doc comment, so the published response
schema follows it; an imported Superseded{by} naming the receiver's native
follow-up is refused, which a source-only mutant now fails.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Eureka 2026-11-08 21:55:35 +00:00
commit d0edfdb403
2 changed files with 10 additions and 1 deletions

View file

@ -632,6 +632,15 @@ fn an_import_never_cites_or_resolves_a_follow_up_the_receiver_wrote() {
refusal(import_from_kiko(&mut recv, vec![follow_up("FU-I", native_ref.clone())])),
MindRefusal::ImportOutsideCampaign { root: CAMPAIGN.into() }
);
// Nor may a closing of its own point at it: an imported follow-up superseded by her native one.
let own_fu = follow_up("FU-I2", r(K::Question, &q1));
let own_fu_ref = r(K::FollowUp, &pipeline_key(&own_fu).unwrap());
committed(import_from_kiko(&mut recv, vec![own_fu]));
let before = head(&recv);
assert_eq!(
refusal(import_from_kiko(&mut recv, vec![resolution(own_fu_ref, ResolutionOutcome::Superseded { by: vec![native_ref.clone()] })])),
MindRefusal::ImportOutsideCampaign { root: CAMPAIGN.into() }
);
assert_eq!(head(&recv), before);
// Her follow-up still closes natively.
committed(admit(&mut recv, vec![resolution(native_ref, ResolutionOutcome::Withdrawn { reason: "x".into() })]));

View file

@ -1677,7 +1677,7 @@
"const": "ImportFromSelf"
},
{
"description": "An import carries a document of `root`, which is no campaign this mind holds or the batch carries, or which this mind holds a native write under.",
"description": "An import carries a document of `root`, which is no campaign this mind holds or the batch carries, or under which this mind holds a native write that is not a follow-up or idea admitted after the import began, or which cites or resolves one of its own native documents.",
"type": "object",
"properties": {
"ImportOutsideCampaign": {