Skip to content

Feat/cortex agentic skills and financial audit - #7

Open
FREEqueenC wants to merge 12 commits into
GoogleCloudPlatform:mainfrom
FREEqueenC:feat/cortex-agentic-skills-and-financial-audit
Open

Feat/cortex agentic skills and financial audit#7
FREEqueenC wants to merge 12 commits into
GoogleCloudPlatform:mainfrom
FREEqueenC:feat/cortex-agentic-skills-and-financial-audit

Conversation

@FREEqueenC

@FREEqueenC FREEqueenC commented Sep 2, 2026

Copy link
Copy Markdown

Summary of Changes

This pull request brings enterprise agentic developer tooling, turnkey ESG and financial audit data products, and supply-chain CI hardening to Google Cloud Cortex Framework v7:

1. AI Protocol Bridge & Agent Grounding

  • Cortex MCP Server (cortex-mcp): Implements JSON-RPC 2.0 Model Context Protocol server enabling Gemini, Claude, and AI agents to discover Cortex data products, explain SAP DDIC fields, and generate grounded BigQuery SQL. Registered as CLI command cortex-mcp in pyproject.toml.

2. Turnkey Enterprise Data Products

  • sustainability_and_emissions: Source-aligned SAP S/4HANA data product delivering Scope 1, Scope 2, and Scope 3 greenhouse gas (GHG) emission calculations from Purchase Orders (EKKO/EKPO), Materials (MARA), Vendors (LFA1), and Universal Material Documents (MATDOC/T001W).
  • financial_audit_and_compliance: Turnkey Universal Journal (ACDOCA) balance reconciliation, debit/credit anomaly detection, and SOX audit data product.

3. Agentic Developer Skills

  • lookml-generator (/generate-lookml): Generates Looker LookML views (*.view.lkml), dimensions, dimension groups (timeframes), formatted measures (sum, average), and explores from Cortex table annotations.
  • dataform-assertion-generator (/generate-assertions): Generates automated Dataform data-integrity assertions and ledger reconciliation checks.

4. CI/CD & Security Hardening

  • Supply-Chain Security (Zizmor Compliant): Pinned all GitHub Actions in .github/workflows/ to immutable 40-character commit hashes.
  • Least Privilege: Restricted CI token permissions to contents: read.
  • E2E Fork Guard: Added repository owner guards to allow external contributors to run unit test suites cleanly without requiring internal Argolis credentials.
  • Offline Client Mocking: Injected mock clients for Dataplex and Resource Manager Folders in unit tests to prevent DefaultCredentialsError in headless CI environments.

Testing & Verification

  • uv run pytest tests/common tests/external/common -q: 281 passed (100%).
  • uv run ruff check src tests: Clean (0 lint errors).
  • Automated CI pipeline: 🟢 All checks passing (Zizmor, Google CLA, formatting, unit tests).

FREEqueenC and others added 12 commits August 31, 2026 04:02
…, and CI test suite

- Add dataform-assertion-generator agent skill and /generate-assertions lifecycle command
- Add SAP financial_audit_and_compliance data product for S/4HANA (ledger reconciliation and forensic SOX entry detection)
- Add GitHub Actions CI workflow for unit tests and validation
- Add test_skill_anatomy.py to ensure 100% agent skill schema conformance
- Fix cross-platform path resolution in test_builder_resolution.py
…inancial-audit' into feat/cortex-agentic-skills-and-financial-audit
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