feat(index): store basepath to kernel