DynosAI
Documentation navigation

Source Module Reference

Every production module has an English module-level docstring and an SPDX MIT header. The table below explains the responsibility boundary.

ModuleResponsibility
acceptance.pyReal-provider acceptance harness, matrix orchestration, safe retry, consolidated certification
acceptance_logging.pyTrace normalization and portable acceptance evidence
acceptance_policy.pyAcceptance-only environment/provider safety policy
agent_config.pyProvider-neutral agent configuration generation and validation
agents.pyManaged agent rules, skills, instructions, provider integration helpers
application.pyProvider-neutral application API and graphical-client read/write contracts
app_server.pyLoopback-only HTTP/JSON adapter and Local Studio static server
artifacts.pyConstitution, baseline, specification, plan and Markdown artifact management
baselines.pyAccepted reference efficiency baselines
benchmark.pyOffline acceptance comparison helpers
cli.pydynosai command-line interface
context_control.pyContext pressure and context-strategy selection
cost_telemetry.pyUsage/cost telemetry and cost-per-successful-governed-change aggregation
context_handles.pyPersistent pass-by-reference handles for large artifacts
eval_registry.pyVersioned eval scenarios and offline harness comparisons
eval_intelligence.pyFailure attribution, local-trace mining, acceptance ZIP import and inbox-only improvement loop
prompt_prefix.pyDeterministic MCP authority prefix hash; cacheable structure, not a cache-hit claim
execution_profiles.pyStrict/Balanced/Autonomous host policy, local runtime bind and unsupported-runtime refusal
capability_manifests.pyCursor ACP / Codex app-server contracts and refusal of uncertified clients/packs
certification_matrix.pyMATRIX_1.0 live cells, candidate identity (git commit + certification_subject_sha256), dirty-tree guards
codex_mcp_preflight.pyNo-model-turn Codex App Server MCP introspection (initialize, config/read, mcpServerStatus/list, direct mcpServer/tool/call)
execution_runtime.pyProvider-neutral ExecutionRuntime and local hands implementation
harness_contracts.pyTyped execution/recovery/handle contracts and optional harness feature flags
secrets.pyCredential redaction and secret broker (model refuse-closed; optional local runtime vault)
validation_integrity.pyRequirement → evidence → validation integrity reports
db.pySQLite schema, migrations, persistence and audit storage
debug.pyDiagnostic and end-to-end debug orchestration
debug_fixtures.pyDeterministic greenfield/brownfield test fixtures
engine.pyMain Core facade and workflow coordination
estimator_calibration.pyToken/context estimator calibration
events.pyEvent primitives
git_guard.pyManaged-session Git restrictions
git_manager.pyGoverned Git read/write operations and evidence
indexer.pyFiles/symbols/tests/code relationship indexing
interactions.pyHuman gate and elicitation lifecycle
managed_runtime.pyStrict provider runtime isolation
mcp.pyMCP server, 31 frozen tool contracts, elicitation, 2026 MRTR and stdio serve
mcp_protocol.pyShared MCP revision constants, _meta keys, protocol errors and 2026 metadata validation
mcp_protocol_legacy.py2025-11-25 / 2025-06-18 initialize and list/call shaping
mcp_protocol_2026.py2026-07-28 discover, stateless list/call and input_required envelopes
mcp_human_gates.pyStable human-gate input-request keys shared by legacy elicitation and 2026 MRTR
release_manifest.pyGit-aware releasable file list, source ZIP, source_tree_sha256 and certification_subject_sha256
runtime_paths.pyUser-local persistent state, certification/acceptance workspaces, Codex CODEX_HOME safety
model_benchmark.pyOffline provider/model benchmark ranking
model_control.pyPhase budgets, adaptive control decisions and transition evidence
model_routing.pyProvider/activity routing profiles
policy.pyPath/scope, validation-profile, network and dependency policies
predictive_routing.pyHistorical predictive routing memory (shadow use)
predictive_validation.pyOffline replay and authority-gate analysis
provider_debug.pyProvider-native debug/certification adapters
provider_process.pyProvider subprocess spawn/shutdown and Windows process-tree cleanup
providers.pyProvider capability detection and command construction
retrieval.pyHybrid bounded retrieval of text, symbols, tasks and evidence
runtime.pyMachine-local project/session broker
runtime_audit.pyRuntime/provider isolation audit
semantic.pyLocal embeddings and semantic index
state.pyPortable snapshots and atomic restore
team_scheduler.pyPlan-DAG waves, file-disjoint leases, claim rules and wave-scoped fan-in
studio_projects.pyLocal Studio project hub registry and directory browsing
token_usage.pyToken normalization, phase attribution and usage reporting
util.pyShared low-level helpers
validation.pyWorkflow quality scoring and validation evaluation
validation_discovery.pyStack-aware, read-only discovery and explicit approval of validation profiles
risk.pyDeterministic advisory project/work risk assessment
version.pyPackage version