AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

How to Give Claude Code, Cursor, and Codex the Architecture Context They Need

A reliable coding agent needs more than repository access. This guide shows how to combine project instructions, architecture documentation, reference implementations, Agent Skills, MCP, and automated checks so Claude Code, Cursor, and Codex can work with the architecture already in place. In this guide Start with project instructions Scope rules to the work Document architectural decisions Use MCP for changing project context Use Skills for repeatable workflows Delegate focused investigations with subagents Use Hooks for lifecycle feedback Verify architecture outside the conversation Follow one task from research to verification Keep the setup maintainable I ran into this problem while working on promo-code and referral functionality with an AI coding agent. The agent started creating duplicate modules, putting files in the wrong places, and ignoring dependency conventions that were already established in the project. I cleaned things up manually, but a later session brought similar problems back. That was the frustrating part. The agent could write the code, but it didn't understand why certain things belonged where they did. I had those decisions in my head. The repository didn't explain all of them. Coding agents can search a codebase, follow imports, inspect implementations, and change dozens of files. Finding an implementation, however, does not reveal why the system was designed that way. An agent may copy an exceptional implementation and treat it as a pattern, introduce a second service for an existing responsibility, or place business logic in a route handler because that is where it found a similar operation. The damage is often cumulative. A change can compile and pass the tests while introducing another responsibility or blurring an existing boundary. As those decisions accumulate, the codebase becomes harder to maintain. That experience changed what I thought useful project context needed to do. A longer prompt wasn't the answer. The repository needed to explain the decisions behind its structure—and give the agent a way to check whether a change still respected them. AGENTS.md is a useful starting point: it records durable project rules and points to deeper sources. Architectural decisions belong in version-controlled documentation, implementation details live in source code, changing project facts can be exposed through MCP, and important constraints need automated checks. Claude Code, Cursor, and Codex support many of the same mechanisms, with different discovery and configuration rules. I'll use the referral-reward flow from my project as the running example, bringing in promotions only where they are part of that flow. For a runnable companion example of the instruction files, architecture docs, Agent Skill, and checks discussed here, see the Architecture Context Starter, which uses a small order-processing module separate from the Codapult referral workflow in this article. Start with AGENTS.md, but keep it short I'd begin with one AGENTS.md at the root of the repository. Treat it as an entry point for someone joining the project: summarize what the application does, how the code is organized, which conventions matter, and where to find deeper explanations. For example, a repository might use a layout like this (the application directories are illustrative): my-app/ ├── AGENTS.md ├── docs/ │ └── architecture/ │ ├── overview.md │ ├── boundaries.md │ ├── data-ownership.md │ ├── referrals-and-promotions.md │ └── decisions/ ├── src/ │ ├── app/ │ ├── features/ │ ├── server/ │ │ ├── services/ │ │ └── adapters/ │ └── shared/ └── package.json The root instruction file could be as simple as: # Project Instructions ## Overview A SaaS application with referral and promotion functionality. ## Architecture

Reference details

Source category
research-report
First reported
Dec 02, 2026 06:21 UTC
Last reported
Dec 02, 2026 06:21 UTC
Catalog updated
Dec 02, 2026 06:23 UTC
Record ID
d8351f346e679a33866af4614d569fe9494fb80d94132f26ce8e18cbdd83f336

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_6dc544294b7f21f98a

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Dec 02, 2026 06:21 UTC
Retrieved
Dec 02, 2026 06:23 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_6dc544294b7f21f98aRecent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.