arvis 0.1.0a12__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.
- arvis-0.1.0a12/AUTHORS_NOTE.md +29 -0
- arvis-0.1.0a12/LICENSE +172 -0
- arvis-0.1.0a12/MANIFEST.in +5 -0
- arvis-0.1.0a12/NOTICE +6 -0
- arvis-0.1.0a12/PKG-INFO +454 -0
- arvis-0.1.0a12/README.md +405 -0
- arvis-0.1.0a12/arvis/__init__.py +24 -0
- arvis-0.1.0a12/arvis/action/__init__.py +13 -0
- arvis-0.1.0a12/arvis/action/action_context.py +18 -0
- arvis-0.1.0a12/arvis/action/action_decision.py +26 -0
- arvis-0.1.0a12/arvis/action/action_evaluator.py +97 -0
- arvis-0.1.0a12/arvis/action/action_mapper.py +47 -0
- arvis-0.1.0a12/arvis/action/action_mode.py +17 -0
- arvis-0.1.0a12/arvis/action/action_policy.py +61 -0
- arvis-0.1.0a12/arvis/action/action_resolver.py +34 -0
- arvis-0.1.0a12/arvis/action/action_template.py +28 -0
- arvis-0.1.0a12/arvis/adapters/__init__.py +10 -0
- arvis-0.1.0a12/arvis/adapters/ir/__init__.py +0 -0
- arvis-0.1.0a12/arvis/adapters/ir/adaptive_adapter.py +20 -0
- arvis-0.1.0a12/arvis/adapters/ir/cognitive_ir_builder.py +50 -0
- arvis-0.1.0a12/arvis/adapters/ir/decision_adapter.py +154 -0
- arvis-0.1.0a12/arvis/adapters/ir/gate_adapter.py +86 -0
- arvis-0.1.0a12/arvis/adapters/ir/projection_adapter.py +30 -0
- arvis-0.1.0a12/arvis/adapters/ir/stability_adapter.py +24 -0
- arvis-0.1.0a12/arvis/adapters/ir/state_adapter.py +202 -0
- arvis-0.1.0a12/arvis/adapters/ir/validity_adapter.py +25 -0
- arvis-0.1.0a12/arvis/adapters/kernel/__init__.py +18 -0
- arvis-0.1.0a12/arvis/adapters/kernel/canonical_to_event.py +26 -0
- arvis-0.1.0a12/arvis/adapters/kernel/event_to_signal.py +23 -0
- arvis-0.1.0a12/arvis/adapters/kernel/kernel_adapter.py +38 -0
- arvis-0.1.0a12/arvis/adapters/kernel/mappers/__init__.py +0 -0
- arvis-0.1.0a12/arvis/adapters/kernel/mappers/ir_to_canonical.py +38 -0
- arvis-0.1.0a12/arvis/adapters/kernel/rules/__init__.py +23 -0
- arvis-0.1.0a12/arvis/adapters/kernel/rules/base_rule.py +21 -0
- arvis-0.1.0a12/arvis/adapters/kernel/rules/decision_rules.py +45 -0
- arvis-0.1.0a12/arvis/adapters/kernel/rules/fallback_rules.py +22 -0
- arvis-0.1.0a12/arvis/adapters/kernel/rules/gate_rules.py +38 -0
- arvis-0.1.0a12/arvis/adapters/kernel/rules/state_rules.py +36 -0
- arvis-0.1.0a12/arvis/adapters/kernel/signals/__init__.py +0 -0
- arvis-0.1.0a12/arvis/adapters/kernel/signals/signal_factory.py +122 -0
- arvis-0.1.0a12/arvis/adapters/kernel/signals/signal_semantics.py +45 -0
- arvis-0.1.0a12/arvis/adapters/kernel/timeline_from_signals.py +88 -0
- arvis-0.1.0a12/arvis/adapters/llm/__init__.py +32 -0
- arvis-0.1.0a12/arvis/adapters/llm/context/__init__.py +0 -0
- arvis-0.1.0a12/arvis/adapters/llm/context/arvis_context_mapper.py +80 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/__init__.py +20 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/context.py +15 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/error_payload.py +24 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/errors.py +24 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/execution_result.py +49 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/message.py +15 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/options.py +16 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/privacy.py +10 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/request.py +73 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/response.py +28 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/result.py +56 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/structured_output.py +14 -0
- arvis-0.1.0a12/arvis/adapters/llm/contracts/usage.py +49 -0
- arvis-0.1.0a12/arvis/adapters/llm/epistemic/__init__.py +1 -0
- arvis-0.1.0a12/arvis/adapters/llm/epistemic/state.py +41 -0
- arvis-0.1.0a12/arvis/adapters/llm/governance/__init__.py +0 -0
- arvis-0.1.0a12/arvis/adapters/llm/governance/budget.py +36 -0
- arvis-0.1.0a12/arvis/adapters/llm/governance/decision.py +17 -0
- arvis-0.1.0a12/arvis/adapters/llm/governance/evaluator.py +57 -0
- arvis-0.1.0a12/arvis/adapters/llm/governance/policy.py +29 -0
- arvis-0.1.0a12/arvis/adapters/llm/governance/risk.py +36 -0
- arvis-0.1.0a12/arvis/adapters/llm/observability/__init__.py +11 -0
- arvis-0.1.0a12/arvis/adapters/llm/observability/evaluation.py +30 -0
- arvis-0.1.0a12/arvis/adapters/llm/observability/math_utils.py +57 -0
- arvis-0.1.0a12/arvis/adapters/llm/observability/observation.py +34 -0
- arvis-0.1.0a12/arvis/adapters/llm/observability/observer.py +52 -0
- arvis-0.1.0a12/arvis/adapters/llm/observability/providers/__init__.py +1 -0
- arvis-0.1.0a12/arvis/adapters/llm/observability/providers/base.py +11 -0
- arvis-0.1.0a12/arvis/adapters/llm/observability/providers/mock.py +20 -0
- arvis-0.1.0a12/arvis/adapters/llm/observability/providers/openai.py +27 -0
- arvis-0.1.0a12/arvis/adapters/llm/observability/risk_mapper.py +56 -0
- arvis-0.1.0a12/arvis/adapters/llm/observability/risk_signal.py +41 -0
- arvis-0.1.0a12/arvis/adapters/llm/policy/__init__.py +11 -0
- arvis-0.1.0a12/arvis/adapters/llm/policy/behavior_policy.py +45 -0
- arvis-0.1.0a12/arvis/adapters/llm/policy/behavior_policy_mapper.py +108 -0
- arvis-0.1.0a12/arvis/adapters/llm/policy/linguistic_frame_mapper.py +74 -0
- arvis-0.1.0a12/arvis/adapters/llm/prompts/__init__.py +12 -0
- arvis-0.1.0a12/arvis/adapters/llm/prompts/builder.py +120 -0
- arvis-0.1.0a12/arvis/adapters/llm/prompts/contract.py +31 -0
- arvis-0.1.0a12/arvis/adapters/llm/prompts/prompt_to_messages.py +29 -0
- arvis-0.1.0a12/arvis/adapters/llm/prompts/sanitizer.py +11 -0
- arvis-0.1.0a12/arvis/adapters/llm/prompts/templates.py +20 -0
- arvis-0.1.0a12/arvis/adapters/llm/providers/__init__.py +23 -0
- arvis-0.1.0a12/arvis/adapters/llm/providers/anthropic.py +59 -0
- arvis-0.1.0a12/arvis/adapters/llm/providers/base.py +15 -0
- arvis-0.1.0a12/arvis/adapters/llm/providers/mock.py +30 -0
- arvis-0.1.0a12/arvis/adapters/llm/providers/ollama.py +61 -0
- arvis-0.1.0a12/arvis/adapters/llm/providers/openai.py +60 -0
- arvis-0.1.0a12/arvis/adapters/llm/providers/registry.py +35 -0
- arvis-0.1.0a12/arvis/adapters/llm/providers/resolver.py +33 -0
- arvis-0.1.0a12/arvis/adapters/llm/runtime/__init__.py +29 -0
- arvis-0.1.0a12/arvis/adapters/llm/runtime/evaluator.py +55 -0
- arvis-0.1.0a12/arvis/adapters/llm/runtime/executor.py +155 -0
- arvis-0.1.0a12/arvis/adapters/llm/runtime/fallback_executor.py +118 -0
- arvis-0.1.0a12/arvis/adapters/llm/runtime/guarded_adapter.py +153 -0
- arvis-0.1.0a12/arvis/adapters/llm/runtime/retry.py +99 -0
- arvis-0.1.0a12/arvis/adapters/llm/runtime/router.py +55 -0
- arvis-0.1.0a12/arvis/adapters/llm/tracing/__init__.py +15 -0
- arvis-0.1.0a12/arvis/adapters/llm/tracing/llm_trace.py +58 -0
- arvis-0.1.0a12/arvis/adapters/llm/tracing/serializer.py +53 -0
- arvis-0.1.0a12/arvis/adapters/llm/validation/__init__.py +0 -0
- arvis-0.1.0a12/arvis/adapters/llm/validation/output_validator.py +196 -0
- arvis-0.1.0a12/arvis/adapters/registry.py +8 -0
- arvis-0.1.0a12/arvis/adapters/tools/__init__.py +0 -0
- arvis-0.1.0a12/arvis/adapters/tools/authorization.py +10 -0
- arvis-0.1.0a12/arvis/adapters/tools/authorization_snapshot.py +78 -0
- arvis-0.1.0a12/arvis/adapters/tools/gates.py +31 -0
- arvis-0.1.0a12/arvis/adapters/tools/invocation.py +327 -0
- arvis-0.1.0a12/arvis/adapters/tools/policy.py +90 -0
- arvis-0.1.0a12/arvis/api/__init__.py +199 -0
- arvis-0.1.0a12/arvis/api/audit.py +28 -0
- arvis-0.1.0a12/arvis/api/cognition.py +31 -0
- arvis-0.1.0a12/arvis/api/commitment.py +293 -0
- arvis-0.1.0a12/arvis/api/engine.py +139 -0
- arvis-0.1.0a12/arvis/api/execution.py +49 -0
- arvis-0.1.0a12/arvis/api/ir.py +87 -0
- arvis-0.1.0a12/arvis/api/ir_canonical.py +32 -0
- arvis-0.1.0a12/arvis/api/ir_diff.py +45 -0
- arvis-0.1.0a12/arvis/api/math.py +39 -0
- arvis-0.1.0a12/arvis/api/memory.py +17 -0
- arvis-0.1.0a12/arvis/api/os.py +404 -0
- arvis-0.1.0a12/arvis/api/os_internals.py +429 -0
- arvis-0.1.0a12/arvis/api/reasoning.py +15 -0
- arvis-0.1.0a12/arvis/api/reflexive.py +29 -0
- arvis-0.1.0a12/arvis/api/runtime/__init__.py +0 -0
- arvis-0.1.0a12/arvis/api/runtime/cognitive_runtime.py +389 -0
- arvis-0.1.0a12/arvis/api/runtime_controls.py +25 -0
- arvis-0.1.0a12/arvis/api/runtime_mode.py +45 -0
- arvis-0.1.0a12/arvis/api/schema/ir_schema.json +68 -0
- arvis-0.1.0a12/arvis/api/stability.py +54 -0
- arvis-0.1.0a12/arvis/api/timeline.py +90 -0
- arvis-0.1.0a12/arvis/api/trace.py +119 -0
- arvis-0.1.0a12/arvis/api/version.py +84 -0
- arvis-0.1.0a12/arvis/api/views/__init__.py +0 -0
- arvis-0.1.0a12/arvis/api/views/cognitive_result_view.py +379 -0
- arvis-0.1.0a12/arvis/cognition/__init__.py +29 -0
- arvis-0.1.0a12/arvis/cognition/attention/__init__.py +0 -0
- arvis-0.1.0a12/arvis/cognition/attention/attention_context.py +23 -0
- arvis-0.1.0a12/arvis/cognition/attention/attention_policy.py +31 -0
- arvis-0.1.0a12/arvis/cognition/bundle/__init__.py +15 -0
- arvis-0.1.0a12/arvis/cognition/bundle/cognitive_bundle_builder.py +115 -0
- arvis-0.1.0a12/arvis/cognition/bundle/cognitive_bundle_invariants.py +125 -0
- arvis-0.1.0a12/arvis/cognition/bundle/cognitive_bundle_snapshot.py +46 -0
- arvis-0.1.0a12/arvis/cognition/calibration/__init__.py +0 -0
- arvis-0.1.0a12/arvis/cognition/calibration/calibration_engine.py +104 -0
- arvis-0.1.0a12/arvis/cognition/coherence/__init__.py +24 -0
- arvis-0.1.0a12/arvis/cognition/coherence/change_budget.py +23 -0
- arvis-0.1.0a12/arvis/cognition/coherence/coherence_limits.py +18 -0
- arvis-0.1.0a12/arvis/cognition/coherence/coherence_observer.py +171 -0
- arvis-0.1.0a12/arvis/cognition/coherence/coherence_policy.py +54 -0
- arvis-0.1.0a12/arvis/cognition/coherence/stability_constraint.py +72 -0
- arvis-0.1.0a12/arvis/cognition/confirmation/__init__.py +12 -0
- arvis-0.1.0a12/arvis/cognition/confirmation/confirmation_evaluator.py +26 -0
- arvis-0.1.0a12/arvis/cognition/confirmation/confirmation_flow.py +34 -0
- arvis-0.1.0a12/arvis/cognition/confirmation/confirmation_request.py +16 -0
- arvis-0.1.0a12/arvis/cognition/confirmation/confirmation_result.py +20 -0
- arvis-0.1.0a12/arvis/cognition/conflict/__init__.py +17 -0
- arvis-0.1.0a12/arvis/cognition/conflict/conflict_confirmation.py +14 -0
- arvis-0.1.0a12/arvis/cognition/conflict/conflict_evaluator.py +46 -0
- arvis-0.1.0a12/arvis/cognition/conflict/conflict_extractor.py +35 -0
- arvis-0.1.0a12/arvis/cognition/conflict/conflict_hint.py +18 -0
- arvis-0.1.0a12/arvis/cognition/conflict/conflict_impact.py +19 -0
- arvis-0.1.0a12/arvis/cognition/conflict/conflict_modulation.py +25 -0
- arvis-0.1.0a12/arvis/cognition/conflict/conflict_policy_result.py +14 -0
- arvis-0.1.0a12/arvis/cognition/conflict/conflict_pressure_engine.py +44 -0
- arvis-0.1.0a12/arvis/cognition/conflict/conflict_severity.py +15 -0
- arvis-0.1.0a12/arvis/cognition/conflict/conflict_signal.py +16 -0
- arvis-0.1.0a12/arvis/cognition/conflict/conflict_type.py +20 -0
- arvis-0.1.0a12/arvis/cognition/conflict/default_rules.py +22 -0
- arvis-0.1.0a12/arvis/cognition/control/__init__.py +15 -0
- arvis-0.1.0a12/arvis/cognition/control/adaptive_mode_snapshot.py +23 -0
- arvis-0.1.0a12/arvis/cognition/control/cognitive_control_engine.py +643 -0
- arvis-0.1.0a12/arvis/cognition/control/cognitive_control_runtime.py +34 -0
- arvis-0.1.0a12/arvis/cognition/control/cognitive_control_snapshot.py +36 -0
- arvis-0.1.0a12/arvis/cognition/control/exploration_controller.py +101 -0
- arvis-0.1.0a12/arvis/cognition/control/exploration_snapshot.py +36 -0
- arvis-0.1.0a12/arvis/cognition/control/mode_hysteresis.py +61 -0
- arvis-0.1.0a12/arvis/cognition/control/regime_control_snapshot.py +34 -0
- arvis-0.1.0a12/arvis/cognition/control/regime_policy.py +53 -0
- arvis-0.1.0a12/arvis/cognition/control/temporal_modulation.py +33 -0
- arvis-0.1.0a12/arvis/cognition/control/temporal_pressure.py +58 -0
- arvis-0.1.0a12/arvis/cognition/control/temporal_regulation.py +51 -0
- arvis-0.1.0a12/arvis/cognition/conversation/__init__.py +21 -0
- arvis-0.1.0a12/arvis/cognition/conversation/conversation_context.py +35 -0
- arvis-0.1.0a12/arvis/cognition/conversation/conversation_mode.py +19 -0
- arvis-0.1.0a12/arvis/cognition/conversation/conversation_signal.py +21 -0
- arvis-0.1.0a12/arvis/cognition/conversation/conversation_state.py +34 -0
- arvis-0.1.0a12/arvis/cognition/conversation/response_plan.py +36 -0
- arvis-0.1.0a12/arvis/cognition/conversation/response_realization_mode.py +13 -0
- arvis-0.1.0a12/arvis/cognition/conversation/response_strategy_decision.py +24 -0
- arvis-0.1.0a12/arvis/cognition/conversation/response_strategy_type.py +20 -0
- arvis-0.1.0a12/arvis/cognition/core/__init__.py +0 -0
- arvis-0.1.0a12/arvis/cognition/core/cognitive_core_engine.py +93 -0
- arvis-0.1.0a12/arvis/cognition/core/cognitive_core_result.py +28 -0
- arvis-0.1.0a12/arvis/cognition/decision/__init__.py +0 -0
- arvis-0.1.0a12/arvis/cognition/decision/decision_context.py +17 -0
- arvis-0.1.0a12/arvis/cognition/decision/decision_evaluator.py +71 -0
- arvis-0.1.0a12/arvis/cognition/decision/decision_result.py +43 -0
- arvis-0.1.0a12/arvis/cognition/decision/decision_signal.py +33 -0
- arvis-0.1.0a12/arvis/cognition/events/__init__.py +5 -0
- arvis-0.1.0a12/arvis/cognition/events/base_event.py +22 -0
- arvis-0.1.0a12/arvis/cognition/execution/__init__.py +5 -0
- arvis-0.1.0a12/arvis/cognition/execution/executable_intent.py +34 -0
- arvis-0.1.0a12/arvis/cognition/explanation/__init__.py +0 -0
- arvis-0.1.0a12/arvis/cognition/explanation/explanation_snapshot.py +34 -0
- arvis-0.1.0a12/arvis/cognition/gate/__init__.py +5 -0
- arvis-0.1.0a12/arvis/cognition/gate/cognitive_gate_protocol.py +11 -0
- arvis-0.1.0a12/arvis/cognition/gate/cognitive_gate_result.py +47 -0
- arvis-0.1.0a12/arvis/cognition/gate/cognitive_gate_verdict.py +9 -0
- arvis-0.1.0a12/arvis/cognition/gate/gate_decision_trace.py +27 -0
- arvis-0.1.0a12/arvis/cognition/gate/gate_trace_builder.py +78 -0
- arvis-0.1.0a12/arvis/cognition/gate/reason_code_normalizer.py +84 -0
- arvis-0.1.0a12/arvis/cognition/gate/reason_code_registry.py +54 -0
- arvis-0.1.0a12/arvis/cognition/governance/__init__.py +12 -0
- arvis-0.1.0a12/arvis/cognition/governance/governance_decision.py +22 -0
- arvis-0.1.0a12/arvis/cognition/governance/governance_evaluator.py +27 -0
- arvis-0.1.0a12/arvis/cognition/governance/governance_suggestion.py +16 -0
- arvis-0.1.0a12/arvis/cognition/introspection/__init__.py +0 -0
- arvis-0.1.0a12/arvis/cognition/introspection/introspection_snapshot.py +33 -0
- arvis-0.1.0a12/arvis/cognition/observability/__init__.py +2 -0
- arvis-0.1.0a12/arvis/cognition/observability/adaptive/__init__.py +0 -0
- arvis-0.1.0a12/arvis/cognition/observability/adaptive/adaptive_stability_snapshot.py +11 -0
- arvis-0.1.0a12/arvis/cognition/observability/observability_builder.py +173 -0
- arvis-0.1.0a12/arvis/cognition/observability/symbolic/__init__.py +11 -0
- arvis-0.1.0a12/arvis/cognition/observability/symbolic/symbolic_drift_snapshot.py +23 -0
- arvis-0.1.0a12/arvis/cognition/observability/symbolic/symbolic_feature_snapshot.py +17 -0
- arvis-0.1.0a12/arvis/cognition/pending/__init__.py +5 -0
- arvis-0.1.0a12/arvis/cognition/pending/pending_cognitive_action.py +28 -0
- arvis-0.1.0a12/arvis/cognition/policy/__init__.py +6 -0
- arvis-0.1.0a12/arvis/cognition/policy/cognitive_policy_result.py +24 -0
- arvis-0.1.0a12/arvis/cognition/policy/cognitive_signal_snapshot.py +24 -0
- arvis-0.1.0a12/arvis/cognition/projection/__init__.py +0 -0
- arvis-0.1.0a12/arvis/cognition/projection/projection_api.py +105 -0
- arvis-0.1.0a12/arvis/cognition/projection/projection_diagnostics.py +35 -0
- arvis-0.1.0a12/arvis/cognition/projection/projection_result.py +21 -0
- arvis-0.1.0a12/arvis/cognition/retrieval/__init__.py +0 -0
- arvis-0.1.0a12/arvis/cognition/retrieval/cognitive_retrieval_snapshot.py +22 -0
- arvis-0.1.0a12/arvis/cognition/state/__init__.py +26 -0
- arvis-0.1.0a12/arvis/cognition/state/cognitive_state.py +104 -0
- arvis-0.1.0a12/arvis/cognition/state/cognitive_state_builder.py +96 -0
- arvis-0.1.0a12/arvis/cognition/suggestion/__init__.py +0 -0
- arvis-0.1.0a12/arvis/cognition/suggestion/suggestion_evaluator.py +37 -0
- arvis-0.1.0a12/arvis/cognition/suggestion/suggestion_signal.py +13 -0
- arvis-0.1.0a12/arvis/cognition/temporal/__init__.py +0 -0
- arvis-0.1.0a12/arvis/cognition/temporal/temporal_context.py +23 -0
- arvis-0.1.0a12/arvis/cognition/temporal/temporal_policy.py +48 -0
- arvis-0.1.0a12/arvis/context/__init__.py +0 -0
- arvis-0.1.0a12/arvis/context/context_hint_policy_gate.py +31 -0
- arvis-0.1.0a12/arvis/contracts/__init__.py +0 -0
- arvis-0.1.0a12/arvis/contracts/cognitive_state_contract.py +141 -0
- arvis-0.1.0a12/arvis/control/__init__.py +31 -0
- arvis-0.1.0a12/arvis/control/control_context.py +33 -0
- arvis-0.1.0a12/arvis/control/control_inertia.py +117 -0
- arvis-0.1.0a12/arvis/control/control_preferences.py +22 -0
- arvis-0.1.0a12/arvis/control/control_signal.py +16 -0
- arvis-0.1.0a12/arvis/control/control_state.py +42 -0
- arvis-0.1.0a12/arvis/control/onboarding_state.py +16 -0
- arvis-0.1.0a12/arvis/control/understanding_snapshot.py +35 -0
- arvis-0.1.0a12/arvis/conversation/__init__.py +0 -0
- arvis-0.1.0a12/arvis/conversation/act_strategy_mapper.py +35 -0
- arvis-0.1.0a12/arvis/conversation/continuation.py +45 -0
- arvis-0.1.0a12/arvis/conversation/conversation_adaptive_controller.py +172 -0
- arvis-0.1.0a12/arvis/conversation/conversation_adaptive_policy.py +61 -0
- arvis-0.1.0a12/arvis/conversation/conversation_adversarial_detector.py +54 -0
- arvis-0.1.0a12/arvis/conversation/conversation_attractor_model.py +63 -0
- arvis-0.1.0a12/arvis/conversation/conversation_cognitive_bridge.py +99 -0
- arvis-0.1.0a12/arvis/conversation/conversation_coherence_metric.py +22 -0
- arvis-0.1.0a12/arvis/conversation/conversation_collapse_guard.py +26 -0
- arvis-0.1.0a12/arvis/conversation/conversation_composite_stability.py +42 -0
- arvis-0.1.0a12/arvis/conversation/conversation_context.py +37 -0
- arvis-0.1.0a12/arvis/conversation/conversation_energy_model.py +80 -0
- arvis-0.1.0a12/arvis/conversation/conversation_entropy_regulator.py +50 -0
- arvis-0.1.0a12/arvis/conversation/conversation_fast_path.py +34 -0
- arvis-0.1.0a12/arvis/conversation/conversation_feedback_signal.py +27 -0
- arvis-0.1.0a12/arvis/conversation/conversation_future_simulator.py +33 -0
- arvis-0.1.0a12/arvis/conversation/conversation_global_stability_adapter.py +29 -0
- arvis-0.1.0a12/arvis/conversation/conversation_lyapunov_adapter.py +24 -0
- arvis-0.1.0a12/arvis/conversation/conversation_memory_bridge.py +95 -0
- arvis-0.1.0a12/arvis/conversation/conversation_memory_policy.py +67 -0
- arvis-0.1.0a12/arvis/conversation/conversation_orchestrator.py +330 -0
- arvis-0.1.0a12/arvis/conversation/conversation_policy_base.py +18 -0
- arvis-0.1.0a12/arvis/conversation/conversation_policy_engine.py +60 -0
- arvis-0.1.0a12/arvis/conversation/conversation_predictive_strategy.py +31 -0
- arvis-0.1.0a12/arvis/conversation/conversation_predictor.py +69 -0
- arvis-0.1.0a12/arvis/conversation/conversation_regime_controller.py +195 -0
- arvis-0.1.0a12/arvis/conversation/conversation_stability_controller.py +78 -0
- arvis-0.1.0a12/arvis/conversation/conversation_stability_signals.py +141 -0
- arvis-0.1.0a12/arvis/conversation/conversation_state.py +48 -0
- arvis-0.1.0a12/arvis/conversation/conversation_strategy_dynamics.py +61 -0
- arvis-0.1.0a12/arvis/conversation/conversation_strategy_field.py +63 -0
- arvis-0.1.0a12/arvis/conversation/conversation_trajectory_controller.py +28 -0
- arvis-0.1.0a12/arvis/conversation/conversation_world_prediction_bridge.py +42 -0
- arvis-0.1.0a12/arvis/conversation/pending_turn.py +47 -0
- arvis-0.1.0a12/arvis/conversation/response_plan.py +5 -0
- arvis-0.1.0a12/arvis/conversation/response_plan_builder.py +128 -0
- arvis-0.1.0a12/arvis/conversation/response_realization_mode.py +7 -0
- arvis-0.1.0a12/arvis/conversation/response_strategy_decision.py +7 -0
- arvis-0.1.0a12/arvis/conversation/response_strategy_resolver.py +130 -0
- arvis-0.1.0a12/arvis/conversation/response_strategy_type.py +5 -0
- arvis-0.1.0a12/arvis/conversation/strategy_stability_controller.py +38 -0
- arvis-0.1.0a12/arvis/conversation/user_adaptive_profile.py +23 -0
- arvis-0.1.0a12/arvis/errors/__init__.py +234 -0
- arvis-0.1.0a12/arvis/errors/api.py +20 -0
- arvis-0.1.0a12/arvis/errors/artifact.py +26 -0
- arvis-0.1.0a12/arvis/errors/base.py +422 -0
- arvis-0.1.0a12/arvis/errors/boundaries/__init__.py +25 -0
- arvis-0.1.0a12/arvis/errors/boundaries/llm.py +77 -0
- arvis-0.1.0a12/arvis/errors/boundaries/observability.py +59 -0
- arvis-0.1.0a12/arvis/errors/boundaries/pipeline.py +112 -0
- arvis-0.1.0a12/arvis/errors/classification.py +178 -0
- arvis-0.1.0a12/arvis/errors/codes.py +195 -0
- arvis-0.1.0a12/arvis/errors/context.py +39 -0
- arvis-0.1.0a12/arvis/errors/disposition.py +39 -0
- arvis-0.1.0a12/arvis/errors/factories.py +39 -0
- arvis-0.1.0a12/arvis/errors/helpers.py +16 -0
- arvis-0.1.0a12/arvis/errors/kernel.py +34 -0
- arvis-0.1.0a12/arvis/errors/kernel_runtime.py +36 -0
- arvis-0.1.0a12/arvis/errors/llm_runtime.py +36 -0
- arvis-0.1.0a12/arvis/errors/manager.py +407 -0
- arvis-0.1.0a12/arvis/errors/messages.py +26 -0
- arvis-0.1.0a12/arvis/errors/normalization.py +158 -0
- arvis-0.1.0a12/arvis/errors/observability.py +32 -0
- arvis-0.1.0a12/arvis/errors/pipeline.py +32 -0
- arvis-0.1.0a12/arvis/errors/policy.py +42 -0
- arvis-0.1.0a12/arvis/errors/provenance.py +116 -0
- arvis-0.1.0a12/arvis/errors/redaction.py +137 -0
- arvis-0.1.0a12/arvis/errors/registry.py +36 -0
- arvis-0.1.0a12/arvis/errors/replay.py +25 -0
- arvis-0.1.0a12/arvis/errors/runtime.py +47 -0
- arvis-0.1.0a12/arvis/errors/runtime_execution.py +31 -0
- arvis-0.1.0a12/arvis/errors/runtime_pipeline.py +44 -0
- arvis-0.1.0a12/arvis/errors/runtime_scheduler.py +37 -0
- arvis-0.1.0a12/arvis/errors/syscall.py +53 -0
- arvis-0.1.0a12/arvis/errors/tool_runtime.py +52 -0
- arvis-0.1.0a12/arvis/errors/types.py +12 -0
- arvis-0.1.0a12/arvis/interfaces/__init__.py +4 -0
- arvis-0.1.0a12/arvis/interfaces/cognitive_bundle.py +47 -0
- arvis-0.1.0a12/arvis/ir/__init__.py +15 -0
- arvis-0.1.0a12/arvis/ir/cognitive_ir.py +41 -0
- arvis-0.1.0a12/arvis/ir/context.py +42 -0
- arvis-0.1.0a12/arvis/ir/decision.py +74 -0
- arvis-0.1.0a12/arvis/ir/envelope.py +44 -0
- arvis-0.1.0a12/arvis/ir/gate.py +33 -0
- arvis-0.1.0a12/arvis/ir/input.py +18 -0
- arvis-0.1.0a12/arvis/ir/normalization/__init__.py +0 -0
- arvis-0.1.0a12/arvis/ir/normalization/cognitive_ir_normalizer.py +97 -0
- arvis-0.1.0a12/arvis/ir/replay/__init__.py +0 -0
- arvis-0.1.0a12/arvis/ir/replay/replay_validator.py +81 -0
- arvis-0.1.0a12/arvis/ir/serialization/__init__.py +0 -0
- arvis-0.1.0a12/arvis/ir/serialization/cognitive_ir_hasher.py +29 -0
- arvis-0.1.0a12/arvis/ir/serialization/cognitive_ir_serializer.py +153 -0
- arvis-0.1.0a12/arvis/ir/state.py +47 -0
- arvis-0.1.0a12/arvis/ir/validation/__init__.py +0 -0
- arvis-0.1.0a12/arvis/ir/validation/cognitive_ir_validator.py +158 -0
- arvis-0.1.0a12/arvis/ir/version.py +4 -0
- arvis-0.1.0a12/arvis/kernel/__init__.py +8 -0
- arvis-0.1.0a12/arvis/kernel/execution/__init__.py +0 -0
- arvis-0.1.0a12/arvis/kernel/execution/cognitive_execution_state.py +43 -0
- arvis-0.1.0a12/arvis/kernel/execution/execution_gate_status.py +9 -0
- arvis-0.1.0a12/arvis/kernel/execution/execution_llm_state.py +16 -0
- arvis-0.1.0a12/arvis/kernel/gate/__init__.py +0 -0
- arvis-0.1.0a12/arvis/kernel/gate/input_risk.py +81 -0
- arvis-0.1.0a12/arvis/kernel/gate/pi_gate.py +120 -0
- arvis-0.1.0a12/arvis/kernel/kernel_contract.py +15 -0
- arvis-0.1.0a12/arvis/kernel/kernel_invariants.py +59 -0
- arvis-0.1.0a12/arvis/kernel/observability/__init__.py +11 -0
- arvis-0.1.0a12/arvis/kernel/observability/gate_observer.py +276 -0
- arvis-0.1.0a12/arvis/kernel/observability/lyapunov_observer.py +118 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/__init__.py +0 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/cognitive_pipeline.py +244 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/cognitive_pipeline_context.py +835 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/cognitive_pipeline_result.py +164 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/__init__.py +51 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/decision_context.py +34 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/error_context.py +30 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/execution_context.py +14 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/observability/diagnostic_context.py +16 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/observability/projections_context.py +20 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/observability/state_context.py +14 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/observability/symbolic_context.py +12 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/observability_context.py +47 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/projection_context.py +31 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/runtime_bindings_context.py +18 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/runtime_policy_context.py +12 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/scientific_accessors.py +197 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/scientific_context.py +435 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/context/tooling_context.py +22 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/factories/__init__.py +13 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/factories/pipeline_result_factory.py +67 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/factories/pipeline_trace_factory.py +57 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/gate_overrides.py +11 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/pipeline_contract.py +34 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/result/__init__.py +17 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/result/execution_result.py +27 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/result/ir_result.py +31 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/result/observability_result.py +13 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/runtime_bindings.py +19 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/__init__.py +17 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/llm_request_builder.py +62 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_bootstrap_service.py +226 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_compatibility_service.py +64 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_error_service.py +62 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_execution_service.py +33 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_execution_sync_service.py +55 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_finalize_service.py +271 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_input_service.py +54 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_ir_bootstrap_service.py +214 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_ir_service.py +160 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_iteration_service.py +31 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_lifecycle_service.py +58 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_llm_service.py +499 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_observability_service.py +135 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_preparation_service.py +117 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_replay_service.py +67 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_retry_budget.py +40 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_retry_policy.py +151 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_runner_service.py +78 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_runtime_service.py +27 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_stage_execution_service.py +32 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/services/pipeline_stage_registry_service.py +41 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/__init__.py +45 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/action_stage.py +140 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/bundle_stage.py +48 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/confirmation_stage.py +200 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/conflict_modulation_stage.py +28 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/conflict_stage.py +54 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/control_feedback_stage.py +151 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/control_stage.py +228 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/core_stage.py +409 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/decision_stage.py +96 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/execution_stage.py +71 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/__init__.py +3 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/adaptive.py +175 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/composite.py +468 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/confidence.py +34 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/context.py +264 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/decision_stack.py +564 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/enforcement.py +214 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/gating_regime.py +82 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/input_risk_gate.py +201 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/memory_policy.py +77 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/mid_traces.py +69 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/models.py +52 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/observability.py +52 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/pi_override.py +99 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/stability.py +446 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/stage.py +150 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/switching.py +83 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate/trace_helpers.py +150 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/gate_stage.py +53 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/intent_stage.py +95 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/passive_context_stage.py +136 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/projection_stage.py +144 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/regime_stage.py +65 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/runtime_stage.py +69 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/structural_risk_stage.py +35 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/temporal_stage.py +68 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/tool_feedback_stage.py +25 -0
- arvis-0.1.0a12/arvis/kernel/pipeline/stages/tool_retry_stage.py +13 -0
- arvis-0.1.0a12/arvis/kernel/projection/__init__.py +19 -0
- arvis-0.1.0a12/arvis/kernel/projection/bundle_projection_mapper.py +23 -0
- arvis-0.1.0a12/arvis/kernel/projection/certificate.py +78 -0
- arvis-0.1.0a12/arvis/kernel/projection/domain.py +97 -0
- arvis-0.1.0a12/arvis/kernel/projection/llm_projection_mapper.py +121 -0
- arvis-0.1.0a12/arvis/kernel/projection/pi_impl.py +395 -0
- arvis-0.1.0a12/arvis/kernel/projection/pi_types.py +105 -0
- arvis-0.1.0a12/arvis/kernel/projection/projected_state.py +60 -0
- arvis-0.1.0a12/arvis/kernel/projection/validator.py +141 -0
- arvis-0.1.0a12/arvis/kernel/replay_engine.py +82 -0
- arvis-0.1.0a12/arvis/kernel/trace/__init__.py +0 -0
- arvis-0.1.0a12/arvis/kernel/trace/decision_trace.py +56 -0
- arvis-0.1.0a12/arvis/kernel/trace/decision_trace_schema.py +18 -0
- arvis-0.1.0a12/arvis/kernel_core/__init__.py +0 -0
- arvis-0.1.0a12/arvis/kernel_core/access/__init__.py +0 -0
- arvis-0.1.0a12/arvis/kernel_core/access/decision.py +28 -0
- arvis-0.1.0a12/arvis/kernel_core/access/identity.py +38 -0
- arvis-0.1.0a12/arvis/kernel_core/access/models.py +85 -0
- arvis-0.1.0a12/arvis/kernel_core/access/policy.py +96 -0
- arvis-0.1.0a12/arvis/kernel_core/access/resolvers.py +104 -0
- arvis-0.1.0a12/arvis/kernel_core/canonicalization.py +470 -0
- arvis-0.1.0a12/arvis/kernel_core/contracts/__init__.py +0 -0
- arvis-0.1.0a12/arvis/kernel_core/contracts/execution_contract.py +20 -0
- arvis-0.1.0a12/arvis/kernel_core/host_declaration.py +148 -0
- arvis-0.1.0a12/arvis/kernel_core/interrupts/__init__.py +0 -0
- arvis-0.1.0a12/arvis/kernel_core/interrupts/interrupt.py +19 -0
- arvis-0.1.0a12/arvis/kernel_core/interrupts/interrupt_bus.py +61 -0
- arvis-0.1.0a12/arvis/kernel_core/interrupts/interrupt_type.py +16 -0
- arvis-0.1.0a12/arvis/kernel_core/process/__init__.py +20 -0
- arvis-0.1.0a12/arvis/kernel_core/process/budget.py +53 -0
- arvis-0.1.0a12/arvis/kernel_core/process/lifecycle/__init__.py +9 -0
- arvis-0.1.0a12/arvis/kernel_core/process/lifecycle/lifecycle_manager.py +84 -0
- arvis-0.1.0a12/arvis/kernel_core/process/lifecycle/queue_manager.py +65 -0
- arvis-0.1.0a12/arvis/kernel_core/process/priority.py +17 -0
- arvis-0.1.0a12/arvis/kernel_core/process/process.py +478 -0
- arvis-0.1.0a12/arvis/kernel_core/process/process_descriptor.py +25 -0
- arvis-0.1.0a12/arvis/kernel_core/process/process_execution_state.py +15 -0
- arvis-0.1.0a12/arvis/kernel_core/process/process_factory.py +64 -0
- arvis-0.1.0a12/arvis/kernel_core/process/process_interrupt_state.py +10 -0
- arvis-0.1.0a12/arvis/kernel_core/process/process_runtime_state.py +27 -0
- arvis-0.1.0a12/arvis/kernel_core/process/snapshot.py +36 -0
- arvis-0.1.0a12/arvis/kernel_core/process/transitions.py +82 -0
- arvis-0.1.0a12/arvis/kernel_core/process/types.py +32 -0
- arvis-0.1.0a12/arvis/kernel_core/state/__init__.py +0 -0
- arvis-0.1.0a12/arvis/kernel_core/state/scheduler_state.py +43 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/__init__.py +39 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/artifact.py +126 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/audit_sink.py +243 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/engagement.py +314 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/intent_outbox.py +361 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/intent_result_bijection.py +149 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/service_registry.py +47 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/syscall.py +29 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/syscall_handler.py +1138 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/syscall_registry.py +155 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/syscalls/__init__.py +21 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/syscalls/interrupt_syscalls.py +55 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/syscalls/llm_syscalls.py +189 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/syscalls/meta_syscalls.py +146 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/syscalls/process_syscalls.py +132 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/syscalls/tool_syscalls.py +214 -0
- arvis-0.1.0a12/arvis/kernel_core/syscalls/syscalls/vfs_syscalls.py +739 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/__init__.py +0 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/exceptions.py +40 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/models.py +27 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/repositories/__init__.py +7 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/repositories/in_memory.py +135 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/repository.py +54 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/service.py +285 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/tree.py +58 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/zip/__init__.py +0 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/zip/analyzer.py +97 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/zip/collision.py +85 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/zip/exceptions.py +17 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/zip/executor.py +148 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/zip/guard.py +116 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/zip/models.py +93 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/zip/plan.py +70 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/zip/reader.py +83 -0
- arvis-0.1.0a12/arvis/kernel_core/vfs/zip/service.py +148 -0
- arvis-0.1.0a12/arvis/knowledge/__init__.py +0 -0
- arvis-0.1.0a12/arvis/knowledge/knowledge_event.py +24 -0
- arvis-0.1.0a12/arvis/knowledge/knowledge_signal.py +45 -0
- arvis-0.1.0a12/arvis/knowledge/knowledge_snapshot.py +22 -0
- arvis-0.1.0a12/arvis/knowledge/knowledge_state.py +32 -0
- arvis-0.1.0a12/arvis/linguistic/__init__.py +0 -0
- arvis-0.1.0a12/arvis/linguistic/acts/__init__.py +0 -0
- arvis-0.1.0a12/arvis/linguistic/acts/act_authorization_gate.py +32 -0
- arvis-0.1.0a12/arvis/linguistic/acts/act_types.py +12 -0
- arvis-0.1.0a12/arvis/linguistic/acts/gate_mapping.py +34 -0
- arvis-0.1.0a12/arvis/linguistic/acts/linguistic_act.py +33 -0
- arvis-0.1.0a12/arvis/linguistic/acts/mode_act_policy.py +33 -0
- arvis-0.1.0a12/arvis/linguistic/generation/__init__.py +0 -0
- arvis-0.1.0a12/arvis/linguistic/generation/frame_builder.py +103 -0
- arvis-0.1.0a12/arvis/linguistic/generation/generation_frame.py +23 -0
- arvis-0.1.0a12/arvis/linguistic/generation/prompt_builder.py +53 -0
- arvis-0.1.0a12/arvis/linguistic/generation/retrieval_frame_adapter.py +35 -0
- arvis-0.1.0a12/arvis/linguistic/invariants.py +46 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/__init__.py +0 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/core/__init__.py +0 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/core/minimal_v0.py +57 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/domains/__init__.py +0 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/domains/finance_v0.py +27 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/domains/legal_v0.py +27 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/domains/security_v0.py +41 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/lexicon_entry.py +54 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/lexicon_snapshot.py +48 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/registry/__init__.py +0 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/registry/lexicon_registry.py +28 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/resolvers/__init__.py +0 -0
- arvis-0.1.0a12/arvis/linguistic/lexicon/resolvers/lexicon_resolver.py +58 -0
- arvis-0.1.0a12/arvis/linguistic/realization/__init__.py +0 -0
- arvis-0.1.0a12/arvis/linguistic/realization/default_templates.py +16 -0
- arvis-0.1.0a12/arvis/linguistic/realization/realization_service.py +22 -0
- arvis-0.1.0a12/arvis/math/__init__.py +41 -0
- arvis-0.1.0a12/arvis/math/adaptive/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/adaptive/adaptive_control_policy.py +90 -0
- arvis-0.1.0a12/arvis/math/adaptive/adaptive_kappa_eff.py +85 -0
- arvis-0.1.0a12/arvis/math/adaptive/adaptive_runtime_observer.py +66 -0
- arvis-0.1.0a12/arvis/math/adaptive/adaptive_snapshot.py +29 -0
- arvis-0.1.0a12/arvis/math/confidence/__init__.py +11 -0
- arvis-0.1.0a12/arvis/math/confidence/system_confidence.py +70 -0
- arvis-0.1.0a12/arvis/math/control/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/control/beta_adaptive.py +59 -0
- arvis-0.1.0a12/arvis/math/control/confidence_control.py +65 -0
- arvis-0.1.0a12/arvis/math/control/eps_adaptive.py +112 -0
- arvis-0.1.0a12/arvis/math/control/epsilon_controller.py +39 -0
- arvis-0.1.0a12/arvis/math/control/irg_epsilon_controller.py +201 -0
- arvis-0.1.0a12/arvis/math/core/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/core/change_budget.py +43 -0
- arvis-0.1.0a12/arvis/math/core/contraction_monitor_core.py +352 -0
- arvis-0.1.0a12/arvis/math/core/control_inertia.py +13 -0
- arvis-0.1.0a12/arvis/math/core/fast_dynamics.py +22 -0
- arvis-0.1.0a12/arvis/math/core/local_dynamics.py +65 -0
- arvis-0.1.0a12/arvis/math/core/normalization.py +135 -0
- arvis-0.1.0a12/arvis/math/core/perturbation.py +45 -0
- arvis-0.1.0a12/arvis/math/core/stability_certificate.py +91 -0
- arvis-0.1.0a12/arvis/math/decision/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/decision/fusion_policy.py +47 -0
- arvis-0.1.0a12/arvis/math/decision/multiaxial_fusion.py +106 -0
- arvis-0.1.0a12/arvis/math/drift/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/drift/drift.py +71 -0
- arvis-0.1.0a12/arvis/math/drift/drift_detector.py +34 -0
- arvis-0.1.0a12/arvis/math/gate/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/gate/gate_adapter.py +13 -0
- arvis-0.1.0a12/arvis/math/gate/gate_entry.py +10 -0
- arvis-0.1.0a12/arvis/math/gate/gate_fusion.py +24 -0
- arvis-0.1.0a12/arvis/math/gate/gate_kernel.py +142 -0
- arvis-0.1.0a12/arvis/math/gate/gate_policy.py +75 -0
- arvis-0.1.0a12/arvis/math/gate/gate_types.py +58 -0
- arvis-0.1.0a12/arvis/math/lyapunov/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/lyapunov/composite_lyapunov.py +129 -0
- arvis-0.1.0a12/arvis/math/lyapunov/lyapunov.py +134 -0
- arvis-0.1.0a12/arvis/math/lyapunov/lyapunov_gate.py +95 -0
- arvis-0.1.0a12/arvis/math/lyapunov/probabilistic_lyapunov.py +93 -0
- arvis-0.1.0a12/arvis/math/lyapunov/quadratic_lyapunov.py +111 -0
- arvis-0.1.0a12/arvis/math/lyapunov/quadratic_projection.py +29 -0
- arvis-0.1.0a12/arvis/math/lyapunov/slow_dynamics.py +17 -0
- arvis-0.1.0a12/arvis/math/lyapunov/slow_state.py +46 -0
- arvis-0.1.0a12/arvis/math/lyapunov/target_map.py +63 -0
- arvis-0.1.0a12/arvis/math/lyapunov/verdict_order.py +53 -0
- arvis-0.1.0a12/arvis/math/observability/__init__.py +15 -0
- arvis-0.1.0a12/arvis/math/observability/global_forecast_snapshot.py +12 -0
- arvis-0.1.0a12/arvis/math/observability/global_stability_snapshot.py +20 -0
- arvis-0.1.0a12/arvis/math/observability/multi_horizon_snapshot.py +11 -0
- arvis-0.1.0a12/arvis/math/observability/predictive_snapshot.py +12 -0
- arvis-0.1.0a12/arvis/math/observability/stability_stats_snapshot.py +11 -0
- arvis-0.1.0a12/arvis/math/predictive/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/predictive/predictive_multi_horizon.py +165 -0
- arvis-0.1.0a12/arvis/math/predictive/predictive_stability.py +149 -0
- arvis-0.1.0a12/arvis/math/predictive/trajectory_observer.py +93 -0
- arvis-0.1.0a12/arvis/math/projection/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/projection/pi_operator.py +82 -0
- arvis-0.1.0a12/arvis/math/projection/projection_view.py +67 -0
- arvis-0.1.0a12/arvis/math/risk/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/risk/confidence_sequence.py +233 -0
- arvis-0.1.0a12/arvis/math/risk/risk_bound.py +72 -0
- arvis-0.1.0a12/arvis/math/risk/risk_calibration.py +111 -0
- arvis-0.1.0a12/arvis/math/signals/__init__.py +26 -0
- arvis-0.1.0a12/arvis/math/signals/base.py +67 -0
- arvis-0.1.0a12/arvis/math/signals/coercion.py +99 -0
- arvis-0.1.0a12/arvis/math/signals/confidence.py +16 -0
- arvis-0.1.0a12/arvis/math/signals/conflict.py +59 -0
- arvis-0.1.0a12/arvis/math/signals/drift.py +36 -0
- arvis-0.1.0a12/arvis/math/signals/forecast.py +16 -0
- arvis-0.1.0a12/arvis/math/signals/risk.py +56 -0
- arvis-0.1.0a12/arvis/math/signals/stability.py +20 -0
- arvis-0.1.0a12/arvis/math/signals/symbolic_drift.py +16 -0
- arvis-0.1.0a12/arvis/math/signals/system_tension.py +35 -0
- arvis-0.1.0a12/arvis/math/signals/uncertainty.py +32 -0
- arvis-0.1.0a12/arvis/math/stability/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/stability/global_guard.py +52 -0
- arvis-0.1.0a12/arvis/math/stability/global_stability.py +125 -0
- arvis-0.1.0a12/arvis/math/stability/hard_block_policy.py +74 -0
- arvis-0.1.0a12/arvis/math/stability/hybrid_risk_observer.py +191 -0
- arvis-0.1.0a12/arvis/math/stability/multi_horizon_stability.py +75 -0
- arvis-0.1.0a12/arvis/math/stability/regime_estimator.py +78 -0
- arvis-0.1.0a12/arvis/math/stability/theorem.py +11 -0
- arvis-0.1.0a12/arvis/math/stability/validity_envelope.py +86 -0
- arvis-0.1.0a12/arvis/math/state/__init__.py +7 -0
- arvis-0.1.0a12/arvis/math/state/fast_projection.py +19 -0
- arvis-0.1.0a12/arvis/math/state/fast_state.py +16 -0
- arvis-0.1.0a12/arvis/math/state/lyapunov_projection_state.py +11 -0
- arvis-0.1.0a12/arvis/math/state/symbolic_state.py +18 -0
- arvis-0.1.0a12/arvis/math/switching/__init__.py +0 -0
- arvis-0.1.0a12/arvis/math/switching/global_stability_observer.py +205 -0
- arvis-0.1.0a12/arvis/math/switching/regime_mapper.py +24 -0
- arvis-0.1.0a12/arvis/math/switching/regime_state.py +21 -0
- arvis-0.1.0a12/arvis/math/switching/switching_params.py +46 -0
- arvis-0.1.0a12/arvis/math/switching/switching_runtime.py +40 -0
- arvis-0.1.0a12/arvis/memory/__init__.py +35 -0
- arvis-0.1.0a12/arvis/memory/governance.py +96 -0
- arvis-0.1.0a12/arvis/memory/memory_gate.py +8 -0
- arvis-0.1.0a12/arvis/memory/memory_intent.py +9 -0
- arvis-0.1.0a12/arvis/memory/memory_long_entry.py +51 -0
- arvis-0.1.0a12/arvis/memory/memory_long_policy_gate.py +114 -0
- arvis-0.1.0a12/arvis/memory/memory_long_projector.py +45 -0
- arvis-0.1.0a12/arvis/memory/memory_long_record.py +12 -0
- arvis-0.1.0a12/arvis/memory/memory_long_registry.py +76 -0
- arvis-0.1.0a12/arvis/memory/memory_long_repository.py +82 -0
- arvis-0.1.0a12/arvis/memory/memory_long_service.py +92 -0
- arvis-0.1.0a12/arvis/memory/memory_long_snapshot.py +32 -0
- arvis-0.1.0a12/arvis/py.typed +0 -0
- arvis-0.1.0a12/arvis/reasoning/__init__.py +20 -0
- arvis-0.1.0a12/arvis/reasoning/gap_to_intent_mapper.py +28 -0
- arvis-0.1.0a12/arvis/reasoning/reasoning_gap.py +43 -0
- arvis-0.1.0a12/arvis/reasoning/reasoning_intent.py +32 -0
- arvis-0.1.0a12/arvis/reflexive/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/architecture/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/architecture/arvis_system_architecture.py +45 -0
- arvis-0.1.0a12/arvis/reflexive/attestation/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/attestation/reflexive_attestation.py +105 -0
- arvis-0.1.0a12/arvis/reflexive/capabilities/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/capabilities/capability.py +11 -0
- arvis-0.1.0a12/arvis/reflexive/capabilities/capability_registry.py +34 -0
- arvis-0.1.0a12/arvis/reflexive/capabilities/capability_snapshot.py +28 -0
- arvis-0.1.0a12/arvis/reflexive/capabilities/capability_snapshot_builder.py +21 -0
- arvis-0.1.0a12/arvis/reflexive/compliance/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/compliance/compliance_reflexive_attestation.py +49 -0
- arvis-0.1.0a12/arvis/reflexive/compliance/reflexive_compliance_chain.py +41 -0
- arvis-0.1.0a12/arvis/reflexive/compliance/reflexive_explanation.py +86 -0
- arvis-0.1.0a12/arvis/reflexive/core/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/core/irg_latent_state.py +27 -0
- arvis-0.1.0a12/arvis/reflexive/core/irg_service.py +86 -0
- arvis-0.1.0a12/arvis/reflexive/core/reflexive_mode.py +31 -0
- arvis-0.1.0a12/arvis/reflexive/core/reflexive_mode_registry.py +30 -0
- arvis-0.1.0a12/arvis/reflexive/introspection/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/introspection/architecture_introspector.py +30 -0
- arvis-0.1.0a12/arvis/reflexive/introspection/arvis_introspection_service.py +50 -0
- arvis-0.1.0a12/arvis/reflexive/introspection/capability_introspector.py +29 -0
- arvis-0.1.0a12/arvis/reflexive/introspection/cognition_introspector.py +29 -0
- arvis-0.1.0a12/arvis/reflexive/introspection/counterfactual_introspector.py +25 -0
- arvis-0.1.0a12/arvis/reflexive/introspection/decision_introspector.py +30 -0
- arvis-0.1.0a12/arvis/reflexive/introspection/math_introspector.py +47 -0
- arvis-0.1.0a12/arvis/reflexive/introspection/runtime_introspector.py +11 -0
- arvis-0.1.0a12/arvis/reflexive/introspection/uncertainty_introspector.py +30 -0
- arvis-0.1.0a12/arvis/reflexive/introspection/world_model_introspector.py +36 -0
- arvis-0.1.0a12/arvis/reflexive/rendering/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/rendering/reflexive_render_profile.py +25 -0
- arvis-0.1.0a12/arvis/reflexive/rendering/reflexive_render_registry.py +63 -0
- arvis-0.1.0a12/arvis/reflexive/rendering/reflexive_renderer.py +27 -0
- arvis-0.1.0a12/arvis/reflexive/snapshot/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/snapshot/reflexive_snapshot.py +69 -0
- arvis-0.1.0a12/arvis/reflexive/snapshot/reflexive_snapshot_builder.py +64 -0
- arvis-0.1.0a12/arvis/reflexive/snapshot/reflexive_snapshot_service.py +62 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/aggregation/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/aggregation/irg_timeline_insight_aggregate.py +27 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/aggregation/irg_timeline_insight_aggregator.py +58 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/aggregation/irg_timeline_temporal_aggregator.py +35 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/aggregation/irg_timeline_temporal_comparator.py +59 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/aggregation/irg_timeline_temporal_diff.py +30 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/aggregation/irg_timeline_temporal_memory.py +54 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/aggregation/irg_timeline_temporal_memory_view.py +20 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/aggregation/irg_timeline_temporal_snapshot.py +24 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/explanation/__init__.py +7 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/explanation/irg_timeline_explanation.py +21 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/explanation/irg_timeline_explanation_builder.py +62 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/explanation/reflexive_timeline_exposure_explanation.py +57 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/insight/__init__.py +0 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/insight/irg_timeline_insight.py +34 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/insight/irg_timeline_insight_builder.py +47 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/irg_timeline_mapper.py +26 -0
- arvis-0.1.0a12/arvis/reflexive/timeline/irg_timeline_view.py +35 -0
- arvis-0.1.0a12/arvis/runtime/__init__.py +12 -0
- arvis-0.1.0a12/arvis/runtime/cognitive_process.py +29 -0
- arvis-0.1.0a12/arvis/runtime/cognitive_runtime_state.py +148 -0
- arvis-0.1.0a12/arvis/runtime/cognitive_scheduler.py +494 -0
- arvis-0.1.0a12/arvis/runtime/cognitive_state.py +40 -0
- arvis-0.1.0a12/arvis/runtime/invariants/__init__.py +5 -0
- arvis-0.1.0a12/arvis/runtime/invariants/scheduler_invariants.py +52 -0
- arvis-0.1.0a12/arvis/runtime/pipeline_executor.py +150 -0
- arvis-0.1.0a12/arvis/runtime/process_hooks.py +136 -0
- arvis-0.1.0a12/arvis/runtime/resource_model.py +49 -0
- arvis-0.1.0a12/arvis/runtime/runtime_decision_record.py +62 -0
- arvis-0.1.0a12/arvis/runtime/runtime_snapshot.py +24 -0
- arvis-0.1.0a12/arvis/runtime/runtime_snapshot_builder.py +73 -0
- arvis-0.1.0a12/arvis/runtime/scheduler_decision.py +24 -0
- arvis-0.1.0a12/arvis/signals/__init__.py +0 -0
- arvis-0.1.0a12/arvis/signals/canonical/__init__.py +22 -0
- arvis-0.1.0a12/arvis/signals/canonical/canonical_signal.py +32 -0
- arvis-0.1.0a12/arvis/signals/canonical/canonical_signal_category.py +15 -0
- arvis-0.1.0a12/arvis/signals/canonical/canonical_signal_invariants.py +17 -0
- arvis-0.1.0a12/arvis/signals/canonical/canonical_signal_key.py +15 -0
- arvis-0.1.0a12/arvis/signals/canonical/canonical_signal_registry.py +75 -0
- arvis-0.1.0a12/arvis/signals/canonical/canonical_signal_spec.py +50 -0
- arvis-0.1.0a12/arvis/signals/canonical/specs/__init__.py +2 -0
- arvis-0.1.0a12/arvis/signals/canonical/specs/decision.py +72 -0
- arvis-0.1.0a12/arvis/signals/canonical/specs/memory_long.py +11 -0
- arvis-0.1.0a12/arvis/signals/canonical/specs/risk.py +62 -0
- arvis-0.1.0a12/arvis/signals/canonical/specs/timeline.py +41 -0
- arvis-0.1.0a12/arvis/signals/canonical/specs/validation.py +72 -0
- arvis-0.1.0a12/arvis/signals/signal.py +125 -0
- arvis-0.1.0a12/arvis/signals/signal_event.py +63 -0
- arvis-0.1.0a12/arvis/signals/signal_invariants.py +40 -0
- arvis-0.1.0a12/arvis/signals/signal_journal.py +102 -0
- arvis-0.1.0a12/arvis/stability/__init__.py +20 -0
- arvis-0.1.0a12/arvis/stability/global_forecast_snapshot.py +20 -0
- arvis-0.1.0a12/arvis/stability/multi_horizon_snapshot.py +11 -0
- arvis-0.1.0a12/arvis/stability/predictive_snapshot.py +12 -0
- arvis-0.1.0a12/arvis/stability/stability_observer.py +29 -0
- arvis-0.1.0a12/arvis/stability/stability_snapshot.py +63 -0
- arvis-0.1.0a12/arvis/stability/stability_state_projector.py +89 -0
- arvis-0.1.0a12/arvis/stability/stability_statistics.py +62 -0
- arvis-0.1.0a12/arvis/telemetry/__init__.py +39 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/__init__.py +83 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/core.py +64 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/errors.py +132 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/forecast.py +40 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/multi.py +38 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/predictive.py +40 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/stability.py +51 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/stats.py +38 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/symbolic_drift.py +44 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/symbolic_features.py +47 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/symbolic_state.py +46 -0
- arvis-0.1.0a12/arvis/telemetry/adapters/tension.py +41 -0
- arvis-0.1.0a12/arvis/telemetry/event.py +149 -0
- arvis-0.1.0a12/arvis/telemetry/redaction.py +32 -0
- arvis-0.1.0a12/arvis/telemetry/sink.py +74 -0
- arvis-0.1.0a12/arvis/telemetry/types.py +12 -0
- arvis-0.1.0a12/arvis/timeline/__init__.py +21 -0
- arvis-0.1.0a12/arvis/timeline/timeline_commitment.py +116 -0
- arvis-0.1.0a12/arvis/timeline/timeline_consistency_validator.py +35 -0
- arvis-0.1.0a12/arvis/timeline/timeline_cursor.py +78 -0
- arvis-0.1.0a12/arvis/timeline/timeline_delta.py +215 -0
- arvis-0.1.0a12/arvis/timeline/timeline_entry.py +164 -0
- arvis-0.1.0a12/arvis/timeline/timeline_hashchain.py +98 -0
- arvis-0.1.0a12/arvis/timeline/timeline_snapshot.py +81 -0
- arvis-0.1.0a12/arvis/timeline/timeline_types.py +55 -0
- arvis-0.1.0a12/arvis/timeline/timeline_view.py +57 -0
- arvis-0.1.0a12/arvis/timeline/timeline_view_types.py +22 -0
- arvis-0.1.0a12/arvis/timeline/timeline_window.py +61 -0
- arvis-0.1.0a12/arvis/tools/__init__.py +0 -0
- arvis-0.1.0a12/arvis/tools/authorization_service.py +294 -0
- arvis-0.1.0a12/arvis/tools/authorized_invocation.py +446 -0
- arvis-0.1.0a12/arvis/tools/base.py +59 -0
- arvis-0.1.0a12/arvis/tools/confirmation.py +472 -0
- arvis-0.1.0a12/arvis/tools/effect_context.py +154 -0
- arvis-0.1.0a12/arvis/tools/effect_dispatcher.py +254 -0
- arvis-0.1.0a12/arvis/tools/executor.py +134 -0
- arvis-0.1.0a12/arvis/tools/manager.py +564 -0
- arvis-0.1.0a12/arvis/tools/registry.py +168 -0
- arvis-0.1.0a12/arvis/tools/retry_policy.py +54 -0
- arvis-0.1.0a12/arvis/tools/runtime/__init__.py +8 -0
- arvis-0.1.0a12/arvis/tools/runtime/runtime_bindings.py +22 -0
- arvis-0.1.0a12/arvis/tools/spec.py +64 -0
- arvis-0.1.0a12/arvis/tools/tool_result.py +93 -0
- arvis-0.1.0a12/arvis/tools/tool_schema.py +22 -0
- arvis-0.1.0a12/arvis/types/__init__.py +10 -0
- arvis-0.1.0a12/arvis/types/identifiers.py +20 -0
- arvis-0.1.0a12/arvis/types/time.py +50 -0
- arvis-0.1.0a12/arvis/types/timestamps.py +7 -0
- arvis-0.1.0a12/arvis/uncertainty/__init__.py +17 -0
- arvis-0.1.0a12/arvis/uncertainty/uncertainty_axis.py +20 -0
- arvis-0.1.0a12/arvis/uncertainty/uncertainty_frame.py +24 -0
- arvis-0.1.0a12/arvis/uncertainty/uncertainty_frame_registry.py +51 -0
- arvis-0.1.0a12/arvis/uncertainty/uncertainty_inference.py +114 -0
- arvis-0.1.0a12/arvis/uncertainty/uncertainty_to_intent_mapper.py +69 -0
- arvis-0.1.0a12/arvis.egg-info/PKG-INFO +454 -0
- arvis-0.1.0a12/arvis.egg-info/SOURCES.txt +848 -0
- arvis-0.1.0a12/arvis.egg-info/dependency_links.txt +1 -0
- arvis-0.1.0a12/arvis.egg-info/requires.txt +24 -0
- arvis-0.1.0a12/arvis.egg-info/top_level.txt +1 -0
- arvis-0.1.0a12/pyproject.toml +124 -0
- arvis-0.1.0a12/setup.cfg +4 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
## Author’s Note
|
|
2
|
+
|
|
3
|
+
ARVIS began as a direct response to a structural limitation I kept observing in contemporary AI systems: impressive generation capacity without explicit guarantees of stability, traceability, calibrated uncertainty, or bounded reasoning under stress.
|
|
4
|
+
|
|
5
|
+
Most systems today optimize outputs. ARVIS was conceived to optimize **cognitive integrity**.
|
|
6
|
+
|
|
7
|
+
The core idea is simple: intelligence should not only be measured by what it can produce, but by how reliably it behaves when conditions become ambiguous, adversarial, incomplete, or contradictory. A system that answers brilliantly in ideal conditions but degrades unpredictably under pressure remains fundamentally unsafe.
|
|
8
|
+
|
|
9
|
+
ARVIS therefore takes a different path.
|
|
10
|
+
|
|
11
|
+
It is designed as a cognitive architecture grounded in explicit control loops, measurable invariants, deterministic replayability, uncertainty-aware reasoning, governance gates, temporal coherence, and mathematical stability principles inspired by control theory. Instead of hiding internal states behind opaque generation layers, ARVIS attempts to make cognition inspectable, auditable, and accountable.
|
|
12
|
+
|
|
13
|
+
This repository is not merely a software package. It is an open research proposition:
|
|
14
|
+
|
|
15
|
+
* that AI can be architected around **stability before scale**
|
|
16
|
+
* that abstention can be superior to hallucination
|
|
17
|
+
* that uncertainty should be represented, not concealed
|
|
18
|
+
* that traceability is a prerequisite for trust
|
|
19
|
+
* that bounded cognition may outperform unconstrained improvisation in critical domains
|
|
20
|
+
|
|
21
|
+
ARVIS also serves another purpose: it is a foundation layer for future systems such as Veramem, where memory, privacy, continuity, and cognition must coexist under stronger guarantees than current assistant architectures typically provide.
|
|
22
|
+
|
|
23
|
+
The project remains ambitious, unfinished, and evolving. That is intentional. ARVIS is not presented as a final answer, but as a serious alternative direction.
|
|
24
|
+
|
|
25
|
+
If this work resonates with researchers, engineers, safety practitioners, or builders who believe AI needs deeper architecture—not only larger models—then it has already fulfilled part of its purpose.
|
|
26
|
+
|
|
27
|
+
Thank you for reading, testing, criticizing, and improving it.
|
|
28
|
+
|
|
29
|
+
— J
|
arvis-0.1.0a12/LICENSE
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License.
|
|
67
|
+
Subject to the terms and conditions of this License, each Contributor
|
|
68
|
+
hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
|
|
69
|
+
royalty-free, irrevocable copyright license to reproduce, prepare
|
|
70
|
+
Derivative Works of, publicly display, publicly perform, sublicense,
|
|
71
|
+
and distribute the Work and such Derivative Works in Source or Object
|
|
72
|
+
form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License.
|
|
75
|
+
Subject to the terms and conditions of this License, each Contributor
|
|
76
|
+
hereby grants to You a perpetual, worldwide, non-exclusive, no-charge,
|
|
77
|
+
royalty-free, irrevocable (except as stated in this section) patent
|
|
78
|
+
license to make, have made, use, offer to sell, sell, import, and
|
|
79
|
+
otherwise transfer the Work, where such license applies only to those
|
|
80
|
+
patent claims licensable by such Contributor that are necessarily
|
|
81
|
+
infringed by their Contribution(s) alone or by combination of their
|
|
82
|
+
Contribution(s) with the Work to which such Contribution(s) was
|
|
83
|
+
submitted. If You institute patent litigation against any entity
|
|
84
|
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
85
|
+
the Work or a Contribution incorporated within the Work constitutes
|
|
86
|
+
direct or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate as of
|
|
88
|
+
the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution.
|
|
91
|
+
You may reproduce and distribute copies of the Work or Derivative
|
|
92
|
+
Works thereof in any medium, with or without modifications, and in
|
|
93
|
+
Source or Object form, provided that You meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
5. Submission of Contributions.
|
|
125
|
+
Unless You explicitly state otherwise, any Contribution intentionally
|
|
126
|
+
submitted for inclusion in the Work by You to the Licensor shall be
|
|
127
|
+
under the terms and conditions of this License, without any additional
|
|
128
|
+
terms or conditions. Notwithstanding the above, nothing herein shall
|
|
129
|
+
supersede or modify the terms of any separate license agreement you
|
|
130
|
+
may have executed with Licensor regarding such Contributions.
|
|
131
|
+
|
|
132
|
+
6. Trademarks.
|
|
133
|
+
This License does not grant permission to use the trade names,
|
|
134
|
+
trademarks, service marks, or product names of the Licensor,
|
|
135
|
+
except as required for reasonable and customary use in describing the
|
|
136
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
137
|
+
|
|
138
|
+
7. Disclaimer of Warranty.
|
|
139
|
+
Unless required by applicable law or agreed to in writing, Licensor
|
|
140
|
+
provides the Work (and each Contributor provides its Contributions)
|
|
141
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
|
142
|
+
either express or implied, including, without limitation, any
|
|
143
|
+
warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY,
|
|
144
|
+
or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for
|
|
145
|
+
determining the appropriateness of using or redistributing the Work
|
|
146
|
+
and assume any risks associated with Your exercise of permissions
|
|
147
|
+
under this License.
|
|
148
|
+
|
|
149
|
+
8. Limitation of Liability.
|
|
150
|
+
In no event and under no legal theory, whether in tort (including
|
|
151
|
+
negligence), contract, or otherwise, unless required by applicable
|
|
152
|
+
law (such as deliberate and grossly negligent acts) or agreed to in
|
|
153
|
+
writing, shall any Contributor be liable to You for damages, including
|
|
154
|
+
any direct, indirect, special, incidental, or consequential damages
|
|
155
|
+
of any character arising as a result of this License or out of the
|
|
156
|
+
use or inability to use the Work (including but not limited to damages
|
|
157
|
+
for loss of goodwill, work stoppage, computer failure or malfunction,
|
|
158
|
+
or any and all other commercial damages or losses), even if such
|
|
159
|
+
Contributor has been advised of the possibility of such damages.
|
|
160
|
+
|
|
161
|
+
9. Accepting Warranty or Additional Liability.
|
|
162
|
+
While redistributing the Work or Derivative Works thereof, You may
|
|
163
|
+
choose to offer, and charge a fee for, acceptance of support, warranty,
|
|
164
|
+
indemnity, or other liability obligations and/or rights consistent
|
|
165
|
+
with this License. However, in accepting such obligations, You may act
|
|
166
|
+
only on Your own behalf and on Your sole responsibility, not on behalf
|
|
167
|
+
of any other Contributor, and only if You agree to indemnify, defend,
|
|
168
|
+
and hold each Contributor harmless for any liability incurred by, or
|
|
169
|
+
claims asserted against, such Contributor by reason of your accepting
|
|
170
|
+
any such warranty or additional liability.
|
|
171
|
+
|
|
172
|
+
END OF TERMS AND CONDITIONS
|
arvis-0.1.0a12/NOTICE
ADDED
arvis-0.1.0a12/PKG-INFO
ADDED
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: arvis
|
|
3
|
+
Version: 0.1.0a12
|
|
4
|
+
Summary: Cognitive Operating System kernel for trustworthy AI systems
|
|
5
|
+
Author-email: Julien Lefauconnier <jlefauconnier@proton.me>
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/Julien-Lefauconnier/arvis
|
|
8
|
+
Project-URL: Repository, https://github.com/Julien-Lefauconnier/arvis
|
|
9
|
+
Project-URL: Documentation, https://github.com/Julien-Lefauconnier/arvis/tree/main/docs
|
|
10
|
+
Project-URL: Issues, https://github.com/Julien-Lefauconnier/arvis/issues
|
|
11
|
+
Project-URL: Changelog, https://github.com/Julien-Lefauconnier/arvis/releases
|
|
12
|
+
Keywords: ai,cognitive-os,agentic-ai,reasoning,uncertainty,memory,governance,ai-safety
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Intended Audience :: Science/Research
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
License-File: NOTICE
|
|
26
|
+
License-File: AUTHORS_NOTE.md
|
|
27
|
+
Requires-Dist: jsonschema>=4.0
|
|
28
|
+
Requires-Dist: pyyaml>=6.0
|
|
29
|
+
Requires-Dist: pydantic<3,>=2
|
|
30
|
+
Requires-Dist: numpy>=1.24
|
|
31
|
+
Provides-Extra: dev
|
|
32
|
+
Requires-Dist: mypy==1.19.1; extra == "dev"
|
|
33
|
+
Requires-Dist: ruff==0.14.3; extra == "dev"
|
|
34
|
+
Requires-Dist: pytest==8.4.2; extra == "dev"
|
|
35
|
+
Requires-Dist: bandit==1.9.4; extra == "dev"
|
|
36
|
+
Requires-Dist: types-jsonschema; extra == "dev"
|
|
37
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
38
|
+
Requires-Dist: pytest-mock; extra == "dev"
|
|
39
|
+
Requires-Dist: hypothesis; extra == "dev"
|
|
40
|
+
Requires-Dist: pytest-benchmark; extra == "dev"
|
|
41
|
+
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
42
|
+
Provides-Extra: openai
|
|
43
|
+
Requires-Dist: openai>=1.0; extra == "openai"
|
|
44
|
+
Provides-Extra: llm
|
|
45
|
+
Requires-Dist: openai>=1.0; extra == "llm"
|
|
46
|
+
Requires-Dist: anthropic; extra == "llm"
|
|
47
|
+
Requires-Dist: ollama; extra == "llm"
|
|
48
|
+
Dynamic: license-file
|
|
49
|
+
|
|
50
|
+
# ARVIS
|
|
51
|
+
|
|
52
|
+
**The Cognitive Operating System for Governed AI Systems**
|
|
53
|
+
|
|
54
|
+
> Python 3.11+ • Deterministic • Replayable • Governed • Auditable
|
|
55
|
+
|
|
56
|
+
> **Status: `0.1.0-alpha` (preview).** The public API is not yet stable.
|
|
57
|
+
> The projection layer is partial, LLM governance is mock-first, and formal
|
|
58
|
+
> guarantees apply only to the documented projected domains. See
|
|
59
|
+
> [Known Limitations](#known-limitations-010-alpha).
|
|
60
|
+
|
|
61
|
+
ARVIS is a deterministic runtime layer that treats reasoning as **critical infrastructure**.
|
|
62
|
+
|
|
63
|
+
It provides governed cognition, replayable decisions, inspectable state transitions, controlled execution, explicit uncertainty handling, and verifiable audit trails.
|
|
64
|
+
|
|
65
|
+
> Not a model.
|
|
66
|
+
> Not an agent wrapper.
|
|
67
|
+
> Not prompt engineering.
|
|
68
|
+
> **ARVIS is the systems layer reliable AI should run on.**
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Why ARVIS Exists
|
|
73
|
+
|
|
74
|
+
Most AI systems still follow:
|
|
75
|
+
|
|
76
|
+
```text
|
|
77
|
+
input → model → output
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Useful for many tasks, but weak when systems must be:
|
|
81
|
+
|
|
82
|
+
* reproducible
|
|
83
|
+
* auditable
|
|
84
|
+
* policy-constrained
|
|
85
|
+
* stable under pressure
|
|
86
|
+
* safe with tools
|
|
87
|
+
* trustworthy in production
|
|
88
|
+
|
|
89
|
+
ARVIS starts from a different premise:
|
|
90
|
+
|
|
91
|
+
```text
|
|
92
|
+
input
|
|
93
|
+
→ governed cognition
|
|
94
|
+
→ admissibility controls
|
|
95
|
+
→ canonical state
|
|
96
|
+
→ verifiable IR
|
|
97
|
+
→ authorized execution
|
|
98
|
+
→ timeline commitment
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Outputs are not assumed valid.
|
|
102
|
+
|
|
103
|
+
**They must become allowed to exist.**
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Quick Start
|
|
108
|
+
|
|
109
|
+
Install from source (works today):
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
git clone https://github.com/Julien-Lefauconnier/arvis
|
|
113
|
+
cd arvis
|
|
114
|
+
python -m venv .venv
|
|
115
|
+
source .venv/bin/activate
|
|
116
|
+
pip install -e ".[dev]"
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Run the canonical local quality gate with the same pinned tools and security
|
|
120
|
+
threshold used by CI:
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
bash scripts/run_quality_gate.sh
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
The security-only slice is available as
|
|
127
|
+
`bash scripts/run_quality_gate.sh security`; Bandit fails on medium- or
|
|
128
|
+
high-severity findings.
|
|
129
|
+
|
|
130
|
+
PyPI (`pip install arvis`) is planned once the alpha stabilizes.
|
|
131
|
+
|
|
132
|
+
```python
|
|
133
|
+
from arvis import ArvisEngine
|
|
134
|
+
|
|
135
|
+
engine = ArvisEngine()
|
|
136
|
+
|
|
137
|
+
result = engine.ask("Should this high-risk transaction be approved?")
|
|
138
|
+
|
|
139
|
+
print(result.summary())
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Advanced runtime access:
|
|
143
|
+
|
|
144
|
+
```python
|
|
145
|
+
from arvis import CognitiveOS
|
|
146
|
+
|
|
147
|
+
os = CognitiveOS()
|
|
148
|
+
|
|
149
|
+
result = os.run(
|
|
150
|
+
user_id="demo",
|
|
151
|
+
cognitive_input={
|
|
152
|
+
"risk": 0.92,
|
|
153
|
+
"action": "wire_transfer",
|
|
154
|
+
}
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
print(result.summary())
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
High-risk input is refused before execution:
|
|
161
|
+
|
|
162
|
+
```text
|
|
163
|
+
Status : BLOCKED
|
|
164
|
+
Approval Need : YES
|
|
165
|
+
Commitment : 8642d95cfdb73c16...
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
> Note (0.1.0-alpha): the gate grades an explicit top-level `risk` scalar —
|
|
169
|
+
> low → ALLOWED, medium → REQUIRES_CONFIRMATION, high → BLOCKED (see
|
|
170
|
+
> `examples/09_multi_run_batch.py`). This risk policy applies only to an
|
|
171
|
+
> explicit `risk` field; a bare text prompt is governed with a minimal
|
|
172
|
+
> projection (REQUIRES_CONFIRMATION), not a full natural-language projection.
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Public API Levels
|
|
177
|
+
|
|
178
|
+
ARVIS exposes two entrypoints:
|
|
179
|
+
|
|
180
|
+
| API | Intended Use |
|
|
181
|
+
|-----|--------------|
|
|
182
|
+
| ArvisEngine | Recommended developer-facing API |
|
|
183
|
+
| CognitiveOS | Advanced low-level runtime control |
|
|
184
|
+
|
|
185
|
+
For most integrations, start with:
|
|
186
|
+
|
|
187
|
+
```python
|
|
188
|
+
from arvis import ArvisEngine
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### When to use what?
|
|
192
|
+
|
|
193
|
+
- Use **ArvisEngine** for application-level integrations
|
|
194
|
+
- Use **CognitiveOS** when you need:
|
|
195
|
+
- deterministic replay
|
|
196
|
+
- IR control
|
|
197
|
+
- pipeline customization
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
## What ARVIS Enables
|
|
202
|
+
|
|
203
|
+
ARVIS is designed for teams building:
|
|
204
|
+
|
|
205
|
+
* enterprise copilots
|
|
206
|
+
* regulated AI workflows
|
|
207
|
+
* financial decision systems
|
|
208
|
+
* legal / compliance systems
|
|
209
|
+
* secure internal AI tools
|
|
210
|
+
* autonomous workflows with controls
|
|
211
|
+
* long-memory assistants
|
|
212
|
+
* high-trust AI infrastructure
|
|
213
|
+
|
|
214
|
+
In these environments, output quality alone is not enough.
|
|
215
|
+
|
|
216
|
+
Systems must be:
|
|
217
|
+
|
|
218
|
+
* explainable
|
|
219
|
+
* reproducible
|
|
220
|
+
* governable
|
|
221
|
+
* observable
|
|
222
|
+
* safe under uncertainty
|
|
223
|
+
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## Core Capabilities
|
|
227
|
+
|
|
228
|
+
### Deterministic Cognition
|
|
229
|
+
|
|
230
|
+
Same input + same state + same policy = same result.
|
|
231
|
+
|
|
232
|
+
### Replayable Decisions
|
|
233
|
+
|
|
234
|
+
Runs can be replayed and verified.
|
|
235
|
+
|
|
236
|
+
### Governed Outputs
|
|
237
|
+
|
|
238
|
+
Unsafe or invalid decisions can be blocked before execution.
|
|
239
|
+
|
|
240
|
+
### Controlled Tool Use
|
|
241
|
+
|
|
242
|
+
External tools and side-effects run behind authorization boundaries.
|
|
243
|
+
|
|
244
|
+
Each authorized tool receives a canonical frozen payload and an immutable
|
|
245
|
+
`AuthorizedEffectContext`; it never receives the mutable cognitive pipeline
|
|
246
|
+
context. The syscall boundary compares the current trusted identity with the
|
|
247
|
+
sealed principal, tenant, authentication, service, session, process and run
|
|
248
|
+
bindings before committing an intent. See the normative
|
|
249
|
+
[governed effect path](docs/architecture/EFFECT_PATH.md) and the
|
|
250
|
+
[tool authoring guide](docs/tools/TOOL_AUTHORING_GUIDE.md).
|
|
251
|
+
|
|
252
|
+
### Explicit Uncertainty
|
|
253
|
+
|
|
254
|
+
Risk, ambiguity, conflict, and instability become system signals.
|
|
255
|
+
|
|
256
|
+
### Canonical IR
|
|
257
|
+
|
|
258
|
+
Every run can emit a structured machine-auditable representation.
|
|
259
|
+
|
|
260
|
+
### Timeline Integrity
|
|
261
|
+
|
|
262
|
+
Decisions can be linked to verifiable commitments.
|
|
263
|
+
|
|
264
|
+
### Runtime Observability
|
|
265
|
+
|
|
266
|
+
Internal cognition remains inspectable in production.
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
## Architecture Snapshot
|
|
271
|
+
|
|
272
|
+
```text
|
|
273
|
+
Scheduler Tick
|
|
274
|
+
→ Select Process
|
|
275
|
+
→ Run Cognitive Pipeline
|
|
276
|
+
→ Build Cognitive State
|
|
277
|
+
→ Policy / Admissibility Gate
|
|
278
|
+
→ Export IR
|
|
279
|
+
→ Optional Authorized Execution
|
|
280
|
+
→ Timeline Commit
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
## Separation of Concerns
|
|
286
|
+
|
|
287
|
+
| Layer | Responsibility |
|
|
288
|
+
| --------- | -------------------------- |
|
|
289
|
+
| Pipeline | Cognition |
|
|
290
|
+
| Gate | Decision admissibility |
|
|
291
|
+
| Runtime | Scheduling / orchestration |
|
|
292
|
+
| Memory | Governed state influence |
|
|
293
|
+
| IR | Structured export |
|
|
294
|
+
| Execution | Side-effects / tools |
|
|
295
|
+
| Timeline | Integrity / commitments |
|
|
296
|
+
| Reflexive | Read-only self-observation |
|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
## Why Teams Choose ARVIS
|
|
301
|
+
|
|
302
|
+
Because modern AI systems increasingly need:
|
|
303
|
+
|
|
304
|
+
* controls before execution
|
|
305
|
+
* replay after incidents
|
|
306
|
+
* audit trails for regulators
|
|
307
|
+
* safe tool usage
|
|
308
|
+
* deterministic workflows
|
|
309
|
+
* bounded autonomy
|
|
310
|
+
* trustable infrastructure
|
|
311
|
+
|
|
312
|
+
ARVIS addresses these requirements natively.
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
## Validation
|
|
317
|
+
|
|
318
|
+
ARVIS is validated like infrastructure.
|
|
319
|
+
|
|
320
|
+
Current suite includes:
|
|
321
|
+
|
|
322
|
+
* 1700+ passing tests
|
|
323
|
+
* unit tests
|
|
324
|
+
* integration tests
|
|
325
|
+
* deterministic replay verification
|
|
326
|
+
* adversarial scenarios
|
|
327
|
+
* scheduler fairness tests
|
|
328
|
+
* hashchain integrity tests
|
|
329
|
+
* mathematical invariants
|
|
330
|
+
* runtime robustness checks
|
|
331
|
+
|
|
332
|
+
---
|
|
333
|
+
|
|
334
|
+
## Examples
|
|
335
|
+
|
|
336
|
+
Run ready-to-use examples:
|
|
337
|
+
|
|
338
|
+
```bash
|
|
339
|
+
python examples/00_quickstart_engine.py
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
Included examples:
|
|
343
|
+
|
|
344
|
+
0. ArvisEngine quickstart
|
|
345
|
+
1. Gate refusal
|
|
346
|
+
2. Deterministic replay
|
|
347
|
+
3. IR export
|
|
348
|
+
4. Human approval
|
|
349
|
+
5. Tool governance
|
|
350
|
+
6. Finance risk screening
|
|
351
|
+
8. Timeline audit trail
|
|
352
|
+
9. Batch decision engine
|
|
353
|
+
10. Runtime inspection
|
|
354
|
+
|
|
355
|
+
See: `examples/README.md`
|
|
356
|
+
|
|
357
|
+
---
|
|
358
|
+
|
|
359
|
+
## Documentation
|
|
360
|
+
|
|
361
|
+
Start here:
|
|
362
|
+
|
|
363
|
+
* `docs/OVERVIEW.md`
|
|
364
|
+
* `docs/WHY_ARVIS.md`
|
|
365
|
+
* `docs/ARCHITECTURE.md`
|
|
366
|
+
* `docs/PIPELINE.md`
|
|
367
|
+
* `docs/IR.md`
|
|
368
|
+
* `docs/REFLEXIVE.md`
|
|
369
|
+
* `docs/standard/`
|
|
370
|
+
* `docs/math/`
|
|
371
|
+
|
|
372
|
+
---
|
|
373
|
+
|
|
374
|
+
## What ARVIS Does Not Claim
|
|
375
|
+
|
|
376
|
+
ARVIS does **not** promise:
|
|
377
|
+
|
|
378
|
+
* universal truth
|
|
379
|
+
* AGI magic
|
|
380
|
+
* perfect reasoning
|
|
381
|
+
* correctness outside assumptions
|
|
382
|
+
* optimality in all environments
|
|
383
|
+
|
|
384
|
+
ARVIS is about **trustworthy operation under constraints**.
|
|
385
|
+
|
|
386
|
+
---
|
|
387
|
+
|
|
388
|
+
## Known Limitations (0.1.0-alpha)
|
|
389
|
+
|
|
390
|
+
This is an early alpha of a deterministic cognitive kernel. What is stable,
|
|
391
|
+
experimental, and out of scope for 0.1:
|
|
392
|
+
|
|
393
|
+
**Stable (documented, tested):**
|
|
394
|
+
|
|
395
|
+
* governed decision pipeline and admissibility gate
|
|
396
|
+
* graded risk gate for an explicit top-level `risk` scalar
|
|
397
|
+
(low → ALLOWED, medium → REQUIRES_CONFIRMATION, high → BLOCKED)
|
|
398
|
+
* deterministic, replayable IR (projection / validity / stability / adaptive /
|
|
399
|
+
tools axes exposed in the public view) and timeline commitment
|
|
400
|
+
* syscall boundary for external effects, including a governed `llm.generate`
|
|
401
|
+
path wired end to end
|
|
402
|
+
* tool authorization boundary (per-spec risk budget)
|
|
403
|
+
* sealed tool effect context and receipt-activated single-use capabilities
|
|
404
|
+
* typed runtime error model
|
|
405
|
+
|
|
406
|
+
**Experimental (present, not part of the stable public API):**
|
|
407
|
+
|
|
408
|
+
* long-term memory
|
|
409
|
+
* conversation orchestration
|
|
410
|
+
* natural-language input surface — a bare text prompt is governed with a
|
|
411
|
+
*minimal* projection (REQUIRES_CONFIRMATION), not a full cognitive projection
|
|
412
|
+
* real LLM providers — the governed adapter path is wired end to end, but the
|
|
413
|
+
bundled provider is a deterministic stub; production providers must be
|
|
414
|
+
configured via the adapter registry
|
|
415
|
+
|
|
416
|
+
**Out of scope for 0.1:**
|
|
417
|
+
|
|
418
|
+
* the full cognitive projection Pi (the 0.1 projection is partial and
|
|
419
|
+
certification-oriented; sparse inputs receive a minimal certificate)
|
|
420
|
+
* risk gating beyond an explicit top-level `risk` scalar (nested signals,
|
|
421
|
+
structured tool requests, and free text do not yet drive a full projection)
|
|
422
|
+
* general formal guarantees over arbitrary LLM behavior
|
|
423
|
+
* a frozen public API surface
|
|
424
|
+
|
|
425
|
+
Formal guarantees apply only to the documented projected domains and their
|
|
426
|
+
assumptions.
|
|
427
|
+
|
|
428
|
+
---
|
|
429
|
+
|
|
430
|
+
## Versioning
|
|
431
|
+
|
|
432
|
+
ARVIS tracks three distinct version axes, each honestly labeled:
|
|
433
|
+
|
|
434
|
+
| Axis | Value | Meaning |
|
|
435
|
+
|------|-------|---------|
|
|
436
|
+
| Package version | `0.1.0a11` | the distributed artifact (PEP 440) |
|
|
437
|
+
| API version | `0.1` | the public Python API contract (not yet stable) |
|
|
438
|
+
| Standard version | `draft-v1` | the ARVIS decision / IR specification |
|
|
439
|
+
|
|
440
|
+
---
|
|
441
|
+
|
|
442
|
+
## Project Status
|
|
443
|
+
|
|
444
|
+
**`0.1.0-alpha` (preview)** — actively developed with a validation-first
|
|
445
|
+
engineering approach. The public API is not yet stable.
|
|
446
|
+
|
|
447
|
+
---
|
|
448
|
+
|
|
449
|
+
## Positioning
|
|
450
|
+
|
|
451
|
+
```text
|
|
452
|
+
Most AI systems try to generate outputs.
|
|
453
|
+
ARVIS governs whether outputs are allowed to exist.
|
|
454
|
+
```
|