From b040ee10f1f70bce56f283f18b9e8d999327369c Mon Sep 17 00:00:00 2001 From: jonahgabriel Date: Sat, 16 May 2026 17:00:11 -0400 Subject: [PATCH] evidence(OMN-11012): bind node service registry ownership --- contracts/OMN-11012.yaml | 66 +++++++++++++++++++ .../OMN-11012/dod-deploy/command.yaml | 21 ++++++ .../dod-occ-pr-1073-self/command.yaml | 21 ++++++ .../dod-omnimarket-pr-667/command.yaml | 22 +++++++ .../OMN-11012/dod-owner-scan/command.yaml | 24 +++++++ .../dod-ownership-tests/command.yaml | 20 ++++++ .../dod-projection-regression/command.yaml | 20 ++++++ 7 files changed, 194 insertions(+) create mode 100644 contracts/OMN-11012.yaml create mode 100644 drift/dod_receipts/OMN-11012/dod-deploy/command.yaml create mode 100644 drift/dod_receipts/OMN-11012/dod-occ-pr-1073-self/command.yaml create mode 100644 drift/dod_receipts/OMN-11012/dod-omnimarket-pr-667/command.yaml create mode 100644 drift/dod_receipts/OMN-11012/dod-owner-scan/command.yaml create mode 100644 drift/dod_receipts/OMN-11012/dod-ownership-tests/command.yaml create mode 100644 drift/dod_receipts/OMN-11012/dod-projection-regression/command.yaml diff --git a/contracts/OMN-11012.yaml b/contracts/OMN-11012.yaml new file mode 100644 index 00000000000..0b8f8e0f297 --- /dev/null +++ b/contracts/OMN-11012.yaml @@ -0,0 +1,66 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-11012" +title: "Settle node_service_registry migration ownership" +summary: >- + Binds evidence for omnimarket PR #667, which declares node_service_registry DDL ownership in omnimarket + node metadata and the create migration while confirming the former omnibase_infra duplicate migration + is absent from current main. +is_seam_ticket: false +interface_change: false +interfaces_touched: [] +evidence_requirements: + - kind: "ci" + description: "omnimarket PR #667 carries the ownership classification at the observed head." + command: "gh pr view 667 --repo OmniNode-ai/omnimarket --json headRefOid,state,url" +dod_evidence: + - id: "dod-omnimarket-pr-667" + description: "Bind omnimarket PR #667 to OMN-11012 at the observed PR head." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-omnimarket-pr-667/command.yaml\" + && grep -q '^pr_number: 667$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-omnimarket-pr-667/command.yaml\" + && grep -q '^commit_sha: \"9ce537674aae7668439eda394e3f699ddc5623c7\"$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-omnimarket-pr-667/command.yaml\"" + - id: "dod-ownership-tests" + description: "Focused omnimarket tests prove metadata, migration, and docs declare node_service_registry + ownership." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-ownership-tests/command.yaml\" + && grep -q '^commit_sha: \"9ce537674aae7668439eda394e3f699ddc5623c7\"$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-ownership-tests/command.yaml\"" + - id: "dod-projection-regression" + description: "Existing registration projection golden-chain tests still pass." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-projection-regression/command.yaml\" + && grep -q '^commit_sha: \"9ce537674aae7668439eda394e3f699ddc5623c7\"$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-projection-regression/command.yaml\"" + - id: "dod-owner-scan" + description: "Targeted scan proves the infra duplicate is absent and the only remaining CREATE TABLE + statement is the omnimarket projection migration." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-owner-scan/command.yaml\" + && grep -q '^commit_sha: \"9ce537674aae7668439eda394e3f699ddc5623c7\"$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-owner-scan/command.yaml\"" + - id: "dod-deploy" + description: "No live deploy or runtime restart is required; the downstream change is metadata, docs, + and tests only." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-deploy/command.yaml\" + && grep -q '^commit_sha: \"9ce537674aae7668439eda394e3f699ddc5623c7\"$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-deploy/command.yaml\"" + - id: "dod-occ-pr-1073-self" + description: "Self-binding receipt for the OCC PR carrying OMN-11012 central evidence." + source: "manual" + checks: + - check_type: "command" + check_value: "grep -q '^status: PASS$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-occ-pr-1073-self/command.yaml\" + && grep -q '^pr_number: 1073$' \"$CONTRACT_REPO_DIR/drift/dod_receipts/OMN-11012/dod-occ-pr-1073-self/command.yaml\"" +emergency_bypass: + enabled: false + justification: "" + follow_up_ticket_id: "" diff --git a/drift/dod_receipts/OMN-11012/dod-deploy/command.yaml b/drift/dod_receipts/OMN-11012/dod-deploy/command.yaml new file mode 100644 index 00000000000..52f82069a14 --- /dev/null +++ b/drift/dod_receipts/OMN-11012/dod-deploy/command.yaml @@ -0,0 +1,21 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-11012" +evidence_item_id: "dod-deploy" +check_type: "command" +check_value: "printf '%s\n' 'deploy gate: OMN-11012 is ownership metadata/docs/tests only; no live deploy + or runtime restart required'" +status: PASS +run_timestamp: "2026-05-16T20:59:00Z" +commit_sha: "9ce537674aae7668439eda394e3f699ddc5623c7" +runner: "codex-worker-OMN-11012" +verifier: "jonahgabriel" +probe_command: "printf '%s\n' 'deploy gate: OMN-11012 is ownership metadata/docs/tests only; no live deploy + or runtime restart required'" +probe_stdout: | + deploy gate: OMN-11012 is ownership metadata/docs/tests only; no live deploy or runtime restart required +actual_output: "PASS: no live deploy or runtime restart is required." +exit_code: 0 +pr_number: 667 +branch: "jonah/omn-11012-node-service-registry-owner" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-11012/omnimarket" diff --git a/drift/dod_receipts/OMN-11012/dod-occ-pr-1073-self/command.yaml b/drift/dod_receipts/OMN-11012/dod-occ-pr-1073-self/command.yaml new file mode 100644 index 00000000000..3e10bd09294 --- /dev/null +++ b/drift/dod_receipts/OMN-11012/dod-occ-pr-1073-self/command.yaml @@ -0,0 +1,21 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-11012" +evidence_item_id: "dod-occ-pr-1073-self" +check_type: "command" +check_value: "gh pr view 1073 --repo OmniNode-ai/onex_change_control --json number,headRefOid,title,url + --jq '.'" +status: PASS +run_timestamp: "2026-05-16T21:03:00Z" +commit_sha: "51cce29058c73a7dcd9764a744d6808e76b342be" +runner: "codex-worker-OMN-11012" +verifier: "jonahgabriel" +probe_command: "gh pr view 1073 --repo OmniNode-ai/onex_change_control --json number,headRefOid,title,url + --jq '.'" +probe_stdout: | + {"headRefOid":"51cce29058c73a7dcd9764a744d6808e76b342be","number":1073,"title":"evidence(OMN-11012): bind node_service_registry ownership","url":"https://github.com/OmniNode-ai/onex_change_control/pull/1073"} +actual_output: "PASS: onex_change_control PR #1073 carries OMN-11012 evidence and is bound by PR number." +exit_code: 0 +pr_number: 1073 +branch: "jonah/omn-11012-occ-evidence" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-11012/onex_change_control" diff --git a/drift/dod_receipts/OMN-11012/dod-omnimarket-pr-667/command.yaml b/drift/dod_receipts/OMN-11012/dod-omnimarket-pr-667/command.yaml new file mode 100644 index 00000000000..f564c0a013c --- /dev/null +++ b/drift/dod_receipts/OMN-11012/dod-omnimarket-pr-667/command.yaml @@ -0,0 +1,22 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-11012" +evidence_item_id: "dod-omnimarket-pr-667" +check_type: "command" +check_value: "gh pr view 667 --repo OmniNode-ai/omnimarket --json number,headRefOid,headRefName,title,url,state + --jq '.'" +status: PASS +run_timestamp: "2026-05-16T20:59:00Z" +commit_sha: "9ce537674aae7668439eda394e3f699ddc5623c7" +runner: "codex-worker-OMN-11012" +verifier: "jonahgabriel" +probe_command: "gh pr view 667 --repo OmniNode-ai/omnimarket --json number,headRefOid,headRefName,title,url,state + --jq '.'" +probe_stdout: | + {"headRefName":"jonah/omn-11012-node-service-registry-owner","headRefOid":"9ce537674aae7668439eda394e3f699ddc5623c7","number":667,"state":"OPEN","title":"docs(OMN-11012): settle node_service_registry ownership","url":"https://github.com/OmniNode-ai/omnimarket/pull/667"} +actual_output: "PASS: omnimarket PR #667 is bound to OMN-11012 at the observed ownership-classification + head." +exit_code: 0 +pr_number: 667 +branch: "jonah/omn-11012-node-service-registry-owner" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-11012/omnimarket" diff --git a/drift/dod_receipts/OMN-11012/dod-owner-scan/command.yaml b/drift/dod_receipts/OMN-11012/dod-owner-scan/command.yaml new file mode 100644 index 00000000000..4e0c5164cca --- /dev/null +++ b/drift/dod_receipts/OMN-11012/dod-owner-scan/command.yaml @@ -0,0 +1,24 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-11012" +evidence_item_id: "dod-owner-scan" +check_type: "command" +check_value: "test ! -e ../omnibase_infra/docker/migrations/forward/079_create_node_service_registry.sql + && rg -n \"CREATE TABLE(?: IF NOT EXISTS)? node_service_registry|CREATE TABLE(?: IF NOT EXISTS)? \\\"node_service_registry\\\"\" + ../omnibase_infra/docker/migrations src/omnimarket/nodes/node_projection_registration/migrations" +status: PASS +run_timestamp: "2026-05-16T20:59:00Z" +commit_sha: "9ce537674aae7668439eda394e3f699ddc5623c7" +runner: "codex-worker-OMN-11012" +verifier: "jonahgabriel" +probe_command: "test ! -e ../omnibase_infra/docker/migrations/forward/079_create_node_service_registry.sql + && rg -n \"CREATE TABLE(?: IF NOT EXISTS)? node_service_registry|CREATE TABLE(?: IF NOT EXISTS)? \\\"node_service_registry\\\"\" + ../omnibase_infra/docker/migrations src/omnimarket/nodes/node_projection_registration/migrations" +probe_stdout: | + src/omnimarket/nodes/node_projection_registration/migrations/0000_create_node_service_registry.sql:8:CREATE TABLE IF NOT EXISTS node_service_registry ( +actual_output: "PASS: infra duplicate migration is absent; the remaining CREATE TABLE statement is in + omnimarket." +exit_code: 0 +pr_number: 667 +branch: "jonah/omn-11012-node-service-registry-owner" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-11012/omnimarket" diff --git a/drift/dod_receipts/OMN-11012/dod-ownership-tests/command.yaml b/drift/dod_receipts/OMN-11012/dod-ownership-tests/command.yaml new file mode 100644 index 00000000000..f5995c752fc --- /dev/null +++ b/drift/dod_receipts/OMN-11012/dod-ownership-tests/command.yaml @@ -0,0 +1,20 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-11012" +evidence_item_id: "dod-ownership-tests" +check_type: "command" +check_value: "uv run pytest tests/test_node_service_registry_migration_ownership.py -q" +status: PASS +run_timestamp: "2026-05-16T20:59:00Z" +commit_sha: "9ce537674aae7668439eda394e3f699ddc5623c7" +runner: "codex-worker-OMN-11012" +verifier: "jonahgabriel" +probe_command: "uv run pytest tests/test_node_service_registry_migration_ownership.py -q" +probe_stdout: | + .... [100%] + 4 passed in 0.03s +actual_output: "PASS: focused ownership tests passed in omnimarket." +exit_code: 0 +pr_number: 667 +branch: "jonah/omn-11012-node-service-registry-owner" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-11012/omnimarket" diff --git a/drift/dod_receipts/OMN-11012/dod-projection-regression/command.yaml b/drift/dod_receipts/OMN-11012/dod-projection-regression/command.yaml new file mode 100644 index 00000000000..3da0b8f315d --- /dev/null +++ b/drift/dod_receipts/OMN-11012/dod-projection-regression/command.yaml @@ -0,0 +1,20 @@ +--- +schema_version: "1.0.0" +ticket_id: "OMN-11012" +evidence_item_id: "dod-projection-regression" +check_type: "command" +check_value: "uv run pytest tests/test_golden_chain_projection_registration.py -q" +status: PASS +run_timestamp: "2026-05-16T20:59:00Z" +commit_sha: "9ce537674aae7668439eda394e3f699ddc5623c7" +runner: "codex-worker-OMN-11012" +verifier: "jonahgabriel" +probe_command: "uv run pytest tests/test_golden_chain_projection_registration.py -q" +probe_stdout: | + ........... [100%] + 11 passed in 0.06s +actual_output: "PASS: registration projection golden-chain regression tests passed." +exit_code: 0 +pr_number: 667 +branch: "jonah/omn-11012-node-service-registry-owner" +working_dir: "/Users/jonah/Code/omni_home/omni_worktrees/OMN-11012/omnimarket"