用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/proovcme/les_rag_public --skill les命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when designing, implementing, reviewing, or documenting the LES Sovushka NiceGUI interface, UI kit, navigation, typography, controls, responsive layout, accessibility, or visual consistency. Enforces the Locia-like shared-component contract and minimizes one-off UI elements.
Use when LES must turn a VOR, specification, project document, or free-form scope into a priced LSR using estimating sources and tools.
正在显示 SKILL.md
| name | les |
| description | Use when developing, operating, testing, packaging, releasing, or troubleshooting LES and Sovushka. |
Work from the repository root; never assume a personal absolute path. Read, in order:
AGENTS.md — safety, current architecture and Definition of Done.docs/MODULE_INDEX.md — module ownership and status.docs/CODE_MAP.md — request, indexing, desktop and release entry points.MODULE_INDEX.docs/SOFTWARE_VERSIONS.md and docs/RELEASE_LEDGER.md for a release.For Sovushka UI work also read skills/sovushka-ui/SKILL.md and
docs/modules/sovushka-uikit.md before editing. Do not read .env, credentials,
runtime data, logs, model caches or private corpora.
dense + bm25_sparse, native RRF and context expansion. Optional reranking must never erase
native-RRF results.proxy/smeta_core/** is a protected compatibility module. Do not change it unless the owner
explicitly requests that work and the benchmark in AGENTS.md is run.| Surface | Default | Purpose |
|---|---|---|
| Proxy | http://127.0.0.1:8050 | API and application services |
| Sovushka | http://127.0.0.1:8051 | NiceGUI user/admin interface |
| Qdrant | http://127.0.0.1:6333 | optional local vector store |
| MLX host | http://127.0.0.1:8080 | optional macOS model host |
Always read effective runtime state through /api/version, health endpoints and the GUI. Do not infer
deployment state from the working tree or an old note.
The public Windows artifact is a per-user Tauri/NSIS LES-Setup.exe.
%LOCALAPPDATA%\Programs\LES.%LOCALAPPDATA%\LES.uv.exe, the exact uv.lock, and an
offline Windows dependency cache created from that lock. Bootstrap must not use system Python,
system uv, winget or a network package fallback.start_from_setup depends only on the LES core.Primary implementation:
tools/build_tauri_app.py — stage platform payload and offline dependency cache.installers/windows/app/bootstrap.ps1 — verify and materialize the bundled runtime.installers/windows/state.ps1 — persistent-state boundary and junctions.desktop/tauri/src-tauri/src/lib.rs — native lifecycle and provider status probes.desktop/tauri/web/{index.html,wizard.js} — provider-neutral setup catalogue.tools/windows_release_smoke.ps1 — installed-artifact acceptance.User recovery is documented in docs/public/windows-troubleshooting.md; developer release procedure
is in docs/INSTALL_RUNBOOK.md and docs/public/developer-guide.md.
LES may connect to Ollama, FreeToken, Lemonade or a compatible remote API. The user owns installation, model selection, licences and resource limits. An answer provider does not automatically provide a compatible embedding endpoint. Show the configured effective value and its source in Sovushka.
When debugging a provider:
Use the product controls instead of killing broad process classes:
uv run python tools/les_runtime_control.py status
uv run python tools/les_runtime_control.py start
uv run python tools/les_runtime_control.py stop
uv run python tools/les_doctor.py
On Windows use checked-in PowerShell/CLI entry points with UTF-8 files and argument lists. Do not pipe
Cyrillic scripts through PowerShell stdin and do not build destructive commands by concatenating
strings. Before changing an installed runtime, dry-run against the resolved
%LOCALAPPDATA%\Programs\LES target.
On macOS use the mac-native profile and repository scripts. When dependency sync is required,
keep the MLX extra: uv sync --extra mac-mlx. macOS is a supported reference/development profile,
not a source of hidden Windows defaults. Linux profiles are documented in docs/PLATFORMS.md and
installers/README.md.
MODULE_INDEX and CODE_MAP; inspect related tests before code.MODULE_INDEX row in the same change.config/version.json and run the version synchronizer for a release change.Canonical local gates:
make verify
make test
If make is unavailable on Windows, run the exact commands from the corresponding Makefile target.
Use workspace-local pytest temp directories, for example --basetemp=.test-tmp/<gate>.
Additional gates are scoped by change:
node --check, cargo check.make public-check.make test-mail-release plus the documented live Outlook gate when applicable.Passing unit tests does not prove an installer. A public Windows release is acceptable only after the
exact LES-Setup.exe installs into an isolated location, starts its bundled runtime, reports the
expected /api/version, passes API/UI/index/process checks and can be rolled back.
config/version.json is the only source for product SemVer, monotonic build number and desktop
package version. Keep docs/SOFTWARE_VERSIONS.md and docs/RELEASE_LEDGER.md synchronized.
Before publishing:
make verify, make test and make public-check.latest.json.main commit and GitHub Release tag point to the same verified source.Never publish runtime state, .env, credentials, private datasets, logs, caches, local archives or
model weights.
Do not delete or recreate data/qdrant/, data/les_meta_qwen.db, storage/, RAG_Content/,
structured_rules, installed state or Qdrant volumes without an explicit user request and verified
target. Do not run a full reindex merely to fix one dataset. Prefer dataset integrity inspection and a
bounded repair job. Preserve a known rollback for deploys and schema/index changes.
Current documentation follows this chain:
README.md, docs/public/overview.md;docs/WINDOWS_DESKTOP.md, docs/public/windows-troubleshooting.md;docs/public/developer-guide.md, docs/MODULE_INDEX.md, docs/CODE_MAP.md;docs/INSTALL_RUNBOOK.md, docs/SOFTWARE_VERSIONS.md,
docs/RELEASE_LEDGER.md;ROADMAP_TO_V1.md.Historical documents live in docs/archive/ and are context, not instructions. When code and a
current document disagree, stop, verify the behavior, and update the canonical document with the fix.