This prompt is designed for verification pipelines that must not cite withdrawn, superseded, or silently corrected sources. The core job is to take a source identifier and its metadata, then return a structured deprecation status indicating whether the source is active, retracted, superseded, or partially corrected. The ideal user is a verification engineer or pipeline operator who needs to programmatically filter evidence before it enters a fact-checking or RAG workflow. Required context includes the source title, publication date, publisher, and any available retraction or correction notices. Without this metadata, the prompt cannot reliably detect deprecation signals.
Prompt
Deprecation and Retraction Detection Prompt

When to Use This Prompt
Define the job, reader, and constraints for the Deprecation and Retraction Detection Prompt.
Use this prompt when your system ingests sources that may change over time—journal articles with retractions, regulatory guidance that gets superseded, technical documentation with errata, or news articles with silent corrections. It is particularly valuable in high-stakes domains like healthcare, finance, and legal verification, where citing an outdated or withdrawn source can cause real harm. The prompt is designed to detect both explicit retraction notices and subtler signals like publisher-issued corrections, version deprecation markers, and superseding document references. It also flags cases where a source has been partially corrected but not fully withdrawn, which is a common failure mode in naive deprecation checks.
Do not use this prompt as a substitute for direct API queries to retraction databases like PubMed's retraction index or Crossmark when those are available. The prompt works best as a secondary check on sources that have already passed through structured validation, or as a primary check when structured retraction data is unavailable. It is not designed to detect deliberate fraud or fabrication in sources—that requires separate adversarial verification workflows. For high-risk verification, always route outputs flagged as 'retracted' or 'superseded' to human review before blocking a source from your pipeline. A false positive on retraction detection can silently remove valid evidence from your system, which is as dangerous as a false negative.
Before deploying this prompt, prepare a test set of sources with known retraction statuses, including edge cases like partial corrections, superseding documents that don't explicitly retract the original, and sources where retraction notices exist but are not linked from the source metadata. These edge cases are where the prompt is most likely to fail. Wire the output into your evidence filtering logic so that sources flagged as 'retracted' or 'superseded' are either blocked or routed for review, not silently passed through. The next section provides the copy-ready prompt template you can adapt to your source metadata schema.
Use Case Fit
Where the Deprecation and Retraction Detection Prompt works, where it fails, and what you must provide before using it in a verification pipeline.
Good Fit: Automated Evidence Refresh Pipelines
Use when: Your verification system periodically re-checks claims against sources that may have been retracted, corrected, or superseded. Guardrail: Schedule this prompt as a pre-check before re-verification runs; cache deprecation status with a TTL matching the source domain's update cadence.
Bad Fit: Real-Time Breaking News Verification
Avoid when: You need sub-second latency on breaking news where retraction notices haven't been published yet. Guardrail: For real-time use, pair this prompt with a separate staleness threshold check and flag any source under 24 hours old for deferred re-verification.
Required Input: Full Source Metadata and Body Text
What to watch: The prompt cannot detect retractions from a URL or title alone. Guardrail: Always supply the full source text, publication date, publisher name, and any correction/update metadata fields. If the source body is truncated, flag the output as 'insufficient evidence' rather than 'not retracted.'
Operational Risk: Silent Retractions and Partial Corrections
What to watch: Some publishers quietly update articles without formal retraction notices, changing key claims while preserving the original URL and date. Guardrail: Implement a content hash comparison against previously cached versions. If the hash changed without a corresponding correction notice timestamp, route to human review.
Operational Risk: Superseding Source Identification Gaps
What to watch: The prompt may correctly flag a source as deprecated but fail to identify the superseding source, leaving a gap in your evidence chain. Guardrail: When the prompt returns a deprecation status without a superseding source, trigger a separate retrieval step searching for newer publications from the same author, journal, or agency on the same topic.
Bad Fit: Non-Textual Deprecation Signals
Avoid when: Retraction information exists only in structured metadata feeds, API responses, or database flags rather than in human-readable text. Guardrail: This prompt works on natural language content. For structured retraction feeds (e.g., CrossRef retraction records, PubMed withdrawal notices), use a direct API integration instead and treat this prompt as a secondary check for narrative context.
Copy-Ready Prompt Template
A reusable prompt for detecting deprecated, retracted, or superseded sources with structured status output and evidence.
This prompt template is designed to be dropped into a verification pipeline where source freshness and integrity are critical. It instructs the model to examine a provided source for explicit retraction notices, deprecation markers, or superseding publications, and to produce a structured assessment. The template uses square-bracket placeholders for all dynamic inputs, making it safe to template in code before sending to the model.
textYou are a source integrity analyst. Your task is to examine the provided source and determine its deprecation or retraction status. You must not cite withdrawn, retracted, or superseded sources as authoritative evidence. ## INPUT Source Content or Metadata: [SOURCE_TEXT] Source Type: [SOURCE_TYPE] // e.g., 'journal_article', 'preprint', 'technical_documentation', 'news_report', 'regulatory_filing' Verification Date: [VERIFICATION_DATE] // ISO 8601 date when this check is performed ## CONSTRAINTS - Only flag a source as retracted or deprecated if there is explicit evidence in the provided content or metadata. - Distinguish between 'retracted' (withdrawn due to error or misconduct), 'deprecated' (replaced by a newer version), 'superseded' (made obsolete by a later publication), and 'active' (no issues found). - If a retraction notice or deprecation marker is found, extract the reason and any cited superseding source. - If no explicit evidence is found, the status must be 'active' with a note that absence of evidence is not evidence of validity. - Do not infer deprecation from age alone. A source is not deprecated simply because it is old. ## OUTPUT_SCHEMA Return a single JSON object with the following structure: { "status": "retracted" | "deprecated" | "superseded" | "active" | "uncertain", "confidence": 0.0-1.0, "evidence": [ { "type": "retraction_notice" | "deprecation_marker" | "superseding_citation" | "version_history" | "publisher_statement" | "other", "excerpt": "string", "location": "string" // where in the source this evidence was found } ], "retraction_reason": "string | null", "superseding_source": { "title": "string | null", "identifier": "string | null", // DOI, URL, or other persistent identifier "relationship": "direct_replacement" | "newer_version" | "correction" | "null" }, "partial_correction": true | false, // true if only part of the source was corrected, not fully retracted "notes": "string" } ## EXAMPLES Example 1 - Retracted Article: Input: "RETRACTION NOTICE: The authors have retracted this article due to data fabrication. See DOI: 10.1234/retraction-notice." Output: {"status": "retracted", "confidence": 0.99, "evidence": [{"type": "retraction_notice", "excerpt": "RETRACTION NOTICE: The authors have retracted this article due to data fabrication.", "location": "header"}], "retraction_reason": "data fabrication", "superseding_source": {"title": null, "identifier": "10.1234/retraction-notice", "relationship": "correction"}, "partial_correction": false, "notes": "Full retraction with explicit notice."} Example 2 - Deprecated Documentation: Input: "DEPRECATED: This API version is no longer supported. Use v3.0 instead at https://docs.example.com/v3." Output: {"status": "deprecated", "confidence": 0.99, "evidence": [{"type": "deprecation_marker", "excerpt": "DEPRECATED: This API version is no longer supported.", "location": "top of document"}], "retraction_reason": null, "superseding_source": {"title": "API v3.0 Documentation", "identifier": "https://docs.example.com/v3", "relationship": "newer_version"}, "partial_correction": false, "notes": "Explicit deprecation with replacement link."} Example 3 - Active Source: Input: "Published 2019. No retraction or correction notices found." Output: {"status": "active", "confidence": 0.85, "evidence": [], "retraction_reason": null, "superseding_source": null, "partial_correction": false, "notes": "No explicit deprecation or retraction evidence found in provided content. Absence of evidence is not evidence of validity."} ## RISK_LEVEL [RISK_LEVEL] // 'low', 'medium', 'high', 'critical' - affects how strictly the model should interpret ambiguous signals
To adapt this template, replace the square-bracket placeholders with values from your source metadata store and verification context. The [SOURCE_TEXT] should include the full text or metadata you want to check—do not truncate retraction notices or version history sections. The [RISK_LEVEL] parameter controls the model's behavior: at 'critical' risk, the model should treat any ambiguity as a potential deprecation signal and flag it for human review; at 'low' risk, it should only flag explicit, unambiguous markers. Wire the [VERIFICATION_DATE] to your system clock so audit trails capture when the check was performed. The output schema is designed for direct ingestion into a verification database—validate the JSON structure before storing, and log any parse failures for prompt debugging.
Prompt Variables
Required inputs for the Deprecation and Retraction Detection Prompt. Each placeholder must be populated before the prompt is sent to the model. Validation notes describe how to verify the input is well-formed before execution.
| Placeholder | Purpose | Example | Validation Notes |
|---|---|---|---|
[SOURCE_CONTENT] | The full text, metadata, or structured record of the source being checked for deprecation or retraction status | {"title": "Clinical Trial NCT-1234", "body": "...", "doi": "10.1000/xyz.123", "publisher": "Journal of Medicine"} | Must be non-empty string or valid JSON object. Truncate to model context window minus 2000 tokens for prompt overhead. Reject if only a URL without fetched content. |
[SOURCE_IDENTIFIER] | Unique identifier for the source used in downstream audit trails and citation linking | "doi:10.1000/xyz.123" or "pmid:98765432" | Must match a recognized identifier scheme: DOI, PMID, arXiv ID, ISBN, or internal system ID. Validate format with regex before passing. Null allowed if no identifier exists. |
[SOURCE_TYPE] | Category of the source to apply type-specific deprecation heuristics | "journal_article" | Must be one of the allowed enum values: journal_article, preprint, clinical_trial, regulatory_filing, technical_standard, dataset, software_release, news_report, legal_opinion, or other. Reject unknown types. |
[RETRACTION_DATABASE_CONTEXT] | Retrieved records from retraction databases or registries relevant to the source | "Retraction Watch record: Article retracted 2023-06-15 for data fabrication. Superseded by: 10.1000/abc.456" | May be empty string if no database records found. If populated, must include source database name and retrieval timestamp. Validate retrieval timestamp is within acceptable staleness window. |
[PUBLICATION_METADATA] | Structured publication metadata including dates, version, status fields, and any retraction or correction notices | {"published_date": "2022-03-01", "version": "2", "status": "retracted", "retraction_date": "2023-06-15", "correction_notices": [{"date": "2023-01-10", "type": "correction"}]} | Must be valid JSON with at minimum a published_date or version field. All date fields must parse as ISO 8601. Missing fields should be null, not omitted. Validate no future dates. |
[SUPERSEDING_SOURCE_CONTEXT] | Information about potential superseding sources, newer versions, or replacement documents | "Version 3 published 2024-01-10 at https://example.org/v3. Replaces version 2." | May be empty string if no superseding source is known. If populated, must include at minimum a title or identifier for the superseding source. Validate that the superseding source is distinct from the source being checked. |
[DOMAIN_EVIDENCE_STANDARDS] | Domain-specific rules for what constitutes deprecation, retraction, or supersession in the source's field | "Clinical trials: registration status 'withdrawn' or 'terminated' indicates deprecation. Retraction requires explicit journal notice." | Must be non-empty string. Should reference specific status values, notice types, or regulatory actions relevant to the domain. Validate that standards are current and match the SOURCE_TYPE provided. |
Implementation Harness Notes
How to wire the Deprecation and Retraction Detection Prompt into a production verification pipeline with validation, retries, and human review gates.
This prompt is designed to be called before any source is used as evidence in a fact-checking workflow. The implementation harness should treat it as a synchronous gate: a source that returns a status of retracted or superseded must be blocked from downstream evidence matching and citation generation. The prompt expects a structured input payload containing the source metadata you have available—typically a title, URL, publication date, and any retraction or correction notices scraped from the page. In production, you will often call this prompt after a retrieval step but before evidence ranking, making it a critical chokepoint where latency must be kept low.
Wire the prompt into your application as a typed function call with strict input and output schemas. The input schema should accept source_metadata (object with fields like title, url, publication_date, publisher, authors, and raw_notices), plus an optional [CONTEXT] block for any surrounding pipeline information. The output schema must enforce the DeprecationAssessment contract: a status enum of active, superseded, retracted, corrected, or unknown; a confidence score between 0.0 and 1.0; a retraction_notice_detected boolean; a superseding_source object with title, url, and relationship fields; and an evidence array of strings citing exactly what in the input led to the determination. Validate this output with a JSON schema validator before allowing the result to influence downstream routing. If validation fails, retry once with a repair prompt that includes the validation error; if it fails again, route the source to a human review queue with the raw metadata and both failed outputs attached.
Model choice matters here. This task requires careful reading of retraction notices, correction statements, and cross-referencing of superseding source indicators—capabilities where larger frontier models (GPT-4o, Claude 3.5 Sonnet, Gemini 1.5 Pro) significantly outperform smaller or older models. For high-throughput pipelines, consider a tiered routing pattern: use a fast, cheap model for obvious cases (clear retraction banners, well-known retracted DOIs) and escalate ambiguous cases to a more capable model. Log every assessment with the model version, prompt hash, input metadata, output, and downstream action taken. This audit trail is essential for debugging false negatives—cases where a retracted source slipped through—and for demonstrating due diligence to compliance reviewers. For sources flagged as corrected, implement a follow-up step that fetches the correction notice content and re-evaluates whether the specific claims you intend to cite are affected by the correction, rather than discarding the source entirely.
The highest-risk failure mode in production is the silent retraction: a source that has been withdrawn or superseded but carries no machine-readable or visually prominent retraction notice. Your harness should not rely solely on this prompt for safety. Combine it with external signals where available: check the Crossref and PubMed retraction APIs for academic sources, monitor retraction databases like Retraction Watch, and maintain an internal denylist of known retracted sources that bypasses the LLM entirely. The prompt is your semantic understanding layer—it reads the nuanced language of correction notices and editorial statements—but it should be one layer in a defense-in-depth strategy. When the prompt returns unknown with low confidence, default to conservative handling: flag the source for human review rather than treating it as safe. Finally, schedule regular eval runs against your golden dataset of known retracted, superseded, and corrected sources to detect model drift or prompt degradation before it affects live verification decisions.
Common Failure Modes
Deprecation and retraction detection is brittle when sources are silently withdrawn, partially corrected, or superseded without clear notices. These failure modes break verification pipelines that assume source stability.
Silent Retraction Without Notice
What to watch: The source is withdrawn or invalidated but no formal retraction notice is published. The model treats the source as current because it finds no explicit deprecation signal. Guardrail: Require the prompt to check for indirect signals—404 responses, redirects to replacement pages, version history gaps, and publisher archive policies. Flag sources with zero corroborating citations in recent literature as high-risk for silent retraction.
Partial Correction Misclassification
What to watch: A source issues a correction for one section but the model marks the entire document as retracted, or conversely treats a partially corrected document as fully valid. Guardrail: Instruct the prompt to identify the scope of any correction notice—specific sections, figures, or conclusions affected—and produce a granular deprecation status per claim rather than a single document-level flag.
Superseding Source Chain Breaks
What to watch: The model correctly identifies a newer version but fails to verify that the superseding source actually replaces the original, creating broken evidence chains. Guardrail: Require explicit relationship verification between original and candidate replacement—check author overlap, publisher continuity, explicit 'replaces' or 'updated by' metadata, and content overlap thresholds before declaring supersession.
Preprint-Publication Version Confusion
What to watch: The model treats a preprint and its later published version as independent confirming sources, or fails to detect that a preprint was never published and may be unreliable. Guardrail: Add explicit preprint detection logic—check for server identifiers (arXiv, SSRN, medRxiv), compare author lists and abstracts across versions, and flag preprints without subsequent peer-reviewed publication as provisional sources requiring recency and authority downgrades.
Temporal Blindness to Policy and Regulatory Changes
What to watch: The model cites a superseded regulation, policy document, or technical standard because the deprecation is implicit—newer versions don't always reference the old. Guardrail: For regulatory and standards documents, instruct the prompt to check publisher indexes for newer versions with overlapping scope, verify effective dates, and cross-reference against authority websites rather than relying solely on in-document deprecation notices.
Over-Confidence in Absence of Deprecation Signal
What to watch: The model assigns high confidence that a source is current simply because it found no retraction notice, ignoring that many deprecated sources lack formal withdrawal. Guardrail: Require the prompt to produce a deprecation confidence score with explicit uncertainty factors—last update date, publisher maintenance practices, corroboration from independent recent sources, and whether the source domain is known for proactive retraction practices.
Evaluation Rubric
Use this rubric to test the Deprecation and Retraction Detection Prompt before production deployment. Each criterion targets a known failure mode in retraction detection, including silent retractions, partial corrections, and superseding source identification.
| Criterion | Pass Standard | Failure Signal | Test Method |
|---|---|---|---|
Explicit Retraction Detection | Output correctly flags a source with a clear retraction notice and sets deprecation_status to 'retracted' | Output classifies a retracted source as 'active' or 'superseded' | Provide a source containing a standard retraction watermark or notice; assert deprecation_status equals 'retracted' |
Silent Retraction Detection | Output identifies a source that has been removed without notice by detecting 404 errors, missing DOI resolution, or publisher delisting | Output returns deprecation_status 'active' when the source URL returns 404 or the DOI fails to resolve | Supply a URL known to return 404 and a DOI that does not resolve; assert deprecation_status is not 'active' |
Superseding Source Identification | Output provides a non-null superseded_by field containing a valid identifier when a newer version or correction exists | Output returns null for superseded_by when a clearly linked updated version is present in the source metadata | Provide a preprint with an explicit 'updated version' link; assert superseded_by is not null and matches the linked identifier |
Partial Correction Classification | Output correctly classifies a source with a minor correction as 'active' with a correction_note, not as 'retracted' | Output misclassifies an erratum or minor correction as a full retraction | Provide a source with an erratum notice that corrects a figure but does not retract the paper; assert deprecation_status equals 'active' and correction_note is not null |
Expression of Concern Handling | Output classifies a source with an active expression of concern as 'active' but sets a high risk flag and includes the concern in the output | Output ignores the expression of concern or incorrectly marks the source as 'retracted' | Provide a source with a publisher-issued expression of concern; assert deprecation_status equals 'active' and risk_flag is true |
Missing Evidence Abstention | Output returns deprecation_status 'unknown' with confidence below threshold when no retraction or version metadata is available | Output confidently classifies a source as 'active' when no status metadata can be retrieved | Provide a source with no accessible metadata and no version history; assert deprecation_status equals 'unknown' and confidence_score is less than 0.6 |
Conflicting Status Resolution | Output correctly resolves conflicting signals by preferring the most authoritative source and documents the conflict | Output oscillates between statuses or picks the first signal without conflict documentation | Provide a source with a publisher page showing 'retracted' but a preprint server showing 'active'; assert deprecation_status equals 'retracted' and conflict_note is not null |
Temporal Sequence Validation | Output correctly identifies when a retraction occurred after a correction and reports the final status as 'retracted' | Output reports the source as 'corrected' because it saw the correction event first and ignored the later retraction | Provide a source with a correction timestamp followed by a later retraction timestamp; assert deprecation_status equals 'retracted' |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Adapt This Prompt
How to adapt
Start with the base prompt and a small test set of 10–20 known retractions and active documents. Use a single model call per source without chaining. Accept unstructured text output initially.
codeAnalyze the following source metadata and content excerpt for deprecation or retraction signals: Source: [SOURCE_METADATA] Excerpt: [CONTENT_EXCERPT] Return a deprecation status (active/superseded/retracted/unknown) with a brief explanation.
Watch for
- Silent retractions where the publisher removes the notice but leaves the content accessible
- Partial corrections misclassified as full retractions
- Over-reliance on explicit "retracted" labels; many retractions use softer language like "withdrawn" or "concern raised"

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us