Skip to content

Commit bb4bb4a

Browse files
committed
refactor: remove role description and key from CLAUDE.md
1 parent e11a569 commit bb4bb4a

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎CLAUDE.md‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# agentdiff — Project Context for Claude
22

3-
## Role
4-
Work on this as a senior engineer. The bar is production quality: correct attribution logic, no edge-case misattribution, clean diffs. Argue when you think a direction is wrong, but ship it working.
5-
63
## Project summary
74
`agentdiff` is a Rust + Python CLI that tracks which AI agent (claude-code, cursor, opencode, copilot, etc.) wrote which lines of code in a git repo. It hooks into agent tool callbacks, captures to `session.jsonl`, then on commit runs `prepare-ledger.py` → `finalize-ledger.py` to produce signed `AgentTrace` records in `.git/agentdiff/traces/{branch}.jsonl`.
85

@@ -18,8 +15,3 @@ Work on this as a senior engineer. The bar is production quality: correct attrib
1815
- Files with no session evidence → `agent = "human"`, must be explicit in attribution dict
1916
- `agent = "human"` in payload is the semantic token; `git_author` holds the display name
2017
- `contributor.type = "human"` iff `file_agent == "human"` — never infer from tool name
21-
22-
## Key gotchas learned the hard way
23-
- Scripts installed to `~/.agentdiff/scripts/` must be manually synced after edits: `cp scripts/*.py ~/.agentdiff/scripts/`
24-
- `load_entries()` in store.rs must NOT load session.jsonl — only traces; uncommitted path uses `load_uncommitted_entries()`
25-
- Configure steps must check directory existence (e.g. `~/.cursor/`), not config file existence — create the file if absent

0 commit comments

Comments
 (0)