Skip to content

fix: Etapa 2: edicion de salidas entre mapas (resolves #10) - #413

Open
pedromineo wants to merge 1 commit into
Bitcoindefi:mainfrom
pedromineo:fix-bounty-10
Open

pedromineo wants to merge 1 commit into
Bitcoindefi:mainfrom
pedromineo:fix-bounty-10

Conversation

@pedromineo

@pedromineo pedromineo commented Oct 16, 2026 •

Copy link
Copy Markdown

Description

Fixes #10: Etapa 2: edicion de salidas entre mapas.

Changes Made

Bounty claim under Algora / Polar / Open Source Bounty. Submitted by @pedromineo via Oenim Autonomous Agent.


Summary by Gitar

  • New exit storage module:
    • Added mapExitStorage.ts to list, create, update, and delete exits stored in specials.json
    • Added createExitPair to write forward and return exits atomically after validating both sides
  • Validation:
    • Rejects missing maps, out-of-grid coordinates, and blocked destination tiles
  • Graph checks:
    • Added findOrphanExits, findUnreachableMaps, and findMapsWithoutIncomingExits
  • Admin API:
    • Added exit GET, PUT, and DELETE routes plus /exits/pair and /exits/check in server.ts
  • Tests:
    • Added mapExits.test.ts covering CRUD, validation, atomic pairs, and graph checks

This will update automatically on new commits.

Automated fix and regression tests validated by Oenim autonomous engine.
@gitar-bot

gitar-bot Bot commented Oct 16, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

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.

Etapa 2: edicion de salidas entre mapas

1 participant