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
@@ -6,11 +6,11 @@ import (
|
||||
"github.com/sausheong/harness/llm"
|
||||
)
|
||||
|
||||
// testCfg is the harness test analogue of Felix's *config.Config — bundles
|
||||
// a SubagentResolver with the small accessor helpers (EligibleSubagents,
|
||||
// GetAgent) that subagent tests reach for. Lets the subagent_test.go and
|
||||
// inheritance_test.go call sites keep their `cfg.X()` shape after the
|
||||
// extraction without rewriting every test.
|
||||
// testCfg is a tiny stand-in for whatever live-config object a real
|
||||
// consumer would hold. It bundles a SubagentResolver with the small
|
||||
// accessor helpers (EligibleSubagents, GetAgent) that subagent tests
|
||||
// reach for, so subagent_test.go and inheritance_test.go can keep
|
||||
// their `cfg.X()` call shape.
|
||||
type testCfg struct {
|
||||
specs map[string]AgentSpec
|
||||
subagent map[string]bool // id → registered as subagent
|
||||
@@ -41,7 +41,8 @@ func (c *testCfg) GetAgent(id string) (AgentSpec, bool) {
|
||||
}
|
||||
|
||||
// newTwoAgentCfg builds a fixture with a parent ("default") and one
|
||||
// subagent ("researcher"). Direct port of Felix's twoAgentConfig fixture.
|
||||
// subagent ("researcher") — the minimal shape needed to exercise the
|
||||
// task-tool dispatch path.
|
||||
func newTwoAgentCfg(t *testing.T) *testCfg {
|
||||
t.Helper()
|
||||
parent := AgentSpec{
|
||||
|
||||
Reference in new issue
Block a user