# CODEOWNERS for goffi - Zero-CGO FFI for Go
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
#
# This file defines individuals or teams responsible for code in this repository.
# Code owners are automatically requested for review when someone opens a pull request
# that modifies code they own.

# Default owner for everything in the repo
* @kolkov

# Core FFI implementation - Critical low-level functionality
/ffi/ @kolkov
/types/ @kolkov

# Internal architecture - Assembly, syscalls, runtime integration
/internal/arch/ @kolkov
/internal/syscall/ @kolkov
/internal/runtime/ @kolkov
/internal/fakecgo/ @kolkov
/internal/dl/ @kolkov

# CGO_ENABLED=1 code path - @jiyeyuran maintains dual-mode support
/internal/dl/cgo.go @kolkov @jiyeyuran
/internal/syscall/cgo.go @kolkov @jiyeyuran
/ffi/callback_cthread_test.go @kolkov @jiyeyuran

# Android ARM64 Bionic - @besmpl maintains Android platform support
/ffi/*android* @kolkov @besmpl
/internal/dl/*android* @kolkov @besmpl
/internal/fakecgo/*android* @kolkov @besmpl
/internal/syscall/*android* @kolkov @besmpl
/docs/ANDROID.md @kolkov @besmpl
/scripts/check-android-arm64.sh @kolkov @besmpl
/testdata/android_abi_probe.c @kolkov @besmpl

# Examples - Reference implementations
/examples/ @kolkov

# Experiments - Research and prototypes
/experiments/ @kolkov

# Documentation - Keep up to date with code changes
*.md @kolkov
/docs/ @kolkov

# GitHub configuration and CI/CD
/.github/ @kolkov

# Code quality and linting configuration
/.golangci.yml @kolkov
/Makefile @kolkov

# Tests - Ensure coverage and reliability
*_test.go @kolkov

# Release management - Version control and changelog
/CHANGELOG.md @kolkov
/ROADMAP.md @kolkov
/API_TODO.md @kolkov

# Contributing guidelines
/CONTRIBUTING.md @kolkov

# Go module files - Dependency management
/go.mod @kolkov
/go.sum @kolkov

# License - Legal protection
/LICENSE @kolkov
