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

+5 -4
View File
@@ -44,9 +44,10 @@ func TestBuildStaticSystemPromptIdentity(t *testing.T) {
require.NoError(t, err)
// Consumers wanting "configuration file is at ..." in the static prompt
// pass it through deps.ConfigSummary; the harness no longer hard-codes
// Felix's config path. Verify the agent identity + IDENTITY.md content
// land verbatim, plus that a caller-supplied config summary is honoured.
// pass it through deps.ConfigSummary; the harness does not hard-code
// any config path of its own. Verify the agent identity + IDENTITY.md
// content land verbatim, plus that a caller-supplied config summary
// is honoured.
result := BuildStaticSystemPrompt(dir, "", "test", "Test Agent",
[]string{"read_file", "bash"}, "configuration file is at /tmp/x.json", "", "", "")
assert.Contains(t, result, identityContent)
@@ -308,7 +309,7 @@ func TestPruneToolResultsSpillsToDisk(t *testing.T) {
// Spill file lives where the marker text says it does, holds the
// full original content, and the path embedded in the message is
// absolute (so read_file's path handling works regardless of CWD).
wantPath := filepath.Join(workspace, ".felix", "spill", "sess_abc", "tc_42.txt")
wantPath := filepath.Join(workspace, ".harness", "spill", "sess_abc", "tc_42.txt")
assert.Contains(t, got, wantPath)
assert.True(t, filepath.IsAbs(wantPath))
data, err := os.ReadFile(wantPath)