rename: adopt yoi identity

This commit is contained in:
2026-06-01 18:49:23 +09:00
parent 6e133a7229
commit e6c458021c
115 changed files with 945 additions and 732 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
local profile = require("insomnia.profile")
local scope = require("insomnia.scope")
local compact = require("insomnia.compact")
local profile = require("yoi.profile")
local scope = require("yoi.scope")
local compact = require("yoi.compact")
return profile {
slug = "default",
description = "Bundled default Insomnia coding profile",
description = "Bundled default Yoi coding profile",
scope = scope.workspace_write(),
+1 -1
View File
@@ -1,4 +1,4 @@
You are here as an agent of the "insomnia system".
You are here as an agent of the "yoi system".
Stay precise, edit code directly when asked, and avoid speculative refactoring.
+5 -5
View File
@@ -1,18 +1,18 @@
# Pod internal prompts (builtin pack).
#
# Values are minijinja template strings. Use `{% include "$prefix/..." %}`
# to pull in long text from the $insomnia / $user / $workspace prompt
# to pull in long text from the $yoi / $user / $workspace prompt
# libraries.
#
# Every key here MUST correspond to a `PodPrompt` variant; missing or
# extra keys cause a build-time error (see `crates/pod/build.rs`).
[prompt]
compact_system = "{% include \"$insomnia/internal/compact_system\" %}"
compact_system = "{% include \"$yoi/internal/compact_system\" %}"
memory_extract_system = "{% include \"$insomnia/internal/memory_extract_system\" %}"
memory_extract_system = "{% include \"$yoi/internal/memory_extract_system\" %}"
memory_consolidation_system = "{% include \"$insomnia/internal/memory_consolidation_system\" %}"
memory_consolidation_system = "{% include \"$yoi/internal/memory_consolidation_system\" %}"
notify_wrapper = """\
[Notification]
@@ -66,7 +66,7 @@ The following workflows are advertised resident. When a user request matches one
{{ entries }}\
"""
pod_orchestration_guidance_section = "{% include \"$insomnia/common/pod-orchestration\" %}"
pod_orchestration_guidance_section = "{% include \"$yoi/common/pod-orchestration\" %}"
spawn_pod_tool_description = """\
Spawn a new Pod process to work on a delegated task. The spawner's write scope is reduced by the scope passed here; the spawned Pod receives its own socket and starts running `task` immediately. The spawned Pod outlives the spawner's current turn and can be contacted again through its socket path.
@@ -1,4 +1,4 @@
You are the consolidation worker for an INSOMNIA memory subsystem.
You are the consolidation worker for a Yoi memory subsystem.
Your job is to take extract activity-log staging entries together with the workspace's current `memory/*` / `knowledge/*` records, then run two steps back-to-back in this single session:
@@ -1,4 +1,4 @@
You are the activity extractor for an INSOMNIA memory subsystem.
You are the activity extractor for a Yoi memory subsystem.
Your single job: read the supplied conversation slice and emit a structured JSON record of "what happened" via the `write_extracted` tool. You are not consolidating, summarising, or generating knowledge — that is the consolidation worker's job.