aep promote moves constraints and preferences that have proven their value at one scope up to a broader one. A pattern that worked for a specific task becomes a project-wide default; a collaboration style that you use consistently across projects becomes your user-level default.
What promotion means
AEP has three scopes, each broader than the last:| Scope | Where stored | What it covers |
|---|---|---|
task | <agent-dir>/aep/tasks/ | Patterns for a specific recurring task type |
project | <agent-dir>/aep/project.aep.json | Defaults shared across all tasks in a repo |
user | <agent-dir>/aep/user.aep.json | Personal collaboration style across all projects |
task→project: extract constraints and preferences that worked across multiple task runsproject→user: focus on collaboration style and high-level defaults
When to promote
Good candidates for promotion are packs with:- high
times_applied— the pattern has been used repeatedly - recent
last_used_at— it is still relevant, not stale - consistent positive outcomes — no accumulated
failure_trapspointing to edge-case failures
Example user phrases
What the promote flow does
Inspect pack metrics
The agent reads
metrics for all task-scoped packs and surfaces candidates ranked by:times_applied(higher = stronger candidate)last_used_at(more recent = more relevant)
history to understand how each pack has evolved and whether it has already been partially promoted.Suggest candidates and confirm
The agent proposes which constraints and preferences to extract, and to which target scope. You review the suggestion and confirm (or adjust) before any files are written.If two task packs are similar — overlapping intent, keywords, and
applies_to — the agent may also suggest merging them before promoting, to avoid duplicating rules in the target pack.Update the target pack
On confirmation, the agent creates or updates the target pack (
project.aep.json or user.aep.json) using "version": "1.0-exp", adding the promoted constraints and preferences.A history entry is appended to the target pack:Update the source pack
A matching
history entry is also appended to the source pack so you can trace where each rule ended up:Apply a strength boost
Rules that survive promotion have demonstrated value beyond their original context. The agent optionally bumps
strength for the promoted rules in the target pack to reflect this higher confidence level.A rule that enters the project pack with strength: 0.7 might be recorded at strength: 0.85 in the project pack.Record merge suggestions (if applicable)
If two source task packs are similar enough that they should be merged rather than separately promoted, the agent adds These entries are cues for you to act on — the agent does not merge automatically.
merge_suggestions entries to both packs pointing at each other:Agents do not auto-merge packs.
merge_suggestions entries are cues for human review or higher-level tooling. You decide when and how merges happen. This keeps packs auditable and prevents silent loss of information.After promotion
Once rules are promoted to project scope, every futureaep apply session in that repo will include them as a baseline — even for task types that do not have their own saved pack. User-scope promotions apply across all repos where the agent runs.
To verify what is now active, run aep inspect.
Related pages
aep inspect
Surface active packs, scores, and history
aep save
Save a successful workflow as a new pack
Project packs
Learn about project-scoped packs
User packs
Learn about user-scoped packs