@blxzer/cursor-trellis 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +124 -5
- package/README.zh-CN.md +170 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +1 -33
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/init.d.ts +0 -13
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +7 -14
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/uninstall.d.ts.map +1 -1
- package/dist/commands/uninstall.js +3 -32
- package/dist/commands/uninstall.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +7 -84
- package/dist/commands/update.js.map +1 -1
- package/dist/configurators/index.d.ts +7 -8
- package/dist/configurators/index.d.ts.map +1 -1
- package/dist/configurators/index.js +11 -236
- package/dist/configurators/index.js.map +1 -1
- package/dist/configurators/workflow.d.ts.map +1 -1
- package/dist/configurators/workflow.js +5 -1
- package/dist/configurators/workflow.js.map +1 -1
- package/dist/templates/common/bundled-skills/smart-search-cli/SKILL.md +3 -3
- package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +4 -2
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-agents.md +8 -15
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-hooks.md +7 -7
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-skills-or-commands.md +18 -21
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/overview.md +2 -2
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/generated-files.md +10 -7
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/overview.md +4 -4
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/agents.md +20 -31
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/hooks-and-settings.md +20 -31
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/overview.md +24 -40
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/platform-map.md +28 -59
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/skills-and-commands.md +12 -28
- package/dist/templates/common/bundled-skills/trellis-skill-creator/references/trellis-skill-locations.md +2 -2
- package/dist/templates/cursor/hooks.json +6 -0
- package/dist/templates/cursor/rules/retrieval-routing.mdc +57 -0
- package/dist/templates/extract.d.ts +0 -14
- package/dist/templates/extract.d.ts.map +1 -1
- package/dist/templates/extract.js +0 -34
- package/dist/templates/extract.js.map +1 -1
- package/dist/templates/markdown/agents.md +2 -6
- package/dist/templates/markdown/index.d.ts +1 -0
- package/dist/templates/markdown/index.d.ts.map +1 -1
- package/dist/templates/markdown/index.js +1 -0
- package/dist/templates/markdown/index.js.map +1 -1
- package/dist/templates/markdown/prompts/run-semantic-slice-12.md.txt +41 -0
- package/dist/templates/markdown/spec/guides/code-reuse-thinking-guide.md.txt +14 -14
- package/dist/templates/markdown/spec/guides/cross-layer-thinking-guide.md.txt +8 -20
- package/dist/templates/markdown/spec/guides/cross-platform-thinking-guide.md.txt +15 -14
- package/dist/templates/markdown/spec/guides/cursor-context-injection-guide.md.txt +2 -1
- package/dist/templates/markdown/spec/guides/cursor-semantic-compliance.md.txt +49 -0
- package/dist/templates/markdown/spec/guides/cursor-subagent-policy.md.txt +2 -2
- package/dist/templates/markdown/spec/guides/retrieval-daily-guide.md.txt +68 -20
- package/dist/templates/shared-hooks/index.d.ts +1 -1
- package/dist/templates/shared-hooks/index.d.ts.map +1 -1
- package/dist/templates/shared-hooks/index.js +1 -0
- package/dist/templates/shared-hooks/index.js.map +1 -1
- package/dist/templates/shared-hooks/inject-retrieval-plan.py +163 -0
- package/dist/templates/shared-hooks/research-end-retrieval-pack.py +2 -11
- package/dist/templates/trellis/index.d.ts +11 -0
- package/dist/templates/trellis/index.d.ts.map +1 -1
- package/dist/templates/trellis/index.js +22 -0
- package/dist/templates/trellis/index.js.map +1 -1
- package/dist/templates/trellis/scripts/aggregate_retrieval_telemetry.py +342 -0
- package/dist/templates/trellis/scripts/batch_plan_envelope.py +105 -0
- package/dist/templates/trellis/scripts/codegraph_session_smoke.py +76 -0
- package/dist/templates/trellis/scripts/common/active_task.py +116 -147
- package/dist/templates/trellis/scripts/common/cli_adapter.py +34 -710
- package/dist/templates/trellis/scripts/common/codebase_retrieval_router.py +49 -106
- package/dist/templates/trellis/scripts/common/git_context.py +17 -2
- package/dist/templates/trellis/scripts/common/project_file_stats.py +91 -0
- package/dist/templates/trellis/scripts/common/retrieval_adapter_metadata.py +9 -11
- package/dist/templates/trellis/scripts/common/retrieval_agent_instructions.py +313 -0
- package/dist/templates/trellis/scripts/common/retrieval_pack.py +0 -6
- package/dist/templates/trellis/scripts/common/retrieval_pack_context.py +0 -4
- package/dist/templates/trellis/scripts/common/retrieval_plan_gate.py +76 -0
- package/dist/templates/trellis/scripts/common/retrieval_result_ranking.py +253 -0
- package/dist/templates/trellis/scripts/common/retrieval_tool_classification.py +157 -0
- package/dist/templates/trellis/scripts/common/semantic_plan_gate.py +52 -0
- package/dist/templates/trellis/scripts/common/workflow_phase.py +3 -24
- package/dist/templates/trellis/scripts/rank_retrieval_candidates.py +80 -0
- package/dist/templates/trellis/scripts/route_codebase_retrieval.py +38 -11
- package/dist/templates/trellis/scripts/score_evidence.py +112 -0
- package/dist/templates/trellis/workflow.md +861 -960
- package/dist/types/ai-tools.d.ts +13 -16
- package/dist/types/ai-tools.d.ts.map +1 -1
- package/dist/types/ai-tools.js +5 -238
- package/dist/types/ai-tools.js.map +1 -1
- package/dist/utils/codebase-retrieval-router.d.ts +1 -8
- package/dist/utils/codebase-retrieval-router.d.ts.map +1 -1
- package/dist/utils/codebase-retrieval-router.js +39 -180
- package/dist/utils/codebase-retrieval-router.js.map +1 -1
- package/dist/utils/project-capabilities.d.ts.map +1 -1
- package/dist/utils/project-capabilities.js +10 -24
- package/dist/utils/project-capabilities.js.map +1 -1
- package/dist/utils/retrieval-agent-instructions.d.ts +14 -0
- package/dist/utils/retrieval-agent-instructions.d.ts.map +1 -0
- package/dist/utils/retrieval-agent-instructions.js +221 -0
- package/dist/utils/retrieval-agent-instructions.js.map +1 -0
- package/dist/utils/retrieval-execution-telemetry.d.ts +43 -85
- package/dist/utils/retrieval-execution-telemetry.d.ts.map +1 -1
- package/dist/utils/retrieval-execution-telemetry.js +289 -22
- package/dist/utils/retrieval-execution-telemetry.js.map +1 -1
- package/dist/utils/retrieval-result-ranking.js +1 -1
- package/dist/utils/retrieval-result-ranking.js.map +1 -1
- package/dist/utils/retrieval-tool-classification.d.ts +32 -0
- package/dist/utils/retrieval-tool-classification.d.ts.map +1 -0
- package/dist/utils/retrieval-tool-classification.js +113 -0
- package/dist/utils/retrieval-tool-classification.js.map +1 -0
- package/dist/utils/uninstall-scrubbers.d.ts +0 -36
- package/dist/utils/uninstall-scrubbers.d.ts.map +1 -1
- package/dist/utils/uninstall-scrubbers.js +0 -184
- package/dist/utils/uninstall-scrubbers.js.map +1 -1
- package/package.json +4 -2
- package/dist/commands/mem.d.ts +0 -30
- package/dist/commands/mem.d.ts.map +0 -1
- package/dist/commands/mem.js +0 -424
- package/dist/commands/mem.js.map +0 -1
- package/dist/configurators/antigravity.d.ts +0 -7
- package/dist/configurators/antigravity.d.ts.map +0 -1
- package/dist/configurators/antigravity.js +0 -19
- package/dist/configurators/antigravity.js.map +0 -1
- package/dist/configurators/claude.d.ts +0 -9
- package/dist/configurators/claude.d.ts.map +0 -1
- package/dist/configurators/claude.js +0 -72
- package/dist/configurators/claude.js.map +0 -1
- package/dist/configurators/codebuddy.d.ts +0 -10
- package/dist/configurators/codebuddy.d.ts.map +0 -1
- package/dist/configurators/codebuddy.js +0 -30
- package/dist/configurators/codebuddy.js.map +0 -1
- package/dist/configurators/codex.d.ts +0 -8
- package/dist/configurators/codex.d.ts.map +0 -1
- package/dist/configurators/codex.js +0 -87
- package/dist/configurators/codex.js.map +0 -1
- package/dist/configurators/copilot.d.ts +0 -10
- package/dist/configurators/copilot.d.ts.map +0 -1
- package/dist/configurators/copilot.js +0 -51
- package/dist/configurators/copilot.js.map +0 -1
- package/dist/configurators/droid.d.ts +0 -10
- package/dist/configurators/droid.d.ts.map +0 -1
- package/dist/configurators/droid.js +0 -30
- package/dist/configurators/droid.js.map +0 -1
- package/dist/configurators/gemini.d.ts +0 -16
- package/dist/configurators/gemini.d.ts.map +0 -1
- package/dist/configurators/gemini.js +0 -38
- package/dist/configurators/gemini.js.map +0 -1
- package/dist/configurators/kilo.d.ts +0 -7
- package/dist/configurators/kilo.d.ts.map +0 -1
- package/dist/configurators/kilo.js +0 -19
- package/dist/configurators/kilo.js.map +0 -1
- package/dist/configurators/kiro.d.ts +0 -8
- package/dist/configurators/kiro.d.ts.map +0 -1
- package/dist/configurators/kiro.js +0 -24
- package/dist/configurators/kiro.js.map +0 -1
- package/dist/configurators/opencode.d.ts +0 -14
- package/dist/configurators/opencode.d.ts.map +0 -1
- package/dist/configurators/opencode.js +0 -96
- package/dist/configurators/opencode.js.map +0 -1
- package/dist/configurators/pi.d.ts +0 -3
- package/dist/configurators/pi.d.ts.map +0 -1
- package/dist/configurators/pi.js +0 -45
- package/dist/configurators/pi.js.map +0 -1
- package/dist/configurators/qoder.d.ts +0 -11
- package/dist/configurators/qoder.d.ts.map +0 -1
- package/dist/configurators/qoder.js +0 -31
- package/dist/configurators/qoder.js.map +0 -1
- package/dist/configurators/windsurf.d.ts +0 -7
- package/dist/configurators/windsurf.d.ts.map +0 -1
- package/dist/configurators/windsurf.js +0 -19
- package/dist/configurators/windsurf.js.map +0 -1
- package/dist/templates/claude/agents/trellis-check.md +0 -124
- package/dist/templates/claude/agents/trellis-implement.md +0 -110
- package/dist/templates/claude/agents/trellis-research.md +0 -137
- package/dist/templates/claude/index.d.ts +0 -22
- package/dist/templates/claude/index.d.ts.map +0 -1
- package/dist/templates/claude/index.js +0 -46
- package/dist/templates/claude/index.js.map +0 -1
- package/dist/templates/claude/settings.json +0 -84
- package/dist/templates/codebuddy/agents/trellis-check.md +0 -115
- package/dist/templates/codebuddy/agents/trellis-implement.md +0 -110
- package/dist/templates/codebuddy/agents/trellis-research.md +0 -137
- package/dist/templates/codebuddy/index.d.ts +0 -15
- package/dist/templates/codebuddy/index.d.ts.map +0 -1
- package/dist/templates/codebuddy/index.js +0 -15
- package/dist/templates/codebuddy/index.js.map +0 -1
- package/dist/templates/codebuddy/settings.json +0 -70
- package/dist/templates/codex/agents/trellis-check.toml +0 -67
- package/dist/templates/codex/agents/trellis-implement.toml +0 -40
- package/dist/templates/codex/agents/trellis-research.toml +0 -73
- package/dist/templates/codex/config.toml +0 -28
- package/dist/templates/codex/hooks/session-start.py +0 -575
- package/dist/templates/codex/hooks.json +0 -15
- package/dist/templates/codex/index.d.ts +0 -39
- package/dist/templates/codex/index.d.ts.map +0 -1
- package/dist/templates/codex/index.js +0 -85
- package/dist/templates/codex/index.js.map +0 -1
- package/dist/templates/codex/skills/before-dev/SKILL.md +0 -40
- package/dist/templates/codex/skills/brainstorm/SKILL.md +0 -112
- package/dist/templates/codex/skills/break-loop/SKILL.md +0 -130
- package/dist/templates/codex/skills/check/SKILL.md +0 -98
- package/dist/templates/codex/skills/check-cross-layer/SKILL.md +0 -158
- package/dist/templates/codex/skills/create-command/SKILL.md +0 -101
- package/dist/templates/codex/skills/finish-work/SKILL.md +0 -90
- package/dist/templates/codex/skills/improve-ut/SKILL.md +0 -69
- package/dist/templates/codex/skills/integrate-skill/SKILL.md +0 -221
- package/dist/templates/codex/skills/onboard/SKILL.md +0 -363
- package/dist/templates/codex/skills/record-session/SKILL.md +0 -67
- package/dist/templates/codex/skills/start/SKILL.md +0 -66
- package/dist/templates/codex/skills/update-spec/SKILL.md +0 -335
- package/dist/templates/copilot/hooks/session-start.py +0 -557
- package/dist/templates/copilot/hooks.json +0 -19
- package/dist/templates/copilot/index.d.ts +0 -23
- package/dist/templates/copilot/index.d.ts.map +0 -1
- package/dist/templates/copilot/index.js +0 -54
- package/dist/templates/copilot/index.js.map +0 -1
- package/dist/templates/copilot/prompts/before-dev.prompt.md +0 -39
- package/dist/templates/copilot/prompts/brainstorm.prompt.md +0 -111
- package/dist/templates/copilot/prompts/break-loop.prompt.md +0 -129
- package/dist/templates/copilot/prompts/check-cross-layer.prompt.md +0 -157
- package/dist/templates/copilot/prompts/check.prompt.md +0 -97
- package/dist/templates/copilot/prompts/create-command.prompt.md +0 -116
- package/dist/templates/copilot/prompts/finish-work.prompt.md +0 -99
- package/dist/templates/copilot/prompts/integrate-skill.prompt.md +0 -223
- package/dist/templates/copilot/prompts/onboard.prompt.md +0 -362
- package/dist/templates/copilot/prompts/parallel.prompt.md +0 -204
- package/dist/templates/copilot/prompts/record-session.prompt.md +0 -66
- package/dist/templates/copilot/prompts/start.prompt.md +0 -63
- package/dist/templates/copilot/prompts/update-spec.prompt.md +0 -358
- package/dist/templates/droid/droids/trellis-check.md +0 -107
- package/dist/templates/droid/droids/trellis-implement.md +0 -102
- package/dist/templates/droid/droids/trellis-research.md +0 -137
- package/dist/templates/droid/index.d.ts +0 -15
- package/dist/templates/droid/index.d.ts.map +0 -1
- package/dist/templates/droid/index.js +0 -15
- package/dist/templates/droid/index.js.map +0 -1
- package/dist/templates/droid/settings.json +0 -70
- package/dist/templates/gemini/agents/trellis-check.md +0 -107
- package/dist/templates/gemini/agents/trellis-implement.md +0 -102
- package/dist/templates/gemini/agents/trellis-research.md +0 -136
- package/dist/templates/gemini/index.d.ts +0 -13
- package/dist/templates/gemini/index.d.ts.map +0 -1
- package/dist/templates/gemini/index.js +0 -13
- package/dist/templates/gemini/index.js.map +0 -1
- package/dist/templates/gemini/settings.json +0 -28
- package/dist/templates/kiro/agents/trellis-check.json +0 -26
- package/dist/templates/kiro/agents/trellis-implement.json +0 -26
- package/dist/templates/kiro/agents/trellis-research.json +0 -30
- package/dist/templates/kiro/index.d.ts +0 -18
- package/dist/templates/kiro/index.d.ts.map +0 -1
- package/dist/templates/kiro/index.js +0 -18
- package/dist/templates/kiro/index.js.map +0 -1
- package/dist/templates/opencode/agents/trellis-check.md +0 -122
- package/dist/templates/opencode/agents/trellis-implement.md +0 -118
- package/dist/templates/opencode/agents/trellis-research.md +0 -145
- package/dist/templates/opencode/lib/session-utils.js +0 -667
- package/dist/templates/opencode/lib/trellis-context.js +0 -336
- package/dist/templates/opencode/package.json +0 -5
- package/dist/templates/opencode/plugins/inject-subagent-context.js +0 -495
- package/dist/templates/opencode/plugins/inject-workflow-state.js +0 -159
- package/dist/templates/opencode/plugins/session-start.js +0 -101
- package/dist/templates/pi/agents/trellis-check.md +0 -37
- package/dist/templates/pi/agents/trellis-implement.md +0 -42
- package/dist/templates/pi/agents/trellis-research.md +0 -25
- package/dist/templates/pi/extensions/trellis/index.ts.txt +0 -1600
- package/dist/templates/pi/index.d.ts +0 -5
- package/dist/templates/pi/index.d.ts.map +0 -1
- package/dist/templates/pi/index.js +0 -12
- package/dist/templates/pi/index.js.map +0 -1
- package/dist/templates/pi/settings.json +0 -12
- package/dist/templates/qoder/agents/trellis-check.md +0 -108
- package/dist/templates/qoder/agents/trellis-implement.md +0 -103
- package/dist/templates/qoder/agents/trellis-research.md +0 -137
- package/dist/templates/qoder/index.d.ts +0 -15
- package/dist/templates/qoder/index.d.ts.map +0 -1
- package/dist/templates/qoder/index.js +0 -15
- package/dist/templates/qoder/index.js.map +0 -1
- package/dist/templates/qoder/settings.json +0 -47
|
@@ -12,25 +12,17 @@ For **external / current / web facts**, **smart-search** (`run_smart_search.py`)
|
|
|
12
12
|
| --- | --- | --- |
|
|
13
13
|
| Exact string / path / log line | **rg** (Grep) | Fast literal match in repo |
|
|
14
14
|
| Symbol, callers, edit blast radius | **codegraph** MCP | Structure-first for caller/trap/extension intents |
|
|
15
|
-
| Unknown keywords, semantic discovery | **@codebase** (Cursor)
|
|
15
|
+
| Unknown keywords, semantic discovery | **@codebase** (Cursor) | Cursor's platform-native semantic search |
|
|
16
16
|
| External / current facts | **smart-search-cli** | **Mandatory first** — built-in web tools are downgrade-only (see rule above) |
|
|
17
17
|
| Trellis durable docs | **artifact-search** | `search_artifacts.py` |
|
|
18
18
|
| Past sessions | **session-memory** | Historical; verify against tasks/spec |
|
|
19
|
-
| Intent hint for code questions | **router** | `route_codebase_retrieval.py
|
|
19
|
+
| Intent hint for code questions | **router** | `route_codebase_retrieval.py` — plan JSON + `agentInstructions`; `--instructions` for steps only |
|
|
20
|
+
| Agent follows plan on Cursor | **`beforeSubmitPrompt` → `inject-retrieval-plan.py`** + **`.cursor/rules/retrieval-routing.mdc`** | Per-turn plan block from router `--instructions`; Rules enforce execution; not `sessionStart` (#158452) |
|
|
20
21
|
| Score collected evidence | **retrieval-pack** | `get_context.py --mode retrieval-pack` — does **not** search |
|
|
21
22
|
|
|
22
|
-
##
|
|
23
|
+
## Semantic routing (Cursor)
|
|
23
24
|
|
|
24
|
-
The
|
|
25
|
-
|
|
26
|
-
| Capability | Cursor | Claude Code / Codex | Generic |
|
|
27
|
-
| --- | --- | --- | --- |
|
|
28
|
-
| Semantic search | Platform-native (`@codebase`) | **fast-context** MCP | **fast-context** MCP |
|
|
29
|
-
| Exact search | Platform-native Grep | rg | rg |
|
|
30
|
-
| Structural search | **codegraph** MCP | **codegraph** MCP | **codegraph** MCP |
|
|
31
|
-
| LSP | Platform-native | N/A | N/A |
|
|
32
|
-
|
|
33
|
-
**Key implication on Cursor**: Do NOT use `fast-context` for semantic search — Cursor's own `@codebase` and built-in search are higher quality (custom embedding model trained on agent sessions). The router outputs `platform-semantic` routes with `platformNative: true` instead of `semantic-fast-context` on cursor.
|
|
25
|
+
The retrieval planner routes semantic intents to **built-in `@codebase` and agent semantic search**. Do **not** use the third-party `fast-context` MCP on Cursor.
|
|
34
26
|
|
|
35
27
|
## Token economy signals
|
|
36
28
|
|
|
@@ -44,16 +36,37 @@ Each route in the router output includes a `tokenEconomy` label:
|
|
|
44
36
|
|
|
45
37
|
When `projectFileCount > 2000`, the router promotes structural (codegraph) routes ahead of rg routes for better token efficiency on large codebases.
|
|
46
38
|
|
|
39
|
+
**Dogfood default (REC-10):** `route_codebase_retrieval.py` and `get_context.py --mode retrieval-pack` default `--project-file-count` to **`auto`** — they count files under the Trellis repo root (`git ls-files` when `.git` exists, else a bounded walk). Override with an integer (e.g. `5000`) for eval fixtures or non-git trees. **Harness note:** `D:\MyHarness` is not a git repo; dogfood from `Trellis/` or pass `--project-file-count` explicitly when routing from the workspace root.
|
|
40
|
+
|
|
47
41
|
## Commands
|
|
48
42
|
|
|
49
43
|
```powershell
|
|
50
44
|
python ./.trellis/scripts/search_artifacts.py --query "<topic>" --json
|
|
51
45
|
python ./.trellis/scripts/search_memory.py --query "<topic>" --json
|
|
52
46
|
python ./.trellis/scripts/run_smart_search.py "<question>" --intent deep-research --json
|
|
53
|
-
python ./.trellis/scripts/route_codebase_retrieval.py "<question>" --json
|
|
47
|
+
python ./.trellis/scripts/route_codebase_retrieval.py "<question>" --json
|
|
48
|
+
python ./.trellis/scripts/route_codebase_retrieval.py "<question>" --instructions
|
|
54
49
|
python ./.trellis/scripts/get_context.py --mode retrieval-pack --json --input evidence.json
|
|
50
|
+
python ./.trellis/scripts/codegraph_session_smoke.py --json
|
|
55
51
|
```
|
|
56
52
|
|
|
53
|
+
## Codegraph session readiness (eval / dogfood)
|
|
54
|
+
|
|
55
|
+
Before a **cold benchmark** or structural-heavy run:
|
|
56
|
+
|
|
57
|
+
1. **MCP**: In Cursor project MCP settings, enable the **codegraph** server for the workspace (or eval checkout).
|
|
58
|
+
2. **Index on disk**: Run `python ./.trellis/scripts/codegraph_session_smoke.py` (exit 0 = at least one `.codegraph/` under workspace root or a top-level subproject). Use `--root <eval-checkout>` when the agent root is not the harness.
|
|
59
|
+
3. **Live MCP smoke** (manual): one `codegraph_search` with a known symbol in that repo; stale-index banner → re-read affected files.
|
|
60
|
+
|
|
61
|
+
Paste into the **run report header** (markdown):
|
|
62
|
+
|
|
63
|
+
| Field | Example |
|
|
64
|
+
| --- | --- |
|
|
65
|
+
| `codegraph_mcp` | `configured` / `off` / `unknown` |
|
|
66
|
+
| `codegraph_index_path` | from smoke JSON `codegraph_index_paths[0]` |
|
|
67
|
+
| `codegraph_smoke_at` | ISO8601 UTC |
|
|
68
|
+
| `codegraph_smoke_ok` | `true` / `false` |
|
|
69
|
+
|
|
57
70
|
## smart-search fallback
|
|
58
71
|
|
|
59
72
|
When `smart-search doctor` is not ok or `run_smart_search.py` status is `not_configured` / `failed` (including **search timeout**), use **Cursor WebSearch/WebFetch**, then persist to `{TASK}/research/` with `source: cursor-web-fallback` in frontmatter. See `smart-search-cli` skill §4b.
|
|
@@ -62,17 +75,33 @@ When `smart-search doctor` is not ok or `run_smart_search.py` status is `not_con
|
|
|
62
75
|
|
|
63
76
|
## Router vs execution
|
|
64
77
|
|
|
65
|
-
`route_codebase_retrieval.py` returns **intent + route suggestions**
|
|
78
|
+
`route_codebase_retrieval.py` returns **intent + route suggestions** and **`agentInstructions`** (numbered steps with Cursor-native tool names). **codebase-evidence** is **candidate** until confirmed by Read/Git/tests.
|
|
79
|
+
|
|
80
|
+
On **Cursor**, per-query plans come from **`beforeSubmitPrompt` → `inject-retrieval-plan.py`**; durable execution policy lives in **`.cursor/rules/retrieval-routing.mdc`** (`alwaysApply`). Do **not** rely on `sessionStart` hook injection (#158452) or end-of-turn **retrieval-pack** for plans — retrieval-pack **scores** collected evidence; it does not search.
|
|
81
|
+
|
|
82
|
+
### Result-layer ranking (B / E / D — REC-05)
|
|
83
|
+
|
|
84
|
+
After Grep/codegraph/semantic produce **path candidates**, reorder before choosing Top-1 / Top-5:
|
|
85
|
+
|
|
86
|
+
| Intent | Rule |
|
|
87
|
+
| --- | --- |
|
|
88
|
+
| `caller-chain` | Expanded pool first; boost concrete call sites; demote facade/barrel/runtime/registry **assembly-only** files. |
|
|
89
|
+
| `trap-package-disambiguation` | Demote snapshot/registry/`src/agents/` trap paths unless Read confirms the asked layer. |
|
|
90
|
+
| `env-config-literal` | Prefer `scripts/`, `e2e/`, `bench/`, `test/` over generic `src/auth` / `src/paths`. |
|
|
91
|
+
|
|
92
|
+
- **Agent plans**: `render_agent_instructions` / `inject-retrieval-plan.py` append a **结果层排序** block when these intents appear.
|
|
93
|
+
- **Eval / offline**: `python ./.trellis/scripts/rank_retrieval_candidates.py --candidates fixtures.json --intents caller-chain --top-k 5 --pretty`
|
|
94
|
+
- **Library**: TS `packages/cli/src/utils/retrieval-result-ranking.ts` (Vitest fixtures B03/B05/D03); Python mirror `common/retrieval_result_ranking.py`.
|
|
95
|
+
|
|
96
|
+
Do **not** claim aggregate openclaw score gains from ranking alone without fresh telemetry (`candidate_pool_recall` vs final Top-K).
|
|
66
97
|
|
|
67
98
|
### Structural-first routing (v2)
|
|
68
99
|
|
|
69
100
|
For structural intents (caller-chain, trap-package-disambiguation, extension-shared-symbol), the router now suggests **codegraph before rg**. This reflects codegraph's superior token economy for structural queries (~80-150 tokens/answer vs rg's ~3557 for naive grep). The agent should still use rg to fill gaps codegraph misses (dynamic dispatch, string-based callsites).
|
|
70
101
|
|
|
71
|
-
### Semantic routing
|
|
102
|
+
### Semantic routing on Cursor
|
|
72
103
|
|
|
73
|
-
On
|
|
74
|
-
|
|
75
|
-
On **other platforms**: the router outputs `semantic-fast-context` routes as before. When the envelope fallback mentions no corroborated candidates, invoke `fast_context_search` after exact rg fails.
|
|
104
|
+
On Cursor, the router outputs `platform-semantic` routes (with `platformNative: true`). The agent should use `@codebase` or Cursor's built-in agent search — `fast_context_search` calls are tracked as **misuse** in eval telemetry.
|
|
76
105
|
|
|
77
106
|
### Semantic dual metrics (openclaw / eval)
|
|
78
107
|
|
|
@@ -81,12 +110,31 @@ On **other platforms**: the router outputs `semantic-fast-context` routes as bef
|
|
|
81
110
|
| `semantic_plan_rate` | Share of queries whose routing envelope lists a semantic route |
|
|
82
111
|
| `semantic_exec_rate` | Share of queries with ≥1 semantic search tool call |
|
|
83
112
|
|
|
113
|
+
On **Cursor**, `semantic_exec_rate` uses **platform-native** tool names only (`classify_tool_calls(..., platform=cursor)`); `fast_context_search` is tracked as **misuse**, not semantic exec. See `cursor-semantic-compliance.md`.
|
|
114
|
+
|
|
84
115
|
Plan-level presence does not imply execution-level use (see parent research `06-19` OQ-1 双轨).
|
|
85
116
|
|
|
117
|
+
### Execution telemetry (schema v2, eval / openclaw)
|
|
118
|
+
|
|
119
|
+
Store **one JSON object per query** in JSONL (`schema_version: 2`). Split scores:
|
|
120
|
+
|
|
121
|
+
| Field | Owner | Meaning |
|
|
122
|
+
| --- | --- | --- |
|
|
123
|
+
| `answer_score` | Human rubric | Top-1 / Recall@5 / answer quality (0–6 per query in main-50) |
|
|
124
|
+
| `compliance_score` | Derived | Plan vs exec layer compliance (0–1); structural/codegraph, semantic, read verify |
|
|
125
|
+
|
|
126
|
+
Report **summary rates must not be hand-copied** from batch router envelopes. Aggregate from JSONL:
|
|
127
|
+
|
|
128
|
+
```powershell
|
|
129
|
+
python .trellis/scripts/aggregate_retrieval_telemetry.py runs/<run>/telemetry.jsonl --markdown
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Key exec fields (fill from session tool log): `tools_called`, `grep_count`, `read_count`, `codegraph_executed`, `semantic_executed`, `router_cli_invoked`, `plan_block_in_prompt`, `read_verification_done`. TypeScript contract: `packages/cli/src/utils/retrieval-execution-telemetry.ts` (`RETRIEVAL_TELEMETRY_FIELD_OWNERSHIP`).
|
|
133
|
+
|
|
86
134
|
## retrieval-pack
|
|
87
135
|
|
|
88
136
|
Default `get_context.py --json` returns **retrievalGuide** only. Run `--mode retrieval-pack` after you have collected evidence JSON / smart-search manifests under `{TASK}/research/smart-search/`.
|
|
89
137
|
|
|
90
138
|
## Adapters (optimization #9)
|
|
91
139
|
|
|
92
|
-
Core: rg, task-artifacts, artifact-search, source-git-tests. Enhance: codegraph (structural-first), platform-semantic (Cursor
|
|
140
|
+
Core: rg, task-artifacts, artifact-search, source-git-tests. Enhance: codegraph (structural-first), platform-semantic (Cursor `@codebase`), smart-search, session-memory. Placeholders: mcp/browser/network envelope only.
|
|
@@ -11,7 +11,7 @@ export interface HookScript {
|
|
|
11
11
|
/** Script content — no placeholders, ready to write directly */
|
|
12
12
|
content: string;
|
|
13
13
|
}
|
|
14
|
-
export type SharedHookName = "session-start.py" | "inject-shell-session-context.py" | "inject-workflow-state.py" | "inject-subagent-context.py" | "research-end-retrieval-pack.py";
|
|
14
|
+
export type SharedHookName = "session-start.py" | "inject-shell-session-context.py" | "inject-retrieval-plan.py" | "inject-workflow-state.py" | "inject-subagent-context.py" | "research-end-retrieval-pack.py";
|
|
15
15
|
export type SharedHookPlatform = "claude" | "cursor" | "codex" | "gemini" | "qoder" | "copilot" | "codebuddy" | "droid" | "kiro";
|
|
16
16
|
/**
|
|
17
17
|
* Which shared hooks each platform actually invokes. Single source of truth
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/shared-hooks/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAaH,MAAM,WAAW,UAAU;IACzB,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,cAAc,GACtB,kBAAkB,GAClB,iCAAiC,GACjC,0BAA0B,GAC1B,4BAA4B,GAC5B,gCAAgC,CAAC;AAErC,MAAM,MAAM,kBAAkB,GAC1B,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,SAAS,GACT,WAAW,GACX,OAAO,GACP,MAAM,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAC3C,kBAAkB,EAClB,SAAS,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/shared-hooks/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAaH,MAAM,WAAW,UAAU;IACzB,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,cAAc,GACtB,kBAAkB,GAClB,iCAAiC,GACjC,0BAA0B,GAC1B,0BAA0B,GAC1B,4BAA4B,GAC5B,gCAAgC,CAAC;AAErC,MAAM,MAAM,kBAAkB,GAC1B,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,OAAO,GACP,SAAS,GACT,WAAW,GACX,OAAO,GACP,MAAM,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAC3C,kBAAkB,EAClB,SAAS,cAAc,EAAE,CAgC1B,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,UAAU,EAAE,CAWnD;AAED;;;;GAIG;AACH,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,kBAAkB,GAC3B,UAAU,EAAE,CAGd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/shared-hooks/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,SAAS,YAAY,CAAC,YAAoB;IACxC,OAAO,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/shared-hooks/index.ts"],"names":[],"mappings":"AAA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AM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;SAChC,IAAI,EAAE,CAAC;IAEV,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC5D,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,+BAA+B,CAC7C,QAA4B;IAE5B,MAAM,OAAO,GAAG,IAAI,GAAG,CAAS,wBAAwB,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpE,OAAO,oBAAoB,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AACnE,CAAC"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Cursor beforeSubmitPrompt: inject router-derived ## 代码库检索计划 per user turn.
|
|
3
|
+
|
|
4
|
+
Runs route_codebase_retrieval + render_agent_instructions for the submitted
|
|
5
|
+
prompt. Complements retrieval-routing.mdc (Rules) with an explicit plan block
|
|
6
|
+
so REC-03 telemetry can set plan_block_in_prompt=true.
|
|
7
|
+
|
|
8
|
+
Silent exit 0 (no stdout) when:
|
|
9
|
+
- TRELLIS_HOOKS=0 / not a Trellis repo
|
|
10
|
+
- prompt is meta-only (continue, slash commands, etc.)
|
|
11
|
+
- gate says retrieval plan is not needed
|
|
12
|
+
"""
|
|
13
|
+
from __future__ import annotations
|
|
14
|
+
|
|
15
|
+
import json
|
|
16
|
+
import os
|
|
17
|
+
import sys
|
|
18
|
+
from pathlib import Path
|
|
19
|
+
from typing import Any
|
|
20
|
+
|
|
21
|
+
if sys.platform.startswith("win"):
|
|
22
|
+
import io as _io
|
|
23
|
+
|
|
24
|
+
for _stream_name in ("stdin", "stdout", "stderr"):
|
|
25
|
+
_stream = getattr(sys, _stream_name, None)
|
|
26
|
+
if _stream is None:
|
|
27
|
+
continue
|
|
28
|
+
if hasattr(_stream, "reconfigure"):
|
|
29
|
+
try:
|
|
30
|
+
_stream.reconfigure(encoding="utf-8", errors="replace") # type: ignore[union-attr]
|
|
31
|
+
except Exception:
|
|
32
|
+
pass
|
|
33
|
+
elif hasattr(_stream, "detach"):
|
|
34
|
+
try:
|
|
35
|
+
setattr(
|
|
36
|
+
sys,
|
|
37
|
+
_stream_name,
|
|
38
|
+
_io.TextIOWrapper(
|
|
39
|
+
_stream.detach(), encoding="utf-8", errors="replace"
|
|
40
|
+
),
|
|
41
|
+
)
|
|
42
|
+
except Exception:
|
|
43
|
+
pass
|
|
44
|
+
|
|
45
|
+
DIR_WORKFLOW = ".trellis"
|
|
46
|
+
PLAN_MARKER_ZH = "## 代码库检索计划"
|
|
47
|
+
PLAN_MARKER_EN = "## Codebase retrieval plan"
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def _find_trellis_root(start: Path) -> Path | None:
|
|
51
|
+
current = start.resolve()
|
|
52
|
+
while True:
|
|
53
|
+
if (current / DIR_WORKFLOW / "scripts").is_dir():
|
|
54
|
+
return current
|
|
55
|
+
if current == current.parent:
|
|
56
|
+
return None
|
|
57
|
+
current = current.parent
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def _detect_platform(input_data: dict[str, Any]) -> str | None:
|
|
61
|
+
if isinstance(input_data.get("cursor_version"), str):
|
|
62
|
+
return "cursor"
|
|
63
|
+
if os.environ.get("CURSOR_PROJECT_DIR"):
|
|
64
|
+
return "cursor"
|
|
65
|
+
script_parts = set(Path(sys.argv[0]).parts)
|
|
66
|
+
if ".cursor" in script_parts:
|
|
67
|
+
return "cursor"
|
|
68
|
+
return None
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def _load_capabilities(root: Path) -> dict[str, object] | None:
|
|
72
|
+
path = root / DIR_WORKFLOW / "capabilities.json"
|
|
73
|
+
if not path.is_file():
|
|
74
|
+
return None
|
|
75
|
+
try:
|
|
76
|
+
with path.open(encoding="utf-8") as handle:
|
|
77
|
+
parsed = json.load(handle)
|
|
78
|
+
return parsed if isinstance(parsed, dict) else None
|
|
79
|
+
except Exception:
|
|
80
|
+
return None
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def _emit_plan_block(plan_text: str) -> None:
|
|
84
|
+
payload = {
|
|
85
|
+
"additional_context": plan_text,
|
|
86
|
+
"hookSpecificOutput": {
|
|
87
|
+
"hookEventName": "beforeSubmitPrompt",
|
|
88
|
+
"additionalContext": plan_text,
|
|
89
|
+
},
|
|
90
|
+
}
|
|
91
|
+
print(json.dumps(payload, ensure_ascii=False), flush=True)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def main() -> int:
|
|
95
|
+
if os.environ.get("TRELLIS_HOOKS") == "0" or os.environ.get(
|
|
96
|
+
"TRELLIS_DISABLE_HOOKS"
|
|
97
|
+
) == "1":
|
|
98
|
+
return 0
|
|
99
|
+
|
|
100
|
+
try:
|
|
101
|
+
data = json.load(sys.stdin)
|
|
102
|
+
except (json.JSONDecodeError, ValueError):
|
|
103
|
+
data = {}
|
|
104
|
+
|
|
105
|
+
if not isinstance(data, dict):
|
|
106
|
+
data = {}
|
|
107
|
+
|
|
108
|
+
cwd_str = data.get("cwd") or os.getcwd()
|
|
109
|
+
root = _find_trellis_root(Path(str(cwd_str)))
|
|
110
|
+
if root is None:
|
|
111
|
+
return 0
|
|
112
|
+
|
|
113
|
+
scripts_dir = root / DIR_WORKFLOW / "scripts"
|
|
114
|
+
if str(scripts_dir) not in sys.path:
|
|
115
|
+
sys.path.insert(0, str(scripts_dir))
|
|
116
|
+
|
|
117
|
+
try:
|
|
118
|
+
from common.codebase_retrieval_router import ( # type: ignore[import-not-found]
|
|
119
|
+
codebase_retrieval_selected_from_capabilities,
|
|
120
|
+
route_codebase_retrieval,
|
|
121
|
+
)
|
|
122
|
+
from common.project_file_stats import ( # type: ignore[import-not-found]
|
|
123
|
+
resolve_project_file_count_arg,
|
|
124
|
+
)
|
|
125
|
+
from common.retrieval_agent_instructions import ( # type: ignore[import-not-found]
|
|
126
|
+
render_agent_instructions,
|
|
127
|
+
)
|
|
128
|
+
from common.retrieval_plan_gate import ( # type: ignore[import-not-found]
|
|
129
|
+
extract_user_prompt,
|
|
130
|
+
should_inject_retrieval_plan,
|
|
131
|
+
)
|
|
132
|
+
except Exception:
|
|
133
|
+
return 0
|
|
134
|
+
|
|
135
|
+
query = extract_user_prompt(data)
|
|
136
|
+
if not should_inject_retrieval_plan(query):
|
|
137
|
+
return 0
|
|
138
|
+
|
|
139
|
+
try:
|
|
140
|
+
project_file_count = resolve_project_file_count_arg("auto", repo_root=root)
|
|
141
|
+
except ValueError:
|
|
142
|
+
project_file_count = None
|
|
143
|
+
|
|
144
|
+
caps = _load_capabilities(root)
|
|
145
|
+
selected = codebase_retrieval_selected_from_capabilities(caps)
|
|
146
|
+
plan = route_codebase_retrieval(
|
|
147
|
+
query,
|
|
148
|
+
codebase_retrieval_selected=selected,
|
|
149
|
+
project_file_count=project_file_count,
|
|
150
|
+
)
|
|
151
|
+
instructions = render_agent_instructions(
|
|
152
|
+
plan,
|
|
153
|
+
locale="zh",
|
|
154
|
+
)
|
|
155
|
+
if PLAN_MARKER_ZH not in instructions and PLAN_MARKER_EN not in instructions:
|
|
156
|
+
return 0
|
|
157
|
+
|
|
158
|
+
_emit_plan_block(instructions)
|
|
159
|
+
return 0
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
if __name__ == "__main__":
|
|
163
|
+
sys.exit(main())
|
|
@@ -95,13 +95,7 @@ def _has_research_signals(task_dir: Path) -> bool:
|
|
|
95
95
|
return False
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
|
|
99
|
-
"cursor": "cursor",
|
|
100
|
-
"claude": "claude-code",
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
def _run_retrieval_pack(repo_root: Path, platform: str | None) -> dict[str, Any] | None:
|
|
98
|
+
def _run_retrieval_pack(repo_root: Path) -> dict[str, Any] | None:
|
|
105
99
|
script = repo_root / DIR_WORKFLOW / "scripts" / "get_context.py"
|
|
106
100
|
if not script.is_file():
|
|
107
101
|
return None
|
|
@@ -116,9 +110,6 @@ def _run_retrieval_pack(repo_root: Path, platform: str | None) -> dict[str, Any]
|
|
|
116
110
|
"retrieval-pack",
|
|
117
111
|
"--json",
|
|
118
112
|
]
|
|
119
|
-
if platform:
|
|
120
|
-
router_platform = _PLATFORM_ARG_MAP.get(platform, platform)
|
|
121
|
-
cmd.extend(["--platform", router_platform])
|
|
122
113
|
proc = subprocess.run(
|
|
123
114
|
cmd,
|
|
124
115
|
cwd=str(repo_root),
|
|
@@ -187,7 +178,7 @@ def main() -> None:
|
|
|
187
178
|
if not _has_research_signals(task_dir):
|
|
188
179
|
return
|
|
189
180
|
|
|
190
|
-
pack = _run_retrieval_pack(repo_root
|
|
181
|
+
pack = _run_retrieval_pack(repo_root)
|
|
191
182
|
if not pack:
|
|
192
183
|
return
|
|
193
184
|
|
|
@@ -43,6 +43,16 @@ export declare const commonSmartSearchEvidence: string;
|
|
|
43
43
|
export declare const commonSmartSearchResolve: string;
|
|
44
44
|
export declare const commonRetrievalEvidence: string;
|
|
45
45
|
export declare const commonCodebaseRetrievalRouter: string;
|
|
46
|
+
export declare const commonProjectFileStats: string;
|
|
47
|
+
export declare const commonRetrievalToolClassification: string;
|
|
48
|
+
export declare const aggregateRetrievalTelemetryScript: string;
|
|
49
|
+
export declare const commonRetrievalAgentInstructions: string;
|
|
50
|
+
export declare const commonRetrievalPlanGate: string;
|
|
51
|
+
export declare const commonSemanticPlanGate: string;
|
|
52
|
+
export declare const commonRetrievalResultRanking: string;
|
|
53
|
+
export declare const rankRetrievalCandidatesScript: string;
|
|
54
|
+
export declare const batchPlanEnvelopeScript: string;
|
|
55
|
+
export declare const scoreEvidenceScript: string;
|
|
46
56
|
export declare const commonRetrievalAdapterMetadata: string;
|
|
47
57
|
export declare const commonContextPack: string;
|
|
48
58
|
export declare const commonRetrievalPack: string;
|
|
@@ -64,6 +74,7 @@ export declare const runSmartSearchScript: string;
|
|
|
64
74
|
export declare const buildContextPackScript: string;
|
|
65
75
|
export declare const buildRetrievalPackScript: string;
|
|
66
76
|
export declare const routeCodebaseRetrievalScript: string;
|
|
77
|
+
export declare const codegraphSessionSmokeScript: string;
|
|
67
78
|
export declare const workflowMdTemplate: string;
|
|
68
79
|
export declare const configYamlTemplate: string;
|
|
69
80
|
export declare const gitignoreTemplate: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/trellis/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAcH,eAAO,MAAM,WAAW,QAAsC,CAAC;AAG/D,eAAO,MAAM,UAAU,QAA6C,CAAC;AACrE,eAAO,MAAM,WAAW,QAA0C,CAAC;AACnE,eAAO,MAAM,eAAe,QAA8C,CAAC;AAC3E,eAAO,MAAM,gBAAgB,QAAgD,CAAC;AAC9E,eAAO,MAAM,eAAe,QAA+C,CAAC;AAC5E,eAAO,MAAM,eAAe,QAA+C,CAAC;AAC5E,eAAO,MAAM,gBAAgB,QAAgD,CAAC;AAC9E,eAAO,MAAM,gBAAgB,QAAgD,CAAC;AAC9E,eAAO,MAAM,oBAAoB,QAEhC,CAAC;AACF,eAAO,MAAM,YAAY,QAA2C,CAAC;AACrE,eAAO,MAAM,QAAQ,QAAuC,CAAC;AAC7D,eAAO,MAAM,SAAS,QAAwC,CAAC;AAC/D,eAAO,MAAM,SAAS,QAAwC,CAAC;AAC/D,eAAO,MAAM,WAAW,QAA0C,CAAC;AACnE,eAAO,MAAM,WAAW,QAA0C,CAAC;AACnE,eAAO,MAAM,iBAAiB,QAAiD,CAAC;AAChF,eAAO,MAAM,eAAe,QAA+C,CAAC;AAC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AACjF,eAAO,MAAM,kBAAkB,QAA2C,CAAC;AAC3E,eAAO,MAAM,oBAAoB,QAA8C,CAAC;AAChF,eAAO,MAAM,sBAAsB,QAAgD,CAAC;AACpF,eAAO,MAAM,wBAAwB,QAAkD,CAAC;AACxF,eAAO,MAAM,4BAA4B,QAExC,CAAC;AACF,eAAO,MAAM,2BAA2B,QAEvC,CAAC;AAGF,eAAO,MAAM,kBAAkB,QAA8B,CAAC;AAC9D,eAAO,MAAM,kBAAkB,QAA8B,CAAC;AAC9D,eAAO,MAAM,iBAAiB,QAAgC,CAAC;AAoB/D;;;;GAIG;AACH,wBAAgB,mBAAmB,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAezD;AAED;;GAEG;AACH,wBAAgB,aAAa,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CA+EnD"}
|
|
@@ -53,6 +53,16 @@ export const commonSmartSearchEvidence = readTemplate("scripts/common/smart_sear
|
|
|
53
53
|
export const commonSmartSearchResolve = readTemplate("scripts/common/smart_search_resolve.py");
|
|
54
54
|
export const commonRetrievalEvidence = readTemplate("scripts/common/retrieval_evidence.py");
|
|
55
55
|
export const commonCodebaseRetrievalRouter = readTemplate("scripts/common/codebase_retrieval_router.py");
|
|
56
|
+
export const commonProjectFileStats = readTemplate("scripts/common/project_file_stats.py");
|
|
57
|
+
export const commonRetrievalToolClassification = readTemplate("scripts/common/retrieval_tool_classification.py");
|
|
58
|
+
export const aggregateRetrievalTelemetryScript = readTemplate("scripts/aggregate_retrieval_telemetry.py");
|
|
59
|
+
export const commonRetrievalAgentInstructions = readTemplate("scripts/common/retrieval_agent_instructions.py");
|
|
60
|
+
export const commonRetrievalPlanGate = readTemplate("scripts/common/retrieval_plan_gate.py");
|
|
61
|
+
export const commonSemanticPlanGate = readTemplate("scripts/common/semantic_plan_gate.py");
|
|
62
|
+
export const commonRetrievalResultRanking = readTemplate("scripts/common/retrieval_result_ranking.py");
|
|
63
|
+
export const rankRetrievalCandidatesScript = readTemplate("scripts/rank_retrieval_candidates.py");
|
|
64
|
+
export const batchPlanEnvelopeScript = readTemplate("scripts/batch_plan_envelope.py");
|
|
65
|
+
export const scoreEvidenceScript = readTemplate("scripts/score_evidence.py");
|
|
56
66
|
export const commonRetrievalAdapterMetadata = readTemplate("scripts/common/retrieval_adapter_metadata.py");
|
|
57
67
|
export const commonContextPack = readTemplate("scripts/common/context_pack.py");
|
|
58
68
|
export const commonRetrievalPack = readTemplate("scripts/common/retrieval_pack.py");
|
|
@@ -75,6 +85,7 @@ export const runSmartSearchScript = readTemplate("scripts/run_smart_search.py");
|
|
|
75
85
|
export const buildContextPackScript = readTemplate("scripts/build_context_pack.py");
|
|
76
86
|
export const buildRetrievalPackScript = readTemplate("scripts/build_retrieval_pack.py");
|
|
77
87
|
export const routeCodebaseRetrievalScript = readTemplate("scripts/route_codebase_retrieval.py");
|
|
88
|
+
export const codegraphSessionSmokeScript = readTemplate("scripts/codegraph_session_smoke.py");
|
|
78
89
|
// Configuration files
|
|
79
90
|
export const workflowMdTemplate = readTemplate("workflow.md");
|
|
80
91
|
export const configYamlTemplate = readTemplate("config.yaml");
|
|
@@ -144,6 +155,12 @@ export function getAllScripts() {
|
|
|
144
155
|
scripts.set("common/smart_search_resolve.py", commonSmartSearchResolve);
|
|
145
156
|
scripts.set("common/retrieval_evidence.py", commonRetrievalEvidence);
|
|
146
157
|
scripts.set("common/codebase_retrieval_router.py", commonCodebaseRetrievalRouter);
|
|
158
|
+
scripts.set("common/project_file_stats.py", commonProjectFileStats);
|
|
159
|
+
scripts.set("common/retrieval_tool_classification.py", commonRetrievalToolClassification);
|
|
160
|
+
scripts.set("common/retrieval_agent_instructions.py", commonRetrievalAgentInstructions);
|
|
161
|
+
scripts.set("common/retrieval_plan_gate.py", commonRetrievalPlanGate);
|
|
162
|
+
scripts.set("common/semantic_plan_gate.py", commonSemanticPlanGate);
|
|
163
|
+
scripts.set("common/retrieval_result_ranking.py", commonRetrievalResultRanking);
|
|
147
164
|
scripts.set("common/retrieval_adapter_metadata.py", commonRetrievalAdapterMetadata);
|
|
148
165
|
scripts.set("common/context_pack.py", commonContextPack);
|
|
149
166
|
scripts.set("common/retrieval_pack.py", commonRetrievalPack);
|
|
@@ -166,6 +183,11 @@ export function getAllScripts() {
|
|
|
166
183
|
scripts.set("build_context_pack.py", buildContextPackScript);
|
|
167
184
|
scripts.set("build_retrieval_pack.py", buildRetrievalPackScript);
|
|
168
185
|
scripts.set("route_codebase_retrieval.py", routeCodebaseRetrievalScript);
|
|
186
|
+
scripts.set("codegraph_session_smoke.py", codegraphSessionSmokeScript);
|
|
187
|
+
scripts.set("aggregate_retrieval_telemetry.py", aggregateRetrievalTelemetryScript);
|
|
188
|
+
scripts.set("rank_retrieval_candidates.py", rankRetrievalCandidatesScript);
|
|
189
|
+
scripts.set("batch_plan_envelope.py", batchPlanEnvelopeScript);
|
|
190
|
+
scripts.set("score_evidence.py", scoreEvidenceScript);
|
|
169
191
|
return scripts;
|
|
170
192
|
}
|
|
171
193
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/trellis/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,SAAS,YAAY,CAAC,YAAoB;IACxC,OAAO,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC;AAED,gCAAgC;AAChC,M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