{
  "generatedAt": "2026-05-06T16:48:00Z",
  "issueNumber": 377,
  "issueUrl": "https://github.com/HotsumaX/community-sandbox/issues/377",
  "goal": "Execute one bounded metadata update for issue #377 by adding a single execution-ready delta object to the Pi-hole DNS health artifact and its portal mirror.",
  "executionGrade": true,
  "concreteDeltaRequired": true,
  "targetFiles": [
    "artifacts/autonomy/pihole-dns-health.json",
    "deployment/portal/artifacts/autonomy/pihole-dns-health.json"
  ],
  "allowedDirectories": [
    "artifacts/autonomy",
    "deployment/portal/artifacts/autonomy"
  ],
  "hardConstraints": [
    "GitHub is source of truth",
    "Local commit -> push -> webhook deploy only",
    "No direct Pi edits",
    "No Codex execution in this pass",
    "No new GitHub issue creation",
    "No issue closure",
    "Only modify the listed target files",
    "Keep maxFilesChanged <= 2",
    "Keep maxLinesChanged <= 120"
  ],
  "exactTargetSections": [
    {
      "file": "artifacts/autonomy/pihole-dns-health.json",
      "jsonPath": "$.proofReadiness.issue377ExecutionDelta",
      "operation": "add-or-replace",
      "expectedValue": {
        "issueNumber": 377,
        "status": "ready-for-execution",
        "targetKey": "proofReadiness.issue377ExecutionDelta",
        "safeDelta": "metadata-only",
        "expectedResolver": "pi-hole",
        "expectedHealthStatus": "healthy"
      }
    },
    {
      "file": "deployment/portal/artifacts/autonomy/pihole-dns-health.json",
      "jsonPath": "$.proofReadiness.issue377ExecutionDelta",
      "operation": "add-or-replace",
      "expectedValue": {
        "issueNumber": 377,
        "status": "ready-for-execution",
        "targetKey": "proofReadiness.issue377ExecutionDelta",
        "safeDelta": "metadata-only",
        "expectedResolver": "pi-hole",
        "expectedHealthStatus": "healthy"
      }
    }
  ],
  "successCriteria": [
    "Exactly the two listed DNS-health files are touched.",
    "Both files contain $.proofReadiness.issue377ExecutionDelta with the exact expected object.",
    "Source and portal mirror remain byte-for-byte equivalent after JSON normalization."
  ],
  "verificationCommands": [
    "python3 - <<'PY'\nimport json\nfrom pathlib import Path\nexpected = {'issueNumber': 377, 'status': 'ready-for-execution', 'targetKey': 'proofReadiness.issue377ExecutionDelta', 'safeDelta': 'metadata-only', 'expectedResolver': 'pi-hole', 'expectedHealthStatus': 'healthy'}\nsource = json.loads(Path('artifacts/autonomy/pihole-dns-health.json').read_text())\nmirror = json.loads(Path('deployment/portal/artifacts/autonomy/pihole-dns-health.json').read_text())\nassert source['proofReadiness']['issue377ExecutionDelta'] == expected\nassert mirror['proofReadiness']['issue377ExecutionDelta'] == expected\nassert source == mirror\nprint('issue-377-execution-grade-ok')\nPY"
  ],
  "maxFilesChanged": 2,
  "maxLinesChanged": 120,
  "codexExecutionAllowed": false,
  "codexExecutionActuallyRan": false,
  "githubWritePerformed": false
}
