Coding-agent context and memory

Recover the right context from the right authority.

AIWorkHub keeps current state, durable lessons, curated knowledge, source intelligence and manager transcript evidence separate so recovery remains bounded and explainable.

Four context authorities, four jobs

Session Manager

Current work state, checkpoints and handoffs.

AI Memory

Durable decisions and reusable lessons.

Knowledge base

Curated project contracts and documentation.

Manager Context Graph

Opt-in conversation evidence linked to repository, thread, session and task identities.

Context-compaction recovery

The manager can search for an earlier decision, recover a bounded transcript range around it and follow deterministic relations. This does not pretend the context window is infinite; it makes prior evidence recoverable when needed.

Repository isolation

Context is stored under the repository's own .aiworkhub/ authority. A chat may switch repositories, but retrieval remains bound to the repository currently verified by the runtime.

Observable context economics

Requested context, delivered bytes, truncation and acknowledged receipts are measured independently. That creates a foundation for real tool ablation and token-economy benchmarks.