refac: repo file scope