Extract execution context