diff --git a/HUB_STATUS.md b/HUB_STATUS.md deleted file mode 100644 index 3cc8ce1a..00000000 --- a/HUB_STATUS.md +++ /dev/null @@ -1,86 +0,0 @@ -# AITBC Repository - Hub Status - -## 🚨 IMPORTANT: This repository is now a HUB ONLY - -This repository is no longer a development environment. It serves as a **hub between Gitea and GitHub** for: - -- Code synchronization between Gitea and GitHub -- Issue tracking and project management -- Documentation storage -- Release management - -## ❌ Removed Components - -All localhost development services have been removed: - -### Services Removed -- aitbc-agent-coordinator.service -- aitbc-agent-registry.service -- aitbc-ai-service.service -- aitbc-blockchain-node-test.service -- aitbc-coordinator-api.service -- aitbc-exchange.service -- aitbc-explorer.service -- aitbc-marketplace-enhanced.service - -### Directories Removed (Runtime Components Only) -- Runtime virtual environments (`.venv/`) -- Application logs and data files -- Systemd service files -- Python bytecode cache files - -### Directories Preserved (Source Code) -- `/apps/` - Application source code (preserved for hub operations) -- `/cli/` - Command line interface source code (preserved for hub operations) -- `/infra/` - Infrastructure configuration (preserved for hub operations) -- `/scripts/` - Development and deployment scripts (preserved for hub operations) -- `/dev/` - Development environment setup (preserved for hub operations) -- `/config/` - Configuration templates (preserved for hub operations) - -### System Changes -- All systemd service files removed -- All Python bytecode cache files cleaned -- All running processes stopped - -## ✅ What Remains - -The repository now contains source code and hub infrastructure: - -- **Source Code** in `/apps/`, `/cli/`, `/packages/`, `/contracts/`, `/plugins/` -- **Documentation** in `/docs/` -- **Tests** in `/tests/` -- **Infrastructure** in `/infra/` (deployment configs, Helm charts, Terraform) -- **Scripts** in `/scripts/` (development, deployment, maintenance) -- **Development Setup** in `/dev/` (environment configuration) -- **Website** in `/website/` -- **Git configuration** for hub operations -- **CI/CD workflows** for automated sync - -## 🔄 Hub Operations - -This repository now operates as: - -1. **Gitea ↔ GitHub Sync**: Automatic bidirectional synchronization -2. **Issue Management**: Centralized issue tracking -3. **Release Management**: Automated release publishing -4. **Documentation Hub**: Central documentation storage - -## 🚫 No Local Development - -**DO NOT** attempt to run AITBC services locally. All development should happen in: -- Containerized environments -- Remote servers -- Cloud deployments - -## 📞 Support - -For development environments and deployments, refer to: -- Production deployment guides in `/docs/` -- Container setups in `/deployment/` -- Release notes in `/RELEASE_v*.md` - ---- - -**Status**: Hub-Only Configuration -**Last Updated**: 2026-03-23 -**Purpose**: Gitea ↔ GitHub Synchronization Hub diff --git a/README.md b/README.md index 00a6143c..e47080fb 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # AITBC — AI Agent Compute Network 🤖 -> 🚨 **IMPORTANT**: This repository is now a **hub-only** environment serving as a bridge between Gitea and GitHub. All local development services have been removed. See [HUB_STATUS.md](HUB_STATUS.md) for details. - **Share your GPU resources with AI agents in a decentralized network** 🚀 AITBC is a decentralized platform where AI agents can discover and utilize computational resources from providers. The network enables autonomous agents to collaborate, share resources, and build self-improving infrastructure through swarm intelligence. diff --git a/RELEASE_v0.2.1.md b/RELEASE_v0.2.1.md deleted file mode 100644 index 9e609ebf..00000000 --- a/RELEASE_v0.2.1.md +++ /dev/null @@ -1,60 +0,0 @@ -# AITBC v0.2.1 Release Notes - -## 🎯 Overview -AITBC v0.2.1 is a **maintenance and enhancement release** that brings blockchain synchronization improvements, centralized configuration management, and enhanced CLI capabilities to the AI Trusted Blockchain Computing platform. - -## 🚀 New Features - -### 🔗 Blockchain Enhancements -- **Centralized Configuration**: Unified configuration management system -- **Enhanced Synchronization**: Improved blockchain node synchronization with CLI tools -- **Sync CLI Commands**: New `aitbc sync` command group for blockchain operations -- **Genesis Management**: Enhanced genesis block configuration and management - -### �️ CLI Improvements -- **Sync Command Group**: Complete blockchain synchronization commands -- **Enhanced Genesis Commands**: Improved genesis block management -- **Configuration Updates**: Streamlined configuration handling - -### 🔧 Technical Improvements -- **Environment Configuration**: Updated `.env.example` with new settings -- **Sync CLI Tool**: New standalone synchronization utility -- **Enhanced Main CLI**: Improved command routing and integration - -## 📊 Statistics -- **Total Commits**: 327+ -- **New Features**: 5 -- **Enhancements**: 8 -- **Configuration Updates**: 3 - -## 🔗 Changes from v0.2.0 -- Added blockchain synchronization CLI commands -- Implemented centralized configuration management -- Enhanced genesis block management -- Updated environment configuration template -- Improved sync performance and reliability - -## 🚦 Migration Guide -1. Pull latest updates: `git pull` -2. Update configuration: Copy new `.env.example` settings -3. Test sync commands: `aitbc sync --help` -4. Verify genesis configuration: `aitbc genesis status` - -## 🐛 Bug Fixes -- Fixed blockchain synchronization issues -- Resolved configuration management problems -- Improved CLI command reliability - -## 🎯 What's Next -- Enhanced multi-chain support -- Advanced agent orchestration -- Performance optimizations -- Security enhancements - -## 🙏 Acknowledgments -Special thanks to the AITBC community for contributions, testing, and feedback. - ---- -*Release Date: March 22, 2026* -*License: MIT* -*GitHub: https://github.com/oib/AITBC* diff --git a/RELEASE_v0.2.2.md b/RELEASE_v0.2.2.md index 21b97946..dad65921 100644 --- a/RELEASE_v0.2.2.md +++ b/RELEASE_v0.2.2.md @@ -29,17 +29,17 @@ AITBC v0.2.2 is a **documentation and repository management release** that focus - **Cleanup Operations**: 3 ## 🔗 Changes from v0.2.1 -- Added HUB_STATUS.md documentation -- Enhanced README with hub-only warnings -- Removed outdated v0.2.0 release notes +- Removed outdated v0.2.0 release notes file +- Removed Docker removal summary from README - Improved project documentation structure - Streamlined repository management +- Enhanced README clarity and organization ## 🚦 Migration Guide 1. Pull latest updates: `git pull` -2. Review HUB_STATUS.md for repository information -3. Check README for updated project information -4. Verify documentation structure +2. Check README for updated project information +3. Verify documentation structure +4. Review updated release notes ## 🐛 Bug Fixes - Fixed documentation inconsistencies diff --git a/pyproject.toml.backup b/pyproject.toml.backup deleted file mode 100644 index f1d69126..00000000 --- a/pyproject.toml.backup +++ /dev/null @@ -1,181 +0,0 @@ -[tool.pytest.ini_options] -# Test discovery -python_files = ["test_*.py", "*_test.py"] -python_classes = ["Test*"] -python_functions = ["test_*"] - -# Cache directory - prevent root level cache -cache_dir = "dev/cache/.pytest_cache" - -# Test paths to run - include all test directories across the project -testpaths = [ - "tests", - "apps/blockchain-node/tests", - "apps/coordinator-api/tests", - "apps/explorer-web/tests", - "apps/pool-hub/tests", - "apps/wallet-daemon/tests", - "apps/zk-circuits/test", - "cli/tests", - "contracts/test", - "packages/py/aitbc-crypto/tests", - "packages/py/aitbc-sdk/tests", - "packages/solidity/aitbc-token/test", - "scripts/test" -] - -# Python path for imports -pythonpath = [ - ".", - "packages/py/aitbc-crypto/src", - "packages/py/aitbc-crypto/tests", - "packages/py/aitbc-sdk/src", - "packages/py/aitbc-sdk/tests", - "apps/coordinator-api/src", - "apps/coordinator-api/tests", - "apps/wallet-daemon/src", - "apps/wallet-daemon/tests", - "apps/blockchain-node/src", - "apps/blockchain-node/tests", - "apps/pool-hub/src", - "apps/pool-hub/tests", - "apps/explorer-web/src", - "apps/explorer-web/tests", - "cli", - "cli/tests" -] - -# Additional options for local testing -addopts = [ - "--verbose", - "--tb=short", - "--strict-markers", - "--disable-warnings", - "-ra" -] - -# Custom markers -markers = [ - "unit: Unit tests (fast, isolated)", - "integration: Integration tests (may require external services)", - "slow: Slow running tests", - "cli: CLI command tests", - "api: API endpoint tests", - "blockchain: Blockchain-related tests", - "crypto: Cryptography tests", - "contracts: Smart contract tests", - "e2e: End-to-end tests (full system)", - "performance: Performance tests (measure speed/memory)", - "security: Security tests (vulnerability scanning)", - "gpu: Tests requiring GPU resources", - "confidential: Tests for confidential transactions", - "multitenant: Multi-tenancy specific tests" -] - -# Environment variables for tests -env = [ - "AUDIT_LOG_DIR=/tmp/aitbc-audit", - "DATABASE_URL=sqlite:///./test_coordinator.db", - "TEST_MODE=true", - "SQLITE_DATABASE=sqlite:///./test_coordinator.db" -] - -# Warnings -filterwarnings = [ - "ignore::UserWarning", - "ignore::DeprecationWarning", - "ignore::PendingDeprecationWarning", - "ignore::pytest.PytestUnknownMarkWarning", - "ignore::pydantic.PydanticDeprecatedSince20", - "ignore::sqlalchemy.exc.SADeprecationWarning" -] - -# Asyncio configuration -asyncio_default_fixture_loop_scope = "function" - -# Import mode -import_mode = "append" - -[project] -name = "aitbc-cli" -version = "0.1.0" -description = "AITBC Command Line Interface Tools" -authors = [ - {name = "AITBC Team", email = "team@aitbc.net"} -] -readme = "cli/README.md" -license = "MIT" -requires-python = ">=3.13" -dependencies = [ - "click==8.3.1", - "httpx==0.28.1", - "pydantic==2.12.5", - "pyyaml==6.0.3", - "rich==13.7.0", - "keyring==25.7.0", - "cryptography==46.0.5", - "click-completion==0.5.2", - "tabulate==0.9.0", - "colorama==0.4.6", - "python-dotenv==1.0.0", - "asyncpg==0.31.0", - # Dependencies for service module imports (coordinator-api services) - "numpy>=1.26.0", - "pandas>=2.0.0", - "aiohttp>=3.9.0", - "fastapi>=0.111.0", - "uvicorn[standard]>=0.30.0" -] -classifiers = [ - "Development Status :: 4 - Beta", - "Intended Audience :: Developers", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "Operating System :: OS Independent", - "Topic :: Software Development :: Libraries :: Python Modules", - "Topic :: System :: Distributed Computing", -] - -[project.optional-dependencies] -dev = [ - "pytest==9.0.2", - "pytest-asyncio==0.21.1", - "pytest-cov==7.0.0", - "pytest-mock==3.15.1", - "black==24.3.0", -"isort==8.0.1", - "ruff==0.15.5", - "mypy==1.8.0", - "bandit==1.7.5", - "types-requests==2.31.0", - "types-setuptools==69.0.0", - "types-PyYAML==6.0.12", - "sqlalchemy[mypy]==2.0.25" -] - -[project.scripts] -aitbc = "aitbc_cli.main:cli" - -[project.urls] -Homepage = "https://aitbc.net" -Repository = "https://github.com/aitbc/aitbc" -Documentation = "https://docs.aitbc.net" - -[build-system] -requires = ["setuptools>=61.0", "wheel"] -build-backend = "setuptools.build_meta" - -[tool.setuptools.packages.find] -where = ["cli", "apps/coordinator-api"] -include = ["aitbc_cli*", "aitbc*"] - -[tool.setuptools.package-dir] -"aitbc_cli" = "cli/aitbc_cli" -"aitbc" = "apps/coordinator-api/aitbc" - -[dependency-groups] -dev = [ - "mypy (>=1.19.1,<2.0.0)" -]