LICENSE
README.md
pyproject.toml
moralstack/__init__.py
moralstack.egg-info/PKG-INFO
moralstack.egg-info/SOURCES.txt
moralstack.egg-info/dependency_links.txt
moralstack.egg-info/entry_points.txt
moralstack.egg-info/requires.txt
moralstack.egg-info/top_level.txt
moralstack/cli/__init__.py
moralstack/cli/loader.py
moralstack/cli/mocks.py
moralstack/cli/models.py
moralstack/cli/report.py
moralstack/cli/run.py
moralstack/cli/shell.py
moralstack/cli/validate_overlay.py
moralstack/cli/visualizer.py
moralstack/compliance/__init__.py
moralstack/compliance/_version.py
moralstack/compliance/config.py
moralstack/compliance/dccl.py
moralstack/compliance/safety_override.py
moralstack/compliance/types.py
moralstack/constitution/__init__.py
moralstack/constitution/helpers.py
moralstack/constitution/loader.py
moralstack/constitution/openai_config.py
moralstack/constitution/prompt_formatter.py
moralstack/constitution/retriever.py
moralstack/constitution/schema.py
moralstack/constitution/store.py
moralstack/constitution/data/core.yaml
moralstack/constitution/data/overlays/children.yaml
moralstack/constitution/data/overlays/coding.yaml
moralstack/constitution/data/overlays/creative.yaml
moralstack/constitution/data/overlays/customer_service.yaml
moralstack/constitution/data/overlays/cybersecurity.yaml
moralstack/constitution/data/overlays/education.yaml
moralstack/constitution/data/overlays/emergency.yaml
moralstack/constitution/data/overlays/enterprise.yaml
moralstack/constitution/data/overlays/environment.yaml
moralstack/constitution/data/overlays/financial.yaml
moralstack/constitution/data/overlays/gaming.yaml
moralstack/constitution/data/overlays/healthcare.yaml
moralstack/constitution/data/overlays/journalism.yaml
moralstack/constitution/data/overlays/legal.yaml
moralstack/constitution/data/overlays/medical.yaml
moralstack/constitution/data/overlays/mental_health.yaml
moralstack/constitution/data/overlays/political.yaml
moralstack/constitution/data/overlays/relationships.yaml
moralstack/constitution/data/overlays/research.yaml
moralstack/constitution/data/overlays/science.yaml
moralstack/constitution/data/overlays/violent_crime.yaml
moralstack/core/schema.py
moralstack/core/types.py
moralstack/models/base.py
moralstack/models/decision_explanation.py
moralstack/models/delib_context.py
moralstack/models/policy.py
moralstack/models/reason_codes.py
moralstack/models/risk/__init__.py
moralstack/models/risk/action.py
moralstack/models/risk/calibration.py
moralstack/models/risk/categories.py
moralstack/models/risk/config_loader.py
moralstack/models/risk/estimator.py
moralstack/models/risk/parse_result.py
moralstack/models/risk/prompts.py
moralstack/models/risk/schema.py
moralstack/models/risk/utils.py
moralstack/models/risk/config/__init__.py
moralstack/models/risk/signals/__init__.py
moralstack/models/risk/signals/prompt_renderer.py
moralstack/models/risk/signals/registry.py
moralstack/models/risk/signals/schema.py
moralstack/observability/__init__.py
moralstack/observability/config.py
moralstack/observability/context.py
moralstack/observability/conversation_events.py
moralstack/observability/emit_helpers.py
moralstack/observability/events.py
moralstack/observability/governance_audit.py
moralstack/observability/phase0_timing.py
moralstack/observability/read_store.py
moralstack/observability/request_token_accumulator.py
moralstack/observability/router.py
moralstack/observability/service.py
moralstack/observability/token_usage.py
moralstack/observability/write_queue.py
moralstack/observability/sinks/__init__.py
moralstack/observability/sinks/base.py
moralstack/observability/sinks/jsonl_sink.py
moralstack/observability/sinks/sqlite_sink.py
moralstack/orchestration/__init__.py
moralstack/orchestration/_policy_helpers.py
moralstack/orchestration/config_loader.py
moralstack/orchestration/contract.py
moralstack/orchestration/controller.py
moralstack/orchestration/convergence.py
moralstack/orchestration/convergence_evaluator.py
moralstack/orchestration/conversation_context.py
moralstack/orchestration/conversation_state.py
moralstack/orchestration/conversational_fast_path.py
moralstack/orchestration/decision_logger.py
moralstack/orchestration/decision_service.py
moralstack/orchestration/default_event_emitter.py
moralstack/orchestration/default_persistence.py
moralstack/orchestration/deliberation_override.py
moralstack/orchestration/deliberation_runner.py
moralstack/orchestration/delivery.py
moralstack/orchestration/diagnostics.py
moralstack/orchestration/domain_exclusion.py
moralstack/orchestration/embedder.py
moralstack/orchestration/event_emitter.py
moralstack/orchestration/final_revalidation.py
moralstack/orchestration/guidance_builder.py
moralstack/orchestration/language_resolver.py
moralstack/orchestration/ledger.py
moralstack/orchestration/ledger_storage.py
moralstack/orchestration/null_event_emitter.py
moralstack/orchestration/null_persistence.py
moralstack/orchestration/orchestration_event_taxonomy.py
moralstack/orchestration/overlay_policy.py
moralstack/orchestration/path_router.py
moralstack/orchestration/path_router_explanation.py
moralstack/orchestration/persistence_helpers.py
moralstack/orchestration/persistence_port.py
moralstack/orchestration/process_context.py
moralstack/orchestration/refusal_context.py
moralstack/orchestration/refusal_handler.py
moralstack/orchestration/response_assembler.py
moralstack/orchestration/safe_complete_gating.py
moralstack/orchestration/safe_refusal_generator.py
moralstack/orchestration/speculative_overlap.py
moralstack/orchestration/system_prompt_resolver.py
moralstack/orchestration/trace.py
moralstack/orchestration/trace_lifecycle.py
moralstack/orchestration/types.py
moralstack/pipeline/__init__.py
moralstack/pipeline/context_builder.py
moralstack/pipeline/deliberation_stack.py
moralstack/pipeline/output_contract.py
moralstack/prompts/__init__.py
moralstack/prompts/_common.py
moralstack/prompts/critic_prompt.py
moralstack/prompts/hindsight_prompt.py
moralstack/prompts/perspectives_prompt.py
moralstack/prompts/retry.py
moralstack/prompts/simulator_prompt.py
moralstack/reports/__init__.py
moralstack/reports/benchmark_report_loader.py
moralstack/reports/conversation_export.py
moralstack/reports/markdown_export.py
moralstack/reports/model.py
moralstack/reports/orchestrator_observability.py
moralstack/reports/policy_gating_observability.py
moralstack/reports/renderer_markdown.py
moralstack/reports/runtime_decisions.py
moralstack/runtime/__init__.py
moralstack/runtime/decision_correctness.py
moralstack/runtime/decision_policy.py
moralstack/runtime/orchestrator.py
moralstack/runtime/decision/__init__.py
moralstack/runtime/decision/safe_complete_policy.py
moralstack/runtime/modules/__init__.py
moralstack/runtime/modules/critic_config_loader.py
moralstack/runtime/modules/critic_module.py
moralstack/runtime/modules/hindsight_config_loader.py
moralstack/runtime/modules/hindsight_module.py
moralstack/runtime/modules/message_context.py
moralstack/runtime/modules/perspective_config_loader.py
moralstack/runtime/modules/perspective_module.py
moralstack/runtime/modules/simulator_config_loader.py
moralstack/runtime/modules/simulator_module.py
moralstack/runtime/trace/__init__.py
moralstack/runtime/trace/decision_trace.py
moralstack/runtime/trace/trace_stages.py
moralstack/sdk/__init__.py
moralstack/sdk/bootstrap.py
moralstack/sdk/config.py
moralstack/sdk/errors.py
moralstack/sdk/response.py
moralstack/sdk/session.py
moralstack/sdk/session_store.py
moralstack/sdk/wrapper.py
moralstack/server/__init__.py
moralstack/server/conversation_correlation.py
moralstack/server/fingerprint.py
moralstack/server/headers.py
moralstack/server/proxy.py
moralstack/ui/__init__.py
moralstack/ui/app.py
moralstack/utils/cache.py
moralstack/utils/clean_start.py
moralstack/utils/cost_tracker.py
moralstack/utils/env_helpers.py
moralstack/utils/env_loader.py
moralstack/utils/json_utils.py
moralstack/utils/llm_parse_contract.py
moralstack/utils/openai_params.py
moralstack/utils/output_protection.py
moralstack/utils/provider_errors.py
moralstack/utils/structured_output.py
tests/test_axis_mapping.py
tests/test_benchmark_moralstack_imports.py
tests/test_cache_context_isolation.py
tests/test_calibration_guard.py
tests/test_compliance_evaluation.py
tests/test_compliance_fast_path.py
tests/test_compliance_foundation.py
tests/test_compliance_orchestrator_integration.py
tests/test_compliance_safety_override.py
tests/test_consolidate_jsonl_meta.py
tests/test_constitution_loader.py
tests/test_constitution_retrieval.py
tests/test_constitution_retrieval_context_propagation.py
tests/test_constitution_retrieval_persistence.py
tests/test_constitution_validation.py
tests/test_controller_conversational.py
tests/test_controller_risk_context_propagation.py
tests/test_controller_speculative_lazy.py
tests/test_controller_token_accounting_speculative.py
tests/test_convergence.py
tests/test_conversation_correlation.py
tests/test_conversation_export.py
tests/test_conversation_observability_persistence.py
tests/test_conversation_readiness.py
tests/test_conversation_state_v04.py
tests/test_conversational_fast_path.py
tests/test_critic_config_loader.py
tests/test_critic_prompt.py
tests/test_cycle1_early_convergence.py
tests/test_decide_action.py
tests/test_decision_correctness.py
tests/test_decision_explanation.py
tests/test_decision_policy.py
tests/test_decision_trace.py
tests/test_deliberation_runner_billable_provider_call.py
tests/test_deliberation_runner_token_usage.py
tests/test_deliberative_modules_context_propagation.py
tests/test_developer_contract.py
tests/test_domain_prefilter_cache.py
tests/test_domain_prefilter_descriptions.py
tests/test_embedder.py
tests/test_env_loader.py
tests/test_estimator_developer_contract_interpretation.py
tests/test_final_revalidation.py
tests/test_generation_overrides.py
tests/test_governed_delivery.py
tests/test_guidance_builder.py
tests/test_has_ambiguity_or_dual_use.py
tests/test_has_ambiguity_pre_calculated.py
tests/test_hindsight_config_loader.py
tests/test_intent_falsification_fields.py
tests/test_json_utils.py
tests/test_ledger.py
tests/test_ledger_fast_path_events.py
tests/test_ledger_fast_path_gate_rejected_e2e.py
tests/test_ledger_posture_symmetry.py
tests/test_ledger_storage.py
tests/test_llm_parse_contract.py
tests/test_local_embedder.py
tests/test_models_base_token_usage.py
tests/test_models_policy_token_usage.py
tests/test_module_result_cache_billing.py
tests/test_modules_context_injection.py
tests/test_mstack_cli.py
tests/test_multiturn_context_alignment.py
tests/test_multiturn_context_propagation.py
tests/test_observability_config.py
tests/test_observability_contract.py
tests/test_observability_envelope.py
tests/test_observability_jsonl_sink.py
tests/test_observability_read_store.py
tests/test_observability_read_store_token_usage.py
tests/test_observability_router.py
tests/test_observability_service.py
tests/test_observability_sqlite_sink.py
tests/test_observability_sqlite_sink_token_usage.py
tests/test_observability_write_queue.py
tests/test_openai_params.py
tests/test_orchestration_persistence_port.py
tests/test_orchestrator.py
tests/test_orchestrator_concurrent_ctx.py
tests/test_orchestrator_config_loader.py
tests/test_orchestrator_default_persistence_e2e.py
tests/test_orchestrator_default_persistence_failure_does_not_break_request.py
tests/test_orchestrator_embedder_token_usage.py
tests/test_orchestrator_ledger_integration.py
tests/test_orchestrator_observability.py
tests/test_output_contract.py
tests/test_overlay_sensitivity.py
tests/test_parallel_scheduler.py
tests/test_persistence_llm_calls.py
tests/test_persistence_load.py
tests/test_persistence_sink_contract.py
tests/test_persistence_uow.py
tests/test_perspective_config_loader.py
tests/test_perspective_contract_injection.py
tests/test_perspective_module.py
tests/test_perspective_standalone.py
tests/test_phase0_baseline_script.py
tests/test_phase0_timing.py
tests/test_prompt10_fixes.py
tests/test_prompt8_contract_priority.py
tests/test_prompt_audit_fixes.py
tests/test_prompt_formatter.py
tests/test_refusal_context_extended.py
tests/test_refusal_handler.py
tests/test_refusal_handler_duration.py
tests/test_report_durations.py
tests/test_report_journey_order.py
tests/test_report_version_dynamic.py
tests/test_reports.py
tests/test_request_analysis_reuse.py
tests/test_request_token_accumulator.py
tests/test_response_assembler.py
tests/test_risk.py
tests/test_risk_config_loader.py
tests/test_risk_estimator.py
tests/test_risk_estimator_runtime_domain.py
tests/test_risk_parsing.py
tests/test_risk_persist_batch.py
tests/test_runtime_domain_normalization.py
tests/test_runtime_modules_retry_token_accounting.py
tests/test_runtime_modules_token_usage_source.py
tests/test_runtime_observability.py
tests/test_runtime_orchestrator.py
tests/test_runtime_pooling.py
tests/test_safe_complete_gating.py
tests/test_safe_complete_policy.py
tests/test_safe_complete_user_turn.py
tests/test_safe_refusal_generator.py
tests/test_sdk_bootstrap.py
tests/test_sdk_config.py
tests/test_sdk_dccl.py
tests/test_sdk_errors.py
tests/test_sdk_integration.py
tests/test_sdk_response.py
tests/test_sdk_response_token_usage.py
tests/test_sdk_session.py
tests/test_sdk_session_with_store.py
tests/test_sdk_stream.py
tests/test_sdk_wrapper.py
tests/test_server_fingerprint.py
tests/test_server_proxy.py
tests/test_server_proxy_token_usage.py
tests/test_session_store.py
tests/test_signal_minor_exploitation.py
tests/test_signals_reputational_harm.py
tests/test_simulator_config_loader.py
tests/test_simulator_gate.py
tests/test_speculative_overlap.py
tests/test_static_prefix_stability.py
tests/test_structured_output.py
tests/test_system_prompt_byte_equality.py
tests/test_system_prompt_resolver.py
tests/test_token_accounting_e2e.py
tests/test_token_usage.py
tests/test_trace_parsers.py
tests/test_ui_calibration_path.py
tests/test_ui_conversation_strip.py
tests/test_ui_conversation_views.py
tests/test_ui_journey_order.py
tests/test_ui_request_token_visibility.py
tests/test_ui_tier_order.py
tests/test_validate_overlay.py