Expanded solutions (10 new industries) and products (Compliance & Data section) to cover full docs.lux.financial capability surface.
165 lines
4.1 KiB
JSON
165 lines
4.1 KiB
JSON
{
|
|
"version": "1.0.0",
|
|
"updated": "2025-09-19",
|
|
"agent_profiles": {
|
|
"cto": {
|
|
"role": "Chief Technical Officer",
|
|
"workspace": "main",
|
|
"responsibilities": [
|
|
"architectural_decisions",
|
|
"interface_definitions",
|
|
"module_boundaries",
|
|
"integration_coordination",
|
|
"code_review"
|
|
],
|
|
"permissions": {
|
|
"merge_to_main": true,
|
|
"create_releases": true,
|
|
"modify_directives": true
|
|
}
|
|
},
|
|
"dev": {
|
|
"role": "Development Agent",
|
|
"workspace": "worktree",
|
|
"responsibilities": [
|
|
"feature_implementation",
|
|
"unit_testing",
|
|
"documentation",
|
|
"performance_optimization"
|
|
],
|
|
"permissions": {
|
|
"merge_to_main": false,
|
|
"create_releases": false,
|
|
"modify_directives": false
|
|
},
|
|
"worktree_setup": {
|
|
"naming": "worktree-dev-{feature}",
|
|
"branch_prefix": "feature/",
|
|
"auto_cleanup": true
|
|
}
|
|
},
|
|
"bot": {
|
|
"role": "Automation Agent",
|
|
"workspace": "worktree",
|
|
"responsibilities": [
|
|
"automated_testing",
|
|
"benchmarking",
|
|
"security_scanning",
|
|
"ci_cd_pipeline"
|
|
],
|
|
"permissions": {
|
|
"merge_to_main": false,
|
|
"create_releases": false,
|
|
"modify_directives": false
|
|
},
|
|
"worktree_setup": {
|
|
"naming": "worktree-bot-{task}",
|
|
"branch_prefix": "bot/",
|
|
"auto_cleanup": true
|
|
}
|
|
}
|
|
},
|
|
"package_mappings": {
|
|
"forbidden": [
|
|
"github.com/ava-labs/*",
|
|
"github.com/ethereum/go-ethereum/*",
|
|
"github.com/prometheus/*",
|
|
"github.com/syndtr/goleveldb/*",
|
|
"github.com/dgraph-io/badger/*"
|
|
],
|
|
"replacements": {
|
|
"github.com/luxfi/node/snow": "luxfi/consensus",
|
|
"github.com/luxfi/node/utils/metric": "luxfi/metric",
|
|
"github.com/luxfi/node/utils/logging": "luxfi/log",
|
|
"github.com/luxfi/node/database": "luxfi/database",
|
|
"github.com/ethereum/go-ethereum": "luxfi/geth",
|
|
"github.com/prometheus/client_golang": "luxfi/metric"
|
|
}
|
|
},
|
|
"validation_rules": {
|
|
"import_check": {
|
|
"enabled": true,
|
|
"fail_on_forbidden": true,
|
|
"auto_replace": true
|
|
},
|
|
"test_coverage": {
|
|
"minimum": 80,
|
|
"required": true,
|
|
"exclude_patterns": ["*.pb.go", "*_test.go", "testdata/*"]
|
|
},
|
|
"code_quality": {
|
|
"max_function_length": 50,
|
|
"max_cyclomatic_complexity": 10,
|
|
"max_file_length": 500,
|
|
"require_godoc": true
|
|
}
|
|
},
|
|
"workflow": {
|
|
"worktree_management": {
|
|
"max_worktrees": 10,
|
|
"auto_prune_after_days": 7,
|
|
"base_path": "../",
|
|
"require_clean_tree": true
|
|
},
|
|
"pr_requirements": {
|
|
"require_tests": true,
|
|
"require_benchmarks": false,
|
|
"require_review": true,
|
|
"auto_assign_reviewers": ["cto"],
|
|
"block_merge_on_failure": true
|
|
},
|
|
"commit_standards": {
|
|
"format": "conventional",
|
|
"types": ["feat", "fix", "docs", "style", "refactor", "test", "chore"],
|
|
"scope_required": false,
|
|
"body_max_length": 100,
|
|
"enforce_signoff": true
|
|
}
|
|
},
|
|
"automation": {
|
|
"pre_commit_hooks": [
|
|
"gofmt -w",
|
|
"goimports -w",
|
|
"golangci-lint run",
|
|
"go test ./..."
|
|
],
|
|
"ci_pipeline": [
|
|
"validate_imports",
|
|
"run_tests",
|
|
"check_coverage",
|
|
"run_benchmarks",
|
|
"security_scan"
|
|
],
|
|
"deployment": {
|
|
"testnet_first": true,
|
|
"require_manual_approval": true,
|
|
"rollback_on_error": true
|
|
}
|
|
},
|
|
"monitoring": {
|
|
"metrics": {
|
|
"provider": "luxfi/metric",
|
|
"export_interval": "10s",
|
|
"retention_days": 30
|
|
},
|
|
"logging": {
|
|
"provider": "luxfi/log",
|
|
"level": "info",
|
|
"format": "json",
|
|
"include_caller": true
|
|
},
|
|
"alerts": {
|
|
"performance_regression": true,
|
|
"security_vulnerability": true,
|
|
"test_failure": true,
|
|
"coverage_drop": true
|
|
}
|
|
},
|
|
"emergency": {
|
|
"hotfix_branch_prefix": "hotfix/",
|
|
"bypass_checks": false,
|
|
"require_cto_approval": true,
|
|
"auto_rollback": true,
|
|
"notification_channels": ["slack", "email"]
|
|
}
|
|
} |