Skip to content

Import DTC Operations into dataops #2

Description

@alexeygrigorev

Import DTC Operations into dataops

Status: pending
Tags: migration, portal, process-docs, frontend, backend, infra, testing, P0
Depends on: #1, #12
Blocks: #3

Scope

Import the DTC Operations docs app and process-document system from ../dtc-operations into this repo as Phase 1 of _docs/MERGE_PLAN.md.

The implementation should copy the existing source system into the DataOps target structure while preserving the current behavior enough for the follow-up runnable-app issue (#3) to validate it. Include process content, frontend assets, backend/Lambda docs app code, scripts, templates, tests, and required configuration. Rename lambda-functions/ to backend/ during the import if practical; otherwise keep the original directory temporarily and leave a clear transition note for the follow-up work.

Update repo, organization, service, and deployment references from dtc-operations to dataops where required for the imported code to live in this repository. Record source provenance according to the import-log/source-commit policy. Do not modify ../dtc-operations or any other source repo.

Acceptance Criteria

  • The ../dtc-operations source commit and chosen import approach are recorded according to the import-log/source-commit policy.
  • DTC Operations process content, templates, references, and related docs assets are copied into the intended dataops paths without intentional content rewrites.
  • The DTC Operations frontend is copied into frontend/ and remains wired to the imported docs app assets and routes.
  • The DTC Operations backend/Lambda docs app code is copied into backend/ or temporarily retained as lambda-functions/ with a clear reason and next-step note.
  • Supporting scripts, templates, docs-app tests, Playwright tests, and required configuration files are copied into appropriate dataops paths.
  • Repo, organization, service, and deployment references that must point at DataTalksClub/dataops are updated, without adding developer-local absolute paths.
  • Baseline validation commands for the imported lint, search, backend, frontend, and Playwright test surfaces are run, or any blocked command is documented with the exact blocker and follow-up owner.
  • ../dtc-operations, ../datatasks, and ../podcast-assistant have no working-tree changes from this issue's implementation.

Test Scenarios

Scenario: Source-proven import is present

Given: the DataOps repo and the ../dtc-operations source checkout
When: the import branch is inspected
Then: the imported files exist under the intended DataOps paths and the source commit is traceable from the import notes

Scenario: Imported docs content can be validated

Given: the imported process docs, templates, scripts, and search assets
When: the documented lint and search validation commands are run
Then: they pass, or the issue comment identifies the exact command, failure, and follow-up needed

Scenario: Docs app is ready for runnable verification

Given: the imported frontend and backend docs app code
When: an engineer follows the documented local setup and validation commands
Then: the repo has enough copied code and configuration for #3 to verify startup, search, editing, lint, image handling, and local save behavior

Out of Scope

  • Importing DataTasks into work-engine/.
  • Importing Podcast Assistant into assistants/podcast/.
  • Building the shared operations dashboard or first end-to-end workflow.
  • Redesigning or rewriting the DTC Operations frontend.
  • Consolidating the TypeScript work engine into the Python backend.
  • Production deployment, secrets setup, or live GitHub write verification.
  • Modifying ../dtc-operations, ../datatasks, or ../podcast-assistant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Must havebackendBackend/APIfrontendFrontend UIinfraDeployment and infrastructuremigrationImport or migration workportalShared portal shell and UXprocess-docsSOPs, templates, references, playbookstestingTests and QA

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions