feelcouchLagrange
EN
Установить

Code map: where things are (component -> code, docs, test)

Pointer table, not a description: each doc owns its topic. A _* suffix means a family of split modules next to the entry file. Doc map: ../README.md; how we work: how-we-work.md; architecture: ../architecture.md; old plans and reports: ../archive/. bin/dev/cc-docsync parses the table below.

Модули hammerspoon/: семейства лежат в подкаталогах: panel/, projects/, settings/, live/, stats/ (stats*), wide/ (wide*), timemachine/ (timemachine*), chat/ (chat*), brief/ (brief*), assistant/ (assistant*), links/ (links*), macos/ (macos, macos_notify, dock, menuextra, screenlayout, overlay), nav/ (palette, switcher, openin), sessions/ (sessions, sessgroup, restore), scheduler/ (scheduler, schedcard), power/ (awake, eco, memguard, wake, wake_intent). В таблице ниже имена без подкаталога. В корне остались ядро и одиночные модули; Манифест: hammerspoon/load-order.txt.

Part Code Docs Test
Narrow installed Lua module switches bin/cc_module_state.py, bin/cc_connect_act.py, hammerspoon/boot.lua docs/dev/roadmap.md, docs/guide.md tests/parts/terminal-workstation.sh
Agent wave metrics and native board notes bin/cc_agent_notes.py docs/dev/release-3.3-completion.md tests/parts/terminal-workstation.sh
Suite selection (extras) bin/cc-suite, bin/cc_suite.py, claude/suite-presets.json, hammerspoon/settings/settings_suite.lua docs/dev/plugins.md, docs/guide.md tests/parts/terminal-core.sh
Native Suite adapters, inventory and exact rollback bin/cc_suite_adapters.py, bin/cc_suite_native.py docs/dev/plugins.md, docs/guide.md tests/parts/terminal-core.sh
Active metadata context (L1 shared core) and unified navigation hammerspoon/core/core_context.lua, bin/cc-context, bin/cc_context.py, hammerspoon/nav/switcher.lua docs/dev/navigation-context.md, docs/guide.md tests/parts/panel-layout.sh
Read-only integration doctor and delegated migration bin/cc-doctor, bin/cc_doctor.py docs/guide.md tests/parts/terminal-workstation.sh
Per-invocation model/reasoning profiles and local routing statistics bin/cc-routing, bin/cc_model_routing.py, bin/cc_routing_stats.py, claude/model-routing.json docs/guide.md, docs/dev/token-economy.md tests/parts/terminal-workstation.sh
Project onboarding, first-entry report and bounded local probes bin/cc-project, bin/cc_project_kit.py, bin/cc_project_entry.py, bin/cc_project_probes.py docs/dev/project-onboarding.md, docs/guide.md tests/parts/terminal-settings.sh, tests/parts/terminal-workstation.sh
Real task/session links, account metadata and board bin/cc-task-sessions, bin/cc_task_sessions.py, bin/cwin, bin/cc_accounts.py, history/cchist_query.py, hammerspoon/web/board.js docs/dev/session-task-links.md, docs/dev/session-account-metadata.md, docs/guide.md tests/parts/terminal-workstation.sh
Manifest-declared shared CLI skills/MCP adapters bin/cc_suite_shared.py, bin/cc_suite_adapters.py, bin/cc_suite_native.py, claude/providers.tsv docs/dev/suite-adapters.md, docs/dev/plugins.md tests/parts/terminal-settings.sh, tests/parts/terminal-core.sh
Exact space-scoped history and usage statistics bin/cc-space-scope, bin/cc_space_scope.py, bin/cc-stats, hammerspoon/core/core_context.lua docs/dev/navigation-context.md, docs/guide.md tests/parts/panel-layout.sh
Shared native core hook dispatcher and trust boundary plugins/lagrange-core/bin/hooks, plugins/lagrange-core/hooks/hooks.json docs/dev/plugins.md, docs/guide.md tests/parts/terminal-core.sh
Panel: menu, hotkeys, docking, smart field, fault-tolerant module loading hammerspoon/panel/panel.lua (+ panel_*), commands.json, screenlayout.lua, dock.lua docs/dev/design-system.md, docs/dev/layout.md, docs/guide.md §3 tests/panel.sh, tests/parts/panel-layout.sh
Panel as chat and built-in assistant (feed, tabs, session cards, agent feed) hammerspoon/chat/chat.lua (+ chat_*, sessgroup.lua, chatcards.lua), assistant.lua, assistant_render.lua docs/dev/design-system.md, docs/guide.md §3 tests/panel.sh
Auto-handoff banner: statusline flag at context > 85% / 5h > 90%, panel banner runs /handoff on click claude/statusline.sh, hammerspoon/panel/panel_handoff.lua docs/dev/3.2-auto-handoff.md tests/parts/terminal-core.sh
Panel as chat and built-in assistant (feed, tabs, session cards, agent feed) hammerspoon/chat/chat.lua (+ chat_*, sessgroup.lua, chatcards.lua), assistant.lua, assistant_render.lua, assistant_ctx.lua (window context, 3.2#17) docs/dev/design-system.md, docs/guide.md §3 tests/panel.sh
Web component kit and tokens (.btn2, .seg, sidebar, empty state) hammerspoon/web/kit/, hammerspoon/web/common.css, common.js, docs/design-tokens.tsv docs/dev/design-system.md tests/panel.sh
Reviewed idempotent native repair and exact owner/cache rollback bin/cc-suite-repair, bin/cc_suite_repair.py docs/dev/suite-repair.md, docs/guide.md tests/parts/terminal-settings.sh
Mandatory next-run model routing skill plugins/lagrange-core/skills/model-route/SKILL.md, bin/cc_model_routing.py, bin/cc-extras-ai docs/dev/model-routing.md tests/parts/terminal-workstation.sh, tests/parts/terminal-core.sh
CLI provider/model token counters and unattributed output reduction bin/cc-stats --tokens, bin/cc_token_report.py, bin/cc_token_savings.py docs/dev/token-statistics.md, docs/guide.md tests/parts/history-usage.sh
Workspace: one window with Projects/History/Brief/Stats/Docs/Settings tabs, workspace.open hammerspoon/workspace.lua docs/dev/workspace.md, docs/system-map.md tests/terminal.sh
Projects window (IDE-like viewer, ⌃⌥F) hammerspoon/projects/projects.lua (+ projects_*), hammerspoon/web/projects*, bin/cc-projects-ui docs/guide.md §3 tests/panel.sh
Board tab (⌘7, module roadmap): backlog columns, epics, card; Projects home board row hammerspoon/roadmap/roadmap.lua, roadmap_board.lua, hammerspoon/web/board.js, board.css, bin/cc-roadmap board, bin/cc_roadmap_board.py docs/dev/roadmap.md, docs/guide.md (Доска) tests/parts/panel-projects.sh
External board sources (board-sources.d/*.json): src: boards in cc-roadmap list/board, card ext buttons bin/cc_board_sources.py, hammerspoon/roadmap/roadmap_board.lua (M.ext), hammerspoon/web/board.js docs/dev/board-sources.md tests/parts/terminal-core.sh
Board model: profiles (rnd/impl/support/infra), checked transitions, links claude/board-profiles.tsv, bin/cc_roadmap_flow.py (cc-roadmap init --profile, move, link) docs/dev/roadmap.md tests/parts/terminal-core.sh
Global local board CLI: existing registry, namespaced cards, profile/type filters, cache and exact source context bin/cc_roadmap_board.py (cc-roadmap board --all) docs/dev/roadmap.md, docs/guide.md tests/parts/terminal-core.sh
History window (time machine, ⌃⌥Y) hammerspoon/timemachine/timemachine.lua (+ timemachine_*), hammerspoon/web/timemachine.css docs/dev/history-search.md, docs/guide.md §5 tests/panel.sh, tests/history-search.sh
Stats dashboard (limits, charts, recommendations) hammerspoon/stats/stats.lua (+ stats_*), bin/cc-stats, bin/cc_stats_recs.py docs/guide.md §8 tests/terminal.sh
Stats: экономия токенов (RTK, cc-run-bg, cc-logtail, хуки) bin/cc_token_savings.py, hammerspoon/stats/stats_tokens.lua, hammerspoon/web/stats_tokens.js docs/dev/3.2-token-savings.md tests/terminal.sh
Brief roll-up and source editor bin/cc-brief (+ bin/cc_brief_*.py), hammerspoon/brief/brief.lua, brief_page.lua docs/dev/brief.md tests/terminal.sh
Settings window, Check/spend cards, schema hammerspoon/settings/settings.lua (+ settings_*), checkcard.lua, settings.schema.json, bin/cc-settings-svc docs/guide.md §8 tests/terminal.sh, tests/panel.sh
Modules and connections (cc-connect) bin/cc-connect (+ cc_connect*.py), claude/connect.schema.json, install/modules.tsv docs/guide.md §8, docs/archive/plan-3.1.md tests/terminal.sh, tests/install.sh
Web chats via Chrome (module web-ask: cc-ask, @chatgpt in the assistant) bin/cc-ask, bin/cc_webask.py, bin/cc_webask.js, claude/webask-sites.json, hammerspoon/assistant/assistant_webask.lua docs/webask.md, docs/guide.md tests/parts/history-usage.sh
herdr agents in the agent list (optional module herdr, read-only, states run/wait/done/idle) bin/cc_herdr.py, merged by bin/cc-agents --json; wait dot in hammerspoon/chat/chat_sessions.lua, hammerspoon/web/chat.css docs/guide.md tests/parts/terminal-perf.sh
Repo layout moves with Claude history (plan/apply/undo, old-path symlink, project-key rename) bin/cc-repo-move docs/guide.md tests/parts/terminal-maintenance.sh
Recent sessions into herdr workspaces by group (plan/apply/open/rollback, idle tabs with the resume command typed; Ctrl+Alt+E in hammerspoon/macos/herdr.lua) bin/cc-herdr-layout docs/guide.md tests/parts/terminal-perf.sh
Mirror GitLab groups into the repo layout (plan/clone/undo, hourly ff-only sync) bin/cc-repo-mirror docs/guide.md tests/parts/terminal-maintenance.sh
Trim local Maven repos (old SNAPSHOTs; --releases old non-latest versions), per-dir mvn settings bin/cc-m2-clean, shell/cowork.zsh docs/guide.md tests/parts/terminal-maintenance.sh
Remove stale Chrome code-sign clones (nightly step) bin/cc-chrome-clones docs/guide.md tests/parts/terminal-perf.sh
Park idle Claude sessions in herdr (exit + typed --resume, hourly via cc-sched) bin/cc-herdr-park docs/guide.md tests/parts/terminal-perf.sh
Accounts and AI providers bin/cc-accounts, bin/cc_accounts.py, bin/cc_provlive.py, claude/providers.tsv, hammerspoon/accounts.lua docs/dev/providers.md, docs/guide.md tests/parts/history-usage.sh
Spaces (optional module spaces) bin/cc-spaces, bin/cc_spaces.py, bin/cc_spaces_setup.py, claude/spaces.presets/, claude/spaces.example.json, hammerspoon/settings/settings_spaces.lua, cwin --space docs/spaces.md, docs/dev/spaces-design.md, docs/guide.md tests/parts/history-usage.sh
ru/en interface and i18n catalogs hammerspoon/i18n.lua, i18n/ui/, bin/dev/cc-i18n (+ cc_i18n_used.py: cc-i18n used) docs/dev/design-system.md tests/panel.sh
Открыть файл/ссылку в Lagrange (cc-open, URL hammerspoon://open) bin/cc-open, hammerspoon/nav/urlroute.lua docs/dev/3.2-cc-open.md tests/parts/terminal-maintenance.sh
Открыть Markdown в Obsidian (опционально, только URL-схема) bin/cc-obsidian docs/guide.md tests/parts/terminal-core.sh
One "open session" path (live tab -> focus, else resume in Ghostty for any provider) hammerspoon/nav/surface.lua docs/dev/3.2-open-session.md tests/panel.sh
Command palette, docs browser, links window hammerspoon/nav/palette.lua, docviewer.lua, links.lua, openin.lua docs/guide.md §3, docs/reference.html tests/panel.sh
Core layer and shared helpers hammerspoon/core/util.lua, core_*.lua, panel_const.lua docs/architecture.md, docs/archive/plan-3.1.md tests/ci-fast.sh
Ghostty AppleScript: все вызовы (фокус, ввод, список терминалов, новая вкладка) — только через эти модули; new-tab при запущенном herdr открывает вкладку в herdr (CC_HERDR_TABS=0 — выкл.) hammerspoon/macos/ghosttyctl.lua (Lua), bin/ghostty-ctl (bash) tests/run.sh --unit
Ghostty глубже: фокус на терминал агента, сплит, память ⌃⌥G, заголовок вкладки hammerspoon/macos/ghosttyfocus.lua docs/dev/3.2-ghostty.md tests/panel.sh
macOS integration: notifications, Focus pause, URL scheme, Finder services hammerspoon/macos/macos.lua, macos_notify.lua, claude/services/ docs/guide.md §7, docs/shortcuts.md tests/voice.sh, tests/install.sh
Voice: dictation, Live, wake mode voice/dictation.lua (+ dictation_*), hammerspoon/live/live.lua, hammerspoon/power/wake.lua (+ wake_intent.lua) docs/dev/voice.md tests/voice.sh
Layout fix, awake, restore, eco hammerspoon/layout.lua, awake.lua, restore.lua, eco.lua, bin/cc-awake, bin/cc-restore, bin/cc-eco docs/guide.md §2, §6, §8 tests/terminal.sh, tests/install.sh
Terminal: statusline, ccpaste, mdview, cc-wt, cc-project, zsh bin/, bin/cc_project_kit.py (project scaffold/doctor/fix), shell/cowork.zsh, claude/statusline.sh docs/guide.md §6 tests/terminal.sh, tests/parts/terminal-maintenance.sh, tests/parts/terminal-workstation.sh
History: search, recall, summaries, usage, quality history/cchist (+ cchist_*.py), bin/hooks/cc-recall docs/dev/history-search.md tests/history-search.sh
Local model, MCP cowork-local, memory guard mcp/cowork_local.py, mcp/local_server/, history/cchist_ask.py, bin/cc-memok docs/dev/local-llm.md, docs/dev/dependencies.md tests/install.sh
Routing and triage (model/MCP profile by keyword) bin/cc-route, bin/cc_route.py (+ cc_route_*.py) docs/dev/token-economy.md tests/route.sh
Secret-bearing configs: validate, show keys only bin/cc-creds, bin/hooks/cc-creds-guard, claude/skills/creds/ docs/guide.md §5 tests/parts/terminal-core.sh
Token economy: cc-logtail, cc-run-bg, cc-bg-steer, cc-rtk (RTK wrapper) bin/dev/cc-logtail, bin/dev/cc-run-bg, bin/dev/cc-heavy (one heavy live run per Mac), bin/hooks/cc-bg-steer, bin/hooks/cc-rtk docs/dev/token-economy.md tests/terminal.sh
lagrange-tokens: module tokens, 10 token-economy hooks bin/hooks/cc-tokens-*, plugins/lagrange-tokens/ docs/dev/token-economy.md tests/parts/terminal-core.sh
Installer, deps.tsv, network list, presets, modules install.sh, install/*.sh, install/modules.tsv, install/network.tsv, deps.tsv docs/dev/dependencies.md, docs/guide.md §1 tests/install.sh
Marketplace and skill plugins, extras .claude-plugin/marketplace.json, plugins/lagrange-*/, bin/cc-extras docs/dev/plugins.md, docs/customize.md §7 tests/install.sh, tests/terminal.sh
Portable plugin foundation: shared runtime, setup/health, dual host manifests plugins/lagrange-core/, plugins/lagrange-*/plugin.json, bin/cc_extras_lint.py docs/dev/plugins.md tests/parts/terminal-devtools.sh (36portable)
Customization: widgets, skills, connections, overlays hammerspoon/settings/settings.lua, claude/skills/, bin/ccset, bin/yt, claude/mcp/ docs/customize.md tests/terminal.sh
Hookify prod templates claude/hookify/*.local.md docs/dev/security.md tests/install.sh
Security audit findings cross-cutting docs/dev/security.md tests/panel.sh
Scheduler and background jobs hammerspoon/scheduler/scheduler.lua, schedcard.lua, bin/cc-sched docs/guide.md §6 tests/terminal.sh
Mac tweaks, health, updates, self-monitoring bin/cc-tweaks, bin/cc-health, bin/cc-update (+ bin/cc_update_lib.py), bin/cc-footprint monitor (bin/cc_footprint_monitor*.py; bin/cc-selfmon = alias for one release), claude/tweaks.tsv, claude/health/checks.tsv docs/mac-health.md, docs/guide.md §6, §8 tests/terminal.sh
Effect in percent (tagged measured/estimate, weekly snapshot, effect-weekly sched template) + Stats section "Effect and resources"; cc-run-bg .rec run records bin/cc-effect, bin/dev/cc-run-bg, hammerspoon/stats/stats_effect.lua, hammerspoon/web/stats_effect.js, bin/cc_stats_recs.py (footprint rules) docs/stats.md tests/parts/terminal-core.sh (16z2a)
Footprint: disk/CPU/RAM report, storage plan/apply/rollback, stuck processes bin/cc-footprint, bin/cc_footprint_store.py, bin/cc_footprint_ctl.py, bin/cc_footprint_procs.py, bin/cc_footprint_monitor*.py (self-monitoring, cc-footprint monitor), claude/footprint.default.json, skill claude/skills/footprint/ docs/storage.md tests/parts/terminal-workstation.sh (38)
Change log, subagent digest, backlog bin/cc-log, bin/cc-agents, bin/cc-backlog docs/guide.md §6 tests/terminal.sh
Backup and nightly maintenance bin/cc-backup, bin/cc-nightly docs/guide.md §5 none
Onboarding: cc-help, ccwelcome, first run bin/cc-help, bin/ccwelcome docs/dev/onboarding.md, docs/guide.md tests/terminal.sh
Wave runner, worktrees, agent merge bin/dev/cc-wave, bin/dev/cc-wt, bin/dev/cc-agent-merge, bin/dev/cc_agent_merge_post.sh, bin/dev/cc_wt_preflight.sh, bin/dev/cc_wave_gate.sh docs/dev/how-we-work.md §3, §8, docs/dev/3.2-agent-merge-release.md tests/terminal.sh
Roadmap (Backlog.md), one board per project: cc-roadmap list/init/open, per-repo port and server bin/cc-roadmap, bin/cc_roadmap.py, bin/cc_roadmap_board.py docs/dev/roadmap.md tests/parts/terminal-core.sh, tests/parts/terminal-core.sh
Import of plans/changelog/history into a separate Backlog.md board: `cc-board-import plan apply rollback` bin/cc-board-import, bin/cc_board_import.py
Roadmap page with a project picker hammerspoon/roadmap/roadmap.lua, i18n/ui/roadmap.lua docs/dev/roadmap.md tests/parts/terminal-core.sh
MCP Backlog (mcp:backlog) claude/mcp/roadmap.json.template, bin/ccset (gen_roadmap) docs/dev/roadmap.md tests/parts/terminal-core.sh
Instruction budget (CLAUDE.md+AGENTS.md <= 8192 B) bin/dev/cc-size budget, docs/dev/agent-rules.md docs/dev/agent-rules.md tests/terminal.sh
Plans: cc-roadmap status/next/changelog bin/cc-roadmap, bin/cc_roadmap.py, backlog/ docs/dev/roadmap.md, docs/dev/how-we-work.md §6 tests/terminal.sh
Dev checks: cc-docsync, cc-size, cc-layers, cc-unused, cc-smoke, cc-luaglobals, cc-uiaudit, cc-merge-check, cc-bench bin/dev/ docs/dev/how-we-work.md, docs/dev/product.md §5, docs/archive/audit-unused-3.1.md tests/terminal.sh, tests/parts/terminal-core.sh
Generated report page: effect, speed, footprint, audit and tests in one docs/report.md (public) + --local personal variant; run by cc-release bin/dev/cc-report, bin/dev/cc_report.py, i18n/ru/report_data.py docs/report.md, docs/dev/how-we-work.md tests/parts/terminal-devtools.sh (16z3)
Audit of the "Done" rule and structure in one command (cc-audit --since REF [--json]) bin/dev/cc-audit docs/dev/how-we-work.md tests/parts/terminal-core.sh
UI capture, release check, release bin/dev/cc-uishot, bin/dev/cc-release-check, bin/dev/cc-release, tests/fixtures/demo/ docs/dev/ci.md tests/terminal.sh
Docs generators: cc-docgen, sysdoc bin/dev/cc-docgen, docs/diagrams/ docs/architecture.md tests/terminal.sh
System map (surfaces, hotkeys, UI rules, budgets) cross-cutting docs/system-map.md none
Run all tests, workstation smoke tests/run.sh, tests/ci-fast.sh docs/dev/ci.md, docs/guide.md §1 tests/terminal.sh
Shared Python helpers for bin/ (load_json) bin/cc_util.py — tests/terminal.sh
bin/dev/cc-pathfix rewrites references to moved paths in docs/tests (dry-run default) bin/dev/cc_pathfix.py —
Shortcut cheat sheet ⌃⌥/ (overlay parsed from docs/reference.html at open) hammerspoon/nav/keysheet.lua docs/dev/3.2-keysheet.md tests/parts/terminal-workstation.sh
Panel update card: newer upstream VERSION -> banner with docs/whatsnew/X.Y.md and "Update" (install.sh --update, plan + rollback) bin/cc-newver, hammerspoon/panel/panel_update.lua docs/dev/3.2-errors-whatsnew.md tests/parts/terminal-settings.sh
Shared Settings error card: what / why / "Fix" = plan -> apply -> undo via a --apply/--rollback script hammerspoon/settings/settings_errcard.lua docs/dev/3.2-errors-whatsnew.md —
Chrome profiles per space (module chrome-spaces): plan/apply/rollback, extensions presets, link routing openin.browser(url) bin/cc-chrome-spaces, bin/cc_chrome_spaces.py, bin/cc_chrome_policy.py (opt-in forcelist .mobileconfig), claude/chrome-spaces.example.json, hammerspoon/nav/openin.lua, hammerspoon/nav/chrome_spaces.lua (menu bar: direct space/zone/incognito windows, active state, side by side) docs/chrome-spaces.md, docs/guide.md §3 tests/parts/terminal-workstation.sh, tests/parts/terminal-settings.sh 22c
Password-manager CSV merge (passwords module, off by default; counts/domains only) + passwords-remind sched template bin/cc-passwords, bin/cc_passwords.py, bin/cc_sched_cmds.sh docs/passwords.md tests/parts/terminal-core.sh
Private names by zone (ccset private list/add/rm/sync, overlay preset sync) bin/ccset_private.py docs/guide.md tests/parts/terminal-settings.sh
Permission rules (ccset perm list/add/rm/lint --fix, risky rules refused; skill perms) bin/ccset_perm.py, claude/skills/perms/ docs/guide.md tests/parts/terminal-settings.sh
Private zones overlay template (placeholders only) docs/templates/zones-overlay/ docs/templates/zones-overlay/README.md —
Local feature usage stats ({ts,kind,id} JSONL, never sent): Lua buffer, zsh preexec, Claude hook, cc-usage report/prune, Stats "Использование" block, unused-module rec hammerspoon/stats/usage.lua, bin/cc-usage, bin/cc_usage.py, bin/hooks/cc-usage-hook, shell/cowork.zsh, hammerspoon/stats/stats_usage.lua, hammerspoon/web/stats_usage.js, bin/cc_stats_recs.py docs/dev/usage.md tests/parts/terminal-core.sh