Skip to content

Check required inputs before review execution - #564

Open
AshokTechie wants to merge 1 commit into
google:mainfrom
AshokTechie:fix/input-preflight-check
Open

AshokTechie wants to merge 1 commit into
google:mainfrom
AshokTechie:fix/input-preflight-check

Conversation

@AshokTechie

Copy link
Copy Markdown

Summary of Key Changes

Adds an input-preflight contract for EGM’s long-running review workflows before reviewer delegation begins.

  • Defines optional Attachments consistently for both egm-review and egm-review-loop.
  • Requires an inventory of each declared input’s count, type, identity, and readability.
  • Requires an actionable early halt before execution if any declared input is absent or unreadable.
  • Requires the preflight result to be recorded.
  • Adds deterministic behavioral scenarios for missing attachments in both review workflows.
  • Adds unit coverage for text-only inputs, mixed text/image inputs, missing images, unreadable attachments, and preflight records. The unreadable-attachment test now behaves consistently even when tests run as root.

Closes #411

Suggested labels: harness, tests

Contribution Type

Track: Bug Fix / Minor Patch

Verification

  • .venv/bin/pytest tests/unit — passed: 405 passed, 2 skipped
    • test_copilot_adapter.py native loader inspection skipped because EGM_COPILOT_OFFLINE was not set.
    • test_cursor.py native offline probe skipped because EGM_CURSOR_BUNDLE was not set.
  • git diff --check — passed.
  • Live harness workflow verification — not run. This change updates shared review-skill instructions and their deterministic/unit coverage; it does not change a host adapter or installation path.

Human Accountability Affirmation

@egm-triage-bot egm-triage-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated first-pass review found zero blocking or major issues. Routing to @google/egm-maintainers for maintainer review.

@egm-triage-bot egm-triage-bot added the triage: passed Automated Stage-1 PR triage found zero blocking or major issues label Nov 24, 2026
@egm-triage-bot
egm-triage-bot requested review from a team and quinnjim and removed request for a team November 24, 2026 11:41

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage: passed Automated Stage-1 PR triage found zero blocking or major issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check required inputs before long runs

2 participants