Skip to content

chore: add batch issue generation script - #1

Merged
fadesany merged 1 commit into
mainfrom
chore/generate-issues-script
Aug 10, 2026
Merged

fadesany merged 1 commit into
mainfrom
chore/generate-issues-script

Conversation

@fadesany

Copy link
Copy Markdown
Collaborator

Adds scripts/generate-issues.sh, which upserts the repo's five labels and opens the initial backlog.

The script is idempotent — labels use --force and issues are skipped when a matching title already exists — so it is safe to re-run. Each issue corresponds to a real, code-verified gap in the shipped contracts:

  • factory: emit an event from initializeinitialize writes storage but emits nothing, unlike deploy_treasury (contracts/factory/src/lib.rs:48-57).
  • treasury: paginate the unbounded viewsget_categories and get_requests_by_category loop over all storage with no limit, while the factory already caps at 50 (contracts/treasury/src/lib.rs:499, :526).
  • treasury: recurring budget caps — caps are lifetime-only and never reset (contracts/treasury/src/lib.rs:160).
  • scripts: verify.sh read-after-write raceget_org can race the deploy's propagation (scripts/verify.sh:64-84).

No contract logic changes; this only adds tooling.

🤖 Generated with Claude Code

Add scripts/generate-issues.sh, which upserts the repo's five labels and
opens the initial backlog. The script is idempotent — labels use --force
and issues are skipped when a matching title already exists — so it is
safe to re-run. Each issue corresponds to a real, code-verified gap:
a missing factory initialize event, unbounded treasury view reads,
lifetime-only budget caps, and a read-after-write race in verify.sh.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@fadesany
fadesany merged commit 7b91e1d into main Aug 10, 2026
1 check passed
@fadesany
fadesany deleted the chore/generate-issues-script branch August 10, 2026 13:40
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