# EB2026 Memory Map (for Qoder agents)

> **Status:** CURRENT
> **Last verified:** 2026-11-28

## Source-of-truth rule

Memory is context, not live infrastructure truth. Never infer a current host, service, port, domain route, corpus count, or resource figure from a memory file.

Use this precedence when sources conflict:

1. **Live VM inspection** — read-only `systemctl`, `ss`, and non-secret ingress inspection.
2. **Public HTTPS** — published reachability, content, and API behavior.
3. **Local maintained source** — the documentation branch's `tech/` tree and service source.
4. **Project memory** — historical context only.

For this correction branch, edit the repository-relative `tech/` tree. The primary checkout's `tech/` tree remains the Task 1 comparison baseline; neither local tree proves what is deployed.

## Current references

| Question | Read this instead of memory |
| --- | --- |
| Which hosts and layers are current? | `architecture.md` |
| Which domain maps to which service and port? | `sites.md` |
| What was running at the last verification? | `state.md` |
| How did the hosting topology change? | `history.md` |
| How must a tech-site deployment be verified and purged? | `deployment.md` |
| Which HTTP routes exist? | `endpoints.md` and the live API OpenAPI document |
| Which corpus content is current? | The published EB2026 KB and service manifests |
| What is historical only? | Pages explicitly labeled **HISTORICAL**, including `hrmis-vm.md` |

Do not copy CPU/RAM numbers, process IDs, ephemeral ports, or corpus/tool counts from memory into current-state claims. Re-run the read-only inspection commands in `state.md` and date the result.

## User-scope memory

Owner-local Qoder user memory (`MEMORY.md` in the Qoder user-memory directory; the workstation path is intentionally omitted).

Use for collaboration preferences and user context, for example:

- User role and ownership of EB Study / Cloudflare.
- Collaboration style: verify where it renders, report gates and deviations, English first.
- Language order: English first, then en/si/ta/arb labels.
- Posh design-system preferences.
- Historical source-material notes.

These preferences do not establish infrastructure state.

## Project-scope memory

Owner-local Qoder project memory (`MEMORY.md` in the project-memory directory; the workstation path is intentionally omitted).

Treat existing infrastructure statements in this file as historical leads until re-verified. Superseded hosting arrangements are recorded in [history.md](history.md); local directory references are not evidence of the live document root.

Current high-level context:

- Google `ebstudy-vm` hosts the VM-based sites and advisors; Cloudflare provides the edge and tunnel.
- `acct.telegram365books.stream` is a Cloudflare Worker route, not a VM port.
- Oracle `dify-a1` runs owner-only Hermes among current project user services.
- Former Oracle identifiers and hosting arrangements are documented only in [history.md](history.md).

## Key decision records — HISTORICAL

These entries explain design intent; they are not current runtime or corpus manifests.

- 2026-11-19: MCQ delete/language-button behavior and styling decision.
- 2026-11-18: 18-turn session policy, meter, handoff, and digest replay.
- 2026-11-15: Clause permalinks, link gate, and AI entry sheet.
- 2026-11-14: Graphify graph and RAG router work.

## Refresh procedure

1. Inspect the relevant host read-only; do not restart or reconfigure services.
2. Check public HTTPS separately; reachability does not reveal backend topology.
3. Update `state.md` with a new date and `sites.md` only when the mapping changes.
4. Link to current API/corpus manifests instead of duplicating counts.
5. Move superseded arrangements to explicitly historical context; never leave them as current claims.
