<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dura-lex.org/index.php?action=history&amp;feed=atom&amp;title=MCP%2FGuidelines</id>
	<title>MCP/Guidelines - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dura-lex.org/index.php?action=history&amp;feed=atom&amp;title=MCP%2FGuidelines"/>
	<link rel="alternate" type="text/html" href="https://wiki.dura-lex.org/index.php?title=MCP/Guidelines&amp;action=history"/>
	<updated>2026-04-23T05:37:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.dura-lex.org/index.php?title=MCP/Guidelines&amp;diff=45&amp;oldid=prev</id>
		<title>Nicolas: Create MCP/Guidelines index page explaining the guidelines system (via create-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dura-lex.org/index.php?title=MCP/Guidelines&amp;diff=45&amp;oldid=prev"/>
		<updated>2026-04-23T02:07:01Z</updated>

		<summary type="html">&lt;p&gt;Create MCP/Guidelines index page explaining the guidelines system (via create-page on MediaWiki MCP Server)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Guidelines =&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;safety_guidelines&amp;lt;/code&amp;gt; tool returns mandatory guidelines for legal research. The guidelines system uses a two-call workflow:&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Core guidelines&amp;#039;&amp;#039;&amp;#039; — called ONCE at the start of any session via &amp;lt;code&amp;gt;safety_guidelines(category=&amp;quot;core&amp;quot;)&amp;lt;/code&amp;gt;. Returns foundational rules independent of jurisdiction: 8 non-negotiable safety rules, research methodology, defensive posture, response format and auditability requirements.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Jurisdiction guidelines&amp;#039;&amp;#039;&amp;#039; — called BEFORE researching any new jurisdiction via &amp;lt;code&amp;gt;safety_guidelines(category=&amp;quot;jurisdiction&amp;quot;, jurisdiction=&amp;quot;&amp;lt;code&amp;gt;&amp;quot;)&amp;lt;/code&amp;gt;. Returns jurisdiction-specific rules and corpus provenance. When switching jurisdiction mid-session, call again with the new code.&lt;br /&gt;
&lt;br /&gt;
== Architecture ==&lt;br /&gt;
&lt;br /&gt;
The guidelines are loaded at server startup and cached for the lifetime of the MCP server process. Restarting the container is required after editing guideline files.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Core text&amp;#039;&amp;#039;&amp;#039; lives in &amp;lt;code&amp;gt;duralex-mcp/src/duralex/mcp/core.md&amp;lt;/code&amp;gt; and is loaded by the MCP server directly (not by plugins).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Jurisdiction texts&amp;#039;&amp;#039;&amp;#039; are provided by each jurisdiction plugin via the &amp;lt;code&amp;gt;get_guidelines() -&amp;gt; str&amp;lt;/code&amp;gt; protocol. Each plugin returns a single jurisdiction-scoped supplement.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Corpus provenance&amp;#039;&amp;#039;&amp;#039; is dynamically appended to jurisdiction guidelines, listing available data sources with document counts, coverage start years, and latest document dates.&lt;br /&gt;
&lt;br /&gt;
Single-jurisdiction variants (e.g., &amp;lt;code&amp;gt;&amp;quot;fr&amp;quot;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;quot;eu&amp;quot;&amp;lt;/code&amp;gt;) are precomputed at registration time. Multi-jurisdiction variants (e.g., &amp;lt;code&amp;gt;&amp;quot;eu|fr&amp;quot;&amp;lt;/code&amp;gt;) are built on demand by concatenating the relevant single-jurisdiction variants.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;jurisdiction&amp;lt;/code&amp;gt; parameter supports Overpass QL operators: &amp;lt;code&amp;gt;&amp;quot;fr&amp;quot;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;quot;eu&amp;quot;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;quot;eu|fr&amp;quot;&amp;lt;/code&amp;gt; (combined), &amp;lt;code&amp;gt;&amp;quot;*&amp;quot;&amp;lt;/code&amp;gt; (all jurisdictions), &amp;lt;code&amp;gt;&amp;quot;!=eu&amp;quot;&amp;lt;/code&amp;gt; (exclusion). The &amp;lt;code&amp;gt;&amp;quot;!*&amp;quot;&amp;lt;/code&amp;gt; operator is not allowed.&lt;br /&gt;
&lt;br /&gt;
== Categories ==&lt;br /&gt;
&lt;br /&gt;
=== Core ===&lt;br /&gt;
&lt;br /&gt;
Foundational rules applicable to all jurisdictions. Contains:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Identity and tone&amp;#039;&amp;#039;&amp;#039; — research partner posture, no legal advice, no predictions, adaptive fact-gathering&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;8 non-negotiable safety rules&amp;#039;&amp;#039;&amp;#039; — fetch before cite, explicit refusal, quote-first, citation self-check, no jurisdiction mixing, temporal check, absence vs inexistence, quality_check mandatory&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Context window management&amp;#039;&amp;#039;&amp;#039; — compaction detection and warning protocol&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Research methodology&amp;#039;&amp;#039;&amp;#039; — 13-step checklist, search syntax, tool routing, fallback strategies&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Defensive posture and analysis&amp;#039;&amp;#039;&amp;#039; — adversarial self-review, structured reasoning, authority weighting, hallucination pattern detection&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Response format and auditability&amp;#039;&amp;#039;&amp;#039; — citation format, permanent links, danger detection, language rules&lt;br /&gt;
&lt;br /&gt;
Full text: &amp;#039;&amp;#039;&amp;#039;[[MCP/Guidelines/Core|Core guidelines]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== Jurisdiction: FR (French law) ===&lt;br /&gt;
&lt;br /&gt;
French law-specific rules. Contains:&lt;br /&gt;
&lt;br /&gt;
* Tool routing by legal domain (employment, civil, criminal, tax, data protection, administrative, company information)&lt;br /&gt;
* French legal synonyms for FTS&lt;br /&gt;
* Normative hierarchy and codification prefixes&lt;br /&gt;
* Major reforms and renumbering traps (obligations 2016, security interests 2022, criminal procedure 2024)&lt;br /&gt;
* Court system: judicial, administrative, financial orders with court_level mappings&lt;br /&gt;
* Publication grades (official_grade) for all court families&lt;br /&gt;
* Formations and solemnity ordering&lt;br /&gt;
* Decision reading and analysis (Cass, CE, CC, CA/TJ)&lt;br /&gt;
* Case number formats&lt;br /&gt;
* Labor law (three-tier hierarchy, IDCC, bargaining_level)&lt;br /&gt;
* Legislation (territorial scope, text types, nature tag, JORF, code abbreviations, enforcement status)&lt;br /&gt;
* Doctrine (BOFiP, CNIL, CADA)&lt;br /&gt;
* Deadline computation&lt;br /&gt;
* Common traps (40+ pitfalls)&lt;br /&gt;
* Practical reflexes (prescription periods, pre-litigation steps)&lt;br /&gt;
* Data limitations and source coverage&lt;br /&gt;
* Emergency resources&lt;br /&gt;
&lt;br /&gt;
Full text: &amp;#039;&amp;#039;&amp;#039;[[MCP/Guidelines/FR|FR guidelines]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== Jurisdiction: EU (European law) ===&lt;br /&gt;
&lt;br /&gt;
European law-specific rules. Contains:&lt;br /&gt;
&lt;br /&gt;
* Tool routing (regulations, directives, CJEU, ECHR, CELEX lookup, transposition)&lt;br /&gt;
* EU legal terminology and multilingual search&lt;br /&gt;
* Courts: CJEU (Court of Justice + General Court), ECHR&lt;br /&gt;
* Publication grades and importance grades&lt;br /&gt;
* Legislation hierarchy (treaties &amp;gt; regulations &amp;gt; directives &amp;gt; decisions)&lt;br /&gt;
* Charter of Fundamental Rights&lt;br /&gt;
* Direct effect and primacy&lt;br /&gt;
* ECHR margin of appreciation&lt;br /&gt;
* Transposition lookup workflow&lt;br /&gt;
* CJEU preliminary rulings&lt;br /&gt;
* Advocate General opinions&lt;br /&gt;
* Decision analysis (preliminary rulings, direct actions, ECHR)&lt;br /&gt;
* Practical reflexes&lt;br /&gt;
* Emergency resources&lt;br /&gt;
&lt;br /&gt;
Full text: &amp;#039;&amp;#039;&amp;#039;[[MCP/Guidelines/EU|EU guidelines]]&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:MCP]]&lt;/div&gt;</summary>
		<author><name>Nicolas</name></author>
	</entry>
</feed>