Commit Graph

816 Commits

Author SHA1 Message Date
oib
4be6f8d5d9 Fix Concrete ML compatibility issue and improve FHE service logging
- Update requirements.txt to make concrete-ml optional with clear comment
- Enhance FHE service warning message to include Python version info
- Remove concrete-ml from mandatory dependencies due to Python 3.13 incompatibility
- Maintain full functionality with TenSEAL provider as default

This resolves the 'Concrete ML not installed' warning by providing clear
information about the version compatibility issue while preserving all
FHE functionality through the TenSEAL provider.
2026-03-05 08:13:45 +01:00
oib
8e974bf0e2 docs: update CLI test results with GPU topology clarification and mark working commands in checklist 2026-03-05 07:53:38 +01:00
oib
8125d26df3 docs: add primary CLI test results - 78% success rate with core workflow working 2026-03-05 07:42:32 +01:00
oib
b6b9ca0edb docs: add comprehensive CLI command checklist with 184 commands across 24 groups 2026-03-05 07:30:54 +01:00
oib
a25802d319 docs: update CLI documentation with complete command reference and new features 2026-03-05 07:26:31 +01:00
oib
51c1993410 fix: disable SQLModel Relationship() in domain models to prevent init errors 2026-03-05 07:16:48 +01:00
oib
89bc1ee557 fix: client result command uses /v1/jobs/{id}/result endpoint 2026-03-05 07:15:02 +01:00
oib
c3e5faa62a feat: add mine-ollama, client result, offers create commands for GPU rental flow 2026-03-05 07:05:09 +01:00
oib
5a09348ded fix: resolve sync and db query errors in Coordinator API jobs and db layers 2026-03-05 06:30:55 +01:00
oib
87591edfa0 fix: integrate missing routes and update CLI commands 2026-03-05 06:23:46 +01:00
oib
210a77d860 refactor(cli): update API endpoints to v1 versioning and add dynamic port configuration to mock server
- Update mock-cli-server.py to use dynamic port allocation (8020-8050 range)
  - Add socket-based port availability checking
  - Generate dynamic config file at cli-dev/cli-staging-config-dynamic.yaml
  - Remove docstring header and shebang
  - Update endpoint paths: /v1/marketplace/gpus → /v1/marketplace/gpu/list, /v1/agent/workflows → /v1/agents/workflows

- Standardize all CLI command API
2026-03-04 23:24:10 +01:00
oib
a200a50085 chore(config): simplify dependabot configuration and disable enhanced services for CPU-only deployment
- Simplify .github/dependabot.yml from 70 to 49 lines
  - Remove beta ecosystems, custom registries, and detailed ignore rules
  - Reduce open PR limits (npm: 10→5, github-actions: 5→3)
  - Remove custom labels and dependency-specific ignore rules
  - Consolidate npm configs from 2 directories to single root directory
  - Remove docker ecosystem configuration

- Add /health endpoint to coordinator
2026-03-04 16:43:37 +01:00
oib
b6d2f5cb17 Add comprehensive security policy for AITBC platform
- Define supported versions with security support timeline
- Establish vulnerability reporting process and procedures
- Outline security practices for development, infrastructure, and smart contracts
- Provide coordinated disclosure guidelines and credit system
- Include security best practices for node operators, developers, and users
- Add legal information and safe harbor provisions
- Create comprehensive security contacts and bug bounty program framework

This security policy helps the community understand how to securely report
security vulnerabilities and demonstrates our commitment to platform security.
2026-03-04 16:12:04 +01:00
oib
18886ae64b chore(workflows): remove agent-contributions and build-macos-packages workflow files
- Delete agent-contributions.yml (399 lines) with agent validation, rewards, swarm integration, and deployment jobs
- Delete build-macos-packages.yml (172 lines) with macOS native package build pipeline for arm64 and x86_64 targets
2026-03-04 15:48:02 +01:00
oib
2ec228e826 chore(workflows): disable all GitHub Actions workflows
- Add `workflow: disable: true` to 23 workflow files to temporarily disable CI/CD automation
- Affects agent-contributions, build-macos-packages, ci, cli-tests, comprehensive-tests, configuration-security, contracts-ci, dotenv-check, file-organization, markdown-link-check, phase8-integration, production-deploy, publish-github-packages, publish-native-packages-simple, publish-native-packages, publish-npm-packages, publish-packages-to-registry
2026-03-04 15:46:49 +01:00
oib
5534226895 refactor(ports): standardize service ports to 8000-8017 range and update CORS configurations across all services
- Update CORS allow_origins in blockchain-node app.py and gossip relay.py to use new port logic (8000-8016)
- Update coordinator-api config.py and config_pg.py with standardized port ranges and service labels
- Update coordinator-api health check script from port 18000 to 8000
- Update geo_load_balancer.py to use configurable host/port (default 0.0.0.0:8017)
- Update agent_security.py sandbox
2026-03-04 15:43:17 +01:00
oib
3df0a9ed62 chore(cleanup): remove obsolete scripts and update paths for production deployment
- Remove dev/scripts/check-file-organization.sh (obsolete organization checker)
- Remove dev/scripts/community_onboarding.py (unused 559-line automation script)
- Update gpu_miner_host.py log path from /home/oib/windsurf/aitbc to /opt/aitbc
- Add service status and standardization badges to README.md
2026-03-04 13:24:38 +01:00
oib
50954a4b31 chore(systemd): remove obsolete systemd service files and update infrastructure documentation
- Remove 8 unused systemd service files from coordinator-api/systemd/
  - aitbc-adaptive-learning.service (port 8005)
  - aitbc-advanced-ai.service
  - aitbc-enterprise-api.service
  - aitbc-gpu-multimodal.service (port 8003)
  - aitbc-marketplace-enhanced.service (port 8006)
  - aitbc-modality-optimization.service (port 8004)
  - aitbc-multimodal.service (port 8002)
  - aitbc-openclaw-enhanced.service (port 8007
2026-03-04 12:16:50 +01:00
oib
581309369d Update .gitignore for project organization and remove large backup files
- Add development environment organized structure
- Exclude large backup files (*.tar.gz, *.zip) from backup/updates/
- Remove large backup files from git tracking (112MB+ files)
- Update ignore rules for new dev/ directory structure
2026-03-03 20:57:22 +01:00
oib
dabb297fa6 chore(cleanup): remove temporary development files and organize .gitignore structure
- Remove coordinator_working.py temporary test coordinator API
- Remove fix_gossip*.patch temporary patch files (gossip2, gossip3, gossip4)
- Add header comments to .gitignore documenting project organization completion
- Add Development Environment section with dev/env/, dev/cache/, dev/scripts/ patterns
- Update Development Tests section header and add dev/multi-chain/ patterns
- Add Logs & Runtime section with dev/cache/
2026-03-03 20:53:59 +01:00
oib
f0c7cd321e docs: run automated documentation updates workflow 2026-03-03 20:48:51 +01:00
oib
0ebac91f45 fix(sync): resolve multi-chain gossip block propagation and sync across nodes 2026-03-03 19:39:52 +01:00
oib
abe13d065f fix(blockchain): fix database schema, migrations and add genesis script 2026-03-03 17:58:03 +01:00
oib
14d0ed3b44 fix(async): convert PoA proposer methods to async and update coordinator dependencies
- Convert _propose_block, _ensure_genesis_block to async methods in PoAProposer
- Add await to gossip_broker.publish calls in block broadcasting
- Add await to _ensure_genesis_block and _propose_block method calls
- Update coordinator-api Python version constraint to >=3.13,<3.15
- Add torch ^2.10.0 dependency to coordinator-api
- Add make_asgi_app import to prometheus_client in main.py
- Export new routers: global
2026-03-03 15:32:05 +01:00
oib
cabbd2d9b7 refactor(domain): standardize metadata field naming to meta_data across all models
- Rename metadata fields to meta_data for consistency across domain models
- Update agent_identity, agent_performance, agent_portfolio, amm, analytics, bounty, certification, community, cross_chain_bridge, cross_chain_reputation, decentralized_memory, miner, pricing_models, trading, and wallet models
- Rename chain_metadata to chain_meta_data in CrossChainMapping
- Rename verification_metadata to verification_meta_data
2026-03-03 15:01:48 +01:00
oib
f353e00172 chore(security): enhance environment configuration, CI workflows, and wallet daemon with security improvements
- Restructure .env.example with security-focused documentation, service-specific environment file references, and AWS Secrets Manager integration
- Update CLI tests workflow to single Python 3.13 version, add pytest-mock dependency, and consolidate test execution with coverage
- Add comprehensive security validation to package publishing workflow with manual approval gates, secret scanning, and release
2026-03-03 10:33:46 +01:00
oib
00d00cb964 docs(readme): enhance README with CLI tool documentation, GPU provider monetization focus, and performance metrics
- Add comprehensive CLI tool section with quick start guide and key features
- Add "Earn Money with Your GPU" section highlighting provider benefits and success tips
- Add CLI installation and usage examples for marketplace, agent management, and development
- Add multi-language CLI support documentation
- Add performance metrics section with response times, processing speed, and up
2026-03-02 22:36:28 +01:00
oib
7bee3f7f58 chore(gitignore): add development tests exclusion patterns
- Add dev/tests/__pycache__/ Python cache directory
- Add dev/tests/*.pyc compiled Python files
- Add dev/tests/test_results/ test output directory
- Add dev/tests/simple_test_results.json test results file
- Add dev/tests/data/ test data directory
- Add dev/tests/*.db test database files
2026-03-02 21:59:17 +01:00
oib
f086eba111 fix(pytest): remove pytest section header and configure cache directory to dev/cache/
- Remove [pytest] section header from pytest.ini configuration file
- Add cache_dir setting to store pytest cache in dev/cache/.pytest_cache instead of project root
- Prevent .pytest_cache directory creation at root level
2026-03-02 21:56:15 +01:00
oib
06e8f68cb9 chore: remove edge node configs and update paths from configs/ to config/
- Delete edge-node-aitbc.yaml primary container configuration
- Delete edge-node-aitbc1.yaml secondary container configuration
- Update docs/1_project/5_done.md path reference from configs/ to config/
- Update scripts/ops/install_miner_systemd.sh systemd service path from configs/systemd/ to config/systemd/
2026-03-02 21:56:05 +01:00
oib
3b3e93770e fix(git-hook): correct project root path and exclude .git directories from forbidden check
- Update cd path from "../.." to properly navigate to project root from scripts directory
- Add .git directory exclusion pattern to prevent false positives on git metadata
- Remove test_bad_location.py placeholder file
2026-03-02 15:50:43 +01:00
oib
d6958abdea Test prevention system fixed 2026-03-02 15:50:21 +01:00
oib
205efc0c54 Test git hook fix 2026-03-02 15:49:57 +01:00
oib
b0a5d1e945 Test commit with correctly placed file 2026-03-02 15:43:26 +01:00
oib
ccedbace53 chore: remove configuration files and enhance blockchain explorer with advanced search, analytics, and export features
- Delete .aitbc.yaml.example CLI configuration template
- Delete .lycheeignore link checker exclusion rules
- Delete .nvmrc Node.js version specification
- Add advanced search panel with filters for address, amount range, transaction type, time range, and validator
- Add analytics dashboard with transaction volume, active addresses, and block time metrics
- Add Chart.js integration
2026-03-02 15:38:25 +01:00
oib
af185cdd8b docs: remove agent identity SDK deployment and implementation documentation files
- Delete AGENT_IDENTITY_SDK_DEPLOYMENT_CHECKLIST.md deployment guide with database migration steps, configuration setup, and production deployment instructions
- Delete AGENT_IDENTITY_SDK_DOCS_UPDATE_SUMMARY.md documentation workflow completion summary with cross-reference validation and quality assurance results
- Delete AGENT_IDENTITY_SDK_IMPLEMENTATION_SUMMARY.md comprehensive implementation summary with file listings
2026-03-01 00:50:02 +01:00
oib
c97e101727 docs(plan): update milestone planning to mark phase 6 complete and transition to Q4 2026 global expansion phase
- Update Q3 2026 from "CURRENT PHASE" to "COMPLETED PHASE" with all weeks 13-24 marked complete
- Mark Q4 2026 as "NEXT PHASE" with weeks 25-28 Global Expansion APIs as 🔄 NEXT
- Update priority focus areas from "Next Phase" to "Current Phase" with global expansion emphasis
- Mark Enterprise Integration APIs and Scalability Optimization as  COMPLETE
- Update Phase 4-6 success metrics to  ACHIEVED
2026-03-01 00:34:12 +01:00
oib
7e9ba75f6c feat(coordinator-api): enhance reinforcement learning service with PyTorch-based PPO, SAC, and Rainbow DQN implementations
- Add PyTorch neural network implementations for PPO, SAC, and Rainbow DQN agents with GPU acceleration
- Implement PPOAgent with actor-critic architecture, clip ratio, and entropy regularization
- Implement SACAgent with separate actor and dual Q-function networks for continuous action spaces
- Implement RainbowDQNAgent with dueling architecture and distributional RL (51 atoms
2026-03-01 00:18:14 +01:00
oib
94b9bbc7f0 docs(plan): update milestone planning with phase 4 focus and success metrics
- Update priority areas from "100% COMPLETE" to "Next Priority Areas" with phase 4 focus
- Mark Smart Contract Development as 🔄 NEXT and Advanced AI Features as 🔄 FUTURE
- Restructure development timeline with Q2 2026 marked as COMPLETED, Q3 2026 as CURRENT PHASE
- Add Q4 2026 future planning section with weeks 25-36 roadmap
- Reorganize next development steps into completed and future sections
- Add comprehensive success metrics and
2026-03-01 00:06:33 +01:00
oib
768a0cf8fd feat(coordinator-api,docs): integrate developer platform and governance routers, complete phase 3 documentation
- Add developer_platform and governance_enhanced router imports to coordinator-api main.py
- Include developer_platform and governance_enhanced routers with /v1 prefix
- Refactor governance_service.py delegation logic to use delegatee_id directly and add logging
- Remove redundant session.add() calls, rely on session.refresh() after commit
- Update governance service docstring to reflect multi
2026-02-28 23:32:38 +01:00
oib
d8a432ce33 feat: complete phase 3 developer ecosystem and dao governance 2026-02-28 23:24:26 +01:00
oib
5bc18d684c feat: add phase 2 decentralized memory python services and tests 2026-02-28 23:19:02 +01:00
oib
c63259ef2c feat: finish phase 2 decentralized memory and storage tasks 2026-02-28 23:18:56 +01:00
oib
6c48ae64b2 feat: finish phase 1 remaining tasks docs update 2026-02-28 23:12:21 +01:00
oib
bf95cd0d9b feat: complete remaining phase 1 tasks - multi-chain wallet, atomic swaps, and multi-region deployment 2026-02-28 23:11:55 +01:00
oib
0e6c9eda72 feat(coordinator-api): integrate dynamic pricing engine with GPU marketplace and add agent identity router
- Add DynamicPricingEngine and MarketDataCollector dependencies to GPU marketplace endpoints
- Implement dynamic pricing calculation for GPU registration with market_balance strategy
- Calculate real-time dynamic prices at booking time with confidence scores and pricing factors
- Enhance /marketplace/pricing/{model} endpoint with comprehensive dynamic pricing analysis
  - Add static vs dynamic price
2026-02-28 22:57:10 +01:00
oib
85ae21a568 refactor(blockchain-explorer): add HTTPException import for error handling
- Import HTTPException from fastapi for proper exception handling in endpoints
- Prepare for enhanced error responses in blockchain explorer API routes
2026-02-28 22:04:46 +01:00
oib
12df88d196 fix(blockchain-explorer): fix template formatting and enhance health check endpoint
- Fix CSS animation syntax in HTML template by escaping curly braces for proper f-string formatting
- Replace .format() with .replace() for node_url substitution to avoid KeyError with unescaped braces
- Add blockchain node connectivity test to health check with 5s timeout
- Return degraded status when node is unreachable instead of error
- Add node_status field and API endpoints documentation to health response
2026-02-28 21:58:53 +01:00
oib
2d97783fb1 refactor(coordinator-api,blockchain-explorer): add response caching and fix timestamp handling
- Add cached decorator to admin stats, job status, payment status, and marketplace stats endpoints
- Configure cache TTLs using get_cache_config for different endpoint types (1min job_list, 30s user_balance, marketplace_stats)
- Import cache_management router and include it in main app with /v1 prefix
- Fix blockchain-explorer formatTimestamp to handle both ISO string and Unix numeric timestamps with type
2026-02-28 21:50:25 +01:00
oib
93ffaf53de feat(coordinator-api): add database connection pooling configuration and comprehensive payment validation
- Add configurable database connection pool settings (pool_size, max_overflow, pool_recycle, pool_pre_ping, echo)
- Replace hardcoded pool settings with environment-configurable values from settings
- Add QueuePool explicitly to both sync and async database engines
- Implement comprehensive Pydantic validators for payment schemas (JobPaymentCreate, PaymentRequest, ExchangePaymentRequest)
- Add regex
2026-02-28 21:35:58 +01:00