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:
sausheong committed 2026-05-08 00:24:06 +08:00
1 parent 8ed38d7b66
commit 123a233cb7
22 files changed
+107 -85

No files matched your search

+6 -4
View File
@@ -25,8 +25,9 @@ type RuntimeDeps struct {
// KGFn returns the per-agent KnowledgeGraph for the given model
// string. Nil at the call site means KG is disabled for this Runtime.
// The function shape (rather than a single KG) lets consumers route
// the chatting agent's own model to the KG's underlying LLM (Felix
// uses this to mirror the chat model into Cortex's extractor).
// the chatting agent's own model to the KG's underlying LLM — useful
// when the KG runs an extractor on the same provider/model as the
// agent itself.
KGFn func(model string) KnowledgeGraph
// AgentLoop carries the loop tunables (concurrency cap, depth cap,
// streaming-tools toggle). Copied verbatim into every Runtime built
@@ -42,8 +43,9 @@ type RuntimeDeps struct {
// changes only on hot-reload.
ConfigSummary string
// MemoryFiles, when non-empty, is appended to the static system
// prompt. Consumers compose this themselves (Felix walks
// FELIX.md / AGENTS.md from workspace + $HOME).
// prompt. Consumers compose this themselves — typical pattern is to
// concatenate AGENTS.md (and any project-specific identity files)
// from the workspace and the user's $HOME.
MemoryFiles string
}