schema_version: "1.0"
parity_id: dora-readiness-diagnostic
sign_off_status: SIGNED_OFF
created: "2026-06-13"
created_by: "claude-sonnet-4-6 / cowork session"

source:
  type: guide
  path: "repo/guides/dora-readiness-diagnostic.html"
  title: "DORA Readiness Diagnostic"
  description: >
    12-question scored diagnostic across 4 DORA domains (ICT Risk Management,
    Incident Classification & Reporting, Resilience Testing, Third-Party Risk).
    Graded A–F with remediation map. References RBE-11 (art-09), T300, T302,
    T303, T304, T305, T306, T307, T308, T358, T359, T100. Had sessionStorage
    ain_lang read/write.

chaingraph_equivalent:
  type: node
  path: "repo/chaingraph/art-29-dora-readiness-diagnostic.html"
  node_id: "art-29-dora-readiness-diagnostic"
  chain_id: "dora-readiness-diagnostic"  # single-node chain, chain_depth: 0
  chaingraph_url: "https://ainumbers.co/chaingraph/art-29-dora-readiness-diagnostic.html"

parity_matrix:
  - feature: "12-question scored diagnostic"
    source: true
    chaingraph: true
    notes: "All 4 domains × 3 questions verbatim"

  - feature: "Domain 1 — ICT Risk Management (Q1–Q3)"
    source: true
    chaingraph: true
    notes: "Verbatim questions"

  - feature: "Domain 2 — Incident Classification & Reporting (Q4–Q6)"
    source: true
    chaingraph: true
    notes: "Verbatim questions"

  - feature: "Domain 3 — Resilience Testing (Q7–Q9)"
    source: true
    chaingraph: true
    notes: "Verbatim questions"

  - feature: "Domain 4 — Third-Party Risk (Q10–Q12)"
    source: true
    chaingraph: true
    notes: "Verbatim questions"

  - feature: "Scoring: yes=2, partial=1, no=0"
    source: true
    chaingraph: true
    notes: "VALUES object identical"

  - feature: "Grade thresholds A≥85/B≥70/C≥55/D≥40/F<40"
    source: true
    chaingraph: true
    notes: "grade() function identical logic"

  - feature: "Remediation tool references"
    source: true
    chaingraph: true
    notes: "All 12 tools present; RBE-11 → art-09 (./art-09-*) gold ChainGraph link; rest → ../tools/ standard links"

  - feature: "Q6 references RBE-11/art-09 incident classifier"
    source: true
    chaingraph: true
    notes: "Upgraded to ./art-09-dora-incident-classifier.html with chaingraph:true gold link"

  - feature: "sessionStorage ain_lang read/write"
    source: true
    chaingraph: false
    notes: "REMOVED. Comment placed: /* ChainGraph nodes do not write ain_lang to sessionStorage */"

  - feature: "§4 execution_hash artifact export"
    source: false
    chaingraph: true
    notes: "NEW in ChainGraph. ap2_version:1.0.0, mandate_id UUID, execution_hash (WebCrypto SHA-256), chain block"

  - feature: "chain block (chain_id, chain_depth:0, parent_hashes:[], parent_tool_ids:[])"
    source: false
    chaingraph: true
    notes: "NEW in ChainGraph"

  - feature: "compliance_flags (supervisory_exposure, immediate_action_required, incident_route_recommended)"
    source: false
    chaingraph: true
    notes: "NEW in ChainGraph — derived from score thresholds"

  - feature: "AIN Bridge (ain:run, ain:getMandate postMessage handlers)"
    source: false
    chaingraph: true
    notes: "NEW in ChainGraph — MCP orchestration support"

  - feature: "Link to DORA chain page"
    source: false
    chaingraph: true
    notes: "NEW — nav + CTA + footer link to ./chains/dora-readiness.html"

gaps_in_chaingraph: []

improvements_in_chaingraph:
  - "§4 hash-anchored artifact with execution_hash"
  - "chain block with parent_hashes/parent_tool_ids"
  - "compliance_flags derived from score thresholds"
  - "AIN Bridge MCP orchestration handlers"
  - "sessionStorage ain_lang violation removed"
  - "Q6 upgraded to link to ChainGraph art-09 (gold promoted link)"
  - "Link to DORA chain page for guided workflow"

deletion_gate:
  ready_to_delete_source: false
  blocking_reason: "Awaiting Tim sign-off on parity"
  delete_command: >
    # Tim runs in PowerShell after sign-off:
    # Remove-Item C:\dev\Claude\Projects\AINumbers\repo\guides\dora-readiness-diagnostic.html
    # git add -A; git commit -m "chore: delete guides/dora-readiness-diagnostic — parity live at art-29"
