Skip to content

rocpdsna: schema-equivalence-tester scaffold (task 001)#1

Draft
avansick-amd wants to merge 1 commit into
users/avansick-amd/rocpd-schema-v41from
feature/schema-equivalence-tester
Draft

rocpdsna: schema-equivalence-tester scaffold (task 001)#1
avansick-amd wants to merge 1 commit into
users/avansick-amd/rocpd-schema-v41from
feature/schema-equivalence-tester

Conversation

@avansick-amd

Copy link
Copy Markdown
Owner

Summary

Scaffolds rocpdsna/schema-equivalence-tester/ — the DDL comparator tool for rocpd SQLite schemas — as task 001 of the schema-equivalence-tester project.

Orchestrator project path (cluster): /scratch/users/avansick/claude-agents/projects/schema-equivalence-tester/

Design snapshot: design-snapshot/ (architecture, behavioral contract, style guide, test spec — all locked Phase 0)

Upcoming task IDs:

  • 002: SchemaModel data type + JSON serialization
  • 003: FileReader + SqliteIntrospector interfaces + gmock mocks
  • 004: .sql directory adapter
  • 005: .db file adapter (multi-UUID + UNION ALL recognition)
  • 006: Comparator engine + classifier
  • 007: Body-normalizer + adversarial-rule unit tests
  • 008: JSON report emitter (schema v0.1.0)
  • 009: CLI parser + main wiring
  • 009b: Adversarial unit-test sweep
  • 010: Integration test pass
  • 011: System test pass (21-finding-kind catalog)
  • 012: Pre-PR review
  • 013: Owner review

Changes

  • rocpdsna/schema-equivalence-tester/ subdir with layout per style-guide §10
  • schema_eq_compare executable target (stub main.cpp; sources added per task)
  • GoogleTest smoke test (Smoke.Compiles) wired via cmake/gtest.cmake + ROCPDSNA_BUILD_TESTS
  • add_subdirectory(schema-equivalence-tester) in top-level CMakeLists.txt

Do not merge — draft until task 013 (owner review) signs off.

Stand up rocpdsna/schema-equivalence-tester/ subdir for the DDL
comparator tool (schema_eq_compare). Pure scaffold — no functional
code yet; source files added per subsequent tasks (002+).

- Full directory layout per design-snapshot/style-guide.md §10
- schema_eq_compare executable target wired into rocpdsna CMake
- GoogleTest smoke test (Smoke.Compiles) discoverable via ctest
- Gated on existing ROCPDSNA_BUILD_TESTS option (no new option)
- ROCPDSNA_ENABLE_LOGGING=1 scoped to schema_eq_compare target only

Ambiguity noted in result file: brief says "off develop" but
rocpdsna lives on users/avansick-amd/rocpd-schema-v41, not the
monorepo develop. Branched off the working rocpdsna branch.

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
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