aindy-runtime 2.31.0__tar.gz → 2.31.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aindy_runtime-2.31.2/AINDY/_version.py +1 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/capability_service.py +36 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_gate.py +14 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/dao/memory_node_dao.py +27 -12
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/payload_identity.py +20 -2
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/syscall_dispatcher.py +7 -2
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/syscall_registry.py +3 -2
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/mcp_server.py +14 -5
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/nodus_adapter.py +36 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/nodus_execution_service.py +13 -1
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/nodus_worker.py +11 -0
- {aindy_runtime-2.31.0/aindy_runtime.egg-info → aindy_runtime-2.31.2}/PKG-INFO +1 -1
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2/aindy_runtime.egg-info}/PKG-INFO +1 -1
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/DECISION_LOG.md +24 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/MCP_INTEGRATION.md +8 -6
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/SANDBOX_ESCAPE_AUDIT.md +63 -0
- aindy_runtime-2.31.0/AINDY/_version.py +0 -1
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_coordinator.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_event_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_event_types.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_message_bus.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_runtime/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_runtime/approvals.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_runtime/creation.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_runtime/execution.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_runtime/planner_backends.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_runtime/planning.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_runtime/presentation.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_runtime/replay.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_runtime/shared.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_runtime.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_tools.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/authority_negotiation.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/autonomous_controller.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/autonomous_window.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/capability_policy.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/dead_letter_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/runtime_api.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/runtime_guardrails.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/step_references.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/stuck_run_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/stuck_run_watchdog.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/tool_registry.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/tool_session.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/tool_syscalls.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/tool_worker.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/events.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/executors/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/executors/pool.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/jobstores/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/jobstores/base.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/schedulers/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/schedulers/background.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/triggers/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/triggers/cron.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/triggers/date.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/apscheduler/triggers/interval.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/auth/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/auth/api_key_auth.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/cli.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/config.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/agent_continuation.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/agent_run_rehydration.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/distributed_queue.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/effect_compensation.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_dispatcher.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_envelope.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_environment.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_guard.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_helper.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_pipeline/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_pipeline/context.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_pipeline/pipeline.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_pipeline/resources.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_pipeline/runtime_state.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_pipeline/shared.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_pipeline/signals.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_recall.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_record_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_score.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_signal_helper.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/execution_unit_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/flow_continuation.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/flow_history_fold.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/flow_run_rehydration.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/health_liveness_signal.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/memory_capture_guard.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/next_action.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/next_action_dispatch.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/observability_events.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/pending_request.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/reasoning_signal.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/request_metric_writer.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/response_adapter.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/result_path.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/resume_reconstruction.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/resume_watchdog.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/retry_policy.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/route_execution_guard.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/router_guard.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/scheduler_queue_signal.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/system_event_retention.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/system_event_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/system_event_types.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/verifier.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/wait_condition.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/core/wait_rehydration.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/alembic_head.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/base.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/create_all.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/dao/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/dao/memory_trace_dao.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/database.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/model_registry.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/agent.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/agent_event.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/agent_registry.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/agent_run.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/api_key.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/background_task_lease.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/capability.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/dynamic_flow.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/dynamic_node.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/effect_record.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/effect_reversal.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/event_edge.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/execution_unit.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/flow_run.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/job_log.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/memory_metrics.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/memory_node_history.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/memory_trace.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/memory_trace_node.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/nodus_scheduled_job.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/nodus_workflow.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/request_metric.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/system_event.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/system_health_log.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/system_state_snapshot.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/user.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/user_identity.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/waiting_flow_run.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/models/webhook_subscription.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/mongo_setup.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/schema_contract.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/db/schema_ops.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/deepseek_config.json +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/exception_handlers.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/cancellation.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/circuit_breaker.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/clock.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/condition_codes.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/effect_ledger.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/errors.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/event_bus.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/redis_wait_registry.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/resource_manager.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/resume_spec.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/scheduler/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/scheduler/common.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/scheduler/core.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/scheduler/cross_instance.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/scheduler/dispatch.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/scheduler/engine.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/scheduler/persistence.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/scheduler/recovery.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/scheduler/waits.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/scheduler_engine.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/syscall_handlers.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/syscall_outcome.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/syscall_versioning.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/kernel/tenant_context.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/llms-full.txt +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/llms.txt +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/main.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/bridge.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/cascade_cleanup.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/embedding_jobs.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/embedding_migration.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/embedding_providers.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/embedding_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/ingest_queue.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/memory_address_space.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/memory_capture_engine.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/memory_helpers.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/memory_ingest_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/memory_persistence.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/memory_scoring_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/native/memory_bridge_rs/Cargo.lock +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/native/memory_bridge_rs/Cargo.toml +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/native/memory_bridge_rs/build.rs +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/native/memory_bridge_rs/src/cpp_bridge.rs +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/native/memory_bridge_rs/src/lib.rs +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/native_bridge.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/memory/nodus_memory_bridge.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/middleware.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/nodus/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/nodus/runtime/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/nodus/runtime/aindy_runtime.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/nodus/runtime/embedding.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/nodus/runtime/memory_bridge.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/nodus/stdlib/.nodus/deps.json +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/AdminApiErrorBoundary-B5wptpSZ.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/AdminUsersPanel-BUlTE9Y-.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/AgentApprovalInbox-BpjmqlH0.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/AgentConsole-CoahvZo1.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/AgentRegistry-DlhiRy7t.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/BarChart-BARu4anf.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/DeadLetterQueuePanel-D-YmUULx.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/EmptyState-B5wptpSZ.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/ExecutionConsole-DtBvEcLo.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/FlowEngineConsole-DvFeabWY.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/HealthDashboard-CMnm3vy9.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/LoadingPanel-B5wptpSZ.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/ObservabilityDashboard-D62qwI90.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/RippleTraceViewer-Bl97x1HW.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/SurfacePrimitives-Hxo830zO.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/Toast-B5wptpSZ.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/WebhooksPanel-BipVUPG4.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/_core-B5wptpSZ.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/agent-0UTI_rvD.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/index-CX2b1AQf.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/index-D3fHGGwp.css +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/assets/operator-DYpSxaty.js +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform/dist/index.html +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/agent_plugin_contracts.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/anthropic_client.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/api_key_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/app_runtime.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/async_execution_context.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/async_job_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/azure_openai_client.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/bootstrap_contract.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/bootstrap_graph.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/cache_backend.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/connector_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/deepseek_client.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/deployment_contract.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/domain_health.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/egress_guard.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/email_channel.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/event_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/event_trace_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/extension_abi.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/extension_boundary.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/extension_capabilities.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/extension_execution_model.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/extension_policy.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/extension_provenance.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/extension_provenance_inventory.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/extension_runtime_api.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/extension_runtime_inventory.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/extension_signing.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/extension_worker.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/external_call_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/fs_guard.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/genai_telemetry.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/health_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/job_recovery.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/kernel_proc_reader.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/leadership.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/llm_budget.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/llm_client.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/log_config.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/mcp_client.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/memory_runtime.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/metrics.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/node_registry.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/nodus_script_store.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/openai_client.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/otel.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/outbound_http.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/platform_loader.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/plugin_artifacts.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/plugin_host.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/public_contract.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/rate_limiter.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/recovery_jobs.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/registry.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/registry_contracts.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/response_adapters.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/runtime_agent_defaults.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/runtime_callback_host.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/runtime_callback_worker.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/runtime_compatibility.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/sandbox_certification.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/sandbox_runner.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/scheduler_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/secret_broker.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/support_metrics_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/system_state_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/token_meter.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/trace_context.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/user_ids.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/watcher_contract.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/platform_layer/watcher_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/plugins/nodes/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/route_inventory.json +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/agent_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/auth_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/automation_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/coordination_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/db_verify_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/flow_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/health_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/memory_metrics_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/memory_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/memory_trace_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/observability_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/path_params.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/admin_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/agents_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/effects_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/flows_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/keys_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/nodes_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/nodus_flow_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/nodus_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/nodus_schedule_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/nodus_shared.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/platform_ops_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/queue_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/schemas.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform/webhooks_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/platform_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/version_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routes/watcher_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/routing.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/agent_plan_compiler.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/execution_loop.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/execution_registry.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_definitions.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_definitions_engine.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_definitions_extended.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_definitions_memory.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_definitions_observability.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/entrypoints.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/event_router.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/fan_out.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/graph_signature.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/node_executor.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/registry.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/runner.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/runner_completion.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/runner_failure.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/runner_steps.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/serialization.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/shared.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_engine/state_merge.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_helpers.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/flow_registry.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/context_builder.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/filters.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/memory_feedback.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/memory_learning.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/memory_metrics.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/metrics_store.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/native_scorer.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/orchestrator.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/query_expander.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/scorer.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/strategies.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory/types.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/memory_loop.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/nodus_flow_compiler.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/nodus_runtime_adapter.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/nodus_schedule_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/nodus_security.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/nodus_worker_pool.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/nodus_workflow_registry.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime/tool_simulation.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime_only.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/runtime_plugins.json +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/schemas/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/schemas/auth_schemas.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/services/auth_service.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/spa_fallback.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/startup.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/system_manifest.json +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/utils/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/utils/normalize_encoding.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/utils/sanitize_text.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/utils/text_constraints.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/utils/uuid_utils.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/version.json +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/watcher/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/watcher/constants.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/worker/__init__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/worker/__main__.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/worker/health_server.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/worker/memory_ingest_worker.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/worker/metric_writer_worker.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/worker/worker_loop.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/worker.py +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/CONTRIBUTORS.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/LICENSE +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/MANIFEST.in +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/README.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/aindy_runtime.egg-info/SOURCES.txt +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/aindy_runtime.egg-info/dependency_links.txt +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/aindy_runtime.egg-info/entry_points.txt +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/aindy_runtime.egg-info/requires.txt +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/aindy_runtime.egg-info/top_level.txt +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/AGENT_WORKING_RULES.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/CHANGE_IMPACT_MATRIX.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/CI_OWNERSHIP.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/COMPARATIVE_RESEARCH_INDEX.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/CROSS_REPO_COMPATIBILITY.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/DOCSET_CHANGELOG.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/ERROR_HANDLING_POLICY.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/GITHUB_SETTINGS_CHECKLIST.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/INVARIANTS.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/INVARIANT_TEST_MAPPING.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/MODEL_OWNERSHIP_POLICY.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/RELEASE_CHECKLIST.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/RELEASE_GATES.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/RELEASE_STAGING.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/REPO_COMPATIBILITY_POLICY.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/RUNTIME_DOCSET_GOVERNANCE.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/SECURITY_POLICY.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/TEST_STRATEGY.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/governance/TRUSTING_A_GREEN_CHECK.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/CONDITION_CODES.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/DEGRADED_MODE_MATRIX.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/DEGRADED_RUNTIME_MODES.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/DEPENDENCY_CRITICALITY_MATRIX.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/DEPLOYMENT_PROFILES.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/DEPLOYMENT_TARGETS.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/INCIDENT_CLASSIFICATION.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/MACOS_CONTAINER_POLICY.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/OPERATOR_RUNBOOK.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/PROFILE_SUPPORT_MATRIX.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/QUICKSTART.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/operations/RUNTIME_ONLY_DEPLOYMENT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/AGENT_RUNTIME.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/APP_AGENT_REGISTRATION.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/ARCHITECTURE.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/CONNECTOR_CONTRACT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/DATA_MODEL_MAP.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/DB_OWNERSHIP_CONTRACT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/DURABLE_STATE_OWNERSHIP_CONTRACT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/ECOSYSTEM_CAPABILITY_GAPS.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/EXECUTION_CONTRACT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/EXECUTION_INVARIANTS.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/EXTENSION_ABI.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/EXTENSION_CAPABILITIES.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/EXTENSION_PROVENANCE.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/EXTENSION_TRUST_MODEL.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/FOUNDATIONAL_PATTERN.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/IDEMPOTENCY_CONTRACT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/MEMORY_ADDRESS_SPACE.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/MEMORY_BRIDGE.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/MEMORY_BRIDGE_CONTRACT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/NATIVE_MEMORY_BRIDGE.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/NODUS_DEVELOPER_GUIDE.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/NODUS_WORKFLOW_CONTRACT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/OS_ISOLATION_LAYER.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/PUBLIC_API_CONTRACT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/PUBLIC_RUNTIME_SURFACES.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/RETRY_POLICY.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/ROUTE_OWNERSHIP_INVENTORY.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/RUNTIME_BEHAVIOR.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/RUNTIME_BOUNDARY.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/RUNTIME_MODULE_MAP.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/RUNTIME_STABILITY_INDEX.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/SANDBOX_CONTRACT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/SCHEMA_LIFECYCLE.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/SDK_CONTRACT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/SECURITY_MATRIX.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/SECURITY_POSTURE.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/SYSCALL_REFERENCE.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/SYSCALL_SYSTEM.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/UI_CONTRACT.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/docs/runtime/WHAT_THE_RUNTIME_IS.md +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/pyproject.toml +0 -0
- {aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.31.2"
|
|
@@ -704,6 +704,42 @@ def validate_token(token: Optional[dict], run_id: str, user_id: str) -> dict:
|
|
|
704
704
|
return {"ok": False, "error": "token validation failed", "granted_tools": [], "allowed_capabilities": []}
|
|
705
705
|
|
|
706
706
|
|
|
707
|
+
def token_binds_run(token: Optional[dict], run_id: str, user_id: str) -> bool:
|
|
708
|
+
"""True when ``token`` was issued for this run and this user and has not been altered.
|
|
709
|
+
|
|
710
|
+
Expiry is not checked. This answers whose run a token belongs to, which a crash re-drive
|
|
711
|
+
still needs to know when replaying recorded steps on a token that has since expired.
|
|
712
|
+
``execute_tool`` checks expiry before any tool runs. Never raises.
|
|
713
|
+
"""
|
|
714
|
+
try:
|
|
715
|
+
if not isinstance(token, dict):
|
|
716
|
+
return False
|
|
717
|
+
if str(token.get("run_id", "")) != str(run_id) or str(token.get("user_id", "")) != str(user_id):
|
|
718
|
+
return False
|
|
719
|
+
token_hash = token.get("token_hash")
|
|
720
|
+
execution_token = str(token.get("execution_token", ""))
|
|
721
|
+
if token_hash is None or not execution_token:
|
|
722
|
+
return False
|
|
723
|
+
return bool(
|
|
724
|
+
_token_hash_matches(
|
|
725
|
+
token_hash,
|
|
726
|
+
run_id=str(run_id),
|
|
727
|
+
user_id=str(user_id),
|
|
728
|
+
execution_token=execution_token,
|
|
729
|
+
issued_at=str(token.get("issued_at")),
|
|
730
|
+
expires_at=str(token.get("expires_at")),
|
|
731
|
+
approval_mode=token.get("approval_mode"),
|
|
732
|
+
# The lists as issued, not normalized. Normalizing keeps only names this process
|
|
733
|
+
# has registered, and a Nodus worker has registered none when this runs.
|
|
734
|
+
granted_tools=list(token.get("granted_tools") or []),
|
|
735
|
+
allowed_capabilities=list(token.get("allowed_capabilities") or []),
|
|
736
|
+
)
|
|
737
|
+
)
|
|
738
|
+
except Exception as exc:
|
|
739
|
+
logger.warning("[CapabilityService] token_binds_run failed: %s", exc)
|
|
740
|
+
return False
|
|
741
|
+
|
|
742
|
+
|
|
707
743
|
def check_execution_capability(
|
|
708
744
|
token: Optional[dict],
|
|
709
745
|
run_id: str,
|
|
@@ -291,6 +291,15 @@ def _declare_resource_limits(eu, env_columns: dict[str, Any], user_id: str) -> N
|
|
|
291
291
|
logger.debug("[ExecutionGate] resource limit declaration skipped", exc_info=True)
|
|
292
292
|
|
|
293
293
|
|
|
294
|
+
def _unit_belongs_to_another_user(eu, user_id) -> bool:
|
|
295
|
+
"""True when both sides have a user and they differ. A unit with no owner is not anyone's."""
|
|
296
|
+
from AINDY.platform_layer.user_ids import parse_user_id
|
|
297
|
+
|
|
298
|
+
owner = parse_user_id(getattr(eu, "user_id", None))
|
|
299
|
+
caller = parse_user_id(user_id)
|
|
300
|
+
return owner is not None and caller is not None and owner != caller
|
|
301
|
+
|
|
302
|
+
|
|
294
303
|
def require_execution_unit(
|
|
295
304
|
*,
|
|
296
305
|
db: Session,
|
|
@@ -363,6 +372,11 @@ def require_execution_unit(
|
|
|
363
372
|
|
|
364
373
|
eus = ExecutionUnitService(db)
|
|
365
374
|
eu = eus.get_by_source(source_type, source_id)
|
|
375
|
+
if eu is not None and _unit_belongs_to_another_user(eu, user_id):
|
|
376
|
+
logger.warning(
|
|
377
|
+
"[EU] source %s/%s belongs to another user; not reusing it", source_type, source_id
|
|
378
|
+
)
|
|
379
|
+
return None
|
|
366
380
|
if eu is None:
|
|
367
381
|
eu = eus.create(
|
|
368
382
|
eu_type=eu_type,
|
|
@@ -12,7 +12,7 @@ import logging
|
|
|
12
12
|
import uuid
|
|
13
13
|
from typing import List, Optional
|
|
14
14
|
|
|
15
|
-
from sqlalchemy import or_
|
|
15
|
+
from sqlalchemy import false, or_
|
|
16
16
|
from sqlalchemy.exc import SQLAlchemyError
|
|
17
17
|
from sqlalchemy.orm import Session
|
|
18
18
|
|
|
@@ -49,6 +49,19 @@ class _CandidateScoringView:
|
|
|
49
49
|
self.weight = float(candidate.get("weight") or 1.0)
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def _owner_only_scope(query, user_id):
|
|
53
|
+
"""Restrict ``query`` to ``user_id``'s nodes, for reads with no shared-pool fallback.
|
|
54
|
+
|
|
55
|
+
No user at all means trusted in-process code, and stays unfiltered. A user that does not parse
|
|
56
|
+
is a caller whose identity we can't resolve, and sees nothing: leaving it unfiltered would hand
|
|
57
|
+
it every tenant's rows.
|
|
58
|
+
"""
|
|
59
|
+
owner = parse_user_id(user_id)
|
|
60
|
+
if owner is None and user_id not in (None, ""):
|
|
61
|
+
return query.filter(false())
|
|
62
|
+
return apply_memory_owner_scope(query, owner_user_id=owner, shared_fallback=False)
|
|
63
|
+
|
|
64
|
+
|
|
52
65
|
class MemoryNodeDAO:
|
|
53
66
|
"""Canonical DAO for memory_nodes and memory_links tables."""
|
|
54
67
|
|
|
@@ -116,7 +129,7 @@ class MemoryNodeDAO:
|
|
|
116
129
|
return None
|
|
117
130
|
query = self.db.query(MemoryNodeModel).filter(MemoryNodeModel.id == node_uuid)
|
|
118
131
|
owner_user_id = parse_user_id(user_id)
|
|
119
|
-
query =
|
|
132
|
+
query = _owner_only_scope(query, user_id)
|
|
120
133
|
node = query.first()
|
|
121
134
|
if node is None:
|
|
122
135
|
return None
|
|
@@ -588,7 +601,7 @@ class MemoryNodeDAO:
|
|
|
588
601
|
seen_ids = {d["id"] for d in linked}
|
|
589
602
|
query = self.db.query(MemoryNodeModel).filter(MemoryNodeModel.id.in_(source_ids))
|
|
590
603
|
owner_user_id = parse_user_id(user_id)
|
|
591
|
-
query =
|
|
604
|
+
query = _owner_only_scope(query, user_id)
|
|
592
605
|
if limit:
|
|
593
606
|
query = query.limit(limit)
|
|
594
607
|
nodes = query.all()
|
|
@@ -1524,7 +1537,7 @@ class MemoryNodeDAO:
|
|
|
1524
1537
|
if user_id not in (None, "") and owner_user_id is None:
|
|
1525
1538
|
raise ValueError("invalid user_id")
|
|
1526
1539
|
query = self.db.query(MemoryNodeModel.id).filter(MemoryNodeModel.id.in_([sid, tid]))
|
|
1527
|
-
query =
|
|
1540
|
+
query = _owner_only_scope(query, user_id)
|
|
1528
1541
|
count = query.count()
|
|
1529
1542
|
if count != 2:
|
|
1530
1543
|
raise ValueError("source and/or target node does not exist")
|
|
@@ -1721,7 +1734,7 @@ class MemoryNodeDAO:
|
|
|
1721
1734
|
|
|
1722
1735
|
query = self.db.query(MemoryNodeModel).filter(MemoryNodeModel.path == path)
|
|
1723
1736
|
owner = parse_user_id(user_id)
|
|
1724
|
-
query =
|
|
1737
|
+
query = _owner_only_scope(query, user_id)
|
|
1725
1738
|
node = query.first()
|
|
1726
1739
|
if node is None:
|
|
1727
1740
|
return None
|
|
@@ -1736,7 +1749,7 @@ class MemoryNodeDAO:
|
|
|
1736
1749
|
MemoryNodeModel.parent_path == parent_path
|
|
1737
1750
|
)
|
|
1738
1751
|
owner = parse_user_id(user_id)
|
|
1739
|
-
query =
|
|
1752
|
+
query = _owner_only_scope(query, user_id)
|
|
1740
1753
|
rows = query.limit(limit).all()
|
|
1741
1754
|
return [enrich_node_with_path(self._node_to_dict(n)) for n in rows]
|
|
1742
1755
|
|
|
@@ -1749,7 +1762,7 @@ class MemoryNodeDAO:
|
|
|
1749
1762
|
MemoryNodeModel.path.like(f"{safe_prefix}%")
|
|
1750
1763
|
)
|
|
1751
1764
|
owner = parse_user_id(user_id)
|
|
1752
|
-
query =
|
|
1765
|
+
query = _owner_only_scope(query, user_id)
|
|
1753
1766
|
rows = query.limit(limit).all()
|
|
1754
1767
|
return [enrich_node_with_path(self._node_to_dict(n)) for n in rows]
|
|
1755
1768
|
|
|
@@ -1790,7 +1803,7 @@ class MemoryNodeDAO:
|
|
|
1790
1803
|
# No path filter — fall through to tag/query filter below
|
|
1791
1804
|
base_q = self.db.query(MemoryNodeModel)
|
|
1792
1805
|
owner = parse_user_id(user_id)
|
|
1793
|
-
base_q =
|
|
1806
|
+
base_q = _owner_only_scope(base_q, user_id)
|
|
1794
1807
|
candidates = [enrich_node_with_path(self._node_to_dict(n)) for n in base_q.limit(limit * 4).all()]
|
|
1795
1808
|
|
|
1796
1809
|
# Filter by tags
|
|
@@ -1819,6 +1832,7 @@ class MemoryNodeDAO:
|
|
|
1819
1832
|
origin = self.get_by_path(path, user_id=user_id)
|
|
1820
1833
|
if origin is None:
|
|
1821
1834
|
return []
|
|
1835
|
+
owner = parse_user_id(user_id)
|
|
1822
1836
|
|
|
1823
1837
|
chain: List[dict] = [origin]
|
|
1824
1838
|
seen = {origin["id"]}
|
|
@@ -1829,11 +1843,12 @@ class MemoryNodeDAO:
|
|
|
1829
1843
|
if not source_event_id:
|
|
1830
1844
|
break
|
|
1831
1845
|
# Find a node whose root_event_id matches the current node's source_event_id
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
.
|
|
1846
|
+
# MEM-TRACE-SCOPE-1 — every hop is scoped like the first lookup. An event id can be
|
|
1847
|
+
# shared, and this used to return whichever user's node matched it.
|
|
1848
|
+
query = self.db.query(MemoryNodeModel).filter(
|
|
1849
|
+
MemoryNodeModel.root_event_id == uuid.UUID(str(source_event_id))
|
|
1836
1850
|
)
|
|
1851
|
+
node = _owner_only_scope(query, user_id).first()
|
|
1837
1852
|
if node is None or str(node.id) in seen:
|
|
1838
1853
|
break
|
|
1839
1854
|
d = enrich_node_with_path(self._node_to_dict(node))
|
|
@@ -20,6 +20,16 @@ from typing import Any
|
|
|
20
20
|
|
|
21
21
|
PAYLOAD_USER_KEY = "user_id"
|
|
22
22
|
|
|
23
|
+
#: Syscalls that hand part of their payload on to code that runs later: a job handler, or a flow
|
|
24
|
+
#: node reading state. The same caller writes that part as the rest of the payload, so its
|
|
25
|
+
#: `user_id` is held to the same rule. Only the named key is checked, one level down.
|
|
26
|
+
FORWARDED_PAYLOAD_KEYS = {
|
|
27
|
+
"sys.v1.job.submit": "payload",
|
|
28
|
+
"sys.v1.flow.run": "initial_state",
|
|
29
|
+
"sys.v1.flow.execute_intent": "intent_data",
|
|
30
|
+
"sys.v1.nodus.execute": "input_payload",
|
|
31
|
+
}
|
|
32
|
+
|
|
23
33
|
|
|
24
34
|
class PayloadIdentityViolation(PermissionError):
|
|
25
35
|
"""A payload named a user other than the authenticated caller."""
|
|
@@ -48,6 +58,14 @@ def payload_user_id_mismatch(payload: Any, user_id: Any) -> bool:
|
|
|
48
58
|
return _normalize(requested) != _normalize(user_id)
|
|
49
59
|
|
|
50
60
|
|
|
61
|
+
def forwarded_user_id_mismatch(syscall: str, payload: Any, user_id: Any) -> bool:
|
|
62
|
+
"""True when the part of ``payload`` that ``syscall`` forwards names another user."""
|
|
63
|
+
key = FORWARDED_PAYLOAD_KEYS.get(syscall)
|
|
64
|
+
if key is None or not isinstance(payload, dict):
|
|
65
|
+
return False
|
|
66
|
+
return payload_user_id_mismatch(payload.get(key), user_id)
|
|
67
|
+
|
|
68
|
+
|
|
51
69
|
def bind_payload_user_id(payload: Any, user_id: Any, *, syscall: str = "") -> dict[str, Any]:
|
|
52
70
|
"""Return a copy of ``payload`` whose ``user_id`` is the caller's.
|
|
53
71
|
|
|
@@ -57,10 +75,10 @@ def bind_payload_user_id(payload: Any, user_id: Any, *, syscall: str = "") -> di
|
|
|
57
75
|
silently overwritten, so the caller learns its assertion was wrong.
|
|
58
76
|
"""
|
|
59
77
|
bound = dict(payload) if isinstance(payload, dict) else {}
|
|
60
|
-
if payload_user_id_mismatch(bound, user_id):
|
|
78
|
+
if payload_user_id_mismatch(bound, user_id) or forwarded_user_id_mismatch(syscall, bound, user_id):
|
|
61
79
|
target = f" for {syscall!r}" if syscall else ""
|
|
62
80
|
raise PayloadIdentityViolation(
|
|
63
|
-
f"TENANT_VIOLATION: payload user_id
|
|
81
|
+
f"TENANT_VIOLATION: a payload user_id{target} does not "
|
|
64
82
|
f"match the authenticated caller; a payload may not choose the user it acts on"
|
|
65
83
|
)
|
|
66
84
|
if bound.get(PAYLOAD_USER_KEY) in (None, ""):
|
|
@@ -302,9 +302,14 @@ def _check_payload_identity(name: str, payload: Any, context: SyscallContext) ->
|
|
|
302
302
|
"""
|
|
303
303
|
mode = _payload_identity_mode()
|
|
304
304
|
try:
|
|
305
|
-
from AINDY.kernel.payload_identity import
|
|
305
|
+
from AINDY.kernel.payload_identity import (
|
|
306
|
+
forwarded_user_id_mismatch,
|
|
307
|
+
payload_user_id_mismatch,
|
|
308
|
+
)
|
|
306
309
|
|
|
307
|
-
mismatch = payload_user_id_mismatch(payload, context.user_id)
|
|
310
|
+
mismatch = payload_user_id_mismatch(payload, context.user_id) or forwarded_user_id_mismatch(
|
|
311
|
+
name, payload, context.user_id
|
|
312
|
+
)
|
|
308
313
|
except Exception as exc:
|
|
309
314
|
if mode == "observe":
|
|
310
315
|
return None
|
|
@@ -1983,8 +1983,9 @@ def register_syscall(
|
|
|
1983
1983
|
capability: Required capability string.
|
|
1984
1984
|
|
|
1985
1985
|
**FR-53 (c) — callers that grant by NAME reach only a matching capability.**
|
|
1986
|
-
``dispatch_syscall`` without ``capability=`` — the
|
|
1987
|
-
|
|
1986
|
+
``dispatch_syscall`` without ``capability=`` — the Nodus ``sys()`` seam, extension
|
|
1987
|
+
workers, but not the MCP server, which grants what a syscall declares (DEC-112) —
|
|
1988
|
+
grants exactly ``_infer_dispatch_capability(name)``:
|
|
1988
1989
|
``<domain>.read`` for a ``get_/list_/read_…`` verb, ``<domain>.write`` for
|
|
1989
1990
|
``create_/update_/write_…``, else the bare action (``sys.v1.work.context`` →
|
|
1990
1991
|
``work.context``). A syscall registered under any other capability (e.g.
|
|
@@ -198,11 +198,15 @@ def _refusal_envelope(syscall_name: str, message: str, failure_class: str) -> di
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
|
|
201
|
-
def _make_handler(syscall_name: str, configured_user_id: Optional[str]):
|
|
201
|
+
def _make_handler(syscall_name: str, configured_user_id: Optional[str], capability: str):
|
|
202
202
|
"""A sync MCP tool handler that dispatches one syscall.
|
|
203
203
|
|
|
204
204
|
Dispatches as the per-session identity when one was resolved (multi-tenant SSE), else
|
|
205
205
|
as the single configured identity (stdio / non-multi-tenant SSE).
|
|
206
|
+
|
|
207
|
+
``capability`` is the one the syscall declares (DEC-112). Left to inference from the name,
|
|
208
|
+
``sys.v1.memory.search`` was granted ``memory.search`` and refused, because it declares
|
|
209
|
+
``memory.read``.
|
|
206
210
|
"""
|
|
207
211
|
|
|
208
212
|
def _handler(args: dict) -> dict:
|
|
@@ -230,10 +234,13 @@ def _make_handler(syscall_name: str, configured_user_id: Optional[str]):
|
|
|
230
234
|
# envelope shape the dispatcher uses, so the MCP client sees one error contract.
|
|
231
235
|
try:
|
|
232
236
|
with get_resource_manager().owned_execution(str(user_id)) as eu_id:
|
|
233
|
-
# db=None → the syscall handler opens/closes its own session.
|
|
234
|
-
# capability is inferred from the syscall name inside dispatch_syscall.
|
|
237
|
+
# db=None → the syscall handler opens/closes its own session.
|
|
235
238
|
return dispatch_syscall(
|
|
236
|
-
syscall_name,
|
|
239
|
+
syscall_name,
|
|
240
|
+
payload,
|
|
241
|
+
user_id=user_id,
|
|
242
|
+
capability=capability,
|
|
243
|
+
execution_unit_id=eu_id,
|
|
237
244
|
)
|
|
238
245
|
except ResourceLimitError as exc:
|
|
239
246
|
logger.warning("[mcp-server] %s refused: %s", syscall_name, exc)
|
|
@@ -255,7 +262,9 @@ def build_registry(configured_user_id: Optional[str], allowlist: list[str]):
|
|
|
255
262
|
logger.warning("[mcp-server] allowlisted syscall %r is not registered; skipping", name)
|
|
256
263
|
continue
|
|
257
264
|
registry.register(
|
|
258
|
-
syscall_entry_to_tool(
|
|
265
|
+
syscall_entry_to_tool(
|
|
266
|
+
name, entry, handler=_make_handler(name, configured_user_id, entry.capability)
|
|
267
|
+
)
|
|
259
268
|
)
|
|
260
269
|
exposed.append(name)
|
|
261
270
|
logger.info("[mcp-server] exposing %d syscall(s): %s", len(exposed), ", ".join(exposed) or "(none)")
|
|
@@ -72,6 +72,34 @@ MAX_STEP_RETRIES = 3 # kept for reference; retry gate now reads RetryPolicy
|
|
|
72
72
|
from AINDY.core.retry_policy import classify_failure, decide_retry, resolve_retry_policy as _resolve_retry_policy # noqa: E402
|
|
73
73
|
|
|
74
74
|
|
|
75
|
+
def _agent_run_belongs_to(db, agent_run_id, user_id, token) -> bool:
|
|
76
|
+
"""Whether ``agent_run_id`` from flow state is this user's. Fails closed.
|
|
77
|
+
|
|
78
|
+
A token bound to the run answers it with no query, which is the agent path. Without one,
|
|
79
|
+
only the row can say.
|
|
80
|
+
"""
|
|
81
|
+
try:
|
|
82
|
+
if isinstance(token, dict):
|
|
83
|
+
from AINDY.agents.capability_service import token_binds_run
|
|
84
|
+
|
|
85
|
+
return token_binds_run(token, str(agent_run_id), str(user_id))
|
|
86
|
+
from AINDY.db.models import AgentRun
|
|
87
|
+
from AINDY.platform_layer.user_ids import parse_user_id
|
|
88
|
+
|
|
89
|
+
owner = parse_user_id(user_id)
|
|
90
|
+
if owner is None:
|
|
91
|
+
return False
|
|
92
|
+
return (
|
|
93
|
+
db.query(AgentRun.id)
|
|
94
|
+
.filter(AgentRun.id == _db_run_id(agent_run_id), AgentRun.user_id == owner)
|
|
95
|
+
.first()
|
|
96
|
+
is not None
|
|
97
|
+
)
|
|
98
|
+
except Exception as exc:
|
|
99
|
+
logger.warning("[nodus.execute] could not check the agent run's owner: %s", exc)
|
|
100
|
+
return False
|
|
101
|
+
|
|
102
|
+
|
|
75
103
|
def _db_run_id(run_id):
|
|
76
104
|
parsed = parse_user_id(run_id)
|
|
77
105
|
return parsed if parsed is not None else run_id
|
|
@@ -1046,6 +1074,14 @@ def nodus_execute_node(state: dict, context: dict) -> dict:
|
|
|
1046
1074
|
# RECOVERY-GRANULARITY-1 — set by the crash re-drive via extra_initial_state; the worker
|
|
1047
1075
|
# replays this segment's recorded `success` steps.
|
|
1048
1076
|
_continuation = bool(state.get("__continuation"))
|
|
1077
|
+
# Flow state can be written by the caller. A run named in it is used only if this user owns it.
|
|
1078
|
+
if state.get("agent_run_id") and not _agent_run_belongs_to(
|
|
1079
|
+
db, state.get("agent_run_id"), user_id, _execution_token
|
|
1080
|
+
):
|
|
1081
|
+
logger.warning("[nodus.execute] ignoring agent run state the caller does not own")
|
|
1082
|
+
_execution_token = None
|
|
1083
|
+
_agent_run_id = str(run_id or "")
|
|
1084
|
+
_continuation = False
|
|
1049
1085
|
|
|
1050
1086
|
# ── Execute via NodusRuntimeAdapter ──────────────────────────────────────
|
|
1051
1087
|
nodus_result = execute_nodus_runtime(
|
|
@@ -3,6 +3,7 @@ from __future__ import annotations
|
|
|
3
3
|
import contextlib
|
|
4
4
|
import os
|
|
5
5
|
import sys
|
|
6
|
+
import hashlib
|
|
6
7
|
import logging
|
|
7
8
|
from typing import Any, Optional
|
|
8
9
|
|
|
@@ -1540,6 +1541,14 @@ def execute_nodus_runtime(
|
|
|
1540
1541
|
return adapter.run_file(file_path, execution_context)
|
|
1541
1542
|
|
|
1542
1543
|
|
|
1544
|
+
def _user_scoped_source_id(user_id: str, name: str) -> str:
|
|
1545
|
+
"""A unit source id only this user can reach, within the column's 128 characters."""
|
|
1546
|
+
scoped = f"{user_id}:{name}"
|
|
1547
|
+
if len(scoped) <= 128:
|
|
1548
|
+
return scoped
|
|
1549
|
+
return f"{user_id}:{hashlib.sha256(name.encode()).hexdigest()}"
|
|
1550
|
+
|
|
1551
|
+
|
|
1543
1552
|
def execute_nodus_task_payload(
|
|
1544
1553
|
*,
|
|
1545
1554
|
task_name: str,
|
|
@@ -1554,7 +1563,10 @@ def execute_nodus_task_payload(
|
|
|
1554
1563
|
) -> dict[str, Any]:
|
|
1555
1564
|
normalized_user_id = str(require_user_id(user_id))
|
|
1556
1565
|
operation_name = task_name
|
|
1557
|
-
|
|
1566
|
+
# The task name and `execution_id` are the caller's, so the source key carries the user.
|
|
1567
|
+
eu_id = _user_scoped_source_id(
|
|
1568
|
+
normalized_user_id, execution_id or f"memory.nodus.{task_name}"
|
|
1569
|
+
)
|
|
1558
1570
|
|
|
1559
1571
|
# Gate: ensure a DB-backed ExecutionUnit exists BEFORE the VM starts so the
|
|
1560
1572
|
# run is always recoverable even if the process dies mid-execution.
|
|
@@ -163,6 +163,17 @@ def run_agent_tool(
|
|
|
163
163
|
# RETRY-CLASSIFY-1 — structural; the guest loop must not re-attempt it
|
|
164
164
|
"failure_class": "permission",
|
|
165
165
|
}
|
|
166
|
+
# Everything below reads or writes `agent_steps` by `run_id`, which that table does not tie
|
|
167
|
+
# to a user. The token is what ties them, so it is checked before any of it.
|
|
168
|
+
from AINDY.agents.capability_service import token_binds_run
|
|
169
|
+
|
|
170
|
+
if not token_binds_run(execution_token, run_id, user_id):
|
|
171
|
+
return {
|
|
172
|
+
"success": False,
|
|
173
|
+
"result": None,
|
|
174
|
+
"error": "the capability token does not belong to this run",
|
|
175
|
+
"failure_class": "permission",
|
|
176
|
+
}
|
|
166
177
|
tool_args = dict(args) if isinstance(args, dict) else {}
|
|
167
178
|
|
|
168
179
|
if session_factory is None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aindy-runtime
|
|
3
|
-
Version: 2.31.
|
|
3
|
+
Version: 2.31.2
|
|
4
4
|
Summary: Self-hostable AI agent execution runtime — syscall contract, DAG flows, vector memory, plugin registry
|
|
5
5
|
Author-email: Shawn Knight <shawnknight@the-master-plan.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aindy-runtime
|
|
3
|
-
Version: 2.31.
|
|
3
|
+
Version: 2.31.2
|
|
4
4
|
Summary: Self-hostable AI agent execution runtime — syscall contract, DAG flows, vector memory, plugin registry
|
|
5
5
|
Author-email: Shawn Knight <shawnknight@the-master-plan.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -2235,3 +2235,27 @@ The delete cascades and cannot be undone, so it must not destroy what others bui
|
|
|
2235
2235
|
|
|
2236
2236
|
**Why**
|
|
2237
2237
|
AGENT-HARDEN-6 designed the Verifier to roll back, but that was never observed: the engine found nothing to reverse. Fixing the link would have turned on automatic deletion of memory on any failed check, with nobody looking, on every deployment at once. Capabilities ship default-off until evidence. The cost is that a failed run keeps its memory until someone calls undo, which is recoverable, where a wrong automatic delete is not.
|
|
2238
|
+
|
|
2239
|
+
### DEC-111
|
|
2240
|
+
**Status:** `accepted` (2026-11-04 — `UNDO-COMPENSATORS-1`; decided by the owner: "yes but wait until a failed run needs one")
|
|
2241
|
+
|
|
2242
|
+
**Decision — `sys.v1.agent.undo` gets no HTTP route for now. It stays reachable only from in-process code or an operator's `AINDY_MCP_SERVER_TOOLS`. The trigger to revisit is a real `VERIFY_FAILED` run whose effects someone needs reversed.**
|
|
2243
|
+
|
|
2244
|
+
**Why**
|
|
2245
|
+
A route is a new way to delete data, and it needs its own scope and design. Nothing asks for one yet: as of 2026-11-04 the app has no undo caller and no plan declaring `expects`, so no run of its can fail verification. The cost is that an operator reading a `VERIFY_FAILED` report cannot act on it over HTTP, which leaves DEC-110's explicit undo reachable only through code or MCP until the trigger fires.
|
|
2246
|
+
|
|
2247
|
+
### DEC-112
|
|
2248
|
+
**Status:** `accepted` (2026-11-06 — `MCP-GRANT-1`; decided by the owner: "yes open the PR")
|
|
2249
|
+
|
|
2250
|
+
**Decision — The MCP server grants each tool the capability its syscall declares, and nothing else. The allowlist decides what is exposed. Inference from the name stays for every other caller of `dispatch_syscall` without `capability=`. This reverses the FR-53 (c) answer for MCP only.**
|
|
2251
|
+
|
|
2252
|
+
**Why**
|
|
2253
|
+
Inference refused `memory.search`, `memory.tree` and `memory.trace`, three of the five tools the server exposes by default, and `memory.delete` when writes are on. FR-53 (c) called that deliberate least-privilege and told authors to choose names that match, but the runtime's own syscalls do not, and renaming stable syscalls breaks callers. The grant is still one capability, and it is one the operator's allowlist already chose to expose, so inference added refusals and no protection. Widening `_infer_dispatch_capability` was rejected: it would not fix `memory.delete`, and it would change the Nodus and worker seams, where a guest writes the syscall name, so the name rule does gate something. The cost is that `memory.delete` now really deletes on a server with `AINDY_MCP_SERVER_ALLOW_WRITES`, and any mismatched syscall an operator named in `AINDY_MCP_SERVER_TOOLS` starts working. Both are what those settings say they do.
|
|
2254
|
+
|
|
2255
|
+
### DEC-113
|
|
2256
|
+
**Status:** `accepted` (2026-11-07 — decided by the owner: "yes start on the 2.31.2 fix")
|
|
2257
|
+
|
|
2258
|
+
**Decision — Identity comes from authentication at every step of a call. A `user_id` in the part of a payload that a syscall forwards (`job.submit`, `flow.run`, `flow.execute_intent`, `nodus.execute`) is held to DEC-103's rule, and transports refuse it even under `observe`. The Nodus tool seam needs a token bound to the run and user, checked without expiry. A flow node uses an `agent_run_id` from state only if the caller owns that run. A unit source id from `memory.nodus` carries the user. An identity that doesn't parse sees nothing on owner-only memory reads.**
|
|
2259
|
+
|
|
2260
|
+
**Why**
|
|
2261
|
+
Each of these trusted a value the caller can write, past the point where the caller was authenticated. The token check sits at the seam, not as a list of refused state keys, because more than one route reaches that seam and a list has to be kept complete. Expiry is left out because a crash re-drive can replay its own recorded steps on an expired token, and `execute_tool` still checks expiry before any tool runs. No user at all stays unfiltered on those reads, because that is trusted in-process code.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: "MCP Integration (client-side)"
|
|
3
3
|
api_version: "1.0"
|
|
4
|
-
last_verified: "2026-
|
|
4
|
+
last_verified: "2026-11-06"
|
|
5
5
|
status: current
|
|
6
6
|
owner: "platform-team"
|
|
7
7
|
---
|
|
@@ -116,11 +116,13 @@ Claude Desktop config (`claude_desktop_config.json`) points `command`/`args` at
|
|
|
116
116
|
(`TENANT_VIOLATION`, `failure_class: permission`) before dispatch and before an execution unit is
|
|
117
117
|
claimed. An absent one is filled with the caller's, so handlers that require the key work.
|
|
118
118
|
This holds for any allowlisted syscall, including app handlers that read `payload["user_id"]`.
|
|
119
|
-
- **
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
`
|
|
119
|
+
- **A tool is granted the capability its syscall declares, and nothing else (DEC-112).** The
|
|
120
|
+
allowlist decides what is exposed, so naming a syscall in `AINDY_MCP_SERVER_TOOLS` is enough
|
|
121
|
+
to make it callable, whatever its capability is called. Before DEC-112 the grant was inferred
|
|
122
|
+
from the name, which refused `memory.search`, `memory.tree`, `memory.trace` and
|
|
123
|
+
`memory.delete`. Other callers of `dispatch_syscall` without `capability=` still infer it
|
|
124
|
+
(`register_syscall`'s docstring). Tools appear as `nodus_<domain>_<action>`; that prefix comes
|
|
125
|
+
from `nodus-mcp`'s `syscall_entry_to_tool`.
|
|
124
126
|
|
|
125
127
|
### SSE transport + per-session multi-tenant (MEB-3a)
|
|
126
128
|
|
|
@@ -1745,6 +1745,69 @@ inside it:**
|
|
|
1745
1745
|
|
|
1746
1746
|
---
|
|
1747
1747
|
|
|
1748
|
+
## Entry 050 — 2026-11-06
|
|
1749
|
+
|
|
1750
|
+
**Trigger:** `v2.31.1` release tag (`sandbox-escape-linux.yml`, run `42339269780`).
|
|
1751
|
+
**Commit:** `e74755b` (release PR #898's merge commit).
|
|
1752
|
+
**Platform:** GitHub `ubuntu-latest`, native Linux containers backend.
|
|
1753
|
+
**Image:** `python:3.11-alpine` (`SANDBOX_ESCAPE_IMAGE`), digest
|
|
1754
|
+
`sha256:bb1d70c1df30d8ee1e05214dbe82d6cdfd29833c1f47ce917f20991aca93acaa`, **which MOVED from Entry 049's
|
|
1755
|
+
`09d17d5e`**. The tag is not pinned, so this is the upstream image changing, and the suite passed against it.
|
|
1756
|
+
**Summary:** 17 / 17 PASS — 0 FAIL — 0 SKIP (`17 passed, 4 warnings in 10.29s`)
|
|
1757
|
+
**Artifact:** `linux-sandbox-escape-results` (`sandbox_escape_results.json`, run `42339269780`).
|
|
1758
|
+
|
|
1759
|
+
**Nothing inside the certified boundary moved.** `git diff v2.31.0..v2.31.1` over
|
|
1760
|
+
`sandbox_runner.py`, `sandbox_certification.py`, `plugin_host.py` and `tests/sandbox/` is empty.
|
|
1761
|
+
|
|
1762
|
+
**Near the boundary, recorded so nobody reads it as inside:**
|
|
1763
|
+
- #896 (DEC-112) makes the MCP server grant the capability a syscall declares. That is host-side authority for
|
|
1764
|
+
an outside AI, and this gate does not test it.
|
|
1765
|
+
- #897 (`MEM-TRACE-SCOPE-1`) scopes each `causal_trace` hop to the caller. That is tenant isolation in the DAO,
|
|
1766
|
+
and this gate does not test that either.
|
|
1767
|
+
|
|
1768
|
+
**Schema:** no migration (Alembic `0020`, contract `2026-09-20`), so the `Upgrade Path Guard` passed
|
|
1769
|
+
trivially and its negative control carried the meaning. It passed on `e74755b` before the tag, along with
|
|
1770
|
+
Runtime CI, Boot Smoke (PostgreSQL) and the auth CVE audit.
|
|
1771
|
+
|
|
1772
|
+
**Publish (run `42339269914`):**
|
|
1773
|
+
- The owner approved the `production` environment gate.
|
|
1774
|
+
- PyPI's JSON API and simple index both reported `2.31.1` (wheel + sdist).
|
|
1775
|
+
- Boot Smoke on the published wheel installed on **attempt 1**.
|
|
1776
|
+
- The GitHub release is non-draft (04:48Z on 2026-11-07).
|
|
1777
|
+
- `publish.yml` is unchanged from `v2.31.0`.
|
|
1778
|
+
|
|
1779
|
+
## Entry 049 — 2026-11-04
|
|
1780
|
+
|
|
1781
|
+
**Trigger:** `v2.31.0` release tag (`sandbox-escape-linux.yml`, run `41884879519`).
|
|
1782
|
+
**Commit:** `4f6400f` (release PR #893's merge commit).
|
|
1783
|
+
**Platform:** GitHub `ubuntu-latest`, native Linux containers backend.
|
|
1784
|
+
**Image:** `python:3.11-alpine` (`SANDBOX_ESCAPE_IMAGE`), digest
|
|
1785
|
+
`sha256:09d17d5e4c16d0a7a1eea690bcb7c6ab8616b211f8421e429e97c1bef5bd0ed2`, **the same as Entry 048**.
|
|
1786
|
+
**Summary:** 17 / 17 PASS — 0 FAIL — 0 SKIP (`17 passed, 4 warnings in 6.83s`)
|
|
1787
|
+
**Artifact:** `linux-sandbox-escape-results` (`sandbox_escape_results.json`, run `41884879519`).
|
|
1788
|
+
|
|
1789
|
+
**Nothing inside the certified boundary moved.** `git diff v2.30.0..v2.31.0` over
|
|
1790
|
+
`sandbox_runner.py`, `sandbox_certification.py`, `plugin_host.py` and `tests/sandbox/` is empty.
|
|
1791
|
+
|
|
1792
|
+
**Near the boundary, recorded so nobody reads it as inside:**
|
|
1793
|
+
- #891 (DEC-108..110) makes `sys.v1.agent.undo` reverse real effects. The effect ledger now links each
|
|
1794
|
+
row to its execution unit, `execute_tool` binds the run around a tool call, and
|
|
1795
|
+
`sys.v1.memory.write` gains a compensator that deletes the node it wrote. None of it changes
|
|
1796
|
+
isolation, and the compensator runs in the API process under undo's session, not in a sandbox.
|
|
1797
|
+
|
|
1798
|
+
**Schema:** no migration (Alembic `0020`, contract `2026-09-20`), so the `Upgrade Path Guard` passed
|
|
1799
|
+
trivially and its negative control carried the meaning. Both passed on `4f6400f` before the tag,
|
|
1800
|
+
along with Runtime CI, Boot Smoke (PostgreSQL) and the auth CVE audit.
|
|
1801
|
+
|
|
1802
|
+
**Publish (run `41884879873`):**
|
|
1803
|
+
- The owner approved the `production` environment gate.
|
|
1804
|
+
- PyPI's JSON API and simple index both reported `2.31.0` (wheel + sdist), and the simple index lagged
|
|
1805
|
+
the JSON API.
|
|
1806
|
+
- Boot Smoke on the published wheel installed on **attempt 3**. Attempts 1 and 2 hit that lag (`No
|
|
1807
|
+
matching distribution found`, JSON API 200), and the job's retry waited 30 s each time, as designed.
|
|
1808
|
+
- The GitHub release is non-draft (18:20Z).
|
|
1809
|
+
- `publish.yml` is unchanged from `v2.30.0`.
|
|
1810
|
+
|
|
1748
1811
|
## Entry 048 — 2026-11-04
|
|
1749
1812
|
|
|
1750
1813
|
**Trigger:** `v2.30.0` release tag (`sandbox-escape-linux.yml`, run `41783230461`).
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.31.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aindy_runtime-2.31.0 → aindy_runtime-2.31.2}/AINDY/agents/agent_runtime/planner_backends.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|