Demand-driven memory
Aictx is most useful when memory quality improves from real work.
When an agent fails, asks for missing project context, finds stale assumptions, or receives a correction from the user, that event is evidence. It may mean the project memory needs to be updated, marked stale, superseded, deleted, or expanded with a better source-backed summary.
The loop is:
load -> work/fail/correction -> identify memory gap -> save memory repairWhat counts as a signal
Section titled “What counts as a signal”A task is a memory-quality signal when it reveals durable context that future agents should not rediscover:
- Missing architecture, workflow, or product context blocked the task.
- Loaded memory contradicted current code, tests, docs, or the user request.
- The user corrected an assumption that is likely to recur.
- Two active memories conflict and the agent cannot safely choose between them.
- Knowledge was tribal: only the user knew it, but future agents will need it.
Repair with existing primitives
Section titled “Repair with existing primitives”Existing Aictx objects cover the common repair cases:
sourcefor provenance.questionfor missing knowledge or unresolved conflict.gotchafor repeated failure modes.synthesisfor compact maintained context.decision,constraint,fact,workflow, andconceptfor precise claims.- Relations when the link matters.
Facets such as domain, bounded-context, capability, business-rule, and
unresolved-conflict are organization hints. They are optional and should stay
plain-language.
When to save nothing
Section titled “When to save nothing”Save nothing when the task produced no durable future value. Passing tests, renaming a local variable, or trying a temporary debugging command usually does not need memory.
Save memory when future agents would otherwise waste time, repeat a mistake, or need user correction to learn the same thing.