# TEST-06 — Logging & Observability Validation

## Context
This task is part of the **Otto v1.0 Test Plan** and validates behavior implemented in DEV-4 through DEV-57.

## Goal
Validate: **Logging & Observability Validation**

## Files in Scope
- /otto/chat.php (read-only unless adding test hooks)
- /otto/logs/*
- /otto/docs/test-plan/*
- /tests/otto/*

## Step-by-Step Instructions
1. Review Otto runtime behavior relevant to this test.
2. Define explicit scenarios (inputs → expected outputs).
3. Execute scenarios in browser or simulated environment.
4. Capture logs and observable evidence.

## Constraints
- Do NOT refactor production logic
- Do NOT modify GPT prompts or business rules
- Deterministic behavior only

## Success Criteria
- All defined scenarios pass
- Expected behavior is observable
- No regressions introduced

## Manual Test Steps
1. Execute each scenario.
2. Record outcome and evidence.
3. Mark PASS or FAIL.

```yaml
browser_steps:
  - action: navigate
    url: "/demo/index.php"
  - action: expectVisible
    selector: "h1"
  - action: click
    selector: "button[type='submit']"
    optional: true
    waitForNavigation: true
  - action: expectText
    selector: "h1"
    value: "Otto Demo"
  - action: expectVisible
    selector: ".card"
  - action: expectText
    selector: ".banner"
    value: "Demo Mode"
  - action: expectVisible
    selector: "h2"
  - action: expectText
    selector: "h2"
    value: "Orders"
```

## Acceptance Criteria
- Test result is unambiguous
- Evidence recorded
