# Memory Authority and Conflict Audit

## Status

Current audit of the 2.0.5-wip baseline used for the split-memory migration.

## Purpose

Record stale, conflicting, duplicate, misplaced, and authoritative memory discovered before changes were applied.

## Evidence Reviewed

- `AGENTS.md` and its documented read order.
- All 90 baseline `.uai/*.uai` records and byte-identical public mirrors.
- Root `totem.uai` and `taboo.uai` compatibility copies.
- `docs/manifest.json`, `docs/source-files/manifest.json`, `search-index.json`, sitemap, validation files, release notes, next prompts, standards documentation, and public discovery records.
- All 183 canonical report bodies and all 255 source-file records.
- The 38 Markdown files supplied with the current handoff, compared by SHA-256 with the source manifest.
- Repository history availability; no `.git` directory was supplied, so Git history could not be consulted.

## Findings

### Verified baseline facts

- The canonical report manifest contained 183 reports and the source manifest contained 255 individually addressable source files.
- All 38 supplied Markdown reports already matched preserved source files by SHA-256; duplicate ingestion was unnecessary.
- The hidden `.uai/` directory contained 90 records and every matching `docs/uai/` mirror was byte-identical.
- No nested ZIP was present in the baseline deployment tree.

### Stale or conflicting state

- Root `totem.uai` and `taboo.uai` were stale 2.0.4-wip copies while the hidden canonical records described 2.0.5-wip.
- `.well-known/iarpg-operations.json` still advertised 147 reports, 219 sources, 84 UAI records, and an older next prompt.
- `search-index.json` indexed 219 sources and 84 UAI records despite the larger manifest inventories.
- Active UAI front matter carried timestamps, and `progress.uai` contained release-history prose rather than only current implications.
- Hot UAI links primarily used public `https://iarpg.com/...` URLs, so they did not resolve inside an offline repository checkout.

### Misplaced or bulky memory

- Canonical reports were stored under `docs/reports/` instead of the required durable hierarchy.
- `.uai/source-map.uai` contained approximately 75 KB of source catalog body content and was too large for hot startup memory.
- Required typed hot records `index.uai`, `context.uai`, `constraints.uai`, `memory.uai`, and `long-term-memory.uai` were absent.
- Reports did not contain backlinks to the hot memory that summarized them.

### Authority resolution

Current implementation and machine manifests established the baseline inventory. Active hidden UAI records outranked stale root compatibility copies. Public discovery counts and the search index were treated as stale derived artifacts and regenerated. Historical release notes and prompts remain historical; they do not override current state.

## Decisions

- Normalize `.uai/` as the sole active startup-memory home.
- Preserve root UAI names only as clearly marked compatibility pointers.
- Move canonical reports once, keep an HTTP redirect at the old raw-download path, and update every repository-owned inbound link.
- Preserve immutable source inputs under `docs/source-files/` as a documented exception because they are provenance artifacts, not active repository-authored canonical reports.
- Move the complete source map body to durable research and retain only a compact routing pointer in hot memory.

## Limitations

This audit verifies repository structure, checksums, links, and implementation state. It does not independently fact-check every external claim inside the 183 research reports. Report review status and truth boundaries remain explicit in the pointer ledger.

## Memory References

- [Current context](../../../.uai/context.uai#verified-current-facts)
- [Active decisions](../../../.uai/decisions.uai#active-decisions)
- [Progress and blockers](../../../.uai/progress.uai#current-state)
- [Memory operating model](../../../.uai/memory.uai#split-memory-operating-model)

## Related Durable Documents

- [Source-to-report map](source-to-report-map.md#source-to-report-map)
- [Provided report intake audit](provided-report-intake-audit.md#current-94-file-archive-intake)
- [Implementation report](../reports/uai-memory-organization-report.md#stale-or-conflicting-memory-discovered)

## Supersession Status

Current as the baseline audit for the 2.0.6-wip split-memory migration.
