MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / project_slug

Function project_slug

eval/hermetic/score.py:59–62  ·  view source on GitHub ↗

Claude Code stores transcripts under projects/ where slug is the absolute cwd with path separators replaced by dashes.

(cwd: str)

Source from the content-addressed store, hash-verified

57
58
59def project_slug(cwd: str) -> str:
60 """Claude Code stores transcripts under projects/<slug> where slug is the
61 absolute cwd with path separators replaced by dashes."""
62 return cwd.replace("/", "-")
63
64
65def find_transcript(config_dir: Path, cwd: str, session_id: str | None) -> Path | None:

Callers 1

find_transcriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected