Snowflake assessment tools

Deterministic Snowflake assessment workflow

Six offline tools support an advisory assessment: capture, normalization, qualified advice, integrated assessment and reports, estate extensions, and this workflow and documentation pack. Python standard library only; no AI runtime, network, credentials, server or Snowflake connector is required. Native compatibility and client health remain NOT RUN/NOT ASSESSED. This release does not implement or certify all 74 controls.

What to use when

ToolPurpose and inputsReviewable output
CaptureApproved account/role/exact warehouses/window config; client-run exported metadata CSV; supplied query ID and attestationRead-only worksheets; source manifests, byte-preserved exports and hashes
NormalizeRecorded captures and explicitly attributed context for role/privacy/query/operator factsExact existing 13-table SQLite schema, source states and provenance
AdviceValidated normalized evidence; optional control-to-discovery mappingActual SELECT results and qualified observations linked to shipped control/rule/evidence IDs
Assessment/reportSame captured inputs/context, or a completed advice directoryLinked JSON, escaped HTML and spreadsheet-safe review CSVs, proposed unvalidated roadmap rows
EstateSeparately approved cost/ingestion/recovery metadata under its own exact contractSeparate evidence-qualified extension observations; never silent invented inputs
Workflow/docs builderShipped tool guides, schema/rules, synthetic examplesStandalone local HTML guide pack with downloadable source contracts

Read each guide's exact input schema before collecting client metadata. Owners approve account/role visibility, population, window, collection compute, handling and retention; administrators provide least scoped applicable metadata visibility. A denied read stays denied. Files do not authenticate human approval or prove complete privileges. Collection queries are client-run; these tools do not grant access, start experiments or change accounts. A row limit bounds exported rows rather than underlying compute cost. No patient records, query text or binds belong in these contracts.

Runnable synthetic example

The example configuration, context and three CSVs are explicitly synthetic. They adapt DataForge-backed practice fixtures into an invented small metadata population. Raw query family hash/version values are synthetic adaptations, not native receipts. Owner targets, service dependencies, policy requirements and profiles are fictional project adapters. Compact export selection is a newly enumerated fictional population; it is not a COMPLETE claim about the original larger fixture or any client account. Never relabel these files as client metadata.

Run from a clean checkout. Every destination below must be absent; choose a fresh path on repetition:

export PYTHONPATH=src
python3 -m sf_eval.capture render --config examples/assessment-exports/config.json --output /tmp/synthetic-assessment-plan
python3 -m sf_eval.capture record --plan /tmp/synthetic-assessment-plan --source WAREHOUSE_CONFIG --input examples/assessment-exports/WAREHOUSE_CONFIG.csv --status COMPLETE --query-id SYNTHETIC-CONFIG --observed-at 2026-11-04T00:00:00Z --attestation 'SYNTHETIC exercise; no native receipt' --output /tmp/synthetic-config
python3 -m sf_eval.capture record --plan /tmp/synthetic-assessment-plan --source WAREHOUSE_LOAD --input examples/assessment-exports/WAREHOUSE_LOAD.csv --status COMPLETE --query-id SYNTHETIC-LOAD --observed-at 2026-11-04T00:00:00Z --attestation 'SYNTHETIC exercise; no native receipt' --output /tmp/synthetic-load
python3 -m sf_eval.capture record --plan /tmp/synthetic-assessment-plan --source QUERY_WORK --input examples/assessment-exports/QUERY_WORK.csv --status COMPLETE --query-id SYNTHETIC-QUERIES --observed-at 2026-11-04T00:00:00Z --attestation 'SYNTHETIC exercise; no native receipt' --output /tmp/synthetic-queries
python3 -m sf_eval.assessment run --input /tmp/synthetic-config --input /tmp/synthetic-load --input /tmp/synthetic-queries --context examples/assessment-exports/context.json --output /tmp/synthetic-assessment-run

Open /tmp/synthetic-assessment-run/report/index.html locally. Read evaluation/observations.json alongside actual SELECT results and source provenance. The HTML/CSV review packet contains proposed observations and roadmap rows, not approved findings or implementation authority. Full integration tests regenerate all three DataForge-backed profiles and reproduce the whole flow twice; they also exercise this shipped compact example with and without context.

To inspect the two stages independently with fresh destinations:

python3 -m sf_eval.normalize --input /tmp/synthetic-config --input /tmp/synthetic-load --input /tmp/synthetic-queries --context examples/assessment-exports/context.json --output /tmp/synthetic-normalized
python3 -m sf_eval.advice --input /tmp/synthetic-normalized --output /tmp/synthetic-advice
python3 -m sf_eval.assessment report --input /tmp/synthetic-advice --output /tmp/synthetic-report
PYTHONPATH=src python3 -m unittest discover -s tests -p test_assessment_integration.py -v
python3 tools/build_assessment_docs.py --output /tmp/synthetic-tool-guides

The docs builder needs all six real guides and fails if any is missing. Open its assessment-tools/index.html; it has no external scripts or assets. The builder renders trusted shipped Markdown as escaped HTML, maps relative guide links, copies linked approved repository files into downloads and emits a SHA256 manifest. It refuses existing or in-checkout output and symlink/traversal paths. It does not publish anything or package credentials/client exports. Full toolkit distribution is a separate owner-produced archive.

Interpretation and traceability

Warehouse size/suspend/queue signals, bounded access expectations, approved privacy requirements and selective scan/join grain are candidate categories. Required service paths are retained. Policy configuration is not effectiveness proof. Missing/partial/unavailable sources and empty populations remain insufficient evidence. Blank AUTO_SUSPEND means unknown; explicit 0 means disabled. Advice retains original SQL measurements while suppressing conclusions from missing required warehouse configuration. Manual normalized QUERY_WORK requires an attributable structured query_population of SUCCESS_COMPLETED; free-text testimony cannot replace that declaration. Native normalization rejects any execution status other than SUCCESS; it does not hide failed queries in a successful-only export. Query failures require the separately governed failure/retry assessment, not a healthy conclusion from this tool.

Actual rules link WAREHOUSE-01/02/03/04, RBAC-02, PRIVACY-02/03/04 and SQL-01/03/04 to observation IDs and source evidence. Related manual prerequisites retain the broader control questions; no changed 74-control coverage claim follows. The advice guide lists exact questions, rule codes, evidence/discovery formats and promotion criteria. Estate extensions use their separate documented mappings. Evidence provenance includes source query IDs when genuinely supplied, manual attribution where applicable, account/role/window/count/status and hashes. Synthetic IDs remain separate from client IDs.

Before any observation becomes an F- finding, Lee and the accountable client owner challenge scope, applicability, approved requirements, source completeness, cause and business impact. Record hypotheses separately from measurements and retain unresolved gaps. Only supported findings justify an R- roadmap package with evidence, dependencies, alternatives, proposed owner, required decisions and agreed future acceptance. Automatic proposed roadmap rows need that review. No severity, savings, targets, dates or staffing commitment are inferred. See register conventions.

Limits and manual fallback

No automatic role-graph/object-name inference, patient profiling, policy persona testing, client execution, compliance certification or remediation is performed. Source snapshots are not historical state. Paid features and missing privilege scope require explicit review. Exact timestamp/null/unit handling belongs to the capture/normalizer guides. Native Account Usage latency, platform SHOW ceilings and visibility can make exports incomplete. Unsupported/empty/denied/partial states are distinct, not passes. A failed run has no final completion manifest; retained intermediates support diagnosis.

When an adapter is unsupported, use approved normalized CSV or owner-attributed context only within the existing schema. When facts are missing, use the control's manual interview/artifact method, link the evidence request and record its owner. Never substitute synthetic defaults. Estate exports are separate and optional; omitting them does not create new conclusions. Native qualification and independent release review remain separate gates from these offline tests.