Skip to content

Latest commit

 

History

History
138 lines (109 loc) · 5.07 KB

File metadata and controls

138 lines (109 loc) · 5.07 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

[1.1.0] - 2025-03-01

Added

MCP Server Integration

  • PRISM MCP Server (src/olympus/mcp/server.py)
    • Full MCP protocol support for OpenCode, Claude Desktop, etc.
    • 8 MCP tools exposed:
      • list_deliverables - List deliverables from mock shell
      • lookup_als_field - Query ALS fields by domain/keywords
      • get_bronze_schema - Get Bronze layer table structure
      • get_meta_variables - Get variables from meta tables
      • generate_meta - Generate metadata (requires LLM)
      • load_meta - Load metadata to DuckDB
      • generate_silver - Generate Silver Polars code (requires LLM)
      • generate_gold - Generate Gold statistics code (requires LLM)
    • Entry point: olympus-mcp command

Documentation

  • MCP_GUIDE.md - Comprehensive MCP usage guide
  • MCP_SETUP.md - Configuration and setup instructions

Changed

Architecture

  • Removed old provider system (agent/provider.py, agent/deepseek.py, agent/zhipu.py)
  • Unified all LLM calls under PydanticAI
  • MetaGenerator now uses PydanticAI (was using old provider)
  • GoldEngine deprecated (use GoldAgent instead)

Dependencies

  • Added mcp[cli]>=1.2.0 for MCP server support
  • PydanticAI now the sole LLM interface

Fixed

  • ALS field lookup - Now correctly extracts domain from FormOID and uses DraftFieldName as label
  • Tool registry - Improved ALS field loading with multiple fallback columns

[1.0.0] - 2025-02-28

Added

Unified PydanticAI Architecture

  • PydanticAI Base Agent (src/olympus/agent/base.py)
    • Shared infrastructure for all agents
    • Tool registry: ALS lookup, Bronze schema, Meta variables, Dependency check
    • Provider abstraction: DeepSeek, Zhipu
    • Structured output via Pydantic models

Meta Layer

  • MetaAgent (src/olympus/meta/agent.py) - PydanticAI agent for metadata generation
    • Batch processing (10 variables per call)
    • Structured output with Pydantic validation
  • Merged spec → meta - All spec functionality moved to meta module
  • Meta CLI - olympus meta generate, olympus meta load, olympus meta extract

Silver Layer

  • SilverAgent (src/olympus/silver/agent.py) - PydanticAI agent for Silver transformations
    • Generates Polars Python code
    • Per-schema generation (baseline, longitudinal, occurrence)
    • Human reviews code before execution
  • Silver CLI - olympus silver generate, olympus silver list

Gold Layer

  • GoldAgent (src/olympus/gold/agent.py) - PydanticAI agent for Gold statistics
    • Generates Polars statistical aggregations
    • Per-schema generation
    • Human reviews code before execution
  • Gold CLI - olympus gold generate, olympus gold list

Platinum Layer

  • PlatinumAgent (src/olympus/platinum/agent.py) - PydanticAI agent for slide generation
  • PPTXRenderer (src/olympus/platinum/renderer.py) - PowerPoint rendering with python-pptx
    • Native PPTX charts (editable in PowerPoint)
    • Table slides, figure slides, listing slides
    • Combined output (all slides in one file)
  • Platinum CLI - olympus platinum generate, olympus platinum list, olympus platinum preview

Changed

Architecture

  • BREAKING: Unified all layers under PydanticAI
  • BREAKING: Renamed olympus specolympus meta
  • BREAKING: Moved src/olympus/spec/src/olympus/meta/
  • BREAKING: Silver/Gold now generate Python Polars code (not SQL)
  • BREAKING: Platinum now generates PPTX slide decks (not RTF/PDF)

CLI

  • Default provider changed from Zhipu to DeepSeek
  • Added --provider flag to all commands
  • All commands now use uv run olympus pattern

Dependencies

  • Added pydantic-ai>=0.0.10
  • Added python-pptx>=1.0.0
  • Added httpx>=0.27.0, httpcore>=1.0.0, sniffio>=1.3.0, socksio>=1.0.0

Removed

  • src/olympus/spec/ directory (merged into meta)
  • src/olympus/sql/ directory (DDL now auto-generated from Pydantic)
  • src/olympus/agent/templates/ directory (unused)
  • Legacy pattern learning system (matcher.py, learner.py, memory.py)
  • Test databases (study.duckdb, test_olympus_v31.duckdb, test_silver_gen.duckdb)

Documentation

  • Rewrote README.md with new architecture
  • Rewrote ARCHITECTURE.md with PydanticAI design
  • Rewrote CLI_CHEATSHEET.md with new commands
  • Removed outdated ALS_PLAN.md

[0.1.0] - 2024-XX-XX

Added

  • Initial PRISM architecture with Medallion layers (Bronze, Silver, Gold, Platinum)
  • ALS parser for metadata extraction
  • Silver SQL generator with template and LLM support
  • Gold Python script generator
  • Metadata manager with 11 tables
  • DuckDB database integration
  • Spec Agent for mock shell parsing

Schema Versions

Version Date Changes
v6.0 2025-02-28 Unified PydanticAI architecture, spec→meta merge
v5.1 2025-02-17 gold_dictionary: var_id→element_id, JSON statistics
v5.0 2025-02-16 Meta schema redesign: *_dictionary tables