# Wave A — Agentic Policy Chain: Parity Checklist
# Generated: 2026-06-13
# Purpose: Tim sign-off required before any source-tool deletion.
# Rules: (1) No deletion until sign-off. (2) Deletes handed to Tim as PowerShell blocks only.

chain_id: agentic-policy
chain_title: Agentic Policy Chain
chain_path: chaingraph/chains/agentic-policy.html

nodes:
  - node_id: art-15
    chaingraph_file: chaingraph/art-15-agentic-mandate-sandbox.html
    source_file: tools/rbe-06-agentic-mandate-sandbox.html
    status: PROMOTED_THIS_SESSION
    parity_checks:
      core_functionality_preserved: true
      # All simulation logic: generateSyntheticTxns, evaluateTxn, renderResults,
      # renderExplainability, generateMandatePreview — all present
      nl_policy_parser: true
      mcc_chip_toggle_ui: true
      save_load_config_inmemory: true   # _ainStore (NOT sessionStorage)
      approval_threshold_toggles: true
      velocity_limit_controls: true
      time_window_controls: true
      spend_cap_sliders: true
      import_export_mandate_json: true
      ap2_schema_validator: true
      i18n_6_languages: true
      ain_bridge_v1: true
    chainGraph_upgrades:
      csp_frame_src_self: true
      title_canonical_ldjson: true
      nav_breadcrumb_chaingraph_hub: true
      footer_chaingraph_hub_link: true
      sha256_async_helper: true
      ap2_hash_computed_after_simulation: true
      ain_build_mandate_v4_schema: true
        # ap2_version: "1.0.0" ✓
        # execution_hash: _ap2Hash ✓
        # chain: {parent_hashes:[], parent_tool_ids:[], chain_depth:0} ✓
        # mandate_type: "agent_guardrail_mandate" ✓
      sessionStorage_ain_lang_removed: true
        # setLang() comment: /* ChainGraph nodes do not write ain_lang to sessionStorage */
      manifest_updated: true
        # tool_id: "art-15-agentic-mandate-sandbox"
        # category: "chaingraph"
        # chaingraph: true
        # execution.entry: "chaingraph/art-15-agentic-mandate-sandbox.html"
      ain_bridge_cfg_updated: true
        # {runFn:'runSimulation',intake:true,intakeTarget:null,intakeAnchor:'#resultsEmpty'}
      export_button_label_updated: true
        # "{} Export ChainGraph Artifact · §4 · agent_guardrail_mandate · hash-anchored"
      html_bugs_fixed: true
        # Missing '<' before closing tags at source lines 633-634, 639

    deletion_prerequisite: Tim sign-off on parity_checks above
    deletion_block: |
      # PowerShell — run ONLY after Tim sign-off:
      # Remove-Item "C:\dev\Claude\Projects\AINumbers\repo\tools\rbe-06-agentic-mandate-sandbox.html"

  - node_id: art-16
    chaingraph_file: chaingraph/art-16-google-ap2-mandate-builder.html
    source_file: tools/285-google-ap2-mandate-builder.html
    status: PROMOTED_PRIOR_SESSION
    deletion_prerequisite: Tim sign-off pending
    deletion_block: |
      # PowerShell — run ONLY after Tim sign-off:
      # Remove-Item "C:\dev\Claude\Projects\AINumbers\repo\tools\285-google-ap2-mandate-builder.html"

  - node_id: art-17
    chaingraph_file: chaingraph/art-17-ap2-mcp-policy-validator.html
    source_file: tools/320-ap2-mcp-policy-validator.html
    status: PROMOTED_THIS_SESSION
    deletion_prerequisite: Tim sign-off pending
    deletion_block: |
      # PowerShell — run ONLY after Tim sign-off:
      # Remove-Item "C:\dev\Claude\Projects\AINumbers\repo\tools\320-ap2-mcp-policy-validator.html"

  - node_id: art-18
    chaingraph_file: chaingraph/art-18-mcp-developer-readiness-scorecard.html
    source_file: tools/288-mcp-developer-readiness-scorecard.html
    status: PROMOTED_PRIOR_SESSION
    deletion_prerequisite: Tim sign-off pending
    deletion_block: |
      # PowerShell — run ONLY after Tim sign-off:
      # Remove-Item "C:\dev\Claude\Projects\AINumbers\repo\tools\288-mcp-developer-readiness-scorecard.html"

sign_off:
  status: SIGNED_OFF
  instructions: |
    Review parity_checks for each node above.
    When satisfied, reply "parity approved — agentic-policy chain" and Claude will
    emit the PowerShell delete blocks for all four source tools.
    DO NOT delete until sign-off is confirmed.
