fix: remove stale knowledge guidance
This commit is contained in:
parent
f786e01997
commit
ad66650369
|
|
@ -154,7 +154,7 @@ fn base_tool_description(name: &str) -> &'static str {
|
||||||
/// Build the model-visible Ticket tool description for a configured Ticket backend.
|
/// Build the model-visible Ticket tool description for a configured Ticket backend.
|
||||||
///
|
///
|
||||||
/// `record_language` is the durable Ticket record/tool-body language, distinct from
|
/// `record_language` is the durable Ticket record/tool-body language, distinct from
|
||||||
/// worker response language and Memory/Knowledge language. Keeping this on the tool
|
/// worker response language and Memory language. Keeping this on the tool
|
||||||
/// surface ensures every Ticket-capable Worker sees the policy without hidden context
|
/// surface ensures every Ticket-capable Worker sees the policy without hidden context
|
||||||
/// injection or role-launch-only prose.
|
/// injection or role-launch-only prose.
|
||||||
pub fn ticket_tool_description(name: &str, record_language: Option<&str>) -> String {
|
pub fn ticket_tool_description(name: &str, record_language: Option<&str>) -> String {
|
||||||
|
|
@ -162,7 +162,7 @@ pub fn ticket_tool_description(name: &str, record_language: Option<&str>) -> Str
|
||||||
if let Some(language) = record_language.filter(|language| !language.trim().is_empty()) {
|
if let Some(language) = record_language.filter(|language| !language.trim().is_empty()) {
|
||||||
description.push_str("\n\nTicket record language: ");
|
description.push_str("\n\nTicket record language: ");
|
||||||
description.push_str(language.trim());
|
description.push_str(language.trim());
|
||||||
description.push_str(". Use this language for durable Ticket record and Ticket tool body text, including Ticket item bodies, thread comments/plans/decisions/implementation reports, reviews, resolutions, intake summaries, and orchestration plan notes. This policy is distinct from worker.language for normal prose and memory.language for Memory/Knowledge. Preserve protocol literals, file paths, commands, logs, identifiers, and quoted external text when translation would reduce fidelity.");
|
description.push_str(". Use this language for durable Ticket record and Ticket tool body text, including Ticket item bodies, thread comments/plans/decisions/implementation reports, reviews, resolutions, intake summaries, and orchestration plan notes. This policy is distinct from worker.language for normal prose and memory.language for Memory. Preserve protocol literals, file paths, commands, logs, identifiers, and quoted external text when translation would reduce fidelity.");
|
||||||
}
|
}
|
||||||
description
|
description
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -235,7 +235,7 @@ impl InputBuffer {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Replace `atoms[start..self.cursor]` (the in-flight `@<typed>` /
|
/// Replace `atoms[start..self.cursor]` (the in-flight `@<typed>` /
|
||||||
/// `#<typed>` token) with the corresponding chip atom
|
/// active `@<typed>` file token) with the corresponding chip atom
|
||||||
/// and place the cursor right after the chip. Used by the completion
|
/// and place the cursor right after the chip. Used by the completion
|
||||||
/// confirm path.
|
/// confirm path.
|
||||||
pub fn replace_with_file_ref(&mut self, start: usize, path: String) {
|
pub fn replace_with_file_ref(&mut self, start: usize, path: String) {
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ That rule shapes the crate split. The runtime can restart, attach, compact, or d
|
||||||
- `client` contains reusable one-shot socket/runtime-command mechanics so lower crates do not depend on the product CLI.
|
- `client` contains reusable one-shot socket/runtime-command mechanics so lower crates do not depend on the product CLI.
|
||||||
- `manifest` resolves Profiles, Manifests, model/provider references, scopes, prompts, and tool permission policy into a runtime contract.
|
- `manifest` resolves Profiles, Manifests, model/provider references, scopes, prompts, and tool permission policy into a runtime contract.
|
||||||
- `tools` implements built-in tools with bounded output and policy-aware execution.
|
- `tools` implements built-in tools with bounded output and policy-aware execution.
|
||||||
- `memory` owns generated memory, Knowledge records, linting, staging, and audit observations.
|
- `memory` owns generated memory summary/decision/request records, linting, staging, and audit observations.
|
||||||
- `workspace-server` is the local Workspace control-plane seam. It can project Tickets, Workers, lifecycle, usage, and orchestration events, but browser/API operations must stay on opaque backend identities instead of raw local paths, sockets, Worker names, or session files.
|
- `workspace-server` is the local Workspace control-plane seam. It can project Tickets, Workers, lifecycle, usage, and orchestration events, but browser/API operations must stay on opaque backend identities instead of raw local paths, sockets, Worker names, or session files.
|
||||||
- `tui` is a UI over Worker authority; it should not invent durable state.
|
- `tui` is a UI over Worker authority; it should not invent durable state.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@
|
||||||
- `show` における path traversal / invalid id rejection
|
- `show` における path traversal / invalid id rejection
|
||||||
- paused/done/archived/all に対する list filtering
|
- paused/done/archived/all に対する list filtering
|
||||||
|
|
||||||
- `memory_lint.rs` には妥当な focused tests があるが、decisions と Knowledge records を明示的にはカバーしておらず、symlink/directory の特殊性、読めない file、summary fragments を超えた stdout human-output details もカバーしていない。
|
- `memory_lint.rs` には妥当な focused tests があるが、decisions を明示的にはカバーしておらず、symlink/directory の特殊性、読めない file、summary fragments を超えた stdout human-output details もカバーしていない。
|
||||||
|
|
||||||
- `session_cli.rs` は意図的に薄いが、ほとんどは最小 fixture を通じて delegated analytics output shape を検証している。より広い analytics correctness は `session-analytics` に属する。`yoi` crate には、unknown subcommands/options と duplicate path handling の test がまだない。
|
- `session_cli.rs` は意図的に薄いが、ほとんどは最小 fixture を通じて delegated analytics output shape を検証している。より広い analytics correctness は `session-analytics` に属する。`yoi` crate には、unknown subcommands/options と duplicate path handling の test がまだない。
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user