Skip to content

feat(v2): complete V2 upgrade#1

Merged
shane530 merged 5 commits into
mainfrom
ai-analyst-v2-update
Feb 24, 2026
Merged

feat(v2): complete V2 upgrade#1
shane530 merged 5 commits into
mainfrom
ai-analyst-v2-update

Conversation

@shane530
Copy link
Copy Markdown
Contributor

Summary

  • Complete V2 upgrade — waves 0a through 8, 96/96 tasks, 606 tests passing
  • Remove NovaMart coupling — dataset-agnostic helpers and skills
  • Add test foundation — synthetic fixtures, pytest migration, validation E2E
  • Clean up V2 upgrade master plan (no longer needed)

Test plan

  • Verify all 606 tests pass with pytest
  • Confirm /run-pipeline works end-to-end with a sample dataset
  • Validate dataset-agnostic helpers work without NovaMart data

🤖 Generated with Claude Code

shane530 and others added 5 commits February 23, 2026 00:11
…, validation E2E

- Add conftest.py with deterministic synthetic fixtures (users, orders, products, dirty_orders, simpsons_paradox_data)
- Add file_helpers.py for atomic writes, content hashing, directory management
- Add test_file_helpers.py (27 tests), test_knowledge_infrastructure.py (28 tests), test_validation_e2e.py (37 tests)
- Migrate test_lineage_tracker, test_synthesize_insights, test_multi_warehouse to pytest conventions (remove sys.path hacks, __main__ runners)
- Delete test_cross_dataset.py (replaced by test_knowledge_infrastructure.py with no NovaMart dependency)
- Update pyproject.toml: Python >=3.10, add pytest-cov, add markers (slow, integration, statistical)
- Update ci.yml: remove download-data.sh step
- Add V2_UPGRADE_MASTER_PLAN.md and BUILD_STATUS.yaml for tracking
- All 214 tests pass in 2.45s with zero external data dependencies

Co-Authored-By: Claude Opus 4.6 <[email protected]>
…d skills

Delete all NovaMart-specific data (14 CSVs, metrics, schema, fallbacks, setup
guides, download scripts). Refactor data_helpers, error_helpers, and
connection_manager to resolve from active dataset manifest instead of hardcoded
paths. Clean 25+ skills/agents/docs/templates of NovaMart references. Add
docs/setup-guide.md and test_data_helpers_v2.py (13 tests). 227 tests pass.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Waves 1-8 of the V2 upgrade, building on the 0A/0B foundation:

- Wave 1: Interview onboarding (/setup skill, first-run-welcome, setup-state schema)
- Wave 2: Knowledge infrastructure (4-layer validators, corrections, learnings, archaeology, confidence scoring)
- Wave 3: Self-learning loop (feedback capture, entity resolver, business context, archaeology helpers)
- Wave 4: Pipeline engine (DAG walker enhancements, per-run dirs, comms-drafter, crash recovery)
- Wave 5: Brand theming (theme loader, chart palette, WCAG lint, example brand theme)
- Wave 6: Advanced capabilities (context loader, Notion ingest, business browser, theming docs)
- Wave 7: CLAUDE.md mega-update, schema migration framework
- Wave 8: E2E verification (YAML/JSON parse, imports, paths, NovaMart sweep, cold-start, smoke test)

New helpers: 14 modules (entity_resolver, business_context, archaeology_helpers,
miss_rate_logger, pipeline_state, theme_loader, chart_palette, context_loader,
schema_migration, business_validation, health_check, metric_validator,
chart_palette, check_imports). New tests: 18 test files, 606 total passing.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Untrack active.yaml, setup-state.yaml, and user dataset directories
so the repo stays clean when someone connects their own data.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@shane530 shane530 merged commit ec96577 into main Feb 24, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant