# Historical baseline importer evidence

## Scope

- Profile only: `/home/cube/.hermes/profiles/physique-coach`
- Approved immutable sources: the three exact paths in `data/imports/raw-history-manifest.json`
- No Telegram, gateway, polling, cron, or default Hermes configuration was activated or changed.

## Red → green

The initial parser test collection failed because the required importer module did not exist:

```text
ModuleNotFoundError: No module named 'checkin_cli.history_baseline'
```

The dated weekly-trend regression also failed before implementation:

```text
KeyError: 'weekly_weight_trend'
```

After implementation:

```text
21 passed in 0.49s
```

## Actual profile import

```text
{"outcome": "baseline_imported", "event_count": 103}
{"outcome": "baseline_imported", "event_count": 0}
```

The second run is the idempotence check.

## Coverage and reconciliation

- Actual daily-anchor coverage: D21 through D123. The D1-D44 filename/range is not treated as proof of D1-D20 daily records.
- Missing daily anchors: D1-D20 only.
- Documented dates with no parseable measurement: D38, D44-D49, D74-D75, D100-D102, D119-D122.
- Dated weight records: 65 days; dated sleep records: 85 days.
- Overlapping source anchors: 68 days, with no parsed structured-field conflicts.
- Historical weekly view: 11 Monday-grouped weight weeks; no missing-day value is imputed.

## Persisted verification

```text
baseline_event_count: 103
baseline_unique_ids: 103
schema_error_count: 0
first_baseline_date: 2026-03-16
last_baseline_date: 2026-06-26
```

All generated profile data artifacts are mode `0600`.

## Privacy check

The generated `data/imports/historical-baseline.json` was scanned for representative source-narrative fragments. None appeared: `화장실`, `특이사항`, `가족 외식`, `비정규 혼합 상체 세션`.

Each new event uses only source hash/path plus canonical anchor `D+N@YYYY-MM-DD`, date, and deterministic permitted fields. No raw check-in prose is copied.

## Legacy-note

The profile already had 157 older heading-only history events before this importer. They are retained rather than silently edited/deleted to preserve append-only semantics. The new historical view selects the 103 canonical structured baseline events.
