chore: drop hive-mind provenance notes from comments (P2.2)
Comments that pointed at hive-mind-core files, the hive-mind OSS mirror and its drift triage now describe the code as it is. The in-process reranker caches its model in ~/.waggle/models, like the embedder, when the caller passes no directory; the sidecar always passes one.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
/**
|
||||
* frame.source provenance vocabulary.
|
||||
*
|
||||
* The `memory_frames.source` column persists exactly 5 values (the DB CHECK
|
||||
* constraint at `packages/hive-mind-core/src/mind/schema.ts:57`). The server
|
||||
* The memory `source` field carries exactly 5 values. The server
|
||||
* projects the raw string; the FE owns the friendly label/description map
|
||||
* (recon 01 §5). Single source of truth for the ⬡ provenance pill across
|
||||
* Workspace Overview, Chat activity steps, and the Memory-Trust screen.
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
// `@waggle/shared`, mirroring the memory contract's kinds). This module maps each kind to (a) a human label for Memory
|
||||
// Center filter chips / cards (S04) and (b) an onboarding Memory Review grouping
|
||||
// bucket (S16). The server-side `ImportItemType → MemoryKind` normalization lives
|
||||
// in the sidecar harvest layer (Phase 2B), NOT here — the build order forbids
|
||||
// `@waggle/shared` from importing the hive-mind-core `ImportItemType` union.
|
||||
// in the sidecar harvest layer (Phase 2B), NOT here.
|
||||
//
|
||||
// Pure functions only; no side effects. The `Record<MemoryKind, …>` map is the
|
||||
// safety net: tsc fails if a new `MemoryKind` member is added without a mapping.
|
||||
|
||||
@@ -53,7 +53,7 @@ export function promptArgsForTool(toolId: string, prompt: string): string[] | nu
|
||||
case 'claude-code':
|
||||
return ['--print', p];
|
||||
|
||||
// OpenClaw: Claude Code fork (hive-mind-hooks-openclaw exists).
|
||||
// OpenClaw: Claude Code fork.
|
||||
// Same --print flag inherited from the upstream CLI convention.
|
||||
case 'openclaw':
|
||||
return ['--print', p];
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
/**
|
||||
* W4B (F22) — shared memory-text normalizer for DISPLAY-LAYER dedup.
|
||||
*
|
||||
* The substrate (`packages/hive-mind-core/src/mind/frames.ts` `findDuplicate`)
|
||||
* dedupes only on an exact content hash, so two writes that differ by a single
|
||||
* The memory store dedupes only on exact text in the same scope, so two writes that differ by a single
|
||||
* embedded volatile token — a benchmark/audit-run id, a UUID, a timestamp — land
|
||||
* as separate frames and surface to the user as near-identical duplicates.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user