Drop Felix references; harness stands as a platform on its own
Removes every Felix mention from public-facing surfaces so the framework reads as a standalone agent platform rather than an extracted module. User-visible changes: - HTTP User-Agent on web_fetch / web_search: Felix/1.0 → harness/1.0 - bash tool path-substitution prefix: '[felix]' → '[harness]' - On-disk paths: <workspace>/.felix/ → <workspace>/.harness/ (todos.json + spill/ tree); tests updated in lockstep. - OTel trace attributes: felix.trace_id / felix.total_ms / felix.phase_count → harness.* equivalents. Doc-comment changes: - Examples (lta-agent, data-agent) lose 'non-Felix consumer' framing. - README drops the 'extracted from Felix' lede and the 'What was lifted from Felix' section, replaced with a 'Design' overview that points to developer.md. - Runtime / tool / compaction doc comments rewritten so behaviour notes describe what the harness does without naming the prior origin. - Test-fixture text 'you are felix' → 'you are an assistant'. Verified: zero 'felix' (case-insensitive) in tracked .go / .md files. All 16 packages build and pass tests.
This commit is contained in:
1 parent
8ed38d7b66
commit
123a233cb7
22 files changed
+107
-85
No files matched your search
+4
-4
@@ -14,12 +14,12 @@ import (
|
||||
//
|
||||
// Mirrors the path layout used by spillToolResult in context.go:
|
||||
//
|
||||
// <workspace>/.felix/spill/<sessionKey>/
|
||||
// <workspace>/.harness/spill/<sessionKey>/
|
||||
func SpillDirForSession(workspace, sessionKey string) string {
|
||||
if workspace == "" || sessionKey == "" {
|
||||
return ""
|
||||
}
|
||||
return filepath.Join(workspace, ".felix", "spill", sessionKey)
|
||||
return filepath.Join(workspace, ".harness", "spill", sessionKey)
|
||||
}
|
||||
|
||||
// RemoveSessionSpill removes the per-session spill directory if it exists.
|
||||
@@ -42,7 +42,7 @@ func SpillRoot(workspace string) string {
|
||||
if workspace == "" {
|
||||
return ""
|
||||
}
|
||||
return filepath.Join(workspace, ".felix", "spill")
|
||||
return filepath.Join(workspace, ".harness", "spill")
|
||||
}
|
||||
|
||||
// LiveSessionKeysFn returns the set of currently-existing session keys for
|
||||
@@ -51,7 +51,7 @@ func SpillRoot(workspace string) string {
|
||||
// session JSONL on disk).
|
||||
type LiveSessionKeysFn func() (map[string]bool, error)
|
||||
|
||||
// CleanupOrphanedSpills walks <workspace>/.felix/spill/ and removes any
|
||||
// CleanupOrphanedSpills walks <workspace>/.harness/spill/ and removes any
|
||||
// per-session subdirectory whose key is not in the set returned by liveKeys.
|
||||
// Returns the number of directories removed and the first error encountered
|
||||
// (if any). Missing root is not an error — it just means nothing to clean.
|
||||
|
||||
Reference in new issue
Block a user