Skip to content

Fix self-repair status command contract#664

Merged
huangruiteng merged 1 commit into
mainfrom
codex/self-repair-status-contract
Jun 24, 2026
Merged

Fix self-repair status command contract#664
huangruiteng merged 1 commit into
mainfrom
codex/self-repair-status-contract

Conversation

@huangruiteng

Copy link
Copy Markdown
Owner

Summary

  • Update the LoopX self-repair skill to use diagnose --goal-id for goal-specific evidence and keep status as a registry/dashboard view.
  • Add a skill_cli_contract_drift repair pattern and doctor/install smoke coverage so stale executable skill guidance is caught.
  • Refresh public smoke fixtures that previously suggested loopx status --goal-id.

Validation

  • python3 examples/install-local-smoke.py
  • npm run smoke:action-packet with the dashboard TypeScript compiler available
  • python3 examples/review-packet-smoke.py
  • python3 -m py_compile loopx/doctor.py
  • git diff --check
  • loopx check --scan-path skills/loopx-self-repair --scan-path examples/install-local-smoke.py --scan-path apps/dashboard/smoke/action-packet-smoke.ts --scan-path examples/review-packet-smoke.py --scan-path examples/review-packet-cli-smoke.py --scan-path loopx/doctor.py (passes with the existing duplicate-index warning)

Excluded

  • Ignored local state such as .loopx, .local, runtime history, installed skill copies, and release snapshots.

Residual Risk

  • python3 examples/review-packet-cli-smoke.py still fails on an existing unrelated read-only controller wording assertion that is present on the pre-change checkout; the fallback path touched here runs before that assertion.

@huangruiteng huangruiteng marked this pull request as ready for review June 24, 2026 11:51
@huangruiteng huangruiteng merged commit 4ca826f into main Jun 24, 2026
2 checks passed
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