{
  "blueprint": "performance-reviews",
  "builder": "Claude, following the phase prompts in order (a fresh subagent per phase that saw only the spec and the build folder)",
  "testedSpecSha256": "ce0f6c35a79d503d9b784899b915f683bcd0474f10d0ad26395888cc84f5e1b1",
  "reviewDate": "2026-11-09",
  "reviewMethod": "Playwright scripts (Chromium) clicked through the build as the named seed people (Hannah, Marcus, Sofia, Kai, Leo, Ivy) from the development \"sign in as\" switcher, asserting on what was on screen; where a check says the server must refuse something the script also made the request directly (Kai opening and writing to Ivy's review, Leo editing his submitted self review, Leo submitting peer feedback after Oct 29, Leo reading or writing his manager review before release, and Leo, Marcus and Hannah changing the review after acknowledgement). Reset to seed data set the development clock to Thursday, October 15, 2026 at 10:00 America/Chicago, and the checks moved it to Oct 19, 23 and 30 and Nov 12. Emails were read on the admin Outbox screen, the reminder job was run from its \"Run reminder job now\" button and once through its endpoint with the X-Cron-Secret header, and the CSV export was downloaded and parsed. The run below is the single final run on a fresh database after all spec gaps were fixed: each phase's checks start from a fresh load of the seed and run in order on the same data, as the build plan says. Earlier per-phase runs found the gaps and are not counted. Results are final post-fix checks, not first-attempt success rates or an independent human audit.",
  "automatedTests": {
    "passed": 122,
    "total": 122,
    "command": "node --test",
    "rerunDuringReview": true
  },
  "gapsFixed": 64,
  "runs": [
    {
      "startedAt": "2026-11-09T09:55:51.993Z",
      "finishedAt": "2026-11-09T09:56:02.148Z",
      "phases": [
        1,
        2,
        3,
        4
      ],
      "passed": 17,
      "total": 17,
      "items": [
        {
          "phase": 1,
          "text": "Signed in as Hannah, H2 2026 has seven reviews; Nate Bell (started Oct 1) and Dan Price (no manager) have none.",
          "status": "passed",
          "evidence": "H2 2026 dashboard lists 7 reviews: Ella Ford, Hannah Cole, Ivy Tan, Kai Moore, Leo Grant, Marcus Webb, Sofia Ruiz; no row for Nate Bell or Dan Price"
        },
        {
          "phase": 1,
          "text": "Signed in as Marcus, Ivy's submitted self review is visible, while Leo's review says \"Leo hasn't submitted his self review yet.\" and shows none of his draft answers.",
          "status": "passed",
          "evidence": "Ivy's self review shown (\"I shipped the new billing export...\"); Leo's review shows \"Leo hasn't submitted his self review yet.\" and the draft text is absent from the page HTML"
        },
        {
          "phase": 1,
          "text": "Signed in as Kai, opening Ivy's review is refused, both on screen and by a direct request.",
          "status": "passed",
          "evidence": "Page: HTTP 403 \"You can't open this review: you are neither Ivy Tan's manager nor an admin.\"; direct POST to /reviews/r_h2_ivy/self -> 403; direct GET -> 403 with no answers"
        },
        {
          "phase": 1,
          "text": "Signed in as Leo, submitting his self review with an empty required answer is refused; once complete, it submits, becomes read-only, and Marcus can now read it.",
          "status": "passed",
          "evidence": "Empty \"What would you like to do better next half?\" -> alert \"Your self review was not submitted.\" and still Draft; completed -> \"Your self review is submitted.\", form removed, direct edit -> 403; Marcus now reads Leo's answers"
        },
        {
          "phase": 2,
          "text": "Signed in as Sofia, Kai's proposed peers are Ivy and Ella; approving Ivy emails her a request, and declining Ella with a reason emails Kai.",
          "status": "passed",
          "evidence": "Kai's proposed peers: Ella Ford, Ivy Tan; outbox gained \"Kai Moore asked for your feedback (due Thu Oct 29)\" to ivy@ (logged) and \"Ella Ford won't be asked for feedback\" to kai@ with the reason (logged)"
        },
        {
          "phase": 2,
          "text": "Signed in as Kai, his peer feedback page for Ivy asks \"What should Ivy keep doing?\" and \"What could Ivy do differently?\"; after he submits, it shows only his own answers, and Ivy's review page itself is still refused.",
          "status": "passed",
          "evidence": "Form asks \"What should Ivy keep doing?\" and \"What could Ivy do differently?\" (2 fields); after \"Submit peer feedback\" Kai sees only his own two answers; Ivy's self review and other sections are not shown (full review GET -> 403)"
        },
        {
          "phase": 2,
          "text": "Signed in as Marcus, Ivy's review shows Kai's peer answers with Kai's name.",
          "status": "passed",
          "evidence": "Ivy's review, Peer feedback section: block headed \"Kai Moore\" with both of his answers"
        },
        {
          "phase": 2,
          "text": "After the clock moves past Oct 29, Leo's peer form for Ivy is closed and a direct submission is refused.",
          "status": "passed",
          "evidence": "Clock Fri Oct 30, 2026, 09:00 CDT: Leo's form shows \"Peer feedback closed at the end of Thu Oct 29. This form is closed.\" with no fields; direct POST -> 403"
        },
        {
          "phase": 3,
          "text": "Marcus can draft Leo's manager review, but submitting it today is refused with \"Leo hasn't submitted his self review. You can submit after Oct 22.\"; after the clock moves past Oct 22, he submits it with an overall rating of 4.",
          "status": "passed",
          "evidence": "Draft saved and reloaded; submit on Oct 15 -> alert \"Leo hasn't submitted his self review. You can submit after Oct 22.\"; clock Fri Oct 23, 2026, 09:00 CDT: submitted, \"Overall rating: 4, Exceeds expectations\""
        },
        {
          "phase": 3,
          "text": "Hannah calibrates Leo's rating from 4 to 3 with a reason; Marcus is emailed and sees the reason on the review.",
          "status": "passed",
          "evidence": "Notice \"Calibrated Leo Grant's overall rating from 4 to 3...\"; outbox: \"Leo Grant's overall rating was calibrated to 3\" to marcus@ (logged) with the reason; Marcus's review page shows \"Reason: Across engineering, the same evidence was rated Meet...\""
        },
        {
          "phase": 3,
          "text": "Before release, Leo sees no part of Marcus's review, including by a direct request.",
          "status": "passed",
          "evidence": "Leo's page and JSON (200) contain none of Marcus's answers, ratings or calibration; GET /reviews/r_h2_leo/manager -> 405 without content; POST -> 403"
        },
        {
          "phase": 3,
          "text": "With the clock at Nov 12, Hannah releases Leo's review: Leo is emailed, sees Marcus's answers and \"3, Meets expectations\", nothing about calibration, and no peer feedback section.",
          "status": "passed",
          "evidence": "Clock Thu Nov 12, 2026, 09:00 CST; outbox \"Your H2 2026 review is ready\" to leo@; Leo sees Marcus's answers and \"3, Meets expectations\"; no \"calibrat\", no reason, no 4/Exceeds; sections: Timeline, Self review, Peers you proposed, Manager review, Final rating, Acknowledgement"
        },
        {
          "phase": 3,
          "text": "Leo acknowledges with a comment; the review shows Acknowledged, and its answers and rating can no longer be changed, including by a direct request.",
          "status": "passed",
          "evidence": "\"Acknowledged Thu Nov 12, 2026, 09:00 CST. Nothing in this review can change now.\" with the comment; no editable fields; direct requests refused: Leo self 403, Leo ack again 403, Marcus manager 403, Hannah calibrate 403, Hannah reopen 403; rating still \"3, Meets expectations\""
        },
        {
          "phase": 4,
          "text": "Moving the clock to Monday Oct 19 at 09:00 and running the job sends one self-review reminder each to Leo, Ella, Marcus and Hannah, and running it again sends nothing more.",
          "status": "passed",
          "evidence": "Clock Mon Oct 19, 2026, 09:00 CDT: first run -> 4 reminder emails \"Your self review is due in 3 days\" to ella@pinecrest.example, hannah@pinecrest.example, leo@pinecrest.example, marcus@pinecrest.example; second UI run and a cron run (X-Cron-Secret) -> still 4; wrong secret -> 403"
        },
        {
          "phase": 4,
          "text": "On Oct 23, Hannah's overdue list shows four self reviews: Leo Grant, Ella Ford, Marcus Webb and Hannah Cole.",
          "status": "passed",
          "evidence": "Clock Fri Oct 23, 2026, 09:00 CDT: Overdue (4) lists self reviews for Ella Ford, Hannah Cole, Leo Grant, Marcus Webb"
        },
        {
          "phase": 4,
          "text": "Signed in as Hannah, Ivy's history shows H1 2026 (4, Exceeds expectations, acknowledged) and H2 2026 in progress; signed in as Ivy, she sees H1 2026's released review but nothing from H2 2026 beyond her own self review, even after Marcus submits her manager review.",
          "status": "passed",
          "evidence": "Admin history: H1 2026 \"Released, acknowledged\", \"4, Exceeds expectations\"; H2 2026 \"In progress\". Ivy's /history lists H1 2026 (4, Exceeds expectations) and no H2 row; H1 review readable; H2 page shows only her self review (Marcus's submitted manager review and rating absent)"
        },
        {
          "phase": 4,
          "text": "The H2 2026 export has seven rows with each step's status and date, and the final rating column filled only for reviews with a submitted manager section (after the previous check, only Ivy's).",
          "status": "passed",
          "evidence": "7 rows; columns: Employee, Team, Manager, Self status, Self submitted date, Peers approved, Peers submitted, Manager status, Manager submitted date, Overall rating, Calibrated rating, Final rating, Released date, Acknowledged date. Ella Ford: self not_started, manager not_started, final \"\"; Hannah Cole: self not_started, manager not_started, final \"\"; Ivy Tan: self submitted 2026-10-13, manager submitted 2026-10-23, final \"4\"; Kai Moore: self submitted 2026-10-14, manager not_started, final \"\"; Leo Grant: self draft, manager not_started, final \"\"; Marcus Webb: self not_started, manager not_started, final \"\"; Sofia Ruiz: self submitted 2026-10-14, manager not_started, final \"\""
        }
      ]
    }
  ],
  "notTested": [
    "Production sign-in: every check used the development \"sign in as\" switcher; the Google sign-in limited to the company domain was built but never tried against Google.",
    "Real email delivery: every email was logged in the outbox; no email provider was configured.",
    "The daily reminder job on a real scheduler: its endpoint was called directly and from the button, never by cron at 09:00.",
    "Hosting: the checks ran on localhost with SQLite.",
    "Peer feedback shown to the employee without names: no check reaches a release with 2 or more submitted peers, so the anonymous, shuffled view is covered only by the build's own tests.",
    "Section 13's edge cases (a manager leaving mid-cycle, deactivating an employee or an approved peer) and closing a cycle are not covered by any acceptance check.",
    "Phones beyond one 390-pixel Chromium viewport; no physical phone was used."
  ]
}