← back to Marketing Command Center

verification/tk-10893-codex-e2e-proof.json

65 lines

{
  "ticket": "TK-10893",
  "model": "codex",
  "intent": "Independently compare Claude's launchd plist/job validation and verify safe local behavior without installing, bootstrapping, removing, or publishing the job.",
  "risk_tier": "R1",
  "environment": "Mac2 local, gui/501, America/Los_Angeles",
  "timestamp": "2026-08-30T16:33:52Z",
  "baseline": {
    "plist": "deploy/com.steve.marketing-calendar-snapshot.plist",
    "publisher": "scripts/publish-calendar-snapshot.mjs",
    "existing_fix_commit": "092a26c5f835c92e9bf3251006cedc023024b473",
    "working_tree_before": "clean"
  },
  "checks": [
    {
      "name": "plist syntax and semantics",
      "commands": [
        "plutil -lint deploy/com.steve.marketing-calendar-snapshot.plist",
        "plutil -convert json -o /tmp/TK-10893-plist.json deploy/com.steve.marketing-calendar-snapshot.plist",
        "node semantic assertions against /tmp/TK-10893-plist.json"
      ],
      "assertions": "Label, absolute node/script paths, 06:30 schedule, RunAtLoad=false, and PGUSER=macstudio3 match the intended job.",
      "verdict": "PASS"
    },
    {
      "name": "installed runtime observation",
      "command": "launchctl print gui/501/com.steve.marketing-calendar-snapshot",
      "assertions": "Registered from the repository plist; calendar trigger is 06:30; runs=5; last exit code=0. State=not running is expected between scheduled invocations.",
      "verdict": "PASS"
    },
    {
      "name": "historical operational logs",
      "command": "tail -80 data/publish-calendar-snapshot.log",
      "assertions": "Five consecutive Aug 26-30 runs passed validation, performed atomic publish, busted cache, and logged DONE with no failure signature.",
      "verdict": "PASS"
    },
    {
      "name": "safe readiness journey",
      "command": "node scripts/publish-calendar-snapshot.mjs --dry-run",
      "assertions": "activation_live=true; items=20086; window=2026-08-31..2027-09-22; explicit prod-untouched stop before publish/cache-bust; exit 0.",
      "verdict": "PASS"
    },
    {
      "name": "negative validation boundary",
      "command": "SNAP_MIN_ITEMS=999999 CNCP_URL=http://127.0.0.1:9 node scripts/publish-calendar-snapshot.mjs --dry-run",
      "assertions": "Forced item-floor violation aborted with nonzero exit before publish; alert sink was an unreachable local discard port, so no CNCP or external write occurred.",
      "verdict": "PASS"
    },
    {
      "name": "deterministic local side effect",
      "command": "git status --short && git diff --stat",
      "assertions": "Snapshot regeneration produced no repository diff; working tree remained clean.",
      "verdict": "PASS"
    }
  ],
  "comparison": {
    "agreement": "Claude's plist design and healthy-job conclusion are supported by current independent evidence.",
    "qualification": "The original ticket's held/install framing is stale: runtime and logs prove the job was already bootstrapped, and its first recorded run predates ticket creation. A non-running state between calendar events is not a defect.",
    "safe_local_defect": "The missing no-publish readiness mode was already fixed in commit 092a26c and independently reverified here; no further local code defect was found.",
    "approval_gate_preserved": "No launchctl bootstrap, bootout, kickstart, install script, or production publish was invoked."
  },
  "cleanup": "Only /tmp/TK-10893-plist.json was retained as an ephemeral parse artifact; no service or production state changed.",
  "overall_verdict": "PASS"
}