Skip to content

Why use Archcore

Archcore helps a coding agent work from your project’s decisions instead of reconstructing them on every task. It keeps the reasoning, constraints, and unresolved questions that code alone does not explain.

The long-term bet is that each resolved uncertainty can improve the starting point for later work. A decision made today can guide the next feature, a new teammate, or a different coding agent without another explanation from scratch.

More relevant, accurate context gives an agent more project-specific information to work with. More text alone does not. Duplicated rules, stale decisions, and unsupported claims can obscure the information the task needs. The aim is to grow the project’s usable knowledge, not its document count.

Prioritize knowledge that is complex, uncertain, or implicit:

What is difficult to recoverWhat to keep
Why an apparently simpler design was rejectedThe decision, alternatives, and trade-offs
Which behavior another system relies onA boundary contract and its constraints
What a difficult investigation establishedFindings, evidence, and remaining uncertainty
Which convention is enforced only through team memoryA scoped rule and its reason
What repeatedly went wrong during a taskA reusable procedure or pattern

Do not narrate every function or copy readable implementation into documents. Reference the code and preserve the information a future reader cannot recover from it. Start with the area the agent is about to change.

Documents live in .archcore/, travel with Git, and can be reviewed alongside code changes. They remain available when a conversation ends or the team changes agents.

That durability requires maintenance. When behavior changes, review its records. Keep assumptions visible, update stale context, and resolve contradictions explicitly.

Document types distinguish intent, decisions, contracts, and learned patterns. Relations connect them. MCP lets the agent find and read the relevant records rather than loading the entire collection into every prompt.

The intended effect is continuity: work starts from what the project already knows. Retrieval and correct application still depend on the agent; What to expect describes observable signs and limits.

A short instruction file can be enough for a small repository. Keep host-specific guidance there. Add typed records when reasoning, lifecycle, or relationships need a separate home.

The instruction hint directs the agent to Archcore. Import existing instructions incrementally instead of moving everything at once.

Use Archcore when future work depends on knowledge that is expensive to rediscover or easy to miss.

SituationContext worth keepingHow it helps the next task
An agent repeatedly proposes a design the team already rejectedAn adr with the alternatives and the constraints behind the choiceThe agent can assess whether those constraints still hold before reopening the decision
A payment calculation has rounding exceptions that look unnecessaryA spec describing the required behavior and a decision explaining its originA refactor can be checked against the exceptions rather than removing them as cleanup
A public API has consumers outside your repositoryA spec for the depended-on behavior and compatibility constraintsThe agent has a contract to consult before changing a response or error
A third-party integration has undocumented ordering requirementsA doc of observed behavior, with source references and remaining uncertaintyThe next change starts with the known constraints instead of repeating the investigation
A production failure took days to explainA cpat showing the failing pattern, its replacement, and where the lesson appliesSimilar work has a concrete failure mode and correction to consider
A technology choice remains unresolved after several experimentsAn rnd with findings, rejected candidates, and the next decision neededA later session can continue from the evidence instead of restarting the comparison
A migration spans several sessions or engineersA plan with actual progress, linked to its requirements and decisionsThe next person or agent can identify unfinished work and the constraints it must preserve
A convention exists only in review comments or a teammate’s memoryA scoped rule naming the affected files and its rationaleThe convention becomes available before the next review repeats the same correction
Several repositories share standards but have local exceptionsA global source for shared defaults and local records for the exceptionsAgents can distinguish the organization-wide convention from the project’s decision

Keep a record when another task can reuse it. A mechanical rename or a change that adds no lasting project knowledge does not need a document.

Your host owns execution tools, permissions, and the coding process. Archcore stores and serves context; it does not replace investigation, engineering judgment, or testing. Specs are one part of that context, not a required starting point for every change.