OmegaDesigner
Copyright (c) 2026 OmegaDesigner contributors
Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.

Licensed under the Apache License, Version 2.0 (see LICENSE).

--------------------------------------------------------------------------------
Provenance
--------------------------------------------------------------------------------

OmegaDesigner is an independent migration of the "paper -> Terminal-Bench-Science
task package" pipeline onto NeMo Data Designer. It is not part of, and is not
endorsed by, the NVIDIA NeMo Data Designer distribution.

* It does NOT import the original `omega` package. The deterministic logic
  (structural graph screen, contract checks, canonicalization, package scaffolding,
  static checks) was re-implemented against data_designer's column/workflow API.
* Data Designer itself (https://github.com/NVIDIA-NeMo/DataDesigner) is an NVIDIA
  project licensed under Apache-2.0; the per-file SPDX headers of any file derived
  from it are retained as required by section 4 of that license.

Vendored code
-------------
`omegadesigner/ingest/extraction.py` is a copy of `omega/science/kg_extraction.py` (from the
author's own `Omega` checkout), adapted so this project imports no external `omega` package. Its
prompt text, ontology contract, chunking and record shape are verbatim; the adaptations are the
imports (this repo's IO helpers), an always-injected chat client, a whitespace-insensitive evidence
comparison, and a `VALIDATOR_VERSION` that participates in the extraction signature. See the module
docstring for the exact list.

Vendored external contract
--------------------------
The following files are copied byte-identical from the original pipeline so that
generated task packages stay compatible with it. They are data, not code, and are
excluded from linting and reformatting on purpose:

    omegadesigner/assets/prompts/*.md      # prompt files used by the LLM columns
    omegadesigner/assets/checks/*          # 24 Terminal-Bench-Science static checks
    omegadesigner/assets/tbs_reference/*   # reviewer-pool.yml, task-implementation.toml
    omegadesigner/assets/templates/*.py    # generated runtime/support file templates

`omegadesigner/assets.sha256` records their SHA-256 sums, and
`tests/test_assets_and_validate.py` fails if any of them is modified, so the
contract cannot drift silently.
