| generated-by | milens |
| name | milens-ui |
| description | Code intelligence for the ui area — symbols, dependencies, and entry points |
Ui
Working with this area
When working with code in ui/, follow these mandatory safety rules:
Before editing any symbol in this area:
- Call
mcp_milens_impact({target: "<symbol>", repo: "<workspaceRoot>"}) — check blast radius
- If depth-1 dependents > 5 → STOP and warn before proceeding
- Call
mcp_milens_context({name: "<symbol>", repo: "<workspaceRoot>"}) — see all callers/callees
Before committing changes in this area:
- Call
mcp_milens_detect_changes({repo: "<workspaceRoot>"}) — verify scope
- If unexpected files changed → STOP and report
Key tools for this area:
| Task | Tool |
|---|
| Find all references | mcp_milens_context |
| Check edit safety | mcp_milens_edit_check |
| Text search across files | mcp_milens_grep |
| See file symbols | mcp_milens_get_file_symbols |
Edit-safety enforcement
A PreToolUse hook (warn mode by default) reminds you if no milens safety check (impact/context/overview/guard_edit_check/edit_check/smart_context) was called before an Edit/Write/MultiEdit. Opt-in strict deny mode is available via milens hooks guard-set-mode --mode strict. Both modes consume the check after one edit. See .milens/hook-state/config.json. Known caveat: the underlying PreToolUse deny mechanism has at least one reliability issue (https://github.com/anthropics/claude-code/issues/4362).
Overview
Contains 10 symbols (3 exported) across 1 files.
Key Symbols
ProgressPhase [enum] (src/ui/progress.ts:3) — 3 refs
createProgressReporter [function] (src/ui/progress.ts:18) — 2 refs
ProgressReporter [interface] (src/ui/progress.ts:10) — 2 refs
Entry Points
renderBar [function] — 3 incoming references
finalize [method] — 3 incoming references
ProgressPhase [enum] — 3 incoming references
createProgressReporter [function] — 2 incoming references
ProgressReporter [interface] — 2 incoming references
Dependencies
Used By
- analyzer:
ProgressPhase, ProgressReporter, startPhase, tick, endPhase, finalize
- root:
createProgressReporter, finalize
Files