MCPcopy Create free account
hub / github.com/garrytan/gstack / readProfile

Function readProfile

scripts/declared-annotation.ts:71–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69}
70
71function readProfile(): DeveloperProfile | null {
72 try {
73 const p = path.join(stateRoot(), 'developer-profile.json');
74 if (!fs.existsSync(p)) return null;
75 return JSON.parse(fs.readFileSync(p, 'utf-8'));
76 } catch {
77 return null;
78 }
79}
80
81/**
82 * Determine which dimension a signal_key influences most strongly.

Callers 1

getDeclaredAnnotationFunction · 0.70

Calls 1

stateRootFunction · 0.70

Tested by

no test coverage detected