boost-scores.js immediately starts submitting on-chain transactions without any dry-run or confirmation prompt, making it easy to accidentally submit hundreds of transactions if run against the wrong contract.
Category: backend
Project area: backend/scripts/boost-scores.js
Implementation:
Review the current flow in backend/scripts/boost-scores.js.
Add a --dry-run flag that logs what transactions would be submitted (agent name, current score, needed payments) without actually calling recordPaymentOnChain.
Update route/service tests, logging, and docs where the new behavior changes API or operations.
Acceptance Criteria:
The API or service behavior is reachable through the intended code path.
Failure cases return actionable responses or logs.
Automated coverage is added or updated for the touched backend path.
boost-scores.js immediately starts submitting on-chain transactions without any dry-run or confirmation prompt, making it easy to accidentally submit hundreds of transactions if run against the wrong contract.
Category: backend
Project area: backend/scripts/boost-scores.js
Implementation:
Review the current flow in backend/scripts/boost-scores.js.
Add a --dry-run flag that logs what transactions would be submitted (agent name, current score, needed payments) without actually calling recordPaymentOnChain.
Update route/service tests, logging, and docs where the new behavior changes API or operations.
Acceptance Criteria:
The API or service behavior is reachable through the intended code path.
Failure cases return actionable responses or logs.
Automated coverage is added or updated for the touched backend path.