Arckit fr dr

From tractorjuice/arckit-codex · View interactive version

Arckit fr dr is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. [COMMUNITY] Assess Diffusion Restreinte (DR) handling compliance — marking, storage, transmission, and destruction rules for French administrative sensitive information

How to use this skill

Skill file

⚠️ Community-contributed command — not part of the officially-maintained ArcKit baseline. Output should be reviewed by qualified DPO / RSSI / legal counsel before reliance. Citations to ANSSI / CNIL / EU regulations may lag the current text — verify against the source.

You are helping an enterprise architect assess Diffusion Restreinte (DR) handling compliance for a French information system. DR is a French administrative protection mention applied to information whose disclosure would harm the interests of the French State or third parties, without reaching the level requiring formal classification under IGI 1300 (Secret or Très Secret).

DR is governed primarily by the Instruction Interministérielle n°901/SGDSN/ANSSI (II 901) for electronic information systems, and by ministerial instructions for physical documents. This assessment covers electronic and physical DR handling rules, including marking, access control, storage, transmission, and destruction.

Scope boundary: This command covers DR only. Systems handling IGI 1300 classified information (Secret or Très Secret) require a separate defence security framework (DGA / SGDSN) that is out of scope for ArcKit.

User Input

$ARGUMENTS

Instructions

Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

Step 0: Read existing artifacts from the project context

MANDATORY (warn if missing):

RECOMMENDED (read if available, note if missing):

OPTIONAL (read if available, skip silently):

Step 0b: Read external documents and policies

Step 1: Identify or Create Project

Identify the target project from the hook context. If the project doesn't exist:

  1. Use Glob to list projects/*/ directories and find the highest NNN-* number
  2. Calculate the next number (zero-padded to 3 digits)
  3. Slugify the project name
  4. Use the Write tool to create projects/{NNN}-{slug}/README.md
  5. Set PROJECT_ID and PROJECT_PATH

Step 2: Read Source Artifacts

Read all documents from Step 0. Extract:

Step 3: DR Assessment Template Reading

Read the template (with user override support):

Step 4: DR Compliance Assessment

Step 4a: DR Asset Identification
  1. Asset inventory: Identify all information types in the system that carry or should carry the DR mention. Apply the DR marking criterion: would unauthorised disclosure harm the interests of the French State or a third party, without reaching the IGI 1300 threshold?
  1. Current marking status: For each asset type, note whether it is already marked DR or whether the marking is inconsistently applied
  2. DR registry: Does the organisation maintain a register of DR documents? Who owns it?
Step 4b: Marking and Labelling Compliance

For each electronic document type assessed as DR:

Step 4c: Access Control Assessment
  1. Need-to-know application: Is access to DR information restricted to personnel with a demonstrated need?
  2. Individual authorisation: Is there an explicit authorisation process for DR access?
  3. Access revocation: Are DR access rights revoked promptly on role change or departure?
  4. Third-party access: Are DR documents ever shared with external parties? Is there an approval process?
Step 4d: Electronic Storage Assessment
  1. System qualification: Is the IS used to store DR information registered with the FSSI and approved for DR?
  2. Encryption at rest: Is DR data encrypted using ANSSI-approved solutions (minimum AES-256)?
  3. Key management: Are encryption keys managed separately from data, with access restricted?
  4. Audit logging: Are all access events to DR storage logged with sufficient retention?
  5. Cloud storage: If DR data is stored in cloud — is the provider ANSSI-approved or SecNumCloud-qualified?
Step 4e: Electronic Transmission Assessment
  1. Approved channels: Is DR transmitted only on approved networks (RIE, ANSSI-approved VPN)?
  2. No unencrypted internet: Is there any risk of DR transiting unencrypted public internet?
  3. Email: Is standard email (without approved encryption) ever used for DR? This is non-compliant.
  4. Mobile devices: Can DR be accessed from unmanaged personal devices?
  5. Transmission logging: Are all DR transmissions logged?
Step 4f: Physical Handling Assessment (if applicable)
  1. Physical marking: Are physical DR documents marked on cover and every page?
  2. Secure storage: Are physical DR documents stored in locked cabinets when not in use?
  3. Transport: Are physical DR documents transported in opaque sealed envelopes via registered mail or secure courier?
  4. Printing: Are DR documents printed only on approved, supervised printers?
Step 4g: Destruction Assessment
  1. Electronic media: Is DR data destroyed using ANSSI-approved wiping or physical destruction?
  2. Paper: Are paper DR documents destroyed by cross-cut shredding or incineration?
  3. Destruction logging: Is destruction of DR documents recorded in the DR registry?
Step 4h: IS Compliance for DR Processing

Assess the IS against the II 901 requirements for systems processing DR:

Step 5: Generate DR Assessment Document

CRITICAL: Use the Write tool to create the full DR assessment document.

  1. Detect version: Check for existing ARC-{PROJECT_ID}-DR-v*.md files:
  1. Auto-populate Document Control:
  1. Write the complete assessment following the template.

Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus DR per-type checks pass.

Write the document to:

projects/{project_id}/ARC-{PROJECT_ID}-DR-v{VERSION}.md

Step 6: Summary Output

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ DR Handling Assessment Generated
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📄 Document: projects/{project_id}/ARC-{PROJECT_ID}-DR-v{VERSION}.md
📋 Document ID: {document_id}
📅 Assessment Date: {date}
🔒 Classification: DIFFUSION RESTREINTE

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 DR Assets and Compliance
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

DR asset types identified: {N}
IS homologated for DR:     {Yes / No / Pending}
DR registry maintained:    {Yes / No}

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚨 Compliance Gaps ({N} total)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🔴 High ({N}): {key gaps — transmission, storage, homologation}
🟠 Medium ({N}):
🟡 Low ({N}):

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Next steps:
1. {If IS not homologated for DR: Run $arckit-fr-ebios for homologation study}
2. {If cloud storage of DR: Run $arckit-fr-secnumcloud for provider qualification}
3. Run $arckit-fr-anssi to assess IS security baseline against ANSSI 42 measures
4. Run $arckit-fr-pssi to incorporate DR handling rules into formal security policy
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Important Notes

Key References

| Document | Publisher | URL |

|----------|-----------|-----|

| Diffusion Restreinte — guidance and governing instruction (II 901) | ANSSI / SGDSN | https://cyber.gouv.fr/reglementation/cybersecurite-systemes-dinformation/protection-information-sensible-diffusion-restreinte/ |

| SGDSN (Secrétariat Général de la Défense et de la Sécurité Nationale) | SGDSN | https://www.sgdsn.gouv.fr/ |

| RGS v2.0 — IS homologation requirements | ANSSI | https://cyber.gouv.fr/le-referentiel-general-de-securite-rgs |

| ANSSI-approved encryption products (list) | ANSSI | https://cyber.gouv.fr/produits-services-et-organismes-qualifies |

| CERT-FR — security incident reporting | CERT-FR / ANSSI | https://www.cert.ssi.gouv.fr/ |

Note for reviewers: The II 901/SGDSN/ANSSI instruction governing electronic DR systems is an interministerial instruction not publicly distributed in full. The ANSSI page above provides the publicly accessible guidance. DR is an administrative protection mention, distinct from the IGI 1300 formal classification scheme (Secret or Très Secret), which is managed by SGDSN and is outside the scope of this command.

Success Criteria

Example Usage

$arckit-fr-dr Assess DR handling for a French ministry internal audit IS — produces internal reports, security assessments, and audit findings that should carry DR, 150 users across 3 sites

$arckit-fr-dr DR compliance for 001 — interministerial coordination platform handling sensitive policy documents, cloud-hosted on OVHcloud, integration with RIE

$arckit-fr-dr DR assessment for a préfecture IS processing sensitive administrative correspondence and security incident reports

Suggested Next Steps

After completing this command, consider running:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.