Skip to content

Restore MQ loader check command#7

Draft
Teichoui wants to merge 1 commit into
mainfrom
codex/issue-29-mq-loader-check
Draft

Restore MQ loader check command#7
Teichoui wants to merge 1 commit into
mainfrom
codex/issue-29-mq-loader-check

Conversation

@Teichoui
Copy link
Copy Markdown
Owner

@Teichoui Teichoui commented Apr 28, 2026

Summary

Restores the non-interactive redfetch check command used by MacroQuest loader integrations.

Why

Current upstream RedFetch treats check as an unknown command. That exits with code 2 and no stdout, matching the MQ loader log noise from issue RedGuides#29.

Details

  • Adds a machine-readable check command back to the CLI.
  • Writes only the update count to stdout for successful checks.
  • Redirects incidental command output to stderr so loader parsing stays stable.
  • Restores lightweight manifest-vs-local-version update checking without downloading files.
  • Adds a first-run configuration preflight so the command does not open interactive setup from MQ.

Validation

  • python -m py_compile src/redfetch/main.py src/redfetch/update_check.py src/redfetch/sync_types.py src/redfetch/config_firstrun.py
  • python -m pytest tests/test_check.py tests/test_first_run_setup.py tests/test_sync_pipeline_regressions.py tests/test_path_reset.py

Related to RedGuides#29

@Teichoui Teichoui changed the title [codex] Restore MQ loader check command Restore MQ loader check command May 7, 2026
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