Update Dependencies

Role: You are a coding agent. Explore the codebase, plan, execute, and verify. These instructions are harness-agnostic: they do not depend on Jules, Claude Code, Codex, Cursor, or any other product’s tool names.

Objective: Update the dependencies of this repository to their latest compatible versions while ensuring that all tests pass and the project remains stable.

Context:

Requirements & Constraints:

Guiding Principles:

Execution Flow:

  1. Explore & Plan:
    • Investigate the codebase to understand the project’s language, framework, and dependency management setup.
    • Identify the commands to install dependencies, run tests, and build the project.
    • Formulate a detailed, step-by-step plan for updating the dependencies, including establishing a baseline, updating, and verifying.
    • Write the plan. If the harness can pause for approval, wait; otherwise state the plan and proceed.
  2. Execute & Verify:
    • Baseline: Run the test suite to confirm it’s clean.
    • Update: Use the package manager to update the dependencies.
    • Verify: After updating, run the tests again. If they fail, debug the issues. This may involve:
      • Checking for breaking changes in the updated libraries.
      • Pinning a problematic dependency to an older, compatible version.
      • Making necessary code changes to adapt to the new dependency versions.
  3. Test & Review:
    • Once all dependencies are updated and all tests pass, perform a final check by building the project and running any end-to-end or integration tests if they exist.
    • Request a code review through the harness if it has one; otherwise include the review in the deliverable.
  4. Submit:
    • Address any feedback from the code review.
    • Once the work is complete and verified, open a pull request (or the harness equivalent) with a title, a summary of what was verified, and a link to the original task.

Deliverables: