You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`start_session` — constitution + latest session for context
63
+
-`before_editing` — risk assessment for files you plan to edit
64
+
65
+
All tools include `_freshness` metadata (status, lastAnalyzed, filesChangedSince, changedFiles, message).
66
+
All tools return context-safe responses (<10K chars) via truncation utilities in `src/utils/truncate.ts`.
58
67
59
68
## Pre-Publish Checklist
60
69
Run ALL of these before `npm publish`. Do not skip any step.
@@ -72,7 +81,7 @@ Run ALL of these before `npm publish`. Do not skip any step.
72
81
-**Grammar smoke test** (`parser.test.ts`): Loads every language in `LANGUAGE_LOADERS` via `parseSource()`. Catches missing packages, broken native builds, wrong require paths. This is what would have caught the tree-sitter-liquid issue.
@@ -13,95 +9,35 @@ This project uses CodeCortex. It gives you a pre-built map of the codebase — a
13
9
14
10
## Navigation (start here)
15
11
- \`get_project_overview\` — architecture, modules, risk map. Call this first.
16
-
- \`search_knowledge\` — find where a function/class/type is DEFINED by name. Ranked results: exported definitions first. NOT for content search — use grep for that.
17
12
- \`lookup_symbol\` — precise symbol lookup with kind + file path filters. Use when you know exactly what you're looking for (e.g., "all interfaces in gateway/").
18
-
- \`get_module_context\` — what files, symbols, and deps are in a specific module.
19
13
- \`get_dependency_graph\` — import/export graph filtered by file or module.
20
-
- \`get_session_briefing\` — what changed since the last session.
21
14
22
15
## When to use grep instead
23
16
- "How does X work?" → grep (searches file contents)
24
17
- "Find all usage of X" → grep (finds every occurrence)
25
-
- "Where is X defined?" → \`search_knowledge\` or \`lookup_symbol\` (finds definitions, ranked)
18
+
- "Where is X defined?" → \`lookup_symbol\` (finds definitions with filters)
26
19
27
20
## Before Editing (ALWAYS call these)
28
21
- \`get_edit_briefing\` — co-change risks, hidden dependencies, bug history for files you plan to edit. Prevents bugs from files that secretly change together.
29
22
- \`get_change_coupling\` — files that historically change together. Missing one causes bugs.
0 commit comments