๐Ÿ” P5Y โ€” 5 Whys Analyser

The complete blueprint: purpose, workflow, reasoning, data, and deployment.

1. Purpose

P5Y is a sparring partner for EMEA PFHO/SCR root-cause dive deeps. When a commitment is missed, it pulls the build's real context, examines every aspect of the build, and asks critical "why" questions until the cause is a process gap rather than a symptom. The guiding rule (per the EMEA 5 Whys mechanism): attack the process, not the people โ€” individual error is never accepted as a root cause.

2. The dive-deep workflow

  1. Name the build; P5Y pulls DCBM live state + 5 Whys history + Lessons Learned.
  2. It surfaces all investigation threads visible on the build.
  3. The investigator picks a thread; P5Y asks one critical "why" at a time.
  4. It classifies each answer and pushes back on shallow / blame / external answers.
  5. The investigator confirms the root cause (P5Y never declares it).
  6. Actions are captured (owner ยท partner team ยท ETA ยท scale).
  7. P5Y synthesises the multi-thread conclusion: Issues | Impact | Lessons Applied To | Next Steps.

3. Reasoning โ€” the layer ladder

Every answer is classified onto a five-layer ladder; the questioning logic uses the result to decide the next move.

LayerMeaning
EventThe observable outcome (always Why 1).
MechanismHow it happened โ€” the direct causal step.
GapA missing control / process / verification.
SystemicWhy the gap exists at an organisational level.
Root causeThe enabling structure, named explicitly.

Push-back rules

A rule-based reasoner runs first as the resilient baseline; a Bedrock classifier (same schema + flags, with few-shot examples) refines it when available. If the model is unreachable, P5Y falls back to the rule-based reasoner โ€” it never stops reasoning.

4. Looking at all aspects

P5Y mines the DCBM path_to_green and customer_impact narratives, milestone dates, change reasons, and prior 5 Whys sessions into ordered threads, e.g.:

Power / MV switchgear LV switchgear QA/QC ACS configuration Corp network turn-up NEA โ†’ H2C SLA Schedule / MR / float

It connects them โ€” e.g. an upstream delay that consumes management reserve so later slips hit MR directly and sequentially.

5. Data sources

SourceUse
DCBM consolidated snapshot (S3)Live build state, milestones, change reasons
5 Whys 2022โ€“2026 (S3)Historical Why-chains / precedent retrieval
Lessons Learned registerCross-build patterns
Colo scorecards ยท Intercepts ยท ROMP/COLP buildsMilestone & delivery reference

A structured SQLite index serves fast FBN lookups; a ChromaDB vector store powers semantic precedent retrieval.

6. Deployment & security

P5Y ยท EMEA DC Delivery Ops ยท generated specification page. Behaviour, data, and security posture reflect the live deployment.