Skip to content

fix: address issues #351, #352, #358, #359#399

Merged
overprodigy merged 2 commits into
Iris-IV:mainfrom
Jayy4rl:fix/issues-351-352-358-359
May 29, 2026
Merged

fix: address issues #351, #352, #358, #359#399
overprodigy merged 2 commits into
Iris-IV:mainfrom
Jayy4rl:fix/issues-351-352-358-359

Conversation

@Jayy4rl
Copy link
Copy Markdown
Contributor

@Jayy4rl Jayy4rl commented May 29, 2026

📌 Description

Provide a clear and concise description of the changes in this PR.

🔗 Related Issues

Use GitHub's auto-close keywords with the # prefix (one issue per line):

Multiple issues can be closed by repeating the keyword on separate lines.

🧪 Changes Made

  • Bug fix
  • New feature
  • Refactor
  • Documentation update

✅ Checklist

  • Code compiles successfully
  • Tests added/updated and passing
  • Linting passes (no warnings/errors)
  • Documentation updated (if required)
  • No breaking changes (or clearly documented)

⚠️ Breaking Changes

If this PR introduces breaking changes, describe them here.

📸 Screenshots (if applicable)

Add screenshots to help reviewers understand the changes.

🧩 Additional Notes

Anything else reviewers should know.

- Iris-IV#358: remove first_creator block in contribute; after ownership
  transfer the original creator is a regular community member
- Iris-IV#359: subtract only immediately-released funds from total_raised_global
  in withdraw_funds (keep reserve in the global), then subtract
  reserve_amount in withdraw_reserve when it is actually paid out
- Iris-IV#351: add require_not_paused to set_vesting_params so vesting
  parameters cannot be changed silently while the contract is paused
- Iris-IV#352: add require_not_paused to update_campaign and
  update_campaign_description to prevent metadata swaps during a pause
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@Jayy4rl Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@sshdopey
Copy link
Copy Markdown
Contributor

Auto-review failed (API error). Leaving PR for human review.

Replace original_creator_cannot_contribute_after_campaign_transfer with
original_creator_can_contribute_after_campaign_transfer to reflect the
corrected behaviour: after ownership transfer the original creator is a
regular community member and must be allowed to contribute.
@sshdopey
Copy link
Copy Markdown
Contributor

Auto-review failed (API error). Leaving PR for human review.

@overprodigy overprodigy merged commit a9d0c3e into Iris-IV:main May 29, 2026
1 of 2 checks passed
dmystical-coder added a commit that referenced this pull request May 30, 2026
The auto-review workflow auto-merges PRs scored confidence>=0.7 by an
LLM using `gh pr merge --admin`, bypassing branch protection. This is
how PR #399 landed in a non-compiling state (#400, #401, #402).

Beyond the --admin bypass, the file has multiple structural problems
that cannot be patched without a full rewrite:

  - System prompt is configured to "APPROVE almost everything" with
    explicit instructions to ignore missing tests, no error handling,
    hardcoded values, etc. This framing is incompatible with a
    smart-contract project that custodies funds.
  - Runs on `pull_request_target` with `contents: write` permissions,
    a known supply-chain risk surface.
  - System prompt still references "Lernza, a hackathon project"
    (leftover from another repo) and merge commits inject
    `Co-authored-by: Dopey <hello@sshdopey.com>` on every auto-merge.
  - `actions/checkout@v6` is unpinned (tag, not SHA).

This commit renames the file to `auto-review.yml.disabled` so GitHub
Actions stops loading it. The file is preserved in the tree (not
deleted) for reference if a future advisory bot is designed from
scratch with safer foundations.

CI (`ci.yml`) is unaffected. PR review is now fully human-driven.

Closes #404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment