Replace the single `decisions-log.md` file with an ADR (Architectural Decision Record)-style index and individual records for project memory, improving efficiency and scalability for AI agents and collaborative development by reducing context window bloat.
TLDR: Using ADR files (reading index only) instead of decisions-log.md to improve efficiency and reduce noise. The current implementation of project memory relies on a single, append-only file located at .opencode/context/project/decisions-log.md. While simple to implement, this approach may present significant scaling issues for AI agents and collaborative development. The Problem Context Window Bloat: As a project matures (e.g., reaching 100+ decisions), the log consumes an increasing number of tokens. Forcing the agent to read the entire log to understand one specific decision is inefficient and costly. "Lost in the Middle" Bias: Large language models often lose focus on information buried in the middle of long documents. A single massive log decreases the agent’s ability to accurately retrieve specific architectural constraints. Template Corruption: There is a risk of agents overwriting the structural boilerplate of the single file during long-form append operations. The Propo