| name | hmg-context-loader |
| description | Manually load scoped HMG context when SessionStart or prompt-time hooks are unavailable. |
HMG Context Loader
Use this fallback only when mechanical hooks are unavailable or a human asks for
manual context loading.
Workflow
- Determine tenant, workspace, repository, and git branch.
- Call
memory_agent_brief with a compact or summary response profile.
- Keep a fixed token budget.
- Include scope, source, confidence, and trace when available.
- Exit quietly when no relevant memory is found.
Boundaries
- Do not replace SessionStart or UserPromptSubmit hooks when they are installed.
- Do not inject raw observations into normal prompts.
- Do not bypass scope or governance filters.