Repository navigation
chore(OMN-10433): add dispatch drainer receipts - #595
Conversation
📝 WalkthroughWalkthroughIntroduces contract specification OMN-10433 requiring the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Review rate limit: 0/5 reviews remaining, refill in 57 minutes and 56 seconds. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
contracts/OMN-10433.yaml (1)
23-25: Use shell-safe placeholders in the dogfood command example.Lines 23–25 use
<temp-...>tokens, which shells interpret as input redirection operators if run literally. Replace with env-var-style placeholders (${VAR_NAME}) to keep this command copy-paste-safe.Suggested update
- env -u PYTHONPATH uv run python -m omnimarket.nodes.node_dispatch_queue_drainer --queue-item-path - <temp-item.yaml> --state-dir <temp-state> --tasks-dir <temp-tasks> --omni-home <temp-omni-home> - --dry-run" + env -u PYTHONPATH uv run python -m omnimarket.nodes.node_dispatch_queue_drainer --queue-item-path + ${TEMP_ITEM_PATH} --state-dir ${TEMP_STATE_DIR} --tasks-dir ${TEMP_TASKS_DIR} --omni-home ${TEMP_OMNI_HOME} + --dry-run"🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@contracts/OMN-10433.yaml` around lines 23 - 25, The dogfood example command uses shell-sensitive angle-bracket tokens ("<temp-item.yaml>", "<temp-state>", "<temp-tasks>", "<temp-omni-home>") which can be interpreted as redirection; update the example in the env -u PYTHONPATH uv run python -m omnimarket.nodes.node_dispatch_queue_drainer --queue-item-path ... command to use shell-safe env-style placeholders (e.g. ${TEMP_ITEM}, ${TEMP_STATE}, ${TEMP_TASKS}, ${TEMP_OMNI_HOME}) so the command is copy-paste safe and clearly indicates replaceable values.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@contracts/OMN-10433.yaml`:
- Around line 23-25: The dogfood example command uses shell-sensitive
angle-bracket tokens ("<temp-item.yaml>", "<temp-state>", "<temp-tasks>",
"<temp-omni-home>") which can be interpreted as redirection; update the example
in the env -u PYTHONPATH uv run python -m
omnimarket.nodes.node_dispatch_queue_drainer --queue-item-path ... command to
use shell-safe env-style placeholders (e.g. ${TEMP_ITEM}, ${TEMP_STATE},
${TEMP_TASKS}, ${TEMP_OMNI_HOME}) so the command is copy-paste safe and clearly
indicates replaceable values.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: a245f391-32d5-4e8f-af44-53129a27f8e1
📒 Files selected for processing (4)
contracts/OMN-10433.yamldrift/dod_receipts/OMN-10433/dod-001/command.yamldrift/dod_receipts/OMN-10433/dod-002/command.yamldrift/dod_receipts/OMN-10433/dod-003/command.yaml
…tion - Add dod-omnimarket-pr-595 evidence entry to contracts/OMN-10278.yaml - Add receipt binding omnimarket PR #595 (94f89a07) to OMN-10278 Evidence-Source: OCC#913
…egation wiring (#915) * docs(OMN-10278): add dod receipts for omnimarket PRs #595 and #596 Adds receipt files and dod_evidence entries binding OMN-10278 to: - omnimarket PR #595 (remove = None defaults from 16 injectable handler params) - omnimarket PR #596 (pr_polish delegation wiring for code_failure/receipt_failure) Rebased cleanly on main to resolve CONFLICTING merge state. * chore: trigger CI with updated PR body (Evidence-Ticket: OMN-10278) * fix(OMN-10278): add self-binding receipt for OCC PR #915 to satisfy eligibility check * fix(OMN-10278): change verifier to jonahgabriel to avoid self-attestation downgrade to ADVISORY
Fixes OMN-10433
Summary
--dry-runcompatibility follow-up.Verification
uv run validate-yaml contracts/OMN-10433.yamluv run python -m omnibase_core.validation.receipt_gate_cli --pr-title 'fix(OMN-10433): accept dispatch drainer dry-run flag' --pr-body 'Fixes OMN-10433' --contracts-dir contracts --receipts-dir drift/dod_receipts-> RECEIPT GATE PASSED: 3 checks\n-uv run python scripts/ci/run_contract_compliance_check.py --pr 486 --repo OmniNode-ai/omnimarket --contracts-dir contracts-> 3/3 PASS\n-git diff --checkSummary by CodeRabbit
New Features
--dry-runflag support to the node dispatcher, enabling compile-only execution without processing dispatch queue items.Tests