Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Failing after 3s
CLI Tests / test-cli (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 3s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Successful in 2s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Deploy to Testnet / deploy-testnet (push) Successful in 1m12s
Documentation Validation / validate-docs (push) Failing after 8s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Successful in 2m6s
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Successful in 2s
Multi-Node Blockchain Health Monitoring / health-check (push) Failing after 4s
P2P Network Verification / p2p-verification (push) Successful in 4s
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 32s
Package Tests / Python package - aitbc-core (push) Successful in 14s
Package Tests / Python package - aitbc-crypto (push) Successful in 12s
Package Tests / Python package - aitbc-sdk (push) Successful in 9s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 8s
Package Tests / JavaScript package - aitbc-token (push) Successful in 17s
Python Tests / test-python (push) Successful in 15s
Security Scanning / security-scan (push) Successful in 27s
Node Failover Simulation / failover-test (push) Successful in 7s
Multi-Node Stress Testing / stress-test (push) Successful in 6s
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
- Add SQLCipher encryption for ait-mainnet database with configurable flag - Add db_encryption_enabled and db_encryption_key_path config settings - Implement encryption key loading and PRAGMA key setup via connection events - Add shutdown_db function for proper database cleanup - Export middleware classes in aitbc/__init__.py - Fix import path in sync.py for settings - Remove duplicate agent documentation from docs
2 lines
4.5 KiB
JSON
Executable File
2 lines
4.5 KiB
JSON
Executable File
{"aitbc_agent_api": {"version": "1.0.0", "base_url": "https://api.aitbc.bubuit.net", "authentication": {"type": "agent_identity", "method": "cryptographic_signature", "header": "X-Agent-Signature"}, "endpoints": {"agent_registry": {"path": "/v1/agents/", "methods": {"POST": {"description": "Register new agent identity", "parameters": {"agent_name": {"type": "string", "required": true}, "agent_type": {"type": "enum", "values": ["compute_provider", "compute_consumer", "platform_builder", "swarm_coordinator"], "required": true}, "capabilities": {"type": "object", "required": true}, "public_key": {"type": "string", "required": true}}, "response": {"agent_id": "string", "registration_status": "string", "timestamp": "string"}}, "GET": {"description": "Get agent information", "parameters": {"agent_id": {"type": "string", "required": true}}, "response": {"agent_info": {"id": "string", "name": "string", "type": "string", "capabilities": "object", "reputation": "number", "registered": "string"}}}}}, "resource_marketplace": {"path": "/v1/marketplace/", "methods": {"POST": {"description": "Offer computational resources", "parameters": {"provider_id": {"type": "string", "required": true}, "resource_spec": {"type": "object", "properties": {"compute_type": "string", "gpu_memory": "number", "supported_models": "array", "price_per_hour": "number", "availability": "object"}, "required": ["compute_type", "price_per_hour"]}}, "response": {"offer_id": "string", "status": "string", "listing_time": "string"}}, "GET": {"description": "Discover available resources", "parameters": {"requirements": {"type": "object", "properties": {"compute_type": "string", "min_performance": "number", "models": "array", "max_price": "number"}}, "limit": {"type": "number", "default": 50}}, "response": {"resources": "array", "total_available": "number", "market_conditions": "object"}}}}, "swarm_coordination": {"path": "/v1/swarm/", "methods": {"POST": {"description": "Join swarm intelligence network", "parameters": {"agent_id": {"type": "string", "required": true}, "swarm_type": {"type": "enum", "values": ["load_balancing", "pricing", "security", "innovation"], "required": true}, "participation_config": {"type": "object", "properties": {"role": "string", "contribution_level": "string", "data_sharing": "boolean"}}}, "response": {"swarm_id": "string", "membership_status": "string", "coordination_instructions": "object"}}, "GET": {"description": "Get swarm intelligence data", "parameters": {"swarm_id": {"type": "string", "required": true}, "data_type": {"type": "enum", "values": ["market_intelligence", "resource_optimization", "security_threats", "innovation_opportunities"]}}, "response": {"intelligence_data": "object", "timestamp": "string", "confidence_score": "number"}}}}, "reputation_system": {"path": "/v1/reputation/", "methods": {"GET": {"description": "Get agent reputation metrics", "parameters": {"agent_id": {"type": "string", "required": true}, "metric_type": {"type": "enum", "values": ["overall", "performance", "reliability", "collaboration", "innovation"]}}, "response": {"reputation_score": "number", "metric_breakdown": "object", "trend_data": "array", "peer_comparisons": "object"}}}}}, "message_protocol": {"format": "json_signed", "required_fields": ["from", "to", "type", "payload", "timestamp", "signature"], "message_types": {"resource_offer": {"description": "Offer computational resources", "payload_schema": {"resource_spec": "object", "pricing": "object", "availability": "string", "quality_guarantees": "array"}}, "resource_request": {"description": "Request computational resources", "payload_schema": {"requirements": "object", "budget": "number", "deadline": "string", "task_specification": "object"}}, "swarm_invitation": {"description": "Invite agent to join swarm", "payload_schema": {"swarm_type": "string", "role": "string", "expected_contributions": "array", "rewards": "object"}}}, "encryption": {"algorithm": "RSA-OAEP", "key_exchange": "agent_public_keys", "signature_verification": "RSA-PSS"}}, "error_handling": {"error_codes": {"AUTHENTICATION_FAILED": 401, "INVALID_SIGNATURE": 401, "INSUFFICIENT_REPUTATION": 403, "RESOURCE_UNAVAILABLE": 404, "SWARM_FULL": 429, "RATE_LIMITED": 429, "VALIDATION_ERROR": 422, "INTERNAL_ERROR": 500}, "error_response_format": {"error_code": "string", "error_message": "string", "request_id": "string", "timestamp": "string", "retry_after": "number"}}, "rate_limiting": {"agent_registration": "10 per hour", "resource_offers": "100 per hour", "swarm_joins": "5 per hour", "governance_votes": "50 per hour", "api_calls": "1000 per hour"}}}
|