Summary
Build the RepoPrompt-style core that AgentHub does not have today: explicit, reviewable, token-aware context engineering for launched agents.
AgentHub already observes and orchestrates CLI sessions well. The missing RepoPrompt-grade win is controlling what the agent sees before it starts: selected files, exact assembled prompt context, token estimates, slices, reusable profiles, Smart-mode per-session context, and eventually code maps.
Primary Focus
This epic is now focused on the context-engineering roadmap. Pending edit/apply hardening is useful, but it is not part of the first milestone because it does not address the unique RepoPrompt-style product gap.
Why this matters
Today, AgentHub launch flows mostly hand agents a prompt string plus optional attached file paths. That makes the most important input to the agent opaque and hard to review.
The core win is to make context:
- explicit: users choose exactly what files/slices are included
- reviewable: users see the exact assembled context before launch
- token-aware: users see approximate size and budget pressure before starting
- reusable: recurring task contexts can be saved as profiles
- orchestration-aware: each Smart-mode session can receive its own focused context
- cheap at scale: code maps can provide API/signature context without full file bodies
Context Roadmap
Recommended implementation order:
Dependency Notes
Deferred / Not First Milestone
These issues remain valid but are not the current focus:
They improve trust in the edit review loop, but they do not deliver the unique RepoPrompt-style context-engineering capability this milestone is about.
Non-goals for the first milestone
- Do not start with full multi-language tree-sitter code maps.
- Do not add MCP context tools before there is durable context state to expose.
- Do not prioritize edit-apply hardening ahead of context selection, assembly, preview, and token estimates.
- Do not change model/provider behavior; AgentHub only changes what is handed to the CLI.
Summary
Build the RepoPrompt-style core that AgentHub does not have today: explicit, reviewable, token-aware context engineering for launched agents.
AgentHub already observes and orchestrates CLI sessions well. The missing RepoPrompt-grade win is controlling what the agent sees before it starts: selected files, exact assembled prompt context, token estimates, slices, reusable profiles, Smart-mode per-session context, and eventually code maps.
Primary Focus
This epic is now focused on the context-engineering roadmap. Pending edit/apply hardening is useful, but it is not part of the first milestone because it does not address the unique RepoPrompt-style product gap.
Why this matters
Today, AgentHub launch flows mostly hand agents a prompt string plus optional attached file paths. That makes the most important input to the agent opaque and hard to review.
The core win is to make context:
Context Roadmap
Recommended implementation order:
Dependency Notes
Deferred / Not First Milestone
These issues remain valid but are not the current focus:
They improve trust in the edit review loop, but they do not deliver the unique RepoPrompt-style context-engineering capability this milestone is about.
Non-goals for the first milestone