Skip to content

First-party file inventory

Use this index to locate a file, then read the development guide for ownership and edit boundaries. Declared Python names below are internal developer APIs, not a supported public SDK. The list includes public top-level functions/classes, uppercase assignments and adapter app/mcp objects; it omits imported aliases and class methods. Test rows report syntactic test-function counts and declared helpers, not collected test-case counts.

Source links are pinned to baseline 1864dc8. Files introduced by the documentation overhaul are labeled new until a published commit can be linked. Summaries come from module docstrings (trimmed to 240 characters) or resource types, so the linked implementation and focused tests remain the authority for exact behavior.

This inventory covers 418 files: all Git-tracked and nonignored additions under src/, ui/, scripts/, tests/, prompts/, .github/ and .streamlit/, plus the explicitly listed root entry point, dependency, container and repository configuration files. It includes fixture inputs and sample archives. It excludes KNOWLEDGE.md context maps, documentation pages, planning/context folders, generated artifacts, caches, virtual environments, Git-ignored files and user data. Python source is parsed with ast; application modules and fixture code are never imported or executed.

Regenerate from the checkout root:

python scripts/docs/inventory.py
python scripts/docs/inventory.py --check

--check exits nonzero when file coverage, summaries or declared names have drifted. It never rewrites the page.

Subsystems

Subsystem Files
Entry points and package 5
Static parsing and identity 13
Storage and configuration 18
Graphs, columns and exports 9
AI and provider services 31
dbt 14
CLI and MCP automation 12
Streamlit UI 40
Prompts and response schemas 20
Verification and release tooling 10
Documentation tooling 6
Build and packaging tooling 9
Continuous integration and repository templates 8
Runtime and development configuration 9
Test support and fixtures 67
Tests: AI and providers 59
Tests: dbt 13
Tests: automation 14
Tests: parsing, graph and storage 33
Tests: UI, packaging and repository 28

Entry points and package

File Responsibility / module summary Declared names / checks
app.py Run with: streamlit run app.py new_workspace
src/dataforge/__init__.py GraveTrail: evidence-backed local data engineering analysis. —
src/dataforge/build.py Host-platform release builds with locked dependencies and integrity manifests. build_environment, write_manifest, verify_artifacts, build_python, build_docker, build_executable, main
src/dataforge/cli.py GraveTrail automation CLI; does not import or start Streamlit. app, configure, emit, capabilities, fail, invoke, cli_job_status, workspaces, create_workspace, workspace_summary, ingest, build, preview_build, project_report, cancel_analysis_job, upstream, downstream, search_assets, columns, transformation_columns, column_lineage, files, source, search_source, issues, impact, job_status, export, result, batch, mcp, cleanup_inspect, maintenance_inspect, maintenance_backup, maintenance_checkpoint, maintenance_restore, ui
src/dataforge/launcher.py Launch the same Streamlit app from a checkout, wheel or frozen bundle. windows_instance, application_root, default_home, prepare_runtime, main

Static parsing and identity

File Responsibility / module summary Declared names / checks
src/dataforge/asset_identity.py Conservative asset identities with explicitly supplied temporary job/session namespaces. source_job, asset_job, asset_label, job_assets, unambiguous_job_assets, AssetResolver
src/dataforge/models.py Parser contracts. No persistence or presentation dependencies. stable_id, canonical, file_asset, column_key, AssetRef, Usage, Operation, operation_ids, Diagnostic, ParseResult, statements
src/dataforge/parsers/__init__.py Static parsers. Imported source is data and is never executed. —
src/dataforge/parsers/csv.py Streaming CSV metadata extraction; never interprets values as code. bounded_records, parse_csv
src/dataforge/parsers/sas.py Conservative SAS static analysis, with unresolved runtime constructs surfaced. IDENT, dataset_ref, strip_comments, resolve_macros, parse_sas
src/dataforge/parsers/sas_sql.py SAS SELECT attributes and calculated aliases over the configured SQLGlot dialect. FORMAT_VALUE, parse_proc_sql
src/dataforge/parsers/sas_transformations.py Bounded DATA-step derivations; unknown SAS runtime behavior stays explicit. NAME, STRING, ASSIGNMENT, ROW_FILTER, LENGTH, RETAIN_LITERAL, IF_ASSIGNMENT, SUPPORTED_FUNCTIONS, derivation, dependency, passthrough, inline_data, option_end, without_dataset_options, stack_inputs, merge_inputs, routed_outputs, hash_lookup, fixed_array_step, data_step_derivations, proc_derivations
src/dataforge/parsers/sql.py SQLGlot AST extraction with scope-local direct column attribution. ROUTINE_HEADER, COMMENT_DELIMITER, table_name, select_into, temporary_identifier, target_table, usage_context, declared_schema, wrapped_sql, reachable_scopes, parse_sql
src/dataforge/parsers/sql_databricks.py new Static Databricks pipeline syntax and script-local relation names. is_native_dialect, static_table, column_parts, qualified_source, Namespace, ddl_schema_property, parse_statement, normalize_statement
src/dataforge/parsers/sql_databricks_relations.py new Bind Databricks LATERAL VIEW and PIVOT outputs to their original SQL AST. GeneratorBinding, PivotOutput, PivotBinding, generator_bindings, visible_generators, pivot_bindings, pivot_group_names, usage_scope_mapping
src/dataforge/parsers/sql_transformations.py Conservative, scope-preserving SQL transformation facts with original evidence. identifier, relation, is_recursive_self_reference, extract_transformations
src/dataforge/schemas.py Reconcile explicit DDL without assuming runtime order or discovering a database schema. sas_stack_columns, query_output_layouts, collect_query_layouts, collect_schemas
src/dataforge/services.py Inventory-to-lineage analysis, transactional materialization and direct usage reports. PARSER_VERSION, analysis_is_current, export_lineage_excel, analyze, explicit_source_dialect, source_dialect, set_source_dialect, prepare_analysis_results, retained_publication_results, publish_analysis_results, column_report, column_usage_coverage, column_names, compare_runs, restore_manual_ai_results

Storage and configuration

File Responsibility / module summary Declared names / checks
src/dataforge/cleanup.py Previewed, dependency-aware runtime cleanup. No caller-supplied SQL or paths. GRAPH, WORKSPACE_TABLES, CATEGORIES, checked_path, assert_idle, maintenance_guard, cleanup_plan, apply_cleanup
src/dataforge/column_evidence.py new Validated, lazy source resolution for the local column lineage inspector. load_column_evidence
src/dataforge/column_graph.py new Pure, bounded column-trace scenes for the local interactive graph. build_column_scene
src/dataforge/configuration.py Validated workspace identity and safe, versioned configuration portability. ParsingSettings, WorkspaceIdentity, VisualizationSettings, LLMResourceSettings, AnalysisPreferences, PortableSettings, WorkspaceConfiguration, export_workspace_configuration, import_workspace_configuration
src/dataforge/connections.py Session credentials and explicit process-environment credential entry. DEFAULT_KEY_ENV, set_credential_environment, RuntimeConnections, current_connections, connection_scope
src/dataforge/credentials.py new Application-owned native credentials; no discovery, fallback or secret serialization. SAVED_PREFIX, SESSION_PREFIX, CredentialError, credential_source, credential_reference, owns_reference, approved_backend, NativeCredentials
src/dataforge/database_maintenance.py Exclusive-owner backup, safe restore to a new home and read-only integrity inspection. MAX_BACKUP_BYTES, MAX_FILES, RUNTIME_DIRS, MANAGED_FILE, inspect_database, checkpoint, backup, restore_backup
src/dataforge/datatypes.py new Offline datatype suggestions and decimal entry rules for authored schemas. TYPE_CATALOG, TYPE_REFERENCES, DECIMAL, type_entry, format_data_type
src/dataforge/ingestion.py Bounded input discovery and immutable source inventory. Never executes source. UPSERT_SOURCE, Limits, ImportReport, safe_relative, decode, Importer
src/dataforge/lineage_builder.py new Authored lineage documents, independent of analyzed source evidence. SETTING, WORKS_SETTING, JOIN_TYPES, BuilderModel, Position, BuilderColumn, TableSize, BuilderFolder, BuilderTable, BuilderLink, BuilderDocument, BuilderWorkInfo, BuilderWorkExistsError, BuilderWork, list_builder_works, get_builder_work, save_builder_work, save_canvas_work, load_builder_work, load_builder, save_builder, delete_builder_tables, schema_rows, link_rows, export_tabular, export_schemas, columns_from_rows
src/dataforge/logging_config.py Structured application events with an explicit safe metadata allowlist. JsonFormatter, configure_logging, save_application_logging
src/dataforge/maintenance.py Bounded, recoverable history maintenance. Current facts and source bytes are untouched. TABLES, MAX_ARCHIVE_BYTES, history_plan, archive_history, list_archives, restore_history
src/dataforge/schema_imports.py new Bounded schema-only imports. Uploaded code is never executed. MAX_IMPORT_BYTES, import_schema
src/dataforge/settings_service.py Typed atomic workspace preferences with content revisions and non-escalation. Resources, Visualization, Privacy, TemporaryPreferences, SECTIONS, LOCAL_ADMIN, revision, check_revision, settings_schema, read_settings, update_settings, save_ui_settings, read_json_file
src/dataforge/storage_locations.py Explicit startup-approved storage homes; selecting never copies or moves data. allowed_homes, validate_home
src/dataforge/store.py Versioned DuckDB persistence with serialized, transactional access. AI_INSPECTION_TABLES, AI_PIPELINE_TABLES, COLUMN_TABLES, AI_SNAPSHOT_TABLES, AI_ANALYSIS_TABLES, SCHEMA, Store
src/dataforge/temporary_cleanup.py Cleanup only stale app-created recovery staging files; journal bytes before removal. NAME, temporary_plan, cleanup_temporary, temporary_recoveries, restore_temporary
src/dataforge/theme_configuration.py Native app-wide palette presets; preserve server options and custom layout configuration. CONFIG_PATH, PALETTES, contrast, on_accent, hover_accent, readable_accent, PRESETS, PRESET_DESCRIPTIONS, SITE_THEMES, site_theme_css, matches_preset, current_preset, apply_preset

Graphs, columns and exports

File Responsibility / module summary Declared names / checks
src/dataforge/artifacts.py Managed, version-bound artifacts with bounded binary retrieval and read-time authorization. READS, WRITES, FORMATS, SOURCE_KINDS, MAX_BYTES, Selection, write_artifact, ArtifactOperations
src/dataforge/excel_exports.py Bounded, literal-text XLSX reports over the shared ordered path contract. XLSX_MIME, STEP_COLUMNS, MAX_RELATIONSHIPS, MAX_EVIDENCE, MAX_TEXT_BYTES, MAX_WORKBOOK_BYTES, MAX_SECONDS, STEP_HEADERS, EVIDENCE_HEADERS, COVERAGE, lineage_xlsx
src/dataforge/exports.py Portable reports and an offline, dependency-free interactive SVG graph. path_rows, COPY_JS, GRAPH_CSS, SVG_PAN_JS, GRAPH_JS, GRAPH_BODY, graph_data, graph_html, report_csv, report_html, source_bundle
src/dataforge/graph.py Cycle-safe traversal and evidence-preserving temporary contraction. LineageGraph
src/dataforge/graph_image_service.py Snapshot and disclose the same filtered graph for UI and automation images. export_graph_image
src/dataforge/graph_images.py Inert, fitted graph images from the browser's scene. No source text or resources. SVG_NS, RENDER_SLOTS, ImageOptions, png_available, safe_image_filename, render_graph_image
src/dataforge/image_worker.py Private disposable raster worker. Input is constructed internally, never uploaded SVG. main
src/dataforge/reporting.py Shared stored-fact inventory, history, dictionary, schema and health reports. READS, data_dictionary, workspace_health, validate_lineage_evidence, code_matches, ReportOperations
src/dataforge/transformations.py Scoped static column derivations and bounded traversal, shared by every interface. ROW_ROLES, IN_PLACE, TRANSPOSE_SCOPE, CONTROL_ROLES, STATUSES, INSERT_MAPPING_GAPS, materialize_columns, column_catalog, final_column_names, table_column_links, trace_columns

AI and provider services

File Responsibility / module summary Declared names / checks
src/dataforge/ai_analysis_models.py Bounded project-analysis contracts; model output never grants publication rights. StrictModel, AnalysisRequest, ProjectionFocus, SourceFocus, AnalysisUnit, EvidenceCitation, Coverage, AssetCandidate, TableRelationship, ColumnCandidate, DerivationInput, DerivationCandidate, ProjectLineageResponse, ReviewDecision, LineageReviewResponse, ValidationContext, NormalizedFact, ClaimDecision, ValidationReport, ReconciliationReport, UnitAttemptResult, AnalysisReport, EXTRACTION_VERSION, SourceReference, FilePart, ResourceReference, ExtractedUsage, ExtractedDerivation, OperationRecord, ContextEntry, MissingContext, PartExtraction, FileExtraction, ExtractionEnvelope
src/dataforge/ai_analysis_progress.py Lightweight projections of the durable AI ledger; never hydrate source or results. analysis_progress
src/dataforge/ai_analysis_store.py Bounded durable project analysis checkpoints and accepted offline facts. Callers own the publication transaction. No network or parser cache writes occur here. MAX_JSON_BYTES, TERMINAL, save_run, save_unit_result, save_part_extraction, load_file_parts, save_file_extraction, load_file_extractions, active_project_runs, recover_interrupted_runs, save_claim_decisions, load_accepted_file_results, accepted_file_ids, attach_published_support, refresh_published_support, load_analysis_report, save_validation_checkpoint, load_validation_checkpoint
src/dataforge/ai_batching.py Pure bounded multi-unit prompts; responses retain independent unit authority. RECOVERY_FEEDBACK_RESERVE, PlannedRequest, extraction_instructions, pack_request
src/dataforge/ai_budget.py Pure conservative full-envelope allowances and bounded execution recommendations. ModelLimits, RequestBudget, effective_limits, count_request_tokens, request_budget, allocate_analysis_profile, profile_recommendations
src/dataforge/ai_citations.py Source-only expression references; location references never establish lineage semantics. source_references
src/dataforge/ai_composition.py Source-backed expression components; only complete, validated unions become facts. merge_extraction_revision, ConsolidationWork, plan_file_consolidation, assemble_file_extraction, validate_fragment
src/dataforge/ai_context.py Offline immutable project context; no provider calls or parser answer injection. SourceSnapshot, plan_file_parts, PreparedAnalysis, prepare_analysis, inventory_revision, AIExecutionContext
src/dataforge/ai_context_index.py AI-only, run-local definition lookup rebuilt from pinned source and results. IDENTIFIER, referenced_asset_names, ContextIndex, ContextSelection, build_context_index, context_for_part, restore_part_context, CompletionWork, plan_context_completion
src/dataforge/ai_extraction_recovery.py Small extraction-specific helpers; durable state lives in the existing run journal. recovery_wait, validation_failure, response_metadata, split_truncated_part
src/dataforge/ai_inspection.py Bounded, redacted transport artifacts separate from progress/checkpoint rows. MAX_ARTIFACT_BYTES, MAX_RUN_BYTES, RETENTION_SECONDS, KINDS, INSPECTION_SCHEMA, cleanup_payloads, capture_payload, load_replayable_response, inspection_items, inspection_payload
src/dataforge/ai_linking.py Deterministic linking over validated checkpoints, with explicit ambiguous writers. build_operation_graph, UpstreamSlice, upstream_operations, LinkedAnalysis, link_file_extractions, to_publication_results, link_stored_facts
src/dataforge/ai_pipeline_store.py Coordinator-owned durable requests; no provider credentials or copied source. PIPELINE_SCHEMA, save_request, begin_attempt, finish_attempt, attempt_totals, reported_totals, recover_pipeline, batch_attempts
src/dataforge/ai_rate_limits.py Provider feedback is advisory; request slots, token quotas and capacity differ. normalize_rate_limits, retry_delay
src/dataforge/ai_reconciliation.py Pure operation-aware reconciliation and accepted sparse publication operations. RECONCILIATION_VERSION, ReconciliationReport, normalize_parser_facts, fact_key, reconcile_candidates
src/dataforge/ai_results.py Task-specific advisory results, grounded against exact source and parser attribution. Citation, ColumnClaim, ColumnResponse, Explanation, ExplanationResponse, TASK_SCHEMAS, validate_advisory
src/dataforge/ai_semantic.py Host-owned semantic partitions over exact source; never synthetic SQL evidence. projection_count, split_projection_unit, source_view, focused_operation, proc_sql_spans, unit_dialect, split_proc_sql_unit
src/dataforge/ai_service.py Offline evidence previews and explicit grounded AI requests over existing contracts. READS, WRITES, SOURCE, preview_ai_evidence, merge_ai_result, AIOperations
src/dataforge/ai_source_views.py Bounded original-source views and indexed context, without fabricated standalone code. compact_catalog, context_records, view_identity, source_window, identifier_name, visible_names
src/dataforge/ai_validation.py Deterministic project evidence checks over whole originals, never AI quote fragments. validate_extraction, VALIDATOR_VERSION, expression_key, input_key, operation_contexts, validate_project_response
src/dataforge/ai_wire.py Project protocol v4 components/references; strict legacy responses remain readable. EvidenceReference, SourceCitationError, decode_extractions, WIRE_MODELS, CANONICAL, wire_schema, decode_project_result, encode_project_result
src/dataforge/analysis_service.py One resumable extraction loop; deterministic publication from saved files. recovery_message, preview_analysis, run_analysis, analysis_report
src/dataforge/assistance_queue.py Bounded, read-only diagnostic triage with explicit source-version-pinned AI requests. diagnostic_queue, diagnostic_context, preview_review, request_review
src/dataforge/focused_grounding.py Host-owned evidence and identity checks for focused SQL/SAS proposals. The catalog supplies identities, never permission to invent or reject source names. This module has no provider, scheduler, persistence or UI side effects. MESSAGES, GroundingError, resource_key, ground_response, resolve_resources, validate_saved_response
src/dataforge/llm.py Provider-specific HTTP adapters and strictly grounded, privacy-gated assistance. PROVIDERS, MANUAL_TASKS, PROJECT_TASKS, ROUTABLE_TASKS, TASKS, PROJECT_SCHEMAS, PROMPTS, is_local, Profile, Claim, GroundedResponse, ProviderError, response_object, decode_provider_response, ChatEventStream, decode_wire_response, Adapter, validate_response, redact, expire_ai_history, review_budget_message, prepare_assistance, preview_assistance, assist, merge_claims, focused_evidence_key, assist_task, analysis_routes
src/dataforge/llm_resources.py Process-local request admission and offline, original-coordinate context chunks. block_requests_for_maintenance, has_active_requests, request_slot, context_chunks
src/dataforge/model_capabilities.py Allowlisted provider capacity metadata, separate from disclosure and usage limits. IDENTITY_FIELDS, CAPABILITY_MAX_AGE, ModelCapabilities, ModelDescriptor, capability_identity, bind_capabilities, execution_profile, runtime_profile, normalize_model, merge_descriptors
src/dataforge/project_analysis.py Permission-gated project build adapters; all engines share analysis_service. READS, WRITES, ProjectAnalysisOperations
src/dataforge/provider_service.py Profile/routing operations with launch-bound references and recipient origins. READS, WRITES, origin, Routing, get_profile, save_profile, save_routing, authorize_provider, ProviderOperations
src/dataforge/tokenizer_assets/README.md Repository configuration, packaging input or resource; inspect source for exact values. —
src/dataforge/tokenizer_assets/o200k_base.tiktoken Bundled tokenizer rank data for offline token accounting. —

dbt

File Responsibility / module summary Declared names / checks
src/dataforge/dbt/__init__.py Offline dbt project analysis. Imported projects never execute. —
src/dataforge/dbt/ai_context.py dbt source context for AI: safe inventory only, never parser lineage answers. prepare_dbt_context
src/dataforge/dbt/analysis.py Project model analysis adapted to the existing graph/column contracts. rewrite_query, layout, projection, value, wildcard, snapshot_runtime, python_passthrough, parse_model_query, analyze_dbt_project, analyze_manifest_project
src/dataforge/dbt/artifacts.py Bounded artifact readers with exact JSON locations and explicit schema qualification. SCHEMAS, ArtifactDocument, read_artifact, pointer, artifact_evidence, manifest_resources, bind_artifacts
src/dataforge/dbt/discovery.py Immutable root membership and deterministic project freshness. discover_projects, source_refs
src/dataforge/dbt/evidence.py Exact source slices and supplementary dbt evidence integrity. evidence, validate_dbt_evidence
src/dataforge/dbt/imports.py Two-pass project admission over existing guarded importer readers. ARTIFACTS, EXCLUDED, DbtImportOptions, DbtImportPlan, excluded, preview_dbt_import
src/dataforge/dbt/models.py Immutable project contracts and bounded non-secret analysis settings. DbtSettings, DbtLimits, SourceRef, EvidenceRef, DbtContext, ProjectSnapshot, DbtResource, DbtRelationship, RelationBinding, DbtProjectResult
src/dataforge/dbt/persistence.py Schema and normalized snapshot persistence, owned transactionally by Store. DBT_CURRENT_TABLES, DBT_TABLES, DBT_SCHEMA, stage_dbt_rows, load_committed_dbt_results, load_dbt_project_snapshot
src/dataforge/dbt/resolution.py Resolve logical references independently of physical relation names. asset_ref, relation_identifier, resolve_reference, resolve_bindings
src/dataforge/dbt/resources.py Source resource inventory, including non-SQL dbt resources. DATA_TYPES, YAML_RESOURCES, resource_id, scan_python_model, collect_resources, inherited_config
src/dataforge/dbt/service.py Shared project preparation and resource queries for all adapters. READS, DbtOperations, is_dbt, prepare_ai_dbt_inventory, discover_dbt_snapshots, prepare_dbt_analysis, dbt_settings_current
src/dataforge/dbt/templates.py Inspect Jinja expressions and dbt blocks without rendering imported templates. expression_macros, ReferenceCall, Definition, TemplateFacts, constant, function_name, scan_template
src/dataforge/dbt/yaml.py Bounded, location-preserving safe YAML and literal dbt resource paths. PATH_DEFAULTS, SAFE_TAGS, read_yaml, safe_resource_path, read_project_paths, within

CLI and MCP automation

File Responsibility / module summary Declared names / checks
src/dataforge/agent/__init__.py Presentation-free automation interfaces; imported sources are always data. —
src/dataforge/agent/capabilities.py Versioned explicit UI parity catalog. Restrictions are not operational parity claims. INVENTORY, capability_catalog
src/dataforge/agent/cli_ai.py Explicit provider and AI CLI commands. Credentials use hidden per-call input only. register
src/dataforge/agent/cli_dbt.py Thin dbt catalog CLI adapters. register
src/dataforge/agent/cli_reports.py Thin CLI adapters for stored inventory, engineering and history reports. register, register_maintenance
src/dataforge/agent/cli_settings.py Thin typed CLI adapters for workspace configuration. register, register_application
src/dataforge/agent/contracts.py Bounded requests, local launch permissions and machine-readable failures. compact, AgentError, AccessPolicy, QueryOptions, AgentSettings, job_settings
src/dataforge/agent/jobs.py Bounded local jobs with atomic journals and heartbeat-based crash detection. TERMINAL, ReasoningBuffer, Jobs, status_result
src/dataforge/agent/mcp_server.py Official MCP SDK tools/resources/prompts with compact, single-copy structured results. create_server, BearerGuard, http_app, serve
src/dataforge/agent/paging.py Query-bound continuation cursors and serialized response budgets. page
src/dataforge/agent/service.py Shared deterministic automation use cases over the existing application services. WRITES, MAINTENANCE_READS, APPLICATION_ACTIONS, LONG_ACTIONS, AgentService
src/dataforge/agent/worker.py Private detached CLI worker; fixed Python entry point, never a supplied command. main

Streamlit UI

File Responsibility / module summary Declared names / checks
ui/__init__.py GraveTrail Streamlit presentation. —
ui/agent_settings.py Human-facing setup and workspace access controls for the shared automation services. render
ui/analysis_ai.py Explicit AI build controls, offline preview and persisted worker progress. analysis_jobs, controls, start, render_status, render_diagnostics, progress, report
ui/analysis_inspection.py Lazy request/attempt inspection shared by active and historical run views. render_inspection
ui/analysis_reasoning.py Transient reasoning display; the browser owns expansion and scroll position. render_reasoning, reasoning_panel
ui/analysis_sections.py Lazy diagnostic investigation and run history; source and AI stay explicit. render_diagnostics, render_history
ui/assistance.py Focused, user-triggered AI assistance over imported source evidence. render
ui/assistance_result.py Durable AI result presentation shared by manual and diagnostic-assisted review. render_budget, render_result
ui/builder_canvas.py new Offline SVG authoring canvas; the same renderer powers HTML presentations. builder_node_colors, COLUMN_BODY, BODY, CSS, COLUMN_JS, TRACE_JS, JS, column_editor, canvas, builder_html
ui/column_graph.py new Source-free selectable SVG column graph. resolve_selection, column_graph_view
ui/column_lineage.py new Shared lineage controls and selection-driven graph inspection. render_column_lineage
ui/column_references.py new No module docstring; inspect the linked source. render_column_references
ui/common.py No module docstring; inspect the linked source. ROOT, get_store, context, storage_homes, current_home, open_storage_home, allowed_roots, title, load_graph, choose_asset, downloads, source_viewer, graph_view
ui/copy_names.py Compact comma-separated names with browser-side clipboard controls. copy_names
ui/data_management.py Human cleanup controls; policy and mutations stay in shared services. render
ui/dbt_sections.py Native dbt project/resource panels over shared authorized report handlers. render_projects, render_resources
ui/icon.png UI image asset. —
ui/lineage_navigation.py Workspace-scoped lineage view history; only IDs and controls enter session state. ALL_ASSETS, focus_asset, remember_view, move_history
ui/lineage_tree.py Lazy, bounded dependency branches; session state contains controls, never rendered trees. render_tree, relationship_details
ui/pages/analysis.py No module docstring; inspect the linked source. —
ui/pages/automation.py No module docstring; inspect the linked source. —
ui/pages/builder.py No module docstring; inspect the linked source. SQL_SOURCE_TYPES
ui/pages/columns.py Direct references and interactive column lineage. —
ui/pages/connections.py No module docstring; inspect the linked source. —
ui/pages/dashboard.py Workspace launch cards and an overview of current lineage evidence. —
ui/pages/explorer.py No module docstring; inspect the linked source. —
ui/pages/lineage_builder.py new Create schema catalogs and author column-level lineage. commit, table_form
ui/pages/management.py No module docstring; inspect the linked source. —
ui/pages/settings.py No module docstring; inspect the linked source. —
ui/pages/tools.py No module docstring; inspect the linked source. —
ui/pages/transformations.py Compatibility route for existing transformation-lineage bookmarks. —
ui/presentation.py Small, theme-derived presentation helpers for the native Streamlit shell. ICON_PATH, brand_title, apply_style, eyebrow, empty_state, section, sync_context
ui/provider_settings.py Provider profiles and task routing. Secrets remain environment references. render
ui/streamlit.toml new TOML configuration or package/build metadata. —
ui/style.css UI stylesheet. —
ui/temporary_cleanup.py Explicit, previewed and recoverable application staging-file cleanup. render
ui/themes.py Native Streamlit theme picker over shared, non-UI theme configuration. CONFIG_PATH, render_theme_picker
ui/unresolved_review.py Explicit, focused review of current parser diagnostics; never calls a provider on render. render
ui/workspace_history.py Recoverable history controls, separate from workspace deletion and source cleanup. render
ui/workspace_settings.py No module docstring; inspect the linked source. SQL_DIALECTS, dialect_label, render_parsing, render_resources, render_appearance, render_privacy, render_storage

Prompts and response schemas

File Responsibility / module summary Declared names / checks
prompts/README.md Versioned prompt text or prompt authoring notes. —
prompts/code_explanation/system.md Versioned prompt text or prompt authoring notes. —
prompts/code_explanation/user_template.md Versioned prompt text or prompt authoring notes. —
prompts/column_usage/system.md Versioned prompt text or prompt authoring notes. —
prompts/column_usage/user_template.md Versioned prompt text or prompt authoring notes. —
prompts/lineage_validation/system.md Versioned prompt text or prompt authoring notes. —
prompts/lineage_validation/user_template.md Versioned prompt text or prompt authoring notes. —
prompts/project_lineage/consolidate.md Versioned prompt text or prompt authoring notes. —
prompts/project_lineage/extract.md Versioned prompt text or prompt authoring notes. —
prompts/sas_lineage/system.md Versioned prompt text or prompt authoring notes. —
prompts/sas_lineage/user_template.md Versioned prompt text or prompt authoring notes. —
prompts/schemas/column_response.json Response schema (JSON). —
prompts/schemas/explanation_response.json Response schema (JSON). —
prompts/schemas/grounded_response.json Response schema (JSON). —
prompts/schemas/lineage_review_response.json Response schema (JSON). —
prompts/schemas/lineage_review_wire_response.json Response schema (JSON). —
prompts/schemas/project_lineage_response.json Response schema (JSON). —
prompts/schemas/project_lineage_wire_response.json Response schema (JSON). —
prompts/sql_lineage/system.md Versioned prompt text or prompt authoring notes. —
prompts/sql_lineage/user_template.md Versioned prompt text or prompt authoring notes. —

Verification and release tooling

File Responsibility / module summary Declared names / checks
scripts/benchmark.py Reproducible labeled synthetic SQL-chain benchmark; no user data needed. main
scripts/benchmark_ai_analysis.py Offline semantic gold scoring; --live explicitly opts into bounded synthetic OmniRoute calls. FIXTURES, METRICS, score_sets, score_case, prediction_from_facts, evaluate, evaluate_projects, evaluate_scale, main
scripts/benchmark_dbt.py Measure synthetic dbt project cold/warm/invalidation analysis in a disposable home. Run: uv run python scripts/benchmark_dbt.py --models 1000 Memory is tracemalloc's Python-allocation peak, not total process/DuckDB memory. main
scripts/benchmark_lineage_archives.py Score supplied synthetic banking archives; gold files never enter model context. Offline is the default. Live samples require explicit split, limit, opt-in and bounded attempt/time ceilings. Reports measure manifest agreement, not… SPLIT_VERSION, partition, mask_answer_header, load_archive, evaluate_archive, main
scripts/benchmark_transformations.py Reproducible synthetic column-traversal measurement in a disposable data home. benchmark
scripts/qualify_ai_context.py Offline golden transport qualification. Never calls a live model. golden_project, golden_response, score, evaluate, main
scripts/release.py Validate and assemble standalone GitHub Releases; never publish from this helper. validate_version, resolve_version, materialize_version, stage_assets, copilot_summary, release_notes, main
scripts/verify_agents.py Static sample-archive acceptance and actual compact-response measurements; executes no source. verify
scripts/verify_llm.py Opt-in live LLM check using synthetic SQL/SAS only; never reads project source data. main
scripts/verify_parity.py Reproducible CLI/MCP/shared-report parity on the supplied ZIPs, in a NEW home only. verify

Documentation tooling

File Responsibility / module summary Declared names / checks
scripts/docs/build.py Build strictly and inspect precisely the artifact that will be uploaded to Pages. ROOT
scripts/docs/example.py new Recreate the public snapshot from tracked fixtures; print the digest for review. ROOT, OUTPUT, POLICY, render_example
scripts/docs/hooks.py Explicit publication boundary: nav documents and named assets only. PUBLIC_HTML_SHA256, on_config, nav_documents, page_output, public_files, on_files
scripts/docs/inventory.py new Generate the first-party source inventory using Git paths and Python AST only. ROOT, BASELINE, REPOSITORY, OUTPUT, TREES, ROOT_FILES, GROUPS, git_paths, inventory_paths, subsystem, python_details, resource_summary, cell, render_inventory, write_inventory, main
scripts/docs/legacy_routes.json new Repository configuration, packaging input or resource; inspect source for exact values. —
scripts/docs/validate.py Check rendered links, anchors, project paths and the complete publication inventory. Links, inspect_site, inspect_inventory, inspect_legacy_routes, validate

Build and packaging tooling

File Responsibility / module summary Declared names / checks
scripts/build/build_executable.py Cross-platform convenience wrapper; builds only the host operating system. —
scripts/build/frozen_entry.py PyInstaller entry point; one executable serves UI, CLI, MCP and job workers. dispatch
scripts/build/hatch_assets.py Allowlist packaged UI/resources; directory force-includes bypass Hatch exclusions. AssetsHook
scripts/build/sign_windows.ps1 PowerShell build, installation or signing tooling. —
scripts/build/smoke.py Exercise installed/frozen CLI, lineage, stdio MCP and a rendered Streamlit session. render_session, check_mcp, main
scripts/build/smoke_docker.py Test an actual image with a disposable volume; never touches existing containers/data. main
scripts/build/smoke_installer.py Exercise exact final Windows installer bytes in a disposable per-user location. smoke_installer
scripts/build/windows.iss Inno Setup Windows installer specification. —
scripts/build/windows_installer.ps1 PowerShell build, installation or signing tooling. —

Continuous integration and repository templates

File Responsibility / module summary Declared names / checks
.github/ISSUE_TEMPLATE/bug_report.yml YAML configuration or repository template. —
.github/ISSUE_TEMPLATE/feature_request.yml YAML configuration or repository template. —
.github/pull_request_template.md Repository configuration, packaging input or resource; inspect source for exact values. —
.github/workflows/docs.yml GitHub Actions workflow; inspect triggers, jobs and required commands. —
.github/workflows/publish-release.yml GitHub Actions workflow; inspect triggers, jobs and required commands. —
.github/workflows/release.yml GitHub Actions workflow; inspect triggers, jobs and required commands. —
.github/workflows/security.yml GitHub Actions workflow; inspect triggers, jobs and required commands. —
.github/workflows/tests.yml GitHub Actions workflow; inspect triggers, jobs and required commands. —

Runtime and development configuration

File Responsibility / module summary Declared names / checks
.dockerignore Repository configuration, packaging input or resource; inspect source for exact values. —
.gitattributes Repository configuration, packaging input or resource; inspect source for exact values. —
.gitignore Repository configuration, packaging input or resource; inspect source for exact values. —
.gitleaks.toml TOML configuration or package/build metadata. —
Dockerfile Repository configuration, packaging input or resource; inspect source for exact values. —
compose.yaml YAML configuration. —
dependency-overrides.txt Repository configuration, packaging input or resource; inspect source for exact values. —
pyproject.toml TOML configuration or package/build metadata. —
uv.lock Resolved dependency lock; regenerate with the documented package manager. —

Test support and fixtures

File Responsibility / module summary Declared names / checks
tests/fixtures/ai_analysis/ambiguous.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/assignments.sas Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/constant.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/evaluation_gold.json Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/expected.json Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/join_alias.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/merge.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/proc.sas Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/runtime_macro.sas Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/same_line.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/temporary_jobs.sas Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/union.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/unknown_udf.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/unused_cte.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/update.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/ai_analysis/wildcard.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/gold.json Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/analyses/orders.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/dbt_project.yml Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/docs/overview.md Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/macros/money.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/models/audit_orders.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/models/dim_customers.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/models/fct_orders.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/models/int_orders.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/models/orders_v1.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/models/orders_v2.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/models/properties.yml Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/models/py_orders.py No module docstring; inspect the linked source. 0 test functions; helpers/constants: model
tests/fixtures/dbt/input/models/sources.yml Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/models/stg_customers.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/models/stg_orders.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/seeds/countries.csv Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/seeds/statuses.csv Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/snapshots/history.yml Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/snapshots/legacy.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/tests/fixtures/orders.csv Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/dbt/input/tests/order_check.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/parity_capabilities.json Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/scenario/01_import.sas Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/scenario/02_summary.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/scenario/03_orders.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/scenario/04_unresolved.sas Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/scenario/05_cycle.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/scenario/06_consumption.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/scenario/input/customers.csv Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/bigquery.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/databricks/pipeline.sql new Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/databricks/stream_insert.sql new Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/expected.json Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/oracle.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/postgres.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/postgres_procedure.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/procedures.sas Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/sas_macro_variables.sas Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/snowflake.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/snowflake_literal.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/teradata.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/fixtures/vendors/tsql.sql Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/focused_test_profiles.py Explicitly confirmed offline profiles for focused assistance regressions. 0 test functions; helpers/constants: focused_profile
tests/legacy_ai_fixtures.py Historical wire/checkpoint fixtures, independent of the retired build planner. 0 test functions; helpers/constants: legacy_units
tests/sample_data/banking_legacy_sas_2201_lineage_stress_test.zip Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/sample_data/banking_legacy_sql_2114_lineage_stress_test.zip Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/sample_data/banking_sql_compact_10_file_lineage_test.zip Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/sample_data/dataforge_sas_lineage_test_project.zip Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/sample_data/dataforge_sql_lineage_test_project.zip Fixture input, expected result or sample archive; data for tests, never application code to execute. —
tests/sample_data/gravetrail_dbt_lineage_test_project.zip Fixture input, expected result or sample archive; data for tests, never application code to execute. —

Tests: AI and providers

File Responsibility / module summary Declared names / checks
tests/test_ai_adaptive_context.py Lossless file ranges and output pressure replace source/context products. 4 test functions
tests/test_ai_analysis_access.py No module docstring; inspect the linked source. 7 test functions
tests/test_ai_analysis_context.py No module docstring; inspect the linked source. 2 test functions
tests/test_ai_analysis_continuation.py No module docstring; inspect the linked source. 2 test functions
tests/test_ai_analysis_contracts.py No module docstring; inspect the linked source. 7 test functions; helpers/constants: unit
tests/test_ai_analysis_evaluation.py The evaluator counts errors and abstentions; it cannot certify mocks as live quality. 12 test functions; helpers/constants: install_mock_benchmark
tests/test_ai_analysis_jobs.py No module docstring; inspect the linked source. 2 test functions
tests/test_ai_analysis_lifecycle_followup.py No module docstring; inspect the linked source. 3 test functions
tests/test_ai_analysis_persistence.py No module docstring; inspect the linked source. 14 test functions
tests/test_ai_analysis_reconciliation.py Reconciliation matrix without providers, files, or persistence. 12 test functions
tests/test_ai_analysis_runs.py No module docstring; inspect the linked source. 3 test functions
tests/test_ai_analysis_scaling.py Exact-source semantic paging and lossless review continuation. 9 test functions; helpers/constants: unit
tests/test_ai_analysis_schema_provenance.py Accepted declarations and schema citations share real statement identities. 1 test functions
tests/test_ai_analysis_transport.py No module docstring; inspect the linked source. 6 test functions
tests/test_ai_analysis_ui.py No module docstring; inspect the linked source. 11 test functions
tests/test_ai_analysis_validation.py Synthetic semantic gold: exact original evidence is necessary, never sufficient. 17 test functions; helpers/constants: context, response, edge, derivation
tests/test_ai_analysis_visibility.py No module docstring; inspect the linked source. 9 test functions
tests/test_ai_auto_continue.py No module docstring; inspect the linked source. 1 test functions
tests/test_ai_batching.py No module docstring; inspect the linked source. 1 test functions
tests/test_ai_budget.py No module docstring; inspect the linked source. 2 test functions
tests/test_ai_budget_allocation.py No module docstring; inspect the linked source. 13 test functions; helpers/constants: automatic
tests/test_ai_build_contract.py No module docstring; inspect the linked source. 3 test functions
tests/test_ai_build_policy_interfaces.py No module docstring; inspect the linked source. 2 test functions
tests/test_ai_citations.py Host source references remove model offset arithmetic without granting semantic rights. 12 test functions; helpers/constants: unit, payload
tests/test_ai_consolidation_review.py No module docstring; inspect the linked source. 4 test functions; helpers/constants: consolidation_fixture
tests/test_ai_context_completion.py No module docstring; inspect the linked source. 2 test functions
tests/test_ai_context_index.py No module docstring; inspect the linked source. 4 test functions; helpers/constants: prepared
tests/test_ai_extraction_recovery.py Recovery uses mock responses, never provider/model accuracy as an oracle. 14 test functions; helpers/constants: envelope, setup_run
tests/test_ai_file_consolidation.py No module docstring; inspect the linked source. 2 test functions
tests/test_ai_file_parts.py No module docstring; inspect the linked source. 3 test functions; helpers/constants: source
tests/test_ai_full_build.py No module docstring; inspect the linked source. 1 test functions
tests/test_ai_independent_extraction.py No module docstring; inspect the linked source. 2 test functions
tests/test_ai_inspection.py No module docstring; inspect the linked source. 9 test functions; helpers/constants: setup_run
tests/test_ai_inspection_ui.py No module docstring; inspect the linked source. 1 test functions
tests/test_ai_linking.py No module docstring; inspect the linked source. 2 test functions; helpers/constants: fact
tests/test_ai_linking_review.py No module docstring; inspect the linked source. 7 test functions; helpers/constants: op, extracted
tests/test_ai_operation_graph.py No module docstring; inspect the linked source. 5 test functions; helpers/constants: file
tests/test_ai_partial_recovery.py No module docstring; inspect the linked source. 5 test functions; helpers/constants: advance_backoff
tests/test_ai_pipeline_qualification.py No module docstring; inspect the linked source. 5 test functions
tests/test_ai_pipeline_review_regressions.py No module docstring; inspect the linked source. 3 test functions
tests/test_ai_pipeline_store.py No module docstring; inspect the linked source. 1 test functions
tests/test_ai_preparation.py No module docstring; inspect the linked source. 3 test functions; helpers/constants: workspace
tests/test_ai_project_policy.py No module docstring; inspect the linked source. 1 test functions
tests/test_ai_rate_limits.py No module docstring; inspect the linked source. 2 test functions
tests/test_ai_response_replay.py Replay contract: isolated DuckDB and synthetic provider envelopes only. 6 test functions
tests/test_ai_results.py No module docstring; inspect the linked source. 10 test functions; helpers/constants: project, request, column
tests/test_ai_resumable_files.py No module docstring; inspect the linked source. 7 test functions; helpers/constants: configured, empty_provider
tests/test_ai_review_regressions.py No module docstring; inspect the linked source. 8 test functions
tests/test_ai_source_context.py No module docstring; inspect the linked source. 2 test functions
tests/test_ai_token_budget.py No module docstring; inspect the linked source. 8 test functions; helpers/constants: model
tests/test_ai_traversal_counters.py No module docstring; inspect the linked source. 3 test functions
tests/test_ai_version_publication.py No module docstring; inspect the linked source. 7 test functions; helpers/constants: fixture
tests/test_ai_wire.py No module docstring; inspect the linked source. 7 test functions; helpers/constants: unit
tests/test_focused_assistance.py Focused discovery is source backed, selection bounded and explicitly accepted. 25 test functions; helpers/constants: PATH, fixture_source, claim, send
tests/test_gateway_recovery.py No module docstring; inspect the linked source. 17 test functions; helpers/constants: setup_run
tests/test_gateway_sockets.py No module docstring; inspect the linked source. 3 test functions; helpers/constants: gateway, set_endpoint
tests/test_llm.py No module docstring; inspect the linked source. 10 test functions
tests/test_llm_resources.py No module docstring; inspect the linked source. 8 test functions
tests/test_provider_setup.py Provider setup works before saving a profile or choosing a model. 6 test functions; helpers/constants: setup_app

Tests: dbt

File Responsibility / module summary Declared names / checks
tests/test_dbt_access.py No module docstring; inspect the linked source. 2 test functions; helpers/constants: setup_store
tests/test_dbt_ai_analysis.py No module docstring; inspect the linked source. 1 test functions
tests/test_dbt_ai_context.py No module docstring; inspect the linked source. 1 test functions
tests/test_dbt_analysis.py No module docstring; inspect the linked source. 10 test functions; helpers/constants: fixture_entries
tests/test_dbt_artifacts.py No module docstring; inspect the linked source. 8 test functions; helpers/constants: manifest
tests/test_dbt_imports.py No module docstring; inspect the linked source. 5 test functions; helpers/constants: project_entries
tests/test_dbt_maintenance.py No module docstring; inspect the linked source. 4 test functions
tests/test_dbt_resources.py No module docstring; inspect the linked source. 10 test functions
tests/test_dbt_scenarios.py No module docstring; inspect the linked source. 1 test functions
tests/test_dbt_settings.py No module docstring; inspect the linked source. 1 test functions
tests/test_dbt_store.py No module docstring; inspect the linked source. 3 test functions
tests/test_dbt_templates.py No module docstring; inspect the linked source. 3 test functions
tests/test_dbt_ui.py No module docstring; inspect the linked source. 3 test functions

Tests: automation

File Responsibility / module summary Declared names / checks
tests/test_agent_cli.py No module docstring; inspect the linked source. 3 test functions
tests/test_agent_mcp.py No module docstring; inspect the linked source. 4 test functions
tests/test_agent_service.py No module docstring; inspect the linked source. 10 test functions; helpers/constants: engine
tests/test_agent_settings.py No module docstring; inspect the linked source. 1 test functions
tests/test_parity_ai.py No module docstring; inspect the linked source. 3 test functions
tests/test_parity_artifacts.py No module docstring; inspect the linked source. 3 test functions
tests/test_parity_contracts.py No module docstring; inspect the linked source. 2 test functions
tests/test_parity_coverage.py No module docstring; inspect the linked source. 2 test functions
tests/test_parity_maintenance.py No module docstring; inspect the linked source. 3 test functions
tests/test_parity_providers.py No module docstring; inspect the linked source. 2 test functions
tests/test_parity_reports.py No module docstring; inspect the linked source. 3 test functions
tests/test_parity_runtime.py No module docstring; inspect the linked source. 1 test functions
tests/test_parity_settings.py No module docstring; inspect the linked source. 4 test functions
tests/test_parity_ui.py No module docstring; inspect the linked source. 1 test functions

Tests: parsing, graph and storage

File Responsibility / module summary Declared names / checks
tests/test_cleanup.py No module docstring; inspect the linked source. 13 test functions; helpers/constants: populated
tests/test_column_evidence.py new Exact historical evidence resolution for the local column inspector. 11 test functions; helpers/constants: analyzed, load
tests/test_column_graph.py new Column scenes preserve trace facts while bounding only their display. 15 test functions; helpers/constants: ref, step, trace, scene, assert_closed
tests/test_column_graph_ui.py new Selection and navigation regressions for the column graph. 3 test functions
tests/test_column_parser_followup.py new Nested query repairs and deliberately bounded PostgreSQL writes. 20 test functions; helpers/constants: records
tests/test_column_qol.py Copyable summaries must not confuse filtered-out columns with unused columns. 5 test functions
tests/test_connections.py No module docstring; inspect the linked source. 14 test functions
tests/test_excel_artifacts.py End-to-end XLSX adapters, snapshot facts and disclosure checks. 5 test functions; helpers/constants: workspace, artifact_bytes
tests/test_excel_exports.py Workbook semantics and inert OOXML content, read independently of the writer. 13 test functions; helpers/constants: NS, cells, table, graph, workbook
tests/test_exports.py No module docstring; inspect the linked source. 7 test functions
tests/test_graph.py No module docstring; inspect the linked source. 4 test functions
tests/test_graph_images.py Static exports retain the UI scene while excluding source and active content. 8 test functions; helpers/constants: NS, graph
tests/test_hardening.py No module docstring; inspect the linked source. 6 test functions; helpers/constants: workspace
tests/test_ingestion.py No module docstring; inspect the linked source. 7 test functions; helpers/constants: archive, setup
tests/test_job_identity.py No module docstring; inspect the linked source. 10 test functions
tests/test_lineage_builder.py new No module docstring; inspect the linked source. 12 test functions
tests/test_lineage_qol.py Navigation and direction regressions against real imported lineage. 6 test functions; helpers/constants: lineage, choose, sources
tests/test_lineage_tree.py No module docstring; inspect the linked source. 3 test functions; helpers/constants: tree_app, bounded_tree_app
tests/test_maintenance.py No module docstring; inspect the linked source. 9 test functions; helpers/constants: populated
tests/test_parser_static_wrappers.py No module docstring; inspect the linked source. 27 test functions; helpers/constants: FIXTURES, pairs
tests/test_sas.py No module docstring; inspect the linked source. 20 test functions; helpers/constants: pairs
tests/test_sas_project.py No module docstring; inspect the linked source. 2 test functions
tests/test_sas_transformations.py No module docstring; inspect the linked source. 26 test functions; helpers/constants: physical
tests/test_schemas.py No module docstring; inspect the linked source. 9 test functions
tests/test_sql.py No module docstring; inspect the linked source. 19 test functions; helpers/constants: names
tests/test_sql_source_type.py new No module docstring; inspect the linked source. 7 test functions; helpers/constants: DATABRICKS, SQL_SERVER
tests/test_sql_transformations.py Transformation facts stay separate from direct column usage. 57 test functions; helpers/constants: derivations, inputs, databricks_query
tests/test_storage_locations.py No module docstring; inspect the linked source. 3 test functions
tests/test_store.py No module docstring; inspect the linked source. 1 test functions
tests/test_temporary_cleanup.py No module docstring; inspect the linked source. 8 test functions; helpers/constants: orphan
tests/test_transformation_access.py All access surfaces preserve column identity, coverage and source restrictions. 6 test functions; helpers/constants: SQL, engine
tests/test_transformation_sas_integration.py No module docstring; inspect the linked source. 8 test functions
tests/test_transformations.py No module docstring; inspect the linked source. 37 test functions; helpers/constants: populate, asset_id

Tests: UI, packaging and repository

File Responsibility / module summary Declared names / checks
tests/test_archive_qualification.py Archive gold is scorer-only; missing column labels never become an accuracy pass. 7 test functions; helpers/constants: archive
tests/test_assistance_queue.py No module docstring; inspect the linked source. 6 test functions; helpers/constants: queued
tests/test_data_management_cleanup.py new Exercise cleanup through the real application and disposable storage homes. 17 test functions; helpers/constants: cleanup_app, choose_category, preview_and_confirm, stale_index_home
tests/test_databricks_relations.py new Check Databricks relation transforms at the SQL parser boundary. 10 test functions; helpers/constants: operation, outputs, inputs
tests/test_databricks_statements.py new No module docstring; inspect the linked source. 15 test functions; helpers/constants: names
tests/test_diagnostic_review_budget.py Diagnostic previews and dispatch size the same complete, privacy-gated request. 17 test functions; helpers/constants: configure, preview
tests/test_distribution.py Distribution boundaries: writable homes, immutable assets and artifact integrity. 10 test functions
tests/test_docs_inventory.py new The developer inventory covers first-party files without importing application code. 4 test functions
tests/test_documentation.py Publication boundaries and CLI/MCP documentation must match exposed interfaces. 9 test functions; helpers/constants: reference_rows
tests/test_explorer_evidence.py No module docstring; inspect the linked source. 2 test functions
tests/test_first_test_review_budget.py The reported first_test selection must not carry an entire unrelated estate. 1 test functions; helpers/constants: ARCHIVE, REPORTED_FILE
tests/test_image_artifacts.py Shared UI/CLI/MCP image scope, authorization and artifact contracts. 8 test functions; helpers/constants: workspace, read
tests/test_inventory_controls.py No module docstring; inspect the linked source. 2 test functions
tests/test_local_credentials.py new No module docstring; inspect the linked source. 14 test functions; helpers/constants: FakeBackend, vault, profile, saved_profile
tests/test_logging.py No module docstring; inspect the linked source. 1 test functions
tests/test_model_capabilities.py Provider metadata is capacity evidence, never a spend authorization. 12 test functions
tests/test_navigation_redesign.py Focused routes must preserve context without performing work on navigation. 8 test functions; helpers/constants: workspace, app
tests/test_pillow_compatibility.py Temporary, exact Streamlit/Pillow compatibility exception and real image paths. 4 test functions
tests/test_qualification_semantics.py Development failures reduced to independent positive and deceptive-negative cases. 10 test functions
tests/test_release.py Release inputs and downloaded builds must fail closed before publication. 15 test functions; helpers/constants: native_builds, release_policy
tests/test_remaining_settings.py No module docstring; inspect the linked source. 5 test functions
tests/test_site_themes.py Published appearances share the app registry and retain Ink/Celadon. 2 test functions
tests/test_themes.py No module docstring; inspect the linked source. 10 test functions
tests/test_ui.py No module docstring; inspect the linked source. 10 test functions; helpers/constants: clear_resources
tests/test_vendor_fixtures.py Labeled vendor examples prove these inputs, not universal dialect compatibility. 3 test functions; helpers/constants: FIXTURES, EXPECTED
tests/test_windows_installer.py Installer safety and the frozen runtime's upgrade exclusion contract. 3 test functions
tests/test_workflow.py No module docstring; inspect the linked source. 4 test functions; helpers/constants: FIXTURES
tests/test_workspace_configuration.py No module docstring; inspect the linked source. 5 test functions