Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 8s
CLI Tests / test-cli (push) Successful in 10s
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m22s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 1m11s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 1m13s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 5s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 5s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 3s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Cross-Node Transaction Testing / transaction-test (push) Successful in 5s
Deploy to Testnet / deploy-testnet (push) Successful in 1m14s
Contract Performance Benchmarks / compare-benchmarks (push) Has been cancelled
Documentation Validation / validate-docs (push) Failing after 10s
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Has been cancelled
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Has been cancelled
Smart Contract Tests / test-foundry (push) Has been cancelled
Smart Contract Tests / lint-solidity (push) Has been cancelled
Smart Contract Tests / deploy-contracts (push) Has been cancelled
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 45s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Failing after 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 5s
P2P Network Verification / p2p-verification (push) Successful in 3s
Production Tests / Production Integration Tests (push) Failing after 7s
Python Tests / test-python (push) Failing after 46s
Staking Tests / test-staking-service (push) Failing after 2s
Staking Tests / test-staking-integration (push) Has been skipped
Staking Tests / test-staking-contract (push) Has been skipped
Staking Tests / run-staking-test-runner (push) Has been skipped
Systemd Sync / sync-systemd (push) Successful in 21s
API Endpoint Tests / test-api-endpoints (push) Failing after 12m19s
- Changed pytest calls to use `venv/bin/python -m pytest` with explicit config - Added `--rootdir "$PWD"` and `--import-mode=importlib` for consistent imports - Fixed PYTHONPATH to use absolute paths with $PWD prefix - Added smart contract security scanning for Solidity files - Added Circom circuit security checks for ZK proof circuits - Added ZK proof implementation security validation - Added contracts/** to security scanning workflow
6.1 KiB
6.1 KiB
Scripts Directory Organization
Overview
The AITBC scripts directory has been reorganized into functional categories for better maintainability and navigation.
Directory Structure
📁 github/
GitHub and Git-related operations
all-prs-merged-summary.md- Summary of merged pull requestsgitea-changes-review.md- Gitea repository changes reviewgithub-push-ready-summary.md- GitHub push readiness summarypr40-resolution-complete.md- PR #40 resolution documentationsolve-github-prs.sh- GitHub PR resolution scriptsolve-prs-with-poetry.sh- PR resolution with Poetry dependency management
📁 sync/
Synchronization and data replication
bulk_sync.sh- Bulk synchronization operationsfast_bulk_sync.sh- Fast bulk synchronizationsync_detector.sh- Synchronization detection and monitoringsync-systemd.sh- SystemD service synchronization
📁 security/
Security and audit operations
security_audit.py- Comprehensive security audit scriptsecurity_monitor.sh- Security monitoring and alerting
📁 monitoring/
System and service monitoring
health_check.sh- System health checkslog_monitor.sh- Log file monitoringnetwork_monitor.sh- Network monitoringmonitor-prs.py- Pull request monitoringnightly_health_check.sh- Nightly health check automationproduction_monitoring.sh- Production environment monitoring
📁 maintenance/
System maintenance and cleanup
cleanup-root-directory.sh- Root directory cleanupfinal-cleanup.sh- Final cleanup operationsperformance_tune.sh- Performance tuningweekly_maintenance.sh- Weekly maintenance tasks
📁 deployment/
Deployment and provisioning
build-release.sh- Release building automationdeploy_hermes_dao.py- hermes DAO deploymentprovision_node.sh- Node provisioningcomplete-agent-protocols.sh- Complete agent protocols deploymentdeploy.sh- General deployment scriptproduction-deploy.sh- Production deploymentimplement-agent-protocols.sh- Agent protocols implementationimplement-ai-trading-analytics.sh- AI trading analytics implementation
📁 testing/
Testing and quality assurance
comprehensive_e2e_test_fixed.py- Comprehensive E2E testingtest_workflow.sh- Workflow testingdebug-services.sh- Service debuggingdrain_test.py- Drain testingqa-cycle.py- QA cycle automationquick_test.py- Quick testingrun_all_tests.sh- All tests runnerrun_test.py- Test runnerscalability_validation.py- Scalability validationsimple-test.sh- Simple testingtest-all-services.sh- All services testingtest-permissions.sh- Permission testing
📁 utils/
Utility scripts and helpers
deploy_common.sh- Shared deployment bootstrap helperslink-systemd.sh- SystemD linkingmanage-services.sh- Service managementrequirements_migrator.py- Requirements migrationsetup.sh- System setupworkspace-manager.sh- Workspace managementcheck-aitbc-services.sh- AITBC services checkingcheck-documentation-requirements.sh- Documentation requirements checkingclaim-task.py- Task claimingclean-sudoers-fix.sh- Sudoers cleanupcleanup_fake_gpus_db.py- Fake GPU database cleanupcleanup_fake_gpus.py- Fake GPU cleanupcomplete-permission-fix.sh- Complete permission fixescreate_structured_issue.py- Structured issue creationdeploy_enhanced_genesis.py- Enhanced genesis deploymentdetect-aitbc-user.sh- AITBC user detectionend_to_end_workflow.py- End-to-end workflowfinal-sudoers-fix.sh- Final sudoers fixesfix_database_persistence.py- Database persistence fixesfix_gpu_release.py- GPU release fixesfix-permissions.sh- Permission fixesfix-startup-issues.sh- Startup issue fixesfix-sudoers-syntax.sh- Sudoers syntax fixesgenerate-api-keys.py- API key generationgit_helper.sh- Git helper functionsgit-pre-commit-hook.sh- Git pre-commit hookinit_production_genesis.py- Production genesis initializationkeystore.py- Keystore managementorganize-dev-logs.sh- Development logs organizationpr-conflict-resolution-summary.md- PR conflict resolution summaryquick-fix.sh- Quick fixesrun_comprehensive_planning_cleanup.py- Comprehensive planning cleanuprun_documentation_conversion.sh- Documentation conversionrun_enhanced_planning_analysis.py- Enhanced planning analysisrun_enhanced_planning_cleanup.py- Enhanced planning cleanuprun_master_planning_cleanup.py- Master planning cleanuprun_planning_cleanup.py- Planning cleanuprun_production_node.py- Production node runnersecurity_hardening.sh- Security hardeningsetup-dev-permissions.sh- Development permissions setupsetup_production.py- Production setupsync.sh- Synchronizationupdate-docs.sh- Documentation updatesvalidate-requirements.sh- Requirements validationverify-codebase-update.sh- Codebase update verificationverify-production-advanced.sh- Advanced production verification
Usage
Quick Reference
# GitHub operations
./scripts/github/solve-github-prs.sh
# System monitoring
./scripts/monitoring/health_check.sh
# Deployment
./scripts/deployment/build-release.sh
# Testing
./scripts/testing/comprehensive_e2e_test_fixed.py
# Security
./scripts/security/security_audit.py
# Maintenance
./scripts/maintenance/weekly_maintenance.sh
Finding Scripts
Use this README to locate the appropriate script for your needs:
- Identify the category (GitHub, sync, security, etc.)
- Navigate to the relevant directory
- Run the appropriate script
Benefits
- Better Organization: Scripts grouped by functionality
- Easier Navigation: Clear directory structure
- Maintainability: Related scripts grouped together
- Scalability: Easy to add new scripts to appropriate categories
- Documentation: Clear descriptions of each script's purpose
Maintenance
- Add new scripts to appropriate functional directories
- Update this README when adding new categories or scripts
- Keep script descriptions current and accurate