Notes on architectural memory for AI-coded codebases