-
Notifications
You must be signed in to change notification settings - Fork 4
Use Cases
Language: English · 简体中文
LWC is most valuable when knowledge must survive a session, remain traceable to evidence, or improve as an Agent revisits the same domain. It is unnecessary for every prompt.
Use LWC when at least one of these is true:
- a later session should reuse the result;
- the task depends on several documents or earlier decisions;
- facts must remain traceable to immutable evidence;
- the project is large enough that rediscovery is expensive;
- rules or runbooks must load reliably without search;
- document relationships or code structure materially affect the answer;
- new evidence should revise existing knowledge rather than create another standalone summary.
An Agent can preserve architectural decisions, module responsibilities, operational constraints, and verified debugging conclusions. A later session recalls the maintained Wiki, uses CodeGraph for current structure, and reads the relevant code before changing it.
Useful LWC capabilities: project scope, search, CodeGraph, changesets, source lineage.
As reports, papers, and interviews accumulate, the Agent stores immutable snapshots and updates shared concept, entity, comparison, and synthesis pages. Contradictions remain visible instead of being silently flattened into one answer.
Useful LWC capabilities: source ingest, citations, provenance, document graph, retrieval acceptance.
Core rules often need to behave like dynamic system context: the Agent must receive the complete current page at session start or after context compaction. Strong tags provide deterministic, bounded full-page loading.
Useful LWC capabilities: tags, autoload policies, lifecycle Hooks, checkpoints.
The Wiki explains prior intent and project-specific language. CodeGraph maps current symbols and dependencies. The Agent combines both with direct source reads instead of treating a stale architecture note as current code truth.
Useful LWC capabilities: bounded context, CodeGraph, document graph, verified write-back.
When a tracked file changes, LWC can compare the current bytes with its immutable snapshot and list directly citing pages. The Agent reviews whether the meaning changed, adds a new path revision when necessary, and updates only affected claims.
Useful LWC capabilities: source status, source diff, source refs, ingest, citations.
A useful investigation, comparison, or decision can become a query, comparison, or synthesis Page. Later questions retrieve the maintained answer and its evidence instead of relying on chat history.
Useful LWC capabilities: search, Page write-back, provenance, retrieval weights and feedback.
When an optional adapter is installed and selected, LWC can invoke MarkItDown or AnyDoc to convert one authorized local file into a new Markdown file. The output is reviewed before it is added as a Source.
Useful LWC capabilities: document conversion, source ingest, immutable snapshots.
The read-only Viewer can show Wiki pages, Sources, document relationships, code relationships, and a bounded Word Graph without allowing browser-side mutation.
Useful LWC capabilities: Viewer, document graph, CodeGraph, Word Graph.
Skip LWC for:
- a trivial, self-contained transformation with no future value;
- formatting-only edits;
- exact literal search that
rgcan answer immediately; - temporary build output or routine progress logs;
- secrets, tokens, cookies, private keys, or sensitive raw transcripts;
- unsupported guesses that are not useful enough to preserve as labelled hypotheses;
- a hosted collaborative knowledge portal with real-time multi-user editing.
LWC can accompany a task without becoming the task. If memory maintenance would delay the user's immediate outcome, finish the primary work first and preserve only the verified result that is worth reusing.
| Question | If yes | If no |
|---|---|---|
| Should another session reuse this? | Preserve verified knowledge in LWC. | Keep the result in the current response or deliverable. |
| Does the claim depend on evidence? | Store or inspect a Source and cite it. | Use explicit user or Agent provenance when durable. |
| Do relationships matter? | Use the document graph or CodeGraph after checking readiness. | Use bounded lexical recall and direct reads. |
| Must complete pages load without search? | Use a small strong tag with a limit. | Use normal search. |
| Does the update span several dependent writes? | Use a changeset. | Use one transactional command. |
| Is the input non-Markdown? | Configure one optional conversion adapter. | Add the reviewed UTF-8 source directly. |
LWC Wiki
- Home · 首页
- Project overview · 项目简介
- Basic concepts · 基本概念
- Use cases · 应用场景
- Installation and upgrades · 安装与升级
- Quick start · 快速开始
- Persistent memory · 持久记忆体系
- Agent workflow and memory policy · Agent 工作流与主动记忆策略
- Sources and ingestion · 来源与知识整合
- Wiki pages and provenance · Wiki 页面与来源证明
- Search and context · 搜索与上下文载入
- Document knowledge graph · 文档知识图(记忆图网)
- Code graph · 代码图
- Word graph · 词图
- Tags and strong context · 标签与强上下文
- Document conversion · 文档转换
-
MCP server and
lwc_explore· MCP 服务与lwc_explore - Skills, Hooks, and Instructions · Skills、Hooks 与 Instructions
- AgentTarget installation · AgentTarget 安装与集成
- Changesets · Changeset 原子变更
- Work system · Work 任务系统
- Checkpoints and rollback · Checkpoint、恢复与回滚
- Read-only Viewer · 只读可视化界面
- Architecture overview · 总体架构
- Storage and data model · 存储与数据模型
- Retrieval and indexing · 检索与索引设计
- Graph projection and performance · 图投影与性能设计
- MCP, Hooks, and AgentTarget design · MCP、Hook 与 AgentTarget 设计
- Safety and trust boundaries · 安全模型与信任边界
- Maintenance and diagnostics · 维护与诊断
- Troubleshooting and FAQ · 故障排查与常见问题
- Migration and compatibility · 迁移与版本兼容
- Support and issue reporting · 获取帮助与问题反馈
- CLI and configuration reference · CLI 与配置参考
- JSON output and error contract · JSON 输出与错误契约
- Limits and glossary · 系统限制与术语表
- Contributing and development · 贡献与开发指南
- Testing and release process · 测试与发布流程
- Wiki style guide · Wiki 编写规范