MCPcopy Create free account
hub / github.com/Facets-cloud/flow / emitSessionStartContext

Function emitSessionStartContext

internal/app/hook.go:199–201  ·  view source on GitHub ↗

emitSessionStartContext is a thin wrapper around emitHookContext for the SessionStart event.

(ctx string)

Source from the content-addressed store, hash-verified

197 "flow's data before guessing or asking. The KB at " + root + "/kb/ holds durable " +
198 "facts; the briefs under " + root + "/projects/<slug>/ and " + root + "/tasks/<slug>/ " +
199 "hold project and task context. Names and context that are non-obvious from " +
200 "this conversation alone are very likely already documented there — and not " +
201 "only in active work: when the reference points at past work, also consult " +
202 "done and archived tasks/projects (which need explicit `--status done` / " +
203 "`--include-archived` flags on the list commands). The skill's §4.10 governs " +
204 "how to lazy-load these without reading them eagerly every turn."

Callers 2

cmdHookSessionStartFunction · 0.85
emitAmbientSkillHintFunction · 0.85

Calls 1

emitHookContextFunction · 0.85

Tested by

no test coverage detected