Skip to content

Commit 50d2912

Browse files
committed
refactor: remove external agent references, present yaad as standalone product
Remove all mentions of Claude Code, Cursor, Windsurf, Hawk and "coding agent" branding. Yaad is now presented as a graph-native memory system — agent integration comes later.
1 parent 01564e3 commit 50d2912

10 files changed

Lines changed: 14 additions & 17 deletions

File tree

cmd/yaad/admin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ var doctorCmd = &cobra.Command{
108108
break
109109
}
110110
}
111-
check("agent MCP config found", hasMCP, "run: yaad setup <agent> (e.g. yaad setup hawk)")
111+
check("agent MCP config found", hasMCP, "run: yaad setup <agent>")
112112

113113
_, err = os.Stat(filepath.Join(dir, ".git"))
114114
check("git repository (for staleness detection)", err == nil, "run: git init")

cmd/yaad/bridge.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818

1919
var hookCmd = &cobra.Command{
2020
Use: "hook [event]",
21-
Short: "Auto-capture hook (called by coding agents)",
21+
Short: "Auto-capture hook for lifecycle events",
2222
Args: cobra.ExactArgs(1),
2323
Run: func(cmd *cobra.Command, args []string) {
2424
eng := openEngine()

cmd/yaad/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ func main() {
1616

1717
var rootCmd = &cobra.Command{
1818
Use: "yaad",
19-
Short: "Memory for coding agents",
20-
Long: "Yaad (याद) — model-agnostic, graph-native memory for coding agents",
19+
Short: "Graph-native memory system",
20+
Long: "Yaad (याद) — model-agnostic, graph-native memory system",
2121
Run: func(cmd *cobra.Command, args []string) {
2222
// Default: start REST server
2323
serveCmd.Run(cmd, args)

integration_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ func TestPhase4HooksAndReplay(t *testing.T) {
273273
runner := hooks.New(eng, dir)
274274

275275
// SessionStart
276-
in := &hooks.HookInput{Agent: "claude-code", Project: dir}
276+
in := &hooks.HookInput{Agent: "test-agent", Project: dir}
277277
if err := runner.SessionStart(context.Background(), in); err != nil {
278278
t.Fatalf("SessionStart: %v", err)
279279
}
@@ -283,7 +283,7 @@ func TestPhase4HooksAndReplay(t *testing.T) {
283283
ToolName: "Write",
284284
ToolInput: "src/auth.ts",
285285
ToolOutput: "wrote JWT middleware",
286-
Agent: "claude-code",
286+
Agent: "test-agent",
287287
}
288288
if err := runner.PostToolUse(context.Background(), toolIn); err != nil {
289289
t.Fatalf("PostToolUse: %v", err)
@@ -303,7 +303,7 @@ func TestPhase4HooksAndReplay(t *testing.T) {
303303
}
304304

305305
// SessionEnd
306-
endIn := &hooks.HookInput{Summary: "Implemented JWT auth middleware", Agent: "claude-code"}
306+
endIn := &hooks.HookInput{Summary: "Implemented JWT auth middleware", Agent: "test-agent"}
307307
if err := runner.SessionEnd(context.Background(), endIn); err != nil {
308308
t.Fatalf("SessionEnd: %v", err)
309309
}

internal/bench/bench.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func findRank(nodes []*storage.Node, qa QA) int {
102102
return 0
103103
}
104104

105-
// DefaultQAs returns a built-in set of coding-agent memory QA pairs.
105+
// DefaultQAs returns a built-in set of memory QA pairs.
106106
// Covers the same categories as LongMemEval: single-hop, multi-hop, temporal, preference.
107107
func DefaultQAs() []QA {
108108
return []QA{

internal/config/config.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ type GitConfig struct {
5959
}
6060

6161
// LLMConfig is optional. Yaad is a memory layer — it does NOT call LLMs directly.
62-
// The coding agent (Hawk, Claude Code, Cursor, etc.) handles all LLM calls.
63-
// This config is reserved for future agent-triggered summarization hooks.
62+
// This config is reserved for future summarization hooks.
6463
type LLMConfig struct {
6564
Enabled bool `toml:"enabled"`
6665
Provider string `toml:"provider"`

internal/hooks/runner.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Package hooks implements auto-capture hooks for coding agents.
2-
// Hooks are invoked by the agent at key lifecycle events and automatically
1+
// Package hooks implements auto-capture hooks for lifecycle events.
2+
// Hooks are invoked at key lifecycle events and automatically
33
// capture observations into the Yaad memory graph.
44
package hooks
55

@@ -79,7 +79,7 @@ func (r *Runner) SessionStart(ctx context.Context, in *HookInput) error {
7979
fmt.Fprintf(os.Stderr, "yaad: warning: could not write session file: %v\n", err)
8080
}
8181

82-
// Get context and print to stdout (Claude Code injects stdout into session)
82+
// Get context and print to stdout for injection into the session
8383
result, err := r.eng.Context(ctx, r.project)
8484
if err != nil {
8585
return err

internal/ingest/dual_stream.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// Based on MAGMA (arxiv:2601.03236) and GAM (arxiv:2604.12285).
33
//
44
// Yaad is a memory layer — it does NOT call LLM APIs directly.
5-
// The coding agent (Hawk, Claude Code, Cursor, etc.) handles the LLM.
65
// Yaad stores, retrieves, and organizes memories.
76
//
87
// Fast path (sync): non-blocking — store node + temporal edge, return immediately.
@@ -111,7 +110,6 @@ func (ds *DualStream) startWorker() {
111110

112111
// slowPath performs heuristic causal inference in the background.
113112
// No LLM calls — Yaad is a memory layer, not an LLM client.
114-
// The coding agent handles LLM; Yaad handles memory structure.
115113
func (ds *DualStream) slowPath(job SlowPathJob) {
116114
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
117115
defer cancel()

internal/storage/sqlite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type Edge struct {
3232
CreatedAt time.Time
3333
}
3434

35-
// Session tracks a coding agent session.
35+
// Session tracks a session.
3636
type Session struct {
3737
ID, Project, Summary, Agent string
3838
StartedAt, EndedAt time.Time

internal/tui/tui.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func (m Model) viewDashboard() string {
244244
var sb strings.Builder
245245

246246
// Header
247-
sb.WriteString(titleStyle.Render("याद Yaad") + " " + dimStyle.Render("Memory for Coding Agents") + "\n\n")
247+
sb.WriteString(titleStyle.Render("याद Yaad") + " " + dimStyle.Render("Graph-Native Memory System") + "\n\n")
248248

249249
// Stats
250250
if m.stats != nil {

0 commit comments

Comments
 (0)