Repository navigation
evidence(OMN-14616): bind omnimarket 1769 head b56971 #4193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -188,3 +188,84 @@ dod_evidence: | |
| --jq '.head.ref == "'$OCC_BRANCH'" and ((.state == "open") or (.state == "closed" and .merged_at | ||
| != null))' | grep -qx true && gh api "repos/${OCC_REPO}/pulls/${OCC_PR_NUMBER}/commits" --paginate | ||
| --jq '.[].sha' | grep -Fx "$INITIAL_EVIDENCE_COMMIT" | ||
| - id: "dod-omnimarket-pr-1769-product-head-b56971" | ||
| evidence_artifact: "supersedes_dod_evidence:dod-omnimarket-pr-1769-product-head-4d981f" | ||
| description: >- | ||
| Product-observing verification for omnimarket PR #1769 after its head moved to b5697123b95cd776367bc61343b41e5f0c8fc6ee. | ||
| The proof reads PR metadata and changed files from GitHub at that exact head, verifies the PR still | ||
| targets dev, and checks that the broker handle-entrypoint files, adequacy receipts, and regression | ||
| tests remain present. | ||
| source: "manual" | ||
| status: "verified" | ||
| checks: | ||
| - check_type: "command" | ||
| check_value: >- | ||
| PRODUCT_PR_NUMBER=1769; PRODUCT_REPO=OmniNode-ai/omnimarket; PRODUCT_HEAD=b5697123b95cd776367bc61343b41e5f0c8fc6ee; | ||
| d="$(mktemp -d)" && gh pr view "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --json headRefOid,baseRefName,files,title | ||
| --jq '.headRefOid + "\n" + .baseRefName + "\n" + .title + "\n" + ((.files | map(.path)) | join("\n"))' | ||
| > "$d/pr.txt" && grep -Fq "$PRODUCT_HEAD" "$d/pr.txt" && grep -Fxq dev "$d/pr.txt" && grep -Fq | ||
| 'fix(OMN-14616): add def-B handle() entrypoint to node_pattern_b_broker handlers' "$d/pr.txt" | ||
| && for p in scripts/ci/adequacy_receipts/omnimarket.nodes.node_pattern_b_broker.equivalence.json | ||
| scripts/ci/adequacy_receipts/omnimarket.nodes.node_pattern_b_broker.json src/omnimarket/nodes/node_pattern_b_broker/contract.yaml | ||
| src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_publish.py src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_terminal_consumer.py | ||
| tests/unit/nodes/node_pattern_b_broker/test_broker_contract_config.py tests/unit/nodes/node_pattern_b_broker/test_broker_handle_entrypoint.py; | ||
| do grep -Fq "$p" "$d/pr.txt" && mkdir -p "$d/$(dirname "$p")" && gh api "repos/${PRODUCT_REPO}/contents/${p}?ref=${PRODUCT_HEAD}" | ||
| --jq .content | base64 --decode > "$d/$p"; done && grep -Fq 'async def handle(' "$d/src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_publish.py" | ||
| && grep -Fq 'return await self.publish(request)' "$d/src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_publish.py" | ||
| && grep -Fq 'async def handle(' "$d/src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_terminal_consumer.py" | ||
| && grep -Fq 'return await self.wait_for_terminal_event(request)' "$d/src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_terminal_consumer.py" | ||
| && grep -Fq 'ModelPatternBBrokerDispatchRequest' "$d/src/omnimarket/nodes/node_pattern_b_broker/contract.yaml" | ||
| && grep -Fq 'test_real_engine_dispatch_binds_missing_handle_pre_fix' "$d/tests/unit/nodes/node_pattern_b_broker/test_broker_handle_entrypoint.py" | ||
| - id: "dod-pr-1769-state-coverage-b56971" | ||
| evidence_artifact: "supersedes_dod_evidence:dod-pr-1769-state-coverage-4d981f" | ||
| description: >- | ||
| Current-head state-coverage proof for omnimarket PR #1769 at b5697123b95cd776367bc61343b41e5f0c8fc6ee. | ||
| This records the local reproduction of the hosted state-coverage-gate command against origin/dev. | ||
| source: "manual" | ||
| status: "verified" | ||
| checks: | ||
| - check_type: "command" | ||
| check_value: >- | ||
| PRODUCT_PR_NUMBER=1769; PRODUCT_REPO=OmniNode-ai/omnimarket; PRODUCT_HEAD=b5697123b95cd776367bc61343b41e5f0c8fc6ee; | ||
| PRODUCT_WORKTREE=/Users/jonah/Code/omni_home/omni_worktrees/OMN-14616/omnimarket; gh pr view | ||
| "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --json headRefOid --jq '.headRefOid == "'$PRODUCT_HEAD'"' | ||
| | grep -qx true && git -C "$PRODUCT_WORKTREE" rev-parse HEAD | grep -Fx "$PRODUCT_HEAD" && cd | ||
| "$PRODUCT_WORKTREE" && uv run python scripts/validate_state_coverage.py --check-changed origin/dev | ||
| --strict | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
# Show the relevant section with line numbers
sed -n '210,245p' contracts/OMN-14616.yaml | cat -n
# Look for similar validation commands in nearby contract files
rg -n "validate_state_coverage\.py|origin/dev|PRODUCT_WORKTREE|gh pr view" contracts drift -g '*.yaml' -g '*.yml' || trueRepository: OmniNode-ai/onex_change_control Length of output: 50388 🏁 Script executed: #!/bin/bash
set -euo pipefail
# Inspect the file size and schema-related context if present
wc -l contracts/OMN-14616.yaml
rg -n "check_value:|validate_state_coverage|PRODUCT_HEAD|PRODUCT_REPO|PRODUCT_WORKTREE|origin/dev" contracts/OMN-14616.yaml
# If there are schema docs or model names referenced in repo, find them
rg -n "ModelTicketContract|ModelDayClose|contracts/.*yaml|validate_state_coverage" -g '*.py' -g '*.md' -g '*.yaml' .Repository: OmniNode-ai/onex_change_control Length of output: 50388 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "=== relevant lines ==="
sed -n '220,236p' contracts/OMN-14616.yaml
echo "=== similar commands elsewhere ==="
rg -n "PRODUCT_WORKTREE=.*origin/dev|validate_state_coverage\.py --check-changed origin/dev" contracts drift -g '*.yaml' -g '*.yml' || trueRepository: OmniNode-ai/onex_change_control Length of output: 8667 🏁 Script executed: #!/bin/bash
set -euo pipefail
# Inspect the exact range around the cited lines with numbering
sed -n '226,252p' contracts/OMN-14616.yaml | cat -n
# Show every occurrence of the worktree/baseline command in this file
rg -n "PRODUCT_WORKTREE|validate_state_coverage\.py|origin/dev|gh pr view|PRODUCT_HEAD" contracts/OMN-14616.yamlRepository: OmniNode-ai/onex_change_control Length of output: 7477 🏁 Script executed: #!/bin/bash
set -euo pipefail
# Find how evidence_artifact / verified command blocks are described in the repo
rg -n "evidence_artifact|Current-head state-coverage proof|source: \"manual\"|status: \"verified\"|check_value: >-" contracts drift docs -g '*.yaml' -g '*.md' | head -n 200
# Inspect nearby schema/documentation mentions for contract/evidence semantics
rg -n "contract.*schema|evidence.*artifact|verified evidence|manual reproduction|probe_command|check_value" docs contracts drift -g '*.md' -g '*.yaml' | head -n 200Repository: OmniNode-ai/onex_change_control Length of output: 31182 🏁 Script executed: #!/bin/bash
set -euo pipefail
# Locate the contract schema/model definitions
fd -a ".*(schema|model).*\.py$|.*contract.*\.py$" . | head -n 80
# Search for the fields used in these YAMLs in Python schema files
rg -n "evidence_artifact|probe_command|check_value|status: verified|source: manual" -g '*.py' .Repository: OmniNode-ai/onex_change_control Length of output: 27633 🏁 Script executed: #!/bin/bash
set -euo pipefail
# Inspect the exact top-level structure around the evidence block
sed -n '232,252p' contracts/OMN-14616.yaml | cat -n
# Find references to temporary/verifier checkout wording in similar receipts
rg -n "temporary checkout|verifier-provided|local reproduction|records the local reproduction|origin/dev" drift/dod_receipts contracts -g '*.yaml' | head -n 200Repository: OmniNode-ai/onex_change_control Length of output: 33907 🏁 Script executed: #!/bin/bash
set -euo pipefail
# Inspect the contract check runner around evidence handling
sed -n '1,220p' src/onex_change_control/scripts/contract_compliance_check.py | cat -n
echo '---'
sed -n '520,700p' src/onex_change_control/scripts/contract_compliance_check.py | cat -n
# Inspect the DoD check model fields and docstrings
sed -n '1,220p' src/onex_change_control/models/model_dod_check.py | cat -n
# Read the relevant docs section on executable checks
sed -n '170,210p' docs/TEMPLATE_GUIDE.md | cat -nRepository: OmniNode-ai/onex_change_control Length of output: 27121 Make this check use a portable checkout path. The hard-coded 🤖 Prompt for AI Agents |
||
| - id: "dod-omnimarket-pr-1769-local-verification-b56971" | ||
| evidence_artifact: "supersedes_dod_evidence:dod-omnimarket-pr-1769-local-verification-4d981f" | ||
| description: >- | ||
| Current-head local verification evidence for omnimarket PR #1769 at b5697123b95cd776367bc61343b41e5f0c8fc6ee. | ||
| The proof verifies the PR body still records the original RED/GREEN and local verification evidence | ||
| while binding that evidence to the live PR head. | ||
| source: "manual" | ||
| status: "verified" | ||
| checks: | ||
| - check_type: "command" | ||
| check_value: >- | ||
| PRODUCT_PR_NUMBER=1769; PRODUCT_REPO=OmniNode-ai/omnimarket; PRODUCT_HEAD=b5697123b95cd776367bc61343b41e5f0c8fc6ee; | ||
| gh pr view "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --json headRefOid,body --jq '.headRefOid | ||
| == "'$PRODUCT_HEAD'" and (.body | contains("37/37 pass")) and (.body | contains("RED confirmed | ||
| against reverted pre-fix source")) and (.body | contains("ruff format --check")) and (.body | ||
| | contains("mypy src/omnimarket/nodes/node_pattern_b_broker/ --strict")) and (.body | contains("node_runtime_sweep | ||
| --import-check")) and (.body | contains("pre-commit run"))' | grep -qx true | ||
| - id: "dod-omnimarket-pr-1769-deploy-scope-b56971" | ||
| evidence_artifact: "supersedes_dod_evidence:dod-omnimarket-pr-1769-deploy-scope-4d981f" | ||
| description: >- | ||
| Current-head deploy-surface audit for omnimarket PR #1769 at b5697123b95cd776367bc61343b41e5f0c8fc6ee. | ||
| The proof rechecks the diff for the broker files and confirms no Dockerfiles, compose manifests, | ||
| deploy scripts, runtime service definitions, migrations, or systemd units are introduced by this | ||
| ticket lane. | ||
| source: "manual" | ||
| status: "verified" | ||
| checks: | ||
| - check_type: "command" | ||
| check_value: >- | ||
| PRODUCT_PR_NUMBER=1769; PRODUCT_REPO=OmniNode-ai/omnimarket; PRODUCT_HEAD=b5697123b95cd776367bc61343b41e5f0c8fc6ee; | ||
| gh pr view "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --json headRefOid,files --jq '.headRefOid | ||
| == "'$PRODUCT_HEAD'"' | grep -qx true && gh pr diff "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" | ||
| --name-only | grep -Fxq src/omnimarket/nodes/node_pattern_b_broker/contract.yaml && gh pr diff | ||
| "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --name-only | grep -Fxq src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_publish.py | ||
| && gh pr diff "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --name-only | grep -Fxq src/omnimarket/nodes/node_pattern_b_broker/handlers/adapter_broker_terminal_consumer.py | ||
| && gh pr diff "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --name-only | grep -Fxq scripts/ci/adequacy_receipts/omnimarket.nodes.node_pattern_b_broker.json | ||
| && ! gh pr diff "$PRODUCT_PR_NUMBER" --repo "$PRODUCT_REPO" --name-only | grep -qE '(^|/)(Dockerfile|docker-compose[^/]*|compose[^/]*|deploy|migrations|systemd)(/|$)' | ||
|
Comment on lines
+277
to
+284
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win Use an allowlist for deploy-scope proof. The blacklist misses deployment surfaces such as 🤖 Prompt for AI Agents |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| --- | ||
| schema_version: "1.0.0" | ||
| ticket_id: "OMN-14616" | ||
| evidence_item_id: "dod-omnimarket-pr-1769-deploy-scope-b56971" | ||
| check_type: "command" | ||
| check_value: "See contracts/OMN-14616.yaml dod-omnimarket-pr-1769-deploy-scope-b56971." | ||
| contract_entry_sha256: "sha256:e4c3e710b9321825c36987735f3a0114af0c93b21a372c106a18dc213004c17d" | ||
| status: PASS | ||
| run_timestamp: "2026-07-15T05:58:33Z" | ||
| commit_sha: "b5697123b95cd776367bc61343b41e5f0c8fc6ee" | ||
| runner: "codex-merge-controller" | ||
| verifier: "codex-deploy-scope-audit" | ||
| pr_number: 1769 | ||
| branch: "jonah/omn-14616-node-pattern-b-broker-handle-entrypoints" | ||
| probe_command: "gh pr diff 1769 --name-only deploy-surface audit at head b5697123." | ||
| probe_stdout: | | ||
| omnimarket#1769 current diff includes the broker contract, adapter, adequacy receipt, and test files. | ||
| No Dockerfiles, compose files, deploy scripts, runtime service definitions, | ||
| migrations, or systemd units are introduced by the OMN-14616 lane. | ||
| actual_output: "PASS: current #1769 deploy-scope audit found no live deploy or restart surface." | ||
| exit_code: 0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| --- | ||
| schema_version: "1.0.0" | ||
| ticket_id: "OMN-14616" | ||
| evidence_item_id: "dod-omnimarket-pr-1769-local-verification-b56971" | ||
| check_type: "command" | ||
| check_value: "See contracts/OMN-14616.yaml dod-omnimarket-pr-1769-local-verification-b56971." | ||
| contract_entry_sha256: "sha256:4d7c60aece800c10e21c59ca3b8dc8a4d5f0ab365858ab100019f6e5373f1c66" | ||
| status: PASS | ||
| run_timestamp: "2026-07-15T05:58:33Z" | ||
| commit_sha: "b5697123b95cd776367bc61343b41e5f0c8fc6ee" | ||
| runner: "codex-merge-controller" | ||
| verifier: "codex-local-verification-audit" | ||
| pr_number: 1769 | ||
| branch: "jonah/omn-14616-node-pattern-b-broker-handle-entrypoints" | ||
| probe_command: "gh pr view 1769 body verification at head b5697123." | ||
| probe_stdout: | | ||
| omnimarket#1769 current head is b5697123b95cd776367bc61343b41e5f0c8fc6ee. | ||
| The PR body still records focused tests, RED proof, ruff, strict mypy, | ||
| node runtime import sweep, and pre-commit evidence. | ||
| actual_output: "PASS: current #1769 head retains the OMN-14616 local verification evidence." | ||
| exit_code: 0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- | ||
| schema_version: "1.0.0" | ||
| ticket_id: "OMN-14616" | ||
| evidence_item_id: "dod-omnimarket-pr-1769-product-head-b56971" | ||
| check_type: "command" | ||
| check_value: "See contracts/OMN-14616.yaml dod-omnimarket-pr-1769-product-head-b56971." | ||
|
Comment on lines
+1
to
+6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win Make every refreshed receipt self-referential. All four receipts currently use Line 6 to point at the contract entry. The receipt gate expects
Based on learnings, 📍 Affects 4 files
🤖 Prompt for AI AgentsSource: Learnings |
||
| contract_entry_sha256: "sha256:24af97b6adceb85fe4d43c371b9ce5d1ba98dd7b2e4338137c56fa5911b1d4b1" | ||
| status: PASS | ||
| run_timestamp: "2026-07-15T05:58:33Z" | ||
| commit_sha: "b5697123b95cd776367bc61343b41e5f0c8fc6ee" | ||
| runner: "codex-merge-controller" | ||
| verifier: "codex-product-head-audit" | ||
| pr_number: 1769 | ||
| branch: "jonah/omn-14616-node-pattern-b-broker-handle-entrypoints" | ||
| probe_command: "gh pr view 1769 plus file-content checks at head b5697123." | ||
| probe_stdout: | | ||
| omnimarket#1769 targets dev at b5697123b95cd776367bc61343b41e5f0c8fc6ee. | ||
| The broker contract, handler adapters, adequacy receipts, and regression tests remain present. | ||
| actual_output: "PASS: omnimarket#1769 current product head retains OMN-14616 entrypoint evidence." | ||
| exit_code: 0 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| --- | ||
| schema_version: "1.0.0" | ||
| ticket_id: "OMN-14616" | ||
| evidence_item_id: "dod-pr-1769-state-coverage-b56971" | ||
| check_type: "command" | ||
| check_value: "See contracts/OMN-14616.yaml dod-pr-1769-state-coverage-b56971." | ||
| contract_entry_sha256: "sha256:c82c76405cb361579960ddff8fc3c779d2d96d66b6babe72222c598d0aab4971" | ||
| status: PASS | ||
| run_timestamp: "2026-07-15T05:58:33Z" | ||
| commit_sha: "b5697123b95cd776367bc61343b41e5f0c8fc6ee" | ||
| runner: "codex-merge-controller" | ||
| verifier: "codex-state-coverage-audit" | ||
| pr_number: 1769 | ||
| branch: "jonah/omn-14616-node-pattern-b-broker-handle-entrypoints" | ||
| probe_command: "uv run python scripts/validate_state_coverage.py --check-changed origin/dev --strict" | ||
| probe_stdout: | | ||
| state-coverage-gate (strict mode): 1 node(s) checked | ||
| PASS: 1 WARN: 0 FAIL: 0 | ||
|
|
||
| state-coverage-gate: PASS | ||
| actual_output: "PASS: state-coverage gate passed locally at current #1769 head b5697123." | ||
| exit_code: 0 |
Uh oh!
There was an error while loading. Please reload this page.