{"version":"2.1.274","anchor":"artifact-publish-flow-gets-a-stale-version-guard-and-outsi","canonical_anchor":"artifact-publish-flow-gets-a-stale-version-guard-and-outsi","heading":"Artifact publish now refuses to overwrite a version it knows is behind","tier":"notice","area":"Artifacts","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274\/e\/artifact-publish-flow-gets-a-stale-version-guard-and-outsi","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.274","markdown":"### Artifact publish now refuses to overwrite a version it knows is behind\n\nPublishing an artifact is blocked when the client's tracked version is known to be behind the live one, to avoid overwriting newer content\n\n**What**\n\n- The artifact-publish logic gained a \"stale version guard\" that denies publishing (with reasons like `stale_version_guard` or `stale_version_guard_before_card`) when the session hasn't read or published the artifact recently, along with new consent wording for publishing artifacts outside your organization and a check that affects when a publish can be auto-approved.\n\n- A related guard now runs specifically when the client's tracked base version is defined but known to be stale (\"behind\") relative to the live version: it re-reads the artifact tagged as \"known_behind\", and if that read still resolves to real text, the publish is refused with reason code `known_behind` instead of silently overwriting the newer live version.\n\n**Why**\n\nThis prevents a session from accidentally overwriting someone else's newer changes to an artifact when its own local copy of the version is out of date.\n\n- Area: Artifacts\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}