Skip to content

Add DataHub-grounded TeaQL modeling skill #35

Description

@philipgreat

Problem

The current build-teaql-app workflow is optimized for greenfield modeling from natural-language requirements. When an organization already maintains schemas, classifications, glossary terms, ownership, or lineage in DataHub, the agent should ground TeaQL modeling in that existing context instead of reconstructing the domain from prompts alone.

The hackathon prototype in datahub-hackson-2026 demonstrates the core flow, but its reusable skill currently mixes DataHub acquisition with duplicated TeaQL evaluation and generation instructions, and it does not consistently distinguish source facts from modeling inference.

Proposed outcome

Add a focused, publishable skill to this repository that:

  • queries DataHub metadata through an available MCP integration;
  • saves the retrieved context as evidence before modeling;
  • treats existing context as authoritative for business facts;
  • distinguishes datahub-fact, agent-inference, teaql-framework, and unresolved decisions;
  • creates a complete local KSML model and a traceable grounding ledger;
  • preserves the repository model-first rule: save the complete KSML target before TeaQL evaluation;
  • hands evaluation, repair, generation, implementation, and verification to the existing build-teaql-app workflow instead of duplicating toolchain rules;
  • never claims runtime enforcement from metadata propagation alone.

Acceptance criteria

  • Add a new focused skill under skills/ with valid SKILL.md and agents/openai.yaml.
  • Define evidence precedence for structured tags, glossary/classification, lineage/foreign keys, descriptions, and agent inference.
  • Define the grounding ledger format and require evidence locators for DataHub-derived facts.
  • Define failure behavior when required metadata or relationship evidence is missing.
  • Compose cleanly with build-teaql-app and avoid copying versioned TeaQL commands.
  • Update the repository entry documentation to expose the new skill.
  • Validate the skill package and run repository checks.
  • Forward-test the skill against the payment example without treating expected conclusions as hidden context.

Source prototype

The initial design is informed by the local datahub-hackson-2026 payment example: captured MCP entity metadata, generated KSML, decision notes, and context-to-code mapping. The production skill should preserve the useful evidence chain while removing hackathon-specific paths and unsupported claims.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions